cvs commit: ports/Tools/portbuild/scripts dopackages
Mark Linimon
linimon at FreeBSD.org
Fri Jun 25 23:14:15 UTC 2010
linimon 2010-06-25 23:14:14 UTC
FreeBSD ports repository
Modified files:
Tools/portbuild/scripts dopackages
Log:
Generalize the packge building scripts to be able to be run on more than
one 'head' node, rather than just pointyhat itself.
Constants are factored out into installation-specific files known as
portbuild/conf/server.conf and portbuild/conf/client.conf. There is
only one server.conf file. Individual <arch> directories may have
their own client.conf files, or may symlink to ../conf/client.conf.
Several bugs are fixed and improvements are made:
- the name of the journal file is changed from 'make' (ew) to
'journal'.
- the 'date' parameter becomes 'datestamp' to delinate the script's
uses of the date command vs. the parameter. This is mostly for
readability.
- add the -nochecksubdirs option. This is only useful for restarted
or incremental runs.
- refactor the error returns a bit.
- exit gracefully if no INDEXFILE.
- fix a bug in the 'packages built' logic that would return -2 if no
packages were actually built.
- change the misnamed 'cvsdone' file to '.updated'.
- clean up the 'task waiting' logic.
Feature safe: yes
Revision Changes Path
1.54 +82 -46 ports/Tools/portbuild/scripts/dopackages
More information about the cvs-ports
mailing list