Re: autoup v0.22 released (finally)
In article <[🔎] Pine.LNX.3.96.980326161537.14331M-100000@siva.taz.net.au>,
Craig Sanders <cas@taz.net.au> wrote:
>
>this release merges code and ideas from rob and david and some stuff
>from myself.
It doesn't work:
1. libgdbm1g is in base/, not in devel/
2. __EOF__ needs to be at the start of the line
3. `tempfile' is not present on a bo system ..
4. libc5@libc6 is not a valid password for anonymous on most systems
Here's a patch:
--- autoup.sh.orig Thu Mar 26 12:03:57 1998
+++ autoup.sh Thu Mar 26 12:25:53 1998
@@ -58,7 +58,7 @@
PKGS_BASH="base/bash_*.deb"
PKGS_LIBGPP="libs/libg++272_*.deb"
PKGS_DPKG="base/dpkg_*.deb utils/dpkg-dev_*.deb"
-PKGS_LIBGDBM="oldlibs/libgdbm1_*.deb devel/libgdbmg1_*.deb"
+PKGS_LIBGDBM="oldlibs/libgdbm1_*.deb base/libgdbmg1_*.deb"
PKGS_PERLBASE="base/perl-base_*.deb"
PKGS_PERL="interpreters/perl_*.deb"
PKGS_MOREDPKG="interpreters/data-dumper_*.deb interpreters/libnet-perl_*.deb \
@@ -134,9 +134,11 @@
FTP_SITE=$FTP_SITE_2
FTP_DIR=$FTP_DIR_2 ;;
3)
- echo "Enter the address of your mirror site:"
+ echo "Enter the hostname of your mirror site:"
+ echo -n "> "
read FTP_SITE
- echo "Enter the ftp path:"
+ echo "Enter the ftp path (like debian/hamm/hamm/$ARCH):"
+ echo -n "> "
read FTP_DIR ;;
esac
@@ -154,6 +156,7 @@
[ -n "$DEFAULT" ] && echo or just hit enter to use "$DEFAULT".
+ echo -n "> "
read DM
[ -z "$DM" ] && DM=$DEFAULT
@@ -172,24 +175,24 @@
echo "Fetching packages from: $FTP_SITE"
- ftpscript=$(tempfile)
+ ftpscript="$DM.$$.scr"
cat <<__EOF__ >$ftpscript
verbose
open $FTP_SITE
- user anonymous libc5@libc6
+ user anonymous libc6-upgrade@autoup.sh.debian.org
hash
binary
cd $FTP_DIR
pwd
- __EOF__
+__EOF__
for file in $ALLPKGS; do
cat <<__EOF__ >>$ftpscript
cd $FTP_DIR/$(dirname $file)
lcd $FTP_DEST/$(dirname $file)
mget $(basename $file)
- __EOF__
+__EOF__
done
ftp -n -i <$ftpscript
Mike.
--
Miquel van Smoorenburg | Our vision is to speed up time,
miquels@cistron.nl | eventually eliminating it.
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: