diff options
| author | Murray Stokely <murray@FreeBSD.org> | 2003-03-03 03:36:52 +0000 |
|---|---|---|
| committer | Murray Stokely <murray@FreeBSD.org> | 2003-03-03 03:36:52 +0000 |
| commit | ec73c83d0f0920370bfa20635976f17eef01bb3e (patch) | |
| tree | 03905e055e77a463898a0d8c604884438ebfafd8 /release/scripts | |
| parent | 7bf03c19407c3a863d4399666a2452fee2a17b6e (diff) | |
Notes
Diffstat (limited to 'release/scripts')
| -rwxr-xr-x | release/scripts/print-cdrom-packages.sh | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/release/scripts/print-cdrom-packages.sh b/release/scripts/print-cdrom-packages.sh index e73b58de9fea..01614cefb9ff 100755 --- a/release/scripts/print-cdrom-packages.sh +++ b/release/scripts/print-cdrom-packages.sh @@ -4,7 +4,7 @@ # Date: Mon Jul 10 01:18:20 2000 # Version: $FreeBSD$ # -# MAINTAINER: jkh +# MAINTAINER: re # # This script prints out the list of "minimum required packages" for # a given CDROM number, that numer currently referring to the 4 CD @@ -39,6 +39,10 @@ export LOCALBASE=/nonexistentlocal export X11BASE=/nonexistentx export PKG_DBDIR=/nonexistentdb +if [ "X${PKG_ARCH}" = "X" ]; then +export PKG_ARCH=`uname -m` +fi + # usage: extract-names cd# [portsdir] extract-names() { @@ -63,9 +67,9 @@ extract-names() ## Start of set for CDROM #1 # This is the set required by sysinstall. CDROM_SET_1="" -if [ "X`uname -m`" = "Xalpha" ]; then +if [ "X${PKG_ARCH}" = "Xalpha" ]; then CDROM_SET_1="${CDROM_SET_1} emulators/osf1_base" -else +elif [ "X${PKG_ARCH}" = "Xi386" ]; then CDROM_SET_1="${CDROM_SET_1} emulators/linux_base" fi CDROM_SET_1="${CDROM_SET_1} net/pcnfsd" @@ -118,10 +122,10 @@ CDROM_SET_1="${CDROM_SET_1} net/samba" CDROM_SET_1="${CDROM_SET_1} news/slrn" CDROM_SET_1="${CDROM_SET_1} news/tin" CDROM_SET_1="${CDROM_SET_1} print/a2ps-letter" -if [ "X`uname -m`" = "Xalpha" ]; then +if [ "X${PKG_ARCH}" = "Xalpha" ]; then CDROM_SET_1="${CDROM_SET_1} print/acroread4" fi -if [ "X`uname -m`" = "Xi386" ]; then +if [ "X${PKG_ARCH}" = "Xi386" ]; then CDROM_SET_1="${CDROM_SET_1} print/acroread5" fi CDROM_SET_1="${CDROM_SET_1} print/apsfilter" @@ -135,6 +139,7 @@ CDROM_SET_1="${CDROM_SET_1} shells/pdksh" CDROM_SET_1="${CDROM_SET_1} shells/zsh" CDROM_SET_1="${CDROM_SET_1} sysutils/portupgrade" CDROM_SET_1="${CDROM_SET_1} www/lynx" +CDROM_SET_1="${CDROM_SET_1} www/mozilla" CDROM_SET_1="${CDROM_SET_1} www/netscape-remote" CDROM_SET_1="${CDROM_SET_1} www/netscape-wrapper" CDROM_SET_1="${CDROM_SET_1} www/netscape48-communicator" @@ -146,9 +151,13 @@ CDROM_SET_1="${CDROM_SET_1} x11/rxvt" CDROM_SET_1="${CDROM_SET_1} archivers/unzip" CDROM_SET_1="${CDROM_SET_1} devel/gmake" CDROM_SET_1="${CDROM_SET_1} graphics/png" +if [ "X${PKG_ARCH}" = "Xi386" ]; then CDROM_SET_1="${CDROM_SET_1} misc/compat22" +fi +if [ "X${PKG_ARCH}" = "Xi386" -o "X${PKG_ARCH}" = "Xalpha" ]; then CDROM_SET_1="${CDROM_SET_1} misc/compat3x" CDROM_SET_1="${CDROM_SET_1} misc/compat4x" +fi ## End of set for CDROM #1 |
