diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-03-09 23:11:11 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-03-09 23:11:11 +0000 |
commit | 2c2d88145a86ed7376fd15cd3ac15dc0c6b69f1d (patch) | |
tree | 5d2f534521857b5b70d64d3ff89005d9622d9e71 /Tools | |
parent | 6601c13809beb257ebacdfbb89745a29c24f8917 (diff) | |
download | ports-2c2d88145a86ed7376fd15cd3ac15dc0c6b69f1d.tar.gz ports-2c2d88145a86ed7376fd15cd3ac15dc0c6b69f1d.zip |
* Reverse sense of NOPLISTCHECK -> PLISTCHECK, since it's not an option
we want enabled by default (it causes too many build failures). This
was too easy to forget when building packages 'by hand' using the parallel
makefile.
* Display correct pathnames in build progress messages
* Add a -nocdrom option to avoid the (time-consuming) clean-for-cdrom-list
target
* Remove x11/XFree86 from dummyports since we don't want to use an old
stale version of the package which never gets rebuilt
* Add comments noting that we should check for CVS conflicts in the cvs
update scripts and exit gracefully.
Notes
Notes:
svn path=/head/; revision=55793
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/portbuild/scripts/dopackages | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/Tools/portbuild/scripts/dopackages b/Tools/portbuild/scripts/dopackages index 677eab4b9ed6..88612ba193c8 100755 --- a/Tools/portbuild/scripts/dopackages +++ b/Tools/portbuild/scripts/dopackages @@ -6,7 +6,7 @@ pb=/var/portbuild . ${pb}/portbuild.conf # packages for dependencies only -dummyports="x11/XFree86" +dummyports="" #x11/XFree86" # packages that take very long to build -- try to start building these first quickports="lang/ghc games/civ2demo games/rt2-demo x11/XFree86-4 editors/openoffice games/hlserver-cs misc/heyu x11/gnome x11/kde2" @@ -19,7 +19,7 @@ errorexit () { } usage () { - echo "usage: [-nobuild] [-noindex] [-noduds] [-nocvsup] [-nocvs] [-noportscvs] [-norestr] [-noplistcheck] [-nodummy] [-ftp] branch date" + echo "usage: [-nobuild] [-noindex] [-noduds] [-nocvsup] [-nocvs] [-noportscvs] [-norestr] [-plistcheck] [-nodummy] [-ftp] branch date" errorexit 1 } @@ -187,8 +187,9 @@ nocvsup=0 nocvs=0 noportscvs=0 norestr=0 -noplistcheck=0 +plistcheck=0 nodummy=0 +nocdrom=0 ftp=0 # optional arguments @@ -203,6 +204,9 @@ while [ $# -gt 2 ]; do x-noduds) noduds=1 ;; + x-nocdrom) + nocdrom=1 + ;; x-nocvsup) nocvsup=1 ;; @@ -215,8 +219,8 @@ while [ $# -gt 2 ]; do x-norestr) norestr=1 ;; - x-noplistcheck) - noplistcheck=1 + x-plistcheck) + plistcheck=1 ;; x-nodummy) nodummy=1 @@ -242,8 +246,8 @@ if [ "$norestr" = 1 ]; then export NO_RESTRICTED=t fi -if [ "$noplistcheck" = 1 ]; then - export NOPLISTCHECK=t +if [ "$plistcheck" = 1 ]; then + export PLISTCHECK=t fi if [ "$nodummy" = 1 ]; then @@ -261,9 +265,10 @@ if [ "$nocvsup" = 0 ]; then # su ${user} -c 'cvsup -g -L 0 /etc/supfile.cvsup' if [ "$noportscvs" = 0 ]; then echo "================================================" - echo "running cvs update on /${branch}/ports" + echo "running cvs update on ${pb}/${branch}/ports" echo "================================================" su ${user} -c 'cvs -qR update -d -P' + # XXX Check for conflicts fi date > ${pb}/cvsdone echo "================================================" @@ -275,14 +280,16 @@ if [ "$nocvsup" = 0 ]; then echo "================================================" cd ${pb}/usr/opt/doc su ${user} -c 'cvs -qR update -d -P' + # XXX Check for conflicts fi if [ "$nocvs" = 0 ]; then echo "================================================" - echo "running cvs update on /${branch}/src" + echo "running cvs update on ${pb}/${branch}/src" echo "================================================" cd ${pb}/${branch}/src su ${user} -c 'cvs -qR update -d -P' + # XXX Check for conflicts fi export SRCPREFIX=${pb}/${branch}/src @@ -309,7 +316,9 @@ done restrictedlist ${pb} ${scripts} ${branch} & sleep 2 -cdromlist ${pb} ${scripts} ${branch} & +if [ "$nocdrom" = 0 ]; then + cdromlist ${pb} ${scripts} ${branch} & +fi wait |