aboutsummaryrefslogtreecommitdiff
path: root/Tools/portbuild
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Sync with bento:Kris Kennaway2003-01-241-13/+13
| | | | | | | | | | | - Switch to using ${arch}/${branch} subdirectory instead of ${branch} - export INDEXFILE, MACHINE_ARCH and ARCH variables - Add (commented out) FETCH_BEFORE_ARGS setting - Add MASTER_SITE_OVERRIDE to fetch from ftp://bento - Zap some mouldy old unused variables Notes: svn path=/head/; revision=73904
* Remove these scripts, which are no longer useful.Kris Kennaway2003-01-243-47/+0
| | | | Notes: svn path=/head/; revision=73902
* Convert this to buildenv to make it actually work properly.Kris Kennaway2002-11-181-38/+7
| | | | Notes: svn path=/head/; revision=70391
* Fix the html output of this script. There was neither a closingKris Kennaway2002-11-101-15/+21
| | | | | | | | | | | | | | body tag nor a closing html tag. In general, browsers work without these, but Konqueror in particular was displaying some artifacts. Also make sure empty cells have an nbsp directive; eliminate a bogus case for Aff.; and change Date build to Build date. Submitted by: Mark Linimon <linimon@lonesome.com> PR: www/45021 Notes: svn path=/head/; revision=69806
* Catch up to lots of changes from bento/beta:Kris Kennaway2002-11-081-144/+180
| | | | | | | | | | | | | | | | | | | | | | | * Update list of quickports to include kde3 * Add ability to restart builds (-restart) * Change default to build packages for non-cdrom use (associated option name inverted from -nocdrom to -cdrom) * Cope with .tgz or .tbz packages * Use buildenv framework * Use cvs update -PdA instead of -Pd when updating ports/docs tree * Always delete restricted packages after a build run, since they are published on the website. * Minor cosmetic changes Notes: svn path=/head/; revision=69756
* Revamp this script:Kris Kennaway2002-11-031-64/+243
| | | | | | | | | | | | | | | | | | | * generate an interim .logs file containing the data to be presented in the html files (also useful for other consumers, like fenner's per-maintainer error logs) * Generate 5 different summaries of the error data, sorted by port name, maintainer, category, build error, builddate * Improve the table html code so it renders faster * Add a few new failure reasons Submitted by: edwin (based on) PR: ports/43927 Notes: svn path=/head/; revision=69384
* Add C versions of the pnohang and ptimeout scripts (previously written inKris Kennaway2002-11-032-0/+192
| | | | | | | | | perl). Thanks to all those who submitted versions of these. Submitted by: marcus (based on) Notes: svn path=/head/; revision=69315
* Use the correct filename for the FreeBSD version string used by theKris Kennaway2002-11-021-14/+2
| | | | | | | | | uname script. Mount the docs from the correct location. Remove the hack to pkg_add perl into the chroot environment, now that the scripts no longer rely on it. Notes: svn path=/head/; revision=69289
* Read FTP url from ${ftpurl}. Remove hack to fetch perl package into theKris Kennaway2002-11-021-8/+2
| | | | | | | bindist now that it is no longer required. Notes: svn path=/head/; revision=69288
* Support either .tgz or .tbz packagesKris Kennaway2002-11-021-2/+2
| | | | Notes: svn path=/head/; revision=69287
* Add FTP_PASSIVE_MODE. Build tgz packages on 4 and 4-exp, and tbz on 5.Kris Kennaway2002-11-021-2/+8
| | | | Notes: svn path=/head/; revision=69286
* Correct a messageKris Kennaway2002-09-151-1/+1
| | | | Notes: svn path=/head/; revision=66390
* Conditionalize one more thing on i386Kris Kennaway2002-09-151-1/+1
| | | | Notes: svn path=/head/; revision=66389
* Optimize the html output by putting multiple missing files in the sameKris Kennaway2002-09-151-7/+9
| | | | | | | | | | | table row, instead of making a new row for every single file. This cuts down the generated page size drastically, improving rendering times. Submitted by: Edwin Groothuis <edwin@mavetju.org> PR: ports/40962 Notes: svn path=/head/; revision=66388
* Add a bunch of new failure modes (mostly to do with ports failing on 5.0)Kris Kennaway2002-09-151-2/+14
| | | | Notes: svn path=/head/; revision=66387
* Use PKGSUFFIX from buildenvKris Kennaway2002-09-151-1/+5
| | | | Notes: svn path=/head/; revision=66386
* Add PKG_PATH so packages can be found automatically (not sure what causedKris Kennaway2002-09-151-1/+3
| | | | | | | this to break). Support both .tgz and .tbz packages. Notes: svn path=/head/; revision=66385
* .tbz packages are now standardKris Kennaway2002-09-151-2/+2
| | | | Notes: svn path=/head/; revision=66384
* * XFREE86_VERSION=4 is now standardKris Kennaway2002-09-151-3/+4
| | | | | | | * Add PKGSUFFIX and PKGZIPCMD variables Notes: svn path=/head/; revision=66383
* * Support multiple arches and conditionalize i386-only stuffKris Kennaway2002-09-151-2/+12
| | | | | | | * Fetch perl package on -current Notes: svn path=/head/; revision=66382
* * Catch up to .tbz packagesKris Kennaway2002-09-151-6/+11
| | | | | | | | * Hack to use perl package on -current (needs to be done better somehow) * Use buildenv Notes: svn path=/head/; revision=66380
* Allow packages to be installed in the build chroot; this is neededKris Kennaway2002-06-061-1/+9
| | | | | | | | for 5.x package builds since the pnohang script is written in perl, which was removed from the base OS. Notes: svn path=/head/; revision=60723