cvs commit: ports/Tools/portbuild/scripts buildenv
Mark Linimon
linimon at FreeBSD.org
Fri Jun 25 23:01:05 UTC 2010
linimon 2010-06-25 23:01:05 UTC
FreeBSD ports repository
Modified files:
Tools/portbuild/scripts buildenv
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 definitions for valid 'arch' and 'branch' are moved to
server.conf.
- the script is broken up into two pieces; the old 'buildenv' name
becomes the server side, and 'buildenv.client' is add for the
client side. 'buildenv.common' is what you would expect. This
makes the separation of what controls what more clear.
- the concept of 'branch base' is generalized to match any pattern
postpended with '-', thus removing the specialness of '-exp'. More
work remains on the other scripts to best take advantage of this.
- as a corollary, 'branch' can also have '.' in it, e.g., 6.4.
- the obsolete variables FTP_PASSIVE_MODE, PKGZIPCMD, and X_WINDOW_SYSTEM
are removed.
Feature safe: yes
Revision Changes Path
1.32 +80 -76 ports/Tools/portbuild/scripts/buildenv
More information about the cvs-ports
mailing list