NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: misc/46307
The following reply was made to PR misc/46307; it has been noted by GNATS.
From: Jan Schaumann <jschauma%netmeister.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: misc/46307
Date: Sat, 7 Apr 2012 14:16:56 -0400
--W/D3X8sky0X3AmG5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
diff -bu /usr/bootstrap.sh /tmp/bootstrap.sh
--- /usr/bootstrap.sh 2012-02-08 15:12:06.000000000 +0000
+++ /tmp/bootstrap.sh 2012-04-07 18:16:03.000000000 +0000
@@ -1,13 +1,13 @@
#! /bin/sh
=20
-URLROOT=3D"http://ftp.netbsd.org/pub/"
+URLROOT=3D"http://ftp.netbsd.org/pub"
=20
usage() {
echo "Usage: ${0##*/} [src|pkgsrc]"
exit
}
=20
-if [ $# -ne 1]; then
+if [ $# -ne 1 ]; then
usage
fi
=20
@@ -17,14 +17,16 @@
src)
echo "Downloading -current src..."
ftp -a "$URLROOT/NetBSD/NetBSD-current/tar_files/src.tar.gz"
+ echo "Extracting -current src under /usr..."
tar -xzpf src.tar.gz -C /usr/
rm -f src.tar.gz
;;
pkgsrc)
echo "Downloading latest pkgsrc stable release..."
- ftp -a "$URLROOT/pkgsrc/stable/pkgsrc.tar.xz"
- tar -xzpf pkgsrc.tar.xz -C /usr/
- rm -f pkgsrc.tar.xz
+ ftp -a "$URLROOT/pkgsrc/stable/pkgsrc.tar.bz2"
+ echo "Extracting latest pkgsrc stable release under /usr..."
+ tar -jxpf pkgsrc.tar.bz2 -C /usr/
+ rm -f pkgsrc.tar.bz2
;;
*)
usage
--W/D3X8sky0X3AmG5
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (NetBSD)
iQEVAwUBT4CEmGbOT+lva9PXAQL5yQf/Y8cz13dHyHeYO7ijma3KxgRdkMWL14h4
+7Yf5qyXtgOkVSp2I9BtHwJg7GYPAnHuN3n+o+7UONbh3dmX0mS12DSICe3YhUEZ
AKR1x6eVQVN+pcu0fDvWxIFzh9+OFPwevUbTP6og6RqgvW/vaCv14Zk4QRZ1XRwJ
g/P7EVHtARUIOI/XXhoIg7zs1gXK/E3KKB+GJoujEkmiAe4xvQ5ZZFZ0Gi3o/2NA
UVPKGsUmD8fBqckHaZx9Jnj7t8Vse7+Cy7Q0MEWwfGg23X5ig0sz4AIK3Bi9Ax6o
r9LeqDi5JI9UmmaLL7C4nbweITo7qOmxZNEc0ULpS0dhkPAv6wfUXw==
=7VI7
-----END PGP SIGNATURE-----
--W/D3X8sky0X3AmG5--
Home |
Main Index |
Thread Index |
Old Index