aboutsummaryrefslogtreecommitdiff
path: root/Tools
Commit message (Collapse)AuthorAgeFilesLines
* Fix it for real this time.Mark Linimon2010-08-161-7/+13
| | | | Notes: svn path=/head/; revision=259412
* Restore the display of statistics for non-mainline runs.Mark Linimon2010-08-161-1/+1
| | | | Notes: svn path=/head/; revision=259346
* Add some missing error handling.Mark Linimon2010-08-161-0/+4
| | | | Notes: svn path=/head/; revision=259340
* Handle yet another error case.Mark Linimon2010-08-151-0/+3
| | | | Notes: svn path=/head/; revision=259280
* Correct some misleading documentation.Mark Linimon2010-08-101-3/+3
| | | | Notes: svn path=/head/; revision=259054
* Fix braino from production.Mark Linimon2010-08-022-2/+2
| | | | Notes: svn path=/head/; revision=258620
* Fix mishandling of root/all case.Mark Linimon2010-07-302-12/+10
| | | | Notes: svn path=/head/; revision=258458
* Push PACKAGE_BUILDING and MALLOC_OPTIONS up a level.Mark Linimon2010-06-301-4/+2
| | | | | | | Feature safe: yes Notes: svn path=/head/; revision=257214
* Remove now-redundant setting of PACKAGE_BUILDING.Mark Linimon2010-06-302-2/+0
| | | | | | | Feature safe: yes Notes: svn path=/head/; revision=257213
* Fix up usage of buildenv.client to deal with overenthusiasticMark Linimon2010-06-301-3/+5
| | | | | | | | | | refactoring. Pick up new CLIENT_MALLOC_OPTIONS parameter. Clean up comments. Feature safe: yes Notes: svn path=/head/; revision=257212
* Add CLIENT_MALLOC_OPTIONS.Mark Linimon2010-06-301-0/+3
| | | | | | | Feature safe: yes Notes: svn path=/head/; revision=257211
* The previous refactoring was too agressive. SRCBASE and friends are usedMark Linimon2010-06-301-15/+20
| | | | | | | | | | on both the client side and server side. Pointy hat to: self Feature safe: yes Notes: svn path=/head/; revision=257210
* Correct the URLs; 'http://' is not included in MASTER_URL.Mark Linimon2010-06-281-7/+7
| | | | | | | Feature safe: yes Notes: svn path=/head/; revision=257087
* Document some hard-coded stuff in the scripts.Mark Linimon2010-06-251-0/+22
| | | | | | | Feature safe: yes Notes: svn path=/head/; revision=257002
* A script that can be remotely run on package build clients to attempt toMark Linimon2010-06-251-0/+10
| | | | | | | | | clean up problems with squid. Feature safe: yes Notes: svn path=/head/; revision=257001
* Generalize the packge building scripts to be able to be run on more thanMark Linimon2010-06-252-4/+8
| | | | | | | | | | | | | | | | 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. NOTE: these scripts are not yet parameterized, so this is WIP. Feature safe: yes Notes: svn path=/head/; revision=257000
* Generalize the packge building scripts to be able to be run on more thanMark Linimon2010-06-252-62/+37
| | | | | | | | | | | | | | | | | | | | | | | | 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: - parameterize everything. - switch to csup. (This necessitates pushing the repos down one directory level, e.g. ports-head/ports and src/src-8. However, this will give us the flexibility to have e.g. src/src-8.1 in the future.) - note that the misnomer filename 'cvsdone', which was created here, is now changed to '.updated'. Feature safe: yes Notes: svn path=/head/; revision=256999
* Generalize the packge building scripts to be able to be run on more thanMark Linimon2010-06-251-3/+5
| | | | | | | | | | | | | | | | 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. While here, do some refactoring. Feature safe: yes Notes: svn path=/head/; revision=256998
* Generalize the packge building scripts to be able to be run on more thanMark Linimon2010-06-251-2/+2
| | | | | | | | | | | | | | | | 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. Note the change of the misnomer filename 'cvsdone' to '.updated'. Feature safe: yes Notes: svn path=/head/; revision=256997
* Generalize the packge building scripts to be able to be run on more thanMark Linimon2010-06-251-19/+22
| | | | | | | | | | | | | | | | | | | | 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: - suppress error message if there are no logs yet. - change the misnomer filename 'cvsdone' to '.updated'. - fix a bug by un-escaping '_' in the timestamp. Feature safe: yes Notes: svn path=/head/; revision=256996
* Generalize the packge building scripts to be able to be run on more thanMark Linimon2010-06-251-3/+8
| | | | | | | | | | | | | | | | 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. While here, fix error messages displayed on new runs. Feature safe: yes Notes: svn path=/head/; revision=256995
* Generalize the packge building scripts to be able to be run on more thanMark Linimon2010-06-251-29/+46
| | | | | | | | | | | | | | | | | | | | | | 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. *very* carefully note where the exported variables are consumed. Several bugs are fixed and improvements are made: - the file UNAME_VERSION appears unused, so it is removed. The information is passed in overrides to uname(1). - parameterize arch-specific setup code. Feature safe: yes Notes: svn path=/head/; revision=256994
* Generalize the packge building scripts to be able to be run on more thanMark Linimon2010-06-251-9/+11
| | | | | | | | | | | | | | 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. Feature safe: yes Notes: svn path=/head/; revision=256992
* Generalize the packge building scripts to be able to be run on more thanMark Linimon2010-06-251-4/+16
| | | | | | | | | | | | | | | | | 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. Note the removal of the hard-coding of INDEX.N, where N has to be a single digit, and also have no '.' in it. Feature safe: yes Notes: svn path=/head/; revision=256991
* Generalize the packge building scripts to be able to be run on more thanMark Linimon2010-06-251-21/+6
| | | | | | | | | | | | | | | | 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. Note the very special handling of cvs tag. Feature safe: yes Notes: svn path=/head/; revision=256990
* Generalize the packge building scripts to be able to be run on more thanMark Linimon2010-06-251-2/+3
| | | | | | | | | | | | | | | | 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. Fix the sed script to correctly handle '.' in branch directory names. Feature safe: yes Notes: svn path=/head/; revision=256989
* Generalize the packge building scripts to be able to be run on more thanMark Linimon2010-06-251-0/+5
| | | | | | | | | | | | | | | | | 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. Gracefully handle the case of INDEX failing to build. This helps the calling script to exit instead of spewing errors. Feature safe: yes Notes: svn path=/head/; revision=256988
* Generalize the packge building scripts to be able to be run on more thanMark Linimon2010-06-251-1/+10
| | | | | | | | | | | | | | | | | 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. Add the copying over of client.conf to the clients, and take care to force the file copy regardless of whether it is a symlink. Feature safe: yes Notes: svn path=/head/; revision=256987
* Generalize the packge building scripts to be able to be run on more thanMark Linimon2010-06-251-45/+51
| | | | | | | | | | | | | | | | | | | | | | | | | 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 is changed from 'make' (ew) to 'journal'. - 'cvsdate' is replaced by the more accurate name '.updated' and documentation adjusted to match. - make it more clear that '.updated' means 'ports tree updated' instead of 'src tree updated' (although the same filename is used for both). - correctly handle the general case of non-mainstream branches (e.g. "7-exp") without hardcoding "-exp". Feature safe: yes Notes: svn path=/head/; revision=256986
* Generalize the packge building scripts to be able to be run on more thanMark Linimon2010-06-251-15/+30
| | | | | | | | | | | | | | | | | | | | | | | | 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. Note: the major change is to require branch as an argument. The silly code that expected the branch to be passed via a symlinked command such as 'dopackages.7' is removed. Several bugs are fixed and improvements are made: - make the separation of 'date' and 'datestamp' clearer. - make handling of error conditions (e.g. for a first-time run where 'build create' has been forgotten) more obvious. Feature safe: yes Notes: svn path=/head/; revision=256985
* Generalize the packge building scripts to be able to be run on more thanMark Linimon2010-06-251-46/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=256984
* Generalize the packge building scripts to be able to be run on more thanMark Linimon2010-06-251-0/+3
| | | | | | | | | | | | | | | | | 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. Note that this script will now figure out 'branches' by itself, thus removing the special-casing for '-exp'. Feature safe: yes Notes: svn path=/head/; revision=256983
* Generalize the packge building scripts to be able to be run on more thanMark Linimon2010-06-251-1/+6
| | | | | | | | | | | | | | | | 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. Note: it is still not clear to me if this script is currently used. Feature safe: yes Notes: svn path=/head/; revision=256982
* Generalize the packge building scripts to be able to be run on more thanMark Linimon2010-06-251-11/+17
| | | | | | | | | | | | | | | | 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. While here, rework the code a bit to parameterize arch-specific tasks. Feature safe: yes Notes: svn path=/head/; revision=256981
* Generalize the packge building scripts to be able to be run on more thanMark Linimon2010-06-251-9/+15
| | | | | | | | | | | | | | | | | 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. While here, carefully document the origin of the values of the environment variables that are passed in. Feature safe: yes Notes: svn path=/head/; revision=256980
* Generalize the packge building scripts to be able to be run on more thanMark Linimon2010-06-252-10/+22
| | | | | | | | | | | | | | | | 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. While here, do some cleanup. Feature safe: yes Notes: svn path=/head/; revision=256979
* Generalize the packge building scripts to be able to be run on more thanMark Linimon2010-06-251-76/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=256978
* Generalize the packge building scripts to be able to be run on more thanMark Linimon2010-06-251-31/+34
| | | | | | | | | | | | | | | | | | | | | 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: - archive directories are created if they do not exist. - the location of ZFS-based directories is generalized. - the special string "-exp" disappears. - handling of buildid is made more robust. Feature safe: yes Notes: svn path=/head/; revision=256977
* Generalize the packge building scripts to be able to be run on more thanMark Linimon2010-06-252-7/+13
| | | | | | | | | | | | | | | | 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. While here, fix a but in the handling of the 'all' case. Feature safe: yes Notes: svn path=/head/; revision=256976
* Generalize the packge building scripts to be able to be run on more thanMark Linimon2010-06-2511-12/+34
| | | | | | | | | | | | | | | | 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. This first set of files only gets the *.conf files and some cleanup. Feature safe: yes Notes: svn path=/head/; revision=256975
* Variant of the allgohans script that does locking. This has been inMark Linimon2010-06-251-0/+58
| | | | | | | | | use on pointyhat for a while. Feature safe: yes Notes: svn path=/head/; revision=256973
* Note the files that shouldn't be checked into the repository (theyMark Linimon2010-06-251-0/+3
| | | | | | | | | may contain private information). Feature safe: yes Notes: svn path=/head/; revision=256967
* Remove obsolete cruft that has not been used in several years.Mark Linimon2010-06-227-256/+0
| | | | | | | Feature safe: yes Notes: svn path=/head/; revision=256851
* A new file to document some generalization of scripts on a packageMark Linimon2010-06-221-0/+32
| | | | | | | | | | | | building server. For security reasons, the scripts themselves will not be checked in to this repository. Please do not commit to this file without the approval of portmgr. Feature safe: yes Notes: svn path=/head/; revision=256850
* Some configuration information that is shipped to the clients of aMark Linimon2010-06-221-0/+16
| | | | | | | | | | | package building cluster. Please do not commit to this file without the approval of portmgr. Feature safe: yes Notes: svn path=/head/; revision=256849
* A new file to centralize definitions that apply to the the package nodesMark Linimon2010-06-221-0/+40
| | | | | | | | | | | | used from a package building cluster. This is part of a rewrite to remove a great deal of hardcoding. Please do not commit to this file without the approval of portmgr. Feature safe: yes Notes: svn path=/head/; revision=256848
* A new file to centralize definitions that apply to the server-side ofMark Linimon2010-06-221-0/+97
| | | | | | | | | | | | a package building cluster. This is part of a rewrite to remove a great deal of hardcoding. Please do not commit to this file without the approval of portmgr. Feature safe: yes Notes: svn path=/head/; revision=256847
* Catch up with master copy on pointyhat.Mark Linimon2010-06-223-14/+40
| | | | | | | | | | Note: all 3 of these files will be changing radically in the near future. This is the last checkin from the "classic" codebase installation. Feature safe: yes Notes: svn path=/head/; revision=256813
* These appear to no longer be used.Mark Linimon2010-06-222-104/+0
| | | | | | | Feature safe: yes Notes: svn path=/head/; revision=256812
* - Unbreak the -n flag;Romain Tartière2010-06-061-6/+5
| | | | | | | | | - Remove invalid reference to freefall. Approved by: garga Notes: svn path=/head/; revision=255899