summaryrefslogtreecommitdiff
path: root/Tools/portbuild (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Condense the table a bitKris Kennaway2003-10-131-3/+3
| | | | Notes: svn path=/head/; revision=90994
* The newfailure file is no longer updated by buildsKris Kennaway2003-10-131-3/+0
| | | | Notes: svn path=/head/; revision=90977
* Script for migrating from old-style to new-style failure log file.Kris Kennaway2003-10-131-0/+74
| | | | Notes: svn path=/head/; revision=90976
* * newfailure is no longer updated, no need to prune itKris Kennaway2003-10-131-42/+6
| | | | | | | * Update failure file format with both original and latest failure date Notes: svn path=/head/; revision=90975
* * Generate newfailure file (sorted list by original failure date) from failureKris Kennaway2003-10-131-10/+13
| | | | | | | | * Enhance HTML output to include both original and latest failure date, and number of times the build has failed. Notes: svn path=/head/; revision=90974
* * Try to be more careful when writing the failure file in case the diskKris Kennaway2003-10-131-13/+16
| | | | | | | | | | | is full * The newfailure file is no longer maintained, but generated as-needed by the processfail script * Update format of failure file (records both initial failure date and most recent failure date) Notes: svn path=/head/; revision=90973
* Add a script that prunes the contents of the failure and newfailure filesKris Kennaway2003-10-131-0/+114
| | | | | | | | | | | of stale entries (removed ports, ports listed in duds that were mistakenly built, malformed entries) and refreshes the version of entries to the latest in INDEX. This must be run under lockf (see the comments in the script) to avoid racing with portbuild which also tries to write to these files. Notes: svn path=/head/; revision=90961
* Teach this script about different architectures.Kris Kennaway2003-09-122-61/+54
| | | | Notes: svn path=/head/; revision=88968
* Add amd64 to the list of architectures to poll.Kris Kennaway2003-09-121-1/+1
| | | | Notes: svn path=/head/; revision=88967
* Add a couple of amd64 failure messages.Kris Kennaway2003-09-121-0/+6
| | | | Notes: svn path=/head/; revision=88966
* Remove some ldconfig -R's that were apparently confusing things, coalesceKris Kennaway2003-09-121-6/+3
| | | | | | | | some ldconfig -m's into one command, and run buildscript niced in the chroot build case, not just the (currently unused) jailed case. Notes: svn path=/head/; revision=88965
* Set PACKAGE_BUILDING before making the duds file to prevent listing ofKris Kennaway2003-09-121-0/+1
| | | | | | | ports that are buildable conditionally on this variable. Notes: svn path=/head/; revision=88964
* Export MASTER_SITE_OVERRIDE with DIST_SUBDIR correctly escapedKris Kennaway2003-09-121-2/+1
| | | | Notes: svn path=/head/; revision=88963
* Catch up to makefile changes: build in etc/ before trying to installKris Kennaway2003-09-121-0/+2
| | | | | | | | | from it. Submitted by: ru Notes: svn path=/head/; revision=88962
* Add a -fetch-original switch to dopackages that fetches the distfiles fromKris Kennaway2003-05-183-1/+16
| | | | | | | | | the listed MASTER_SITES instead of ftp-master. Pass the FETCH_ORIGINAL environment variable to pdispatch and as a command-line switch to portbuild. Notes: svn path=/head/; revision=81182
* Only transfer the build distfiles to bento if requested.Kris Kennaway2003-05-171-7/+14
| | | | | | | | Switch back to chroot builds until I can debug the remaining problems with jail builds. Notes: svn path=/head/; revision=81131
* Pass down the request to keep distfiles if appropriate.Kris Kennaway2003-05-171-0/+3
| | | | Notes: svn path=/head/; revision=81130
* Add a -distfiles flag to specify that we should retain distfiles for laterKris Kennaway2003-05-171-4/+12
| | | | | | | | | | | processing (e.g. transfer to ftp site). It was taking up too much disk space to collect distfiles for 14 architecture/version combinations (including the backup set from the previous run). Put the cvsdone files in the arch/branch subdirectory, not arch/. Notes: svn path=/head/; revision=81129
* Switch to polling the clients with netcat to collect load stats, insteadKris Kennaway2003-05-171-13/+10
| | | | | | | | | of having the clients scp their loads to bento every 10 seconds. Fix some indentation and add some sleeps to make sure the startup script doesn't run too early in the boot process. Notes: svn path=/head/; revision=81128
* Update sed pattern used to process logsKris Kennaway2003-04-061-1/+1
| | | | Notes: svn path=/head/; revision=78394
* Zap some old/non-useful codeKris Kennaway2003-04-061-108/+106
| | | | | | | | | | | | Add some new command-line options: * -continue : restart the build without rebuilding ports that have already failed * -nofinish : don't run the post-processing steps when the build finishes * -finish : run the post-processing steps only Reorder some code sections appropriately Notes: svn path=/head/; revision=78393
* - Define __MAKE_CONF to allow per-arch make.conf files in buildworldKris Kennaway2003-03-231-5/+19
| | | | | | | | | | - Set the UNAME_* variables to make use of the override support in uname(1) This allows us to get rid of the uname shell script in the build chroots - Collect some variables that are probably old and mouldy, for later GCing - If FETCH_ORIGINAL is set in the environment, don't fetch from ftp-master Notes: svn path=/head/; revision=77180
* Instead of pushing the load data to the master with scp every 10 seconds,Kris Kennaway2003-02-221-13/+3
| | | | | | | just report it via an inetd service. Notes: svn path=/head/; revision=76207
* * Allow port builds to be started with a certain niceness ('nice' parameterKris Kennaway2003-02-221-1/+15
| | | | | | | | | | | | | | | | in portbuild.conf). [1] * Build stage 2 builds in a jail instead of a chroot. This allows us to detect ports that attempt IP communication during the build, as well as allowing clean termination of the port build (packages built in a chroot can leave processes hanging around after the build finishes). There are some caveats with this approach which will be worked around in a future commit. Requested by: peter [1] Notes: svn path=/head/; revision=76205
* If ${buildworld}=1 in mkbindist.conf, then use the makeworld script toKris Kennaway2003-02-221-48/+44
| | | | | | | | build world and populate the chroot. Otherwise, if ${ftp}=1 then fetch it from the ftp site as before. Notes: svn path=/head/; revision=76204
* Simplify the collection of load statistics for the cluster. LoadsKris Kennaway2003-02-221-33/+35
| | | | | | | | | are now collected by polling a small server on the client (using netcat) instead of having the client scp the load files to the master every 10 seconds (!!!) Notes: svn path=/head/; revision=76203
* Store dates in +%s formatKris Kennaway2003-02-221-3/+3
| | | | Notes: svn path=/head/; revision=76202
* Search for a lot of new failure strings to reduce the number of buildKris Kennaway2003-02-141-4/+177
| | | | | | | | | | failures listed as '???'. Submitted by: Mark Linimon <linimon@lonesome.com> PR: www/44919 Notes: svn path=/head/; revision=75496
* Work around broken rand() in -current by changing the way we pick aKris Kennaway2003-02-141-3/+3
| | | | | | | random build host. Notes: svn path=/head/; revision=75495
* - If ${ftp} = 0 in mkbindist.conf, then use the makeworld script to buildKris Kennaway2003-02-141-77/+56
| | | | | | | a world instead. Notes: svn path=/head/; revision=75494
* - Correct usage messageKris Kennaway2003-02-141-7/+2
| | | | | | | | - Don't try and use buildenv, it's useless - Set TARGET_ARCH instead Notes: svn path=/head/; revision=75493
* If the port directory contains a file called .keep, then tar up theKris Kennaway2003-01-242-0/+10
| | | | | | | | ${WRKDIR} after the port build completes and copy it to ${arch}/${branch}/wrkdirs/${pkgname}.tbz. Notes: svn path=/head/; revision=73937
* These scripts have been replaced by .c versions that do not require perl.Kris Kennaway2003-01-242-111/+0
| | | | Notes: svn path=/head/; revision=73926
* - Use ${arch} and rename html files accordinglyKris Kennaway2003-01-241-9/+11
| | | | | | | | | - Call processfail to produce 'new port failures' page - Comment out the 'comparelogs' calls for now until I make them aware of architectures that don't have 4.x support Notes: svn path=/head/; revision=73925
* First cut at a script to process the logfile maintained by 'buildsuccess'Kris Kennaway2003-01-241-0/+68
| | | | | | | | | | and 'buildfailure' and produce a HTML output listing ports with the date they became broken. The output can surely be made more useful (e.g. it always links to the ${branch}-latest logs, which may not exist when the build-in-progress has not yet attempted the build of that port). Notes: svn path=/head/; revision=73924
* These scripts are run when a build completes (successfully or not). TheyKris Kennaway2003-01-242-0/+80
| | | | | | | | | | keep track of the number of times a port has failed to build, resetting the counter when it builds successfully. There are still some bugs to be worked out, but this will be used as the basis for maintainer notification of port failures. Notes: svn path=/head/; revision=73922
* Simple script to check the number of packages built on the variousKris Kennaway2003-01-241-0/+17
| | | | | | | architectures, for a given branch. Notes: svn path=/head/; revision=73921
* Script to automate the process of cvs updating the build tree, performingKris Kennaway2003-01-241-0/+91
| | | | | | | | the buildworld, installworld and 'make distribute' necessary for preparing a bindist. Notes: svn path=/head/; revision=73919
* - Use ${arch}Kris Kennaway2003-01-241-5/+6
| | | | Notes: svn path=/head/; revision=73918
* Determine client architecture using /etc/archKris Kennaway2003-01-241-4/+2
| | | | Notes: svn path=/head/; revision=73917
* - Use ${arch}Kris Kennaway2003-01-241-2/+3
| | | | | | | - Support builds as non-privileged user Notes: svn path=/head/; revision=73916
* Check status of multiple architecture client machinesKris Kennaway2003-01-241-35/+40
| | | | Notes: svn path=/head/; revision=73915
* - Use ${arch}Kris Kennaway2003-01-241-20/+27
| | | | | | | | | | | - Increase timeout to 2 hours (needs to be arch-specific) - Mount nfs filesystems with nfsv3,intr (the latter so that clients do not hang if bento panics) - Run pnohang.${arch} on clients instead of pnohang - Support builds as non-privileged user Notes: svn path=/head/; revision=73914
* - Use ${arch}Kris Kennaway2003-01-241-11/+11
| | | | | | | | | - Increase timeout to 8 hours (this needs to be made per-arch so it doesn't overly pessimize fast client machines) - Support building as a non-privileged user Notes: svn path=/head/; revision=73913
* - Use ${arch}Kris Kennaway2003-01-241-6/+7
| | | | | | | - Mount on ${master} instead of localhost Notes: svn path=/head/; revision=73912
* - Use ${arch} and ${INDEXFILE}Kris Kennaway2003-01-241-6/+11
| | | | Notes: svn path=/head/; revision=73911
* Add the ${arch} argumentKris Kennaway2003-01-241-4/+6
| | | | Notes: svn path=/head/; revision=73910
* - Use the ${arch} subdirectory and pass ${arch} around to other scriptsKris Kennaway2003-01-241-155/+161
| | | | | | | | | | - Use $INDEXFILE - Use makeparallel script instead of 'make parallel' - Support building packages as a non-privileged user (needs root access to client machines) Notes: svn path=/head/; revision=73909
* Add makeparallel script, an improved version of the 'parallel' targetKris Kennaway2003-01-241-0/+30
| | | | | | | | in ports/Makefile. It uses the buildenv framework to obtain the correct PKGSUFFIX and INDEXFILE variables. Notes: svn path=/head/; revision=73908
* Use pkg_add instead of pkg_add -fKris Kennaway2003-01-241-3/+3
| | | | Notes: svn path=/head/; revision=73905