]> Zhao Yanbai Git Server - minix.git/commitdiff
Release.sh now uses packages.install and package_sources.install to
authorArun Thomas <arun@minix3.org>
Sat, 30 May 2009 09:31:19 +0000 (09:31 +0000)
committerArun Thomas <arun@minix3.org>
Sat, 30 May 2009 09:31:19 +0000 (09:31 +0000)
determine which packages and package sources to include on the
installation media, as opposed to including everything in the
PACKAGEDIR AND PACKAGESOURCEDIR directories.

tools/package_sources.install [new file with mode: 0644]
tools/packages.install [new file with mode: 0644]
tools/release.sh

diff --git a/tools/package_sources.install b/tools/package_sources.install
new file mode 100644 (file)
index 0000000..5e0b1b7
--- /dev/null
@@ -0,0 +1,133 @@
+CSSC-1.0.1
+PopTart-0.9.7
+Xaw3d-1.5
+ackpack
+antiword-0.35
+apache-1.3.37
+apr-0.9.12
+apr-util-0.9.12
+ascii-3.8
+atk-1.9.0
+audio-1.0.0
+autoconf-2.59
+autoconf-2.60
+automake-1.9
+avra-0.7
+bash-3.0
+bc-1.06
+bchunk-1.2.0
+bcrypt-1.1
+bison-2.1
+catdoc-0.94.2
+cpio-2.5
+ctags-5.5.4
+cvs-1.11.21
+dact-0.8.39
+diffstat-1.39
+diffutils-2.8.1
+dungeon-2.7.1
+ede-1.1
+efltk-2.0.6
+elvis
+exim-4.66
+fb
+flawfinder-1.26
+flex-2.5.4
+flip-1.19
+fltk-1.1.7
+fltk-2.0.0-5220
+gawk-3.1.4
+gdbm-1.8.3
+gettext-0.14
+glib-1.2.10
+glib-2.10.0
+gnupg-1.4.8
+grep-2.5.1a
+groff-1.19.2
+gv-3.5.8
+gzip-1.2.4
+gzip-beta-1.3.3
+hexcat-0.0.3
+irssi-0.8.10
+jikes-1.22
+john-1.7.2
+jpeg-6b
+jwm-1.8
+kermit-2.1.1
+lcrack-20040914
+less-3.8.5
+lesstif-0.93.96
+libiconv-1.9.1
+libmcrypt-2.5.7
+libpng-1.2.8
+libungif-4.1.3
+libxml2-2.6.28
+links-2.1pre26
+lpr
+lynx2-8-5
+lzo-1.08
+lzop-1.01
+m4-1.4.3
+make-3.80
+mdf2iso
+mtools-3.9.7
+nano-1.3.12
+nasm-0.98.38
+nawk
+ncftp-3.1.9
+ncsa_httpd_1.4
+ncurses-5.5
+neon-0.25.5
+nethack-3.4.3-2
+netpbm-10.26.30
+nomarch-1.3
+nrg2iso-0.2
+nvi-1.79
+openssh-4.3p2
+openssl-0.9.8a
+patch-2.5.4
+pce-0.1.7
+pcre-4.5
+pdksh-5.2.14
+picasm112c
+pine-4.64
+pkg-config-0.20
+prng-3.0.2
+pscan-1.1
+pstotext-1.9
+psutils
+python-2.4.3
+rcs-5.7
+readline-5.1
+rman-3.2
+robodoc-4.0.18
+rsync-2.6.7
+screen-4.0.2
+sed-3.02
+shhmsg-1.4.1
+simhv35-2
+sip-0.4
+slang-1.4.9
+slrn-0.9.8.1
+sqlite-3.3.17
+src2tex-2.12
+ssmtp-2.61
+subversion-1.4.0
+tcl8.4.14
+texinfo-4.7
+tiff-3.8.2
+tk8.4.14
+unrtf-0.19.3
+unzip-5.52
+vice-1.19
+vice-1.20
+vile-9.4
+vim-6.3
+wdiff-0.5
+webcpp-0.8.4
+wget-1.5.3
+whichman-2.4
+xv-3.10a
+zip-2.31
+zlib-1.2.3
+zsh-4.2.6
diff --git a/tools/packages.install b/tools/packages.install
new file mode 100644 (file)
index 0000000..34c34bb
--- /dev/null
@@ -0,0 +1,120 @@
+CSSC-1.0.1
+ImageMagick-6.3.1
+MPlayer-1.0rc1
+PopTart-0.9.7
+X11R6.8.2
+Xaw3d-1.5
+ackpack
+antiword-0.35
+apache-1.3.37
+apr-0.9.12
+apr-util-0.9.12
+ascii-3.8
+atk-1.9.0
+audio-1.0.0
+autoconf-2.59
+autoconf-2.60
+automake-1.9
+avra-0.7
+bash-3.0
+bc-1.06
+bchunk-1.2.0
+bcrypt-1.1
+binutils-2.16.1
+bison-2.1
+catdoc-0.94.2
+cvs-1.11.21
+diffutils-2.8.1
+dungeon-2.7.1
+ede-1.1
+efltk-2.0.6
+elvis
+emacs-21.4
+exim-4.66
+fb
+flawfinder-1.26
+flex-2.5.4
+fltk-1.1.7
+fltk-2.0.0-5220
+gawk-3.1.4
+gcc-4.1.1-libs
+gcc-4.1.1
+gettext-0.14
+ghostscript-8.54-gpl
+ghostscript-fonts-std-8.11
+glib-1.2.10
+gnu-coreutils-5.2.1
+gnupg-1.4.8
+grep-2.5.1a
+groff-1.19.2
+gv-3.5.8
+gzip-1.2.4
+hexcat-0.0.3
+irssi-0.8.10
+jikes-1.22
+john-1.7.2
+jpeg-6b
+jwm-1.8
+kermit-2.1.1
+lcrack-20040914
+less-3.8.5
+lesstif-0.93.96
+libiconv-1.9.1
+libpng-1.2.8
+libxml2-2.6.28
+links-2.1pre26
+lpr
+lynx2-8-5
+m4-1.4.3
+make-3.80
+mdf2iso
+mtools-3.9.7
+nano-1.3.12
+nawk
+ncftp-3.1.9
+ncurses-5.5
+neon-0.25.5
+nethack-3.4.3-2
+nomarch-1.3
+nvi-1.79
+openssh-4.3p2
+openssl-0.9.8a
+patch-2.5.4
+pce-0.1.7
+pdksh-5.2.14
+perl-5.8.7
+php-5.2.1
+pine-4.64
+pkg-config-0.20
+psutils
+python-2.4.3
+rcs-5.7
+readline-5.1
+rman-3.2
+rsync-2.6.7
+screen-4.0.2
+sed-3.02
+shhmsg-1.4.1
+simhv35-2
+sip-0.4
+slang-1.4.9
+slrn-0.9.8.1
+sqlite-3.3.17
+ssmtp-2.61
+subversion-1.4.0
+tcl8.4.14
+texinfo-4.7
+tiff-3.8.2
+tk8.4.14
+unrtf-0.19.3
+unzip-5.52
+vice-1.20
+vile-9.4
+vim-6.3
+webcpp-0.8.4
+wget-1.5.3
+whichman-2.4
+xv-3.10a
+zip-2.31
+zlib-1.2.3
+zsh-4.2.6
index 8974521480fead20da0b49e133705e8aa726b198..a94e5b3787de6c1b2d9e051d94975f9b88477603 100755 (executable)
@@ -10,6 +10,10 @@ TMPKB=32000
 
 PACKAGEDIR=/usr/bigports/Packages
 PACKAGESOURCEDIR=/usr/bigports/Sources
+# List of packages included on installation media
+PACKAGELIST=packages.install
+# List of package source included on installation media
+PACKAGESOURCELIST=package_sources.install
 secs=`expr 32 '*' 64`
 export SHELL=/bin/sh
 
@@ -205,24 +209,37 @@ cp -rp /usr/lib $RELEASEDIR/usr
 cp -rp /bin/bigsh /bin/sh /bin/echo $RELEASEDIR/bin
 cp -rp /usr/bin/make /usr/bin/install /usr/bin/yacc /usr/bin/flex $RELEASEDIR/usr/bin
 
-if [ -d $PACKAGEDIR -a -d $PACKAGESOURCEDIR -a $PACKAGES -ne 0 ]
+if [ -d $PACKAGEDIR -a -d $PACKAGESOURCEDIR -a -f $PACKAGELIST -a -f $PACKAGESOURCELIST -a $PACKAGES -ne 0 ]
 then   echo " * Indexing packages"
        bintotal=0
-       ( cd $PACKAGEDIR
-         for p in *.tar.bz2
+       ( for p in `cat $PACKAGELIST`
          do    
-               p="`echo $p | sed 's/.tar.bz2//'`"
-               descr="../$p/.descr"
+               descr="$PACKAGEDIR/../$p/.descr"
                if [ -f "$descr" ]
                then    echo "$p|`cat $descr`"
                fi
-         done | tee List
+         done | tee $RELEASEPACKAGE/List
        )
        echo " * Transfering $PACKAGEDIR to $RELEASEPACKAGE"
-       cp $PACKAGEDIR/* $RELEASEPACKAGE/
+        for p in `cat $PACKAGELIST`
+        do
+               if [ -f $PACKAGEDIR/$p.tar.bz2 ]
+               then
+                 cp $PACKAGEDIR/$p.tar.bz2 $RELEASEPACKAGE/
+               else
+                  echo "Can't copy $PACKAGEDIR/$p.tar.bz2. Missing."
+               fi
+        done
        echo " * Transfering $PACKAGESOURCEDIR to $RELEASEPACKAGESOURCES"
-       cp $PACKAGESOURCEDIR/* $RELEASEPACKAGESOURCES/ || true
-
+        for p in `cat $PACKAGESOURCELIST`
+        do
+               if [ -f $PACKAGESOURCEDIR/$p.tar.bz2 ]
+               then
+                 cp $PACKAGESOURCEDIR/$p.tar.bz2 $RELEASEPACKAGESOURCES/
+               else
+                  echo "Can't copy $PACKAGESOURCEDIR/$p.tar.bz2. Missing."
+               fi
+        done
 fi
 
 # Make sure compilers and libraries are bin-owned