[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: New boot floppies for potato!



Dale Scheetz writes:
 > 
 > The same material is scattered through the Incoming directory, for those
 > who have access to that.
 >

Hi,

According to http://www.debian.org/devel/incoming_mirrors, these
are the Incoming mirrors,

    ftp://llug.sep.bnl.gov/pub/debian/Incoming/ (US)
    ftp://debian.midco.net/debian/Incoming/ (US)
    ftp://ftp.lh.umu.se/pub/linux/debian-Incoming/ (Sweden)
    ftp://ftp.de.debian.org:/pub/debian-incoming/ (Germany)

I just checked, and only `llug.sep.bnl.gov' and `ftp.lh.umu.se'
are operational.  Where is the canonical `Incoming' that is being
mirrored?  I couldn't find it anywhere on `*.debian.org'.

Attached are two scripts that I use to download the boot floppies
so that I can try them out, perhaps they may be of use to others.

Thanks,
-- 
Jeff Sheinberg  <jeffsh@erols.com>


------------------------------------------------------------------------
#! /bin/sh
#
# wget-base.sh - download boot floppies base files.
#
# usage - vers=<version> sh wget-base.sh <any additional wget args>
#
#         where <version> is set as follows:
#
#         vers="", ie null, to get the release files, or
#         vers="d.d.d", eg "2.2.0" to get the pre-release files, which
#               is the default. 
#
# To reget interrupted (kill -TERM) downloads use `--continue' option,
#     e.g., `vers=<version> sh wget-base.sh --continue'.
#
# Copyright (C) 1999, Jeffrey Sheinberg, Released to Public Domain.
#

set -u -e
PS4='+$LINENO: '

wlog="wget-log~"
lisu="link-sum.sh"
mirr="ftp://llug.sep.bnl.gov/pub/debian";
opts="-nv -o ${wlog} --dot-style=mega --timestamping --tries=10"

vers="${vers-2.2.0}"
if [ "${vers}" = "" ]; then
    site="${mirr}/dists/slink/main/disks-i386/current/"
    sufx=""
else
    site="${mirr}/Incoming/"    
    sufx=".${vers}-i386"
fi

cat <<EOF
$0:
  using --dot-style=mega, each ........ is 512KB
  use \`tail -c 1m -f ${wlog}' command to watch the log file
  use \`sh ${lisu} ${vers}' command to make file symlinks and check md5sums
EOF

wget ${opts} "$@" -i /dev/stdin  <<-EOF  &
	${site}base2_2.tgz${sufx}
	${site}basecont.txt${sufx}
	${site}cfdisk.txt${sufx}
	${site}fdisk.txt${sufx}
	${site}drv14-1.bin${sufx}
	${site}drv14-2.bin${sufx}
	${site}drv14-3.bin${sufx}
	${site}install.en.txt${sufx}
	${site}md5sum.txt${sufx}
	${site}resc1440.bin${sufx}
	${site}root.bin${sufx}
	${site}root1440.bin${sufx}
EOF

wpid=$!
echo "$0: wget-ting back-grounded as PID ${wpid}"

# wget-base.sh - end of file.
------------------------------------------------------------------------

------------------------------------------------------------------------
#! /bin/sh
#                 
# link-sum.sh - makes a symlink `foo' for each file of the form
#               `foo${sufx}', then validates the md5 checksums
#               using the `md5sum.txt' file.
#
# usage - sh link-sum.sh <version>
#
# Copyright (C) 1999, Jeffrey Sheinberg, Released to Public Domain.
#

set -u -e
PS4='+$LINENO: '

vers="${1-}"
md5f="md5sum.txt"
sufx=".${vers}-i386"

if test -n "${vers}"; then
    for file in *${sufx}; do
        dest="${file%${sufx}}"
        if test "${file}" -ef ${dest}; then
	    : "nothing to do"
        else
	    ln -fsv --backup -V numbered ${file} ${dest}
        fi
    done
fi

md5sum -v -c "${md5f}"  2>&1 | sed -e "/md5sum: can't open/d"

# link-sum.sh - end of file.
------------------------------------------------------------------------


--  
To UNSUBSCRIBE, email to debian-testing-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: