[commit] BSDanywhere - r232 - branches/stephan

0 views
Skip to first unread message

bsdan...@startek.ch

unread,
Nov 11, 2008, 5:59:49 AM11/11/08
to bsdanywhe...@googlegroups.com
Author: stephan
Date: Tue Nov 11 11:59:47 2008
New Revision: 232

Log:
Restructure source site paths.

Modified:
branches/stephan/build.sh

Modified: branches/stephan/build.sh
==============================================================================
--- branches/stephan/build.sh (original)
+++ branches/stephan/build.sh Tue Nov 11 11:59:47 2008
@@ -44,8 +44,9 @@
export IMAGE_ROOT=$BASE/image
export CACHE_ROOT=$BASE/cache

-export MASTER_SITES=http://mirror.startek.ch
-export PKG_PATH=http://mirror.switch.ch/ftp/pub/OpenBSD/$RELEASE/packages/$ARCH/:$MASTER_SITES/OpenBSD/packages/$RELEASE/$ARCH/
+export MIRROR1=http://mirror.switch.ch/ftp/pub/OpenBSD
+export MIRROR2=http://mirror.startek.ch
+export PKG_PATH=$MIRROR1/$RELEASE/packages/$ARCH/:$MIRROR2/OpenBSD/packages/$RELEASE/$ARCH/

export CWD=$(pwd)
export THIS_OS=$(uname)
@@ -160,7 +161,7 @@
for i in bsd bsd.mp
do
test -r $CACHE_ROOT/$i || \
- ftp -o $CACHE_ROOT/$i $MASTER_SITES/BSDanywhere/$RELEASE/$ARCH/$i
+ ftp -o $CACHE_ROOT/$i $MIRROR2/BSDanywhere/$RELEASE/$ARCH/$i
cp -p $CACHE_ROOT/$i $IMAGE_ROOT/
done
}
@@ -170,7 +171,7 @@
for i in cdbr cdboot
do
test -r $CACHE_ROOT/$i || \
- ftp -o $CACHE_ROOT/$i $MASTER_SITES/OpenBSD/stable/$RELEASE-stable/$ARCH/$i
+ ftp -o $CACHE_ROOT/$i $MIRROR1/$RELEASE/$ARCH/$i
cp -p $CACHE_ROOT/$i $IMAGE_ROOT/
done
}
@@ -180,7 +181,7 @@
for i in base game man misc etc xbase xetc xfont xserv xshare
do
test -r $CACHE_ROOT/$i$R.tgz || \
- ftp -o $CACHE_ROOT/$i$R.tgz $MASTER_SITES/OpenBSD/stable/$RELEASE-stable/$ARCH/$i$R.tgz
+ ftp -o $CACHE_ROOT/$i$R.tgz $MIRROR1/$RELEASE/$ARCH/$i$R.tgz
echo -n "Installing $i ... "
tar -C $IMAGE_ROOT -xzphf $CACHE_ROOT/$i$R.tgz
echo done
@@ -240,7 +241,7 @@

# Download and install packages.
echo
- pkg_add -x iperf nmap tightvnc-viewer rsync pftop trafshow pwgen hexedit hping firefox3 mozilla-thunderbird gqview bzip2 epdfview ipcalc isearch BitchX imapfilter gimp abiword privoxy tor arping e-20071211p3 audacious mutt-1.5.17p0-sasl-sidebar-compressed screen-4.0.3p1 smartmontools rsnapshot darkstat aescrypt aiccu amap angst httptunnel hydra iodine minicom nano nbtscan nepim netfwd netpipe ngrep galculator mboxgrep nemesis newsfetch queso radiusniff scanssh smtpscan ssldump stress stunnel
+ pkg_add -x iperf nmap tightvnc-viewer rsync pftop trafshow pwgen hexedit hping firefox3 mozilla-thunderbird gqview bzip2 epdfview ipcalc BitchX imapfilter gimp abiword privoxy tor arping e-20071211p3 audacious mutt-1.5.17p0-sasl-sidebar-compressed screen-4.0.3p1 smartmontools rsnapshot darkstat aescrypt aiccu amap angst httptunnel hydra iodine minicom nano nbtscan nepim netfwd netpipe ngrep galculator mboxgrep nemesis newsfetch queso radiusniff scanssh smtpscan ssldump stress stunnel

# Leave the chroot environment.
exit

Reply all
Reply to author
Forward
0 new messages