summaryrefslogtreecommitdiffstats
path: root/Tools
Commit message (Collapse)AuthorAgeFilesLines
* - Handle different INDEX filename on 5.X and abovepav2005-09-041-2/+5
| | | | | PR: ports/85281 Submitted by: Vasil Dimov <vd@datamax.bg>
* Check for extra files on !i386 alsokris2005-07-241-6/+4
|
* Support FreeBSD 7.xkris2005-07-245-5/+15
|
* Drop the removed openoffice 1.0 ports from the quickports listkris2005-07-241-1/+1
|
* Correct typokris2005-07-241-1/+1
|
* Add prototypes for all the subroutines which fixes compilation withmarcus2005-07-101-9/+20
| | | | | | Perl 5.8.7. Reported by: mezz
* Fix typosvs2005-04-181-3/+3
| | | | Approved by: sobomax
* As discussed on the cvs-ports-list, make 'addport' print a warning if the ↵vs2005-04-121-0/+1
| | | | | | | | | directory name contains upper-case characters as it makes finding a port harder. PR: ports/79679 Approved by: will, portmgr(krion)
* Add a splitpatch.pl utility, a small script to convert multi-filetobez2005-04-122-0/+112
| | | | | | patches to several appropriately named single-file patches. Requested by: flz
* - Add bump_revision.pl, a small script to bump the PORTREVISION variableflz2005-04-122-1/+193
| | | | | | | | | | of ports which are depending on a port with a changed shared lib version. Edwin dedicates this script to his son Dirk, born few days ago :) Congrats (again) ! PR: ports/63915 Submitted by: edwin
* - Replace pkg-comment with COMMENT to reflect latest (*sigh*) changesflz2005-04-111-2/+2
| | | | | | | | in the ports framework. PR: ports/62767 Submitted by: Igor Pokrovsky <tiamat@comset.net> Approved by: maintainer timeout (> 8 months)
* Use WRKDIRPREFIX instead of hardcoded value.kris2005-04-111-1/+3
| | | | Clean up after we're done.
* Change rsync -l to -L for the tarballs/ directory (so that danglingkris2005-04-031-1/+1
| | | | | symlinks are not created on the target) and rsync the entire directory so that extra files are deleted.
* Build packages with WRKDIRPREFIX=/work (which does not exist bykris2005-04-021-1/+9
| | | | | | | default) instead of /tmp, since some packages incorrectly search this build path at runtime to try to load things. Requested by: nectar
* Increase the nc poll timeout to better deal with network latencies.kris2005-04-021-1/+1
|
* Flip over the -plistcheck switch to -noplistcheck since we now want tokris2005-04-021-5/+5
| | | | make it the default behaviour.
* Update the list of files and directories to filter from the plist checking.kris2005-04-021-1/+3
|
* Checkout Templates from CVS as well since ports with GNU_CONFIGURE willvs2005-03-201-0/+2
| | | | | | need them when building from 'addport -a -t'. Approved by: will
* Put $FreeBSD$ for ident(1)'ing.krion2005-03-131-0/+1
|
* Hopefully last try to fix readmes build.krion2005-03-111-1/+2
| | | | | Submitted by: Christopher Kelley <bsd at kelleycows.com> Pointyhat to: krion
* Fix problems with quoting if PORTSTOP is specified.krion2005-03-091-1/+1
|
* * Add info files to TMPPLIST, only if INFO is specified. [1]krion2005-02-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | * Fix PATH problems during README.html generation if "make -DPORTSTOP readmes" is defined. [2] * Add support for early rcNG startup scripts. [3] * Remove duplicate USE_XLIB handling. [4] * Add check for USE_PYTHON_(BUILD|RUN), and include bsd.python.mk if both are specified. [5] * Use PRE-INSTALL target for SUB_FILES and SUB_LIST. [6] * Introduce bsd.gstreamer.mk and utilize new macros: USE_GSTREAMER/WANT_GSTREAMER. [7] PR: ports/77634 [1], ports/77592 [2], ports/77385 [3], ports/77557 [4], ports/77344 [5], ports/77211 [6], ports/77838 [7] Submitted by: krion [1] [2], Florent Thoumie <flz@xbsd.org> [3] [6], pav [4], lofi [5], ahze [7]
* * Instead of using umount -f to unmount things, first use fstat tokris2005-02-121-6/+44
| | | | | | | | | look for processes holding open references within the FS and kill them, then use regular umount. This is necessary now that devfs cannot be force-unmounted, and has the benefit that processes can't hang around holding references to files between port builds. * Preliminary work to support using ccache to accelerate builds.
* Only try to chown the portbuild directory if we are a disconnected clientkris2005-02-121-1/+1
| | | | (i.e. it is not mounted by nfs)
* Instead of using umount -f to unmount things, first use fstat to look forkris2005-02-121-1/+35
| | | | | | | processes holding open references within the FS and kill them, then use regular umount. This is necessary now that devfs cannot be force-unmounted, and has the benefit that processes can't hang around holding references to files between port builds.
* * Instead of using umount -f to unmount things, first use fstat tokris2005-02-121-7/+44
| | | | | | | | | | | look for processes holding open references within the FS and kill them, then use regular umount. This is necessary now that devfs cannot be force-unmounted, and has the benefit that processes can't hang around holding references to files between port builds. * Reduce possibility for error by testing for presence of executable ldconfig inside the chroot before attempting to run it (e.g. it may not be there if the chroot was not completely initialized)
* Update the plist checking to look for a subset of files and weed out somekris2005-02-121-1/+6
| | | | false positives.
* Document the check-latest-link and tindex scriptskris2005-01-241-1/+5
|
* Add the script I use to look for duplicate LATEST_LINK entries and tokris2005-01-241-0/+72
| | | | send nag-mails to the responsible maintainers.
* This is the script I use to build indexes for all supported ports branches,kris2005-01-241-0/+164
| | | | | | which are copied to www.freebsd.org for use by 'make fetchindex', as well as the source of build failure reports on ports@FreeBSD.org when it is broken.
* Remove traling spaces.krion2005-01-0928-52/+52
|
* Always set up the bindist-${hostname}.tar file since it's usually small.kris2005-01-061-1/+1
| | | | | | This should probably be changed to only update it if it changes. Approved by: portmgr (self)
* Unset the __MAKE_CONF variable after setting up buildenv, because wekris2005-01-061-0/+3
| | | | | | want to use the default value in the build chroot. Approved by: portmgr (self)
* Allow machines to use an alternate address for polling for job load (e.g.kris2005-01-061-1/+3
| | | | | | | if the machine is behind a NAT and is not directly addressable, we can use a localhost port forward to contact it) Approved by: portmgr (self)
* * Include portbuild.conf before portbuild.${hostname} to reset the defaultkris2005-01-061-4/+6
| | | | | | | | value of variables * Allow krion to drink from the email firehose Approved by: portmgr (self)
* * The mlist file now only has one field per line.kris2005-01-061-4/+9
| | | | | | | | * Correctly calculate job concurrency in pass two as well * In pass two run dosetupnode -rsync to avoid wasting time. Approved by: portmgr (self)
* krion wants to drink from the pointyhat email firehose as well.kris2005-01-061-1/+1
| | | | | | XXX This should be a portbuild.conf tunable Approved by: portmgr (self)
* Now that I have so many remote build machines, don't force trying tokris2005-01-061-7/+0
| | | | | | | | fetch from ftp-master and pointyhat; they'll just get timeouts. Instead, each machine is expected to set up their own MASTER_SITE_* variables in etc/make.conf via a bindist-${hostname}.tar file. Approved by: portmgr (self)
* * Support the -norsync argument to only remove the existing build chrootskris2004-12-281-2/+8
| | | | | | | | | | | | | | | | | on a disconnected client, without running the time-consuming rsyncs. This is useful when a build is interrupted and needs to be restarted. * After we have cleaned up the machine, reset the queue counter by using pollmachine -queue. This has a race condition if other builds are being dispatched to the machine (e.g. builds on another branch): getmachine can claim a directory and increment the counter, then the machine is polled and finds e.g. 0 chroots in use, and resets the counter to 0, then claim-chroot is run and the build dispatched, with the counter now off-by-one. This could be fixed by running claim-chroot with the .lock held, but this turns out to be too time-consuming. A two-level lock approach might also fix this efficiently.
* * It does in fact make sense to specify -incremental and -noindex at thekris2004-12-281-7/+7
| | | | | | | | | | same time, assuming that the admin has already built the INDEX and INDEX.old in advance. * Adapt to new method of calculating build concurrency, by summing the value of ${maxjobs} listed in every portbuild.${machine} * Support 5-exp builds
* Fix the Xvfb code to run Xvfb before the build phase if detectedkris2004-12-281-15/+25
| | | | | | | | | | | (i.e. if the package lists a dependency on the relevant package in the PACKAGE_BUILDING case). This allows packages that require an available DISPLAY to again build (with some forthcoming fixes to existing ports). Improve the reporting of detected filesystem anomalies (extra files left behind after deinstallation, changes to and removal of pre-existing files)
* Overhaul of the job scheduler. The new scheduler runs buildskris2004-12-284-29/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | synchronously instead of probabilistically scheduling jobs, which means that the job load on a machine never exceeds a desired threshold, and we can preferentially use faster machines when they are available. This has a dramatic effect on package build throughput, although I don't yet have precise measurements of the performance improvements. Specifically, the changes are: * Introduce the new variable maxjobs in portbuild. This replaces the build scheduling weights previously listed in the mlist file, which now changes format to list the build machines only, ranked in order of preference for job dispatches (i.e. faster machines first). * The ${arch}/queue directory is used to list machines available for jobs (file content is the number of jobs currently running on the machine). Changes to files in this directory are serialized using lockf on the .lock file. * Claim a machine with the getmachine script, with the .lock held. This picks the machine with the fewestnumber of jobs running, which is listed highest in the mlist file in case of multiple machines with equal load. The job counter is incremented, and the file removed if the counter reaches ${maxjobs} for that machine. If all machines are busy, sleep for 15 seconds and retry. * After we have claimed a machine, we run claim-chroot on it to claim an empty chroot, as before. If the claim fails, release the job from the queue with the releasemachine script and retry after a 15 second wait. * When the build is finished, decrement the job counter with the releasemachine script, with .lock held. * The checkmachines script now exists only to poll the load averages for admin convenience (every 2 minutes), and to ping for unreachable machines. When a machine cannot be reached, remove the entry in the queue directory to stop further job dispatches to it. This needs more work to deal with reinitialization of machines after they become available again.
* Overhaul of the job scheduler. The new scheduler runs buildskris2004-12-281-26/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | synchronously instead of probabilistically scheduling jobs, which means that the job load on a machine never exceeds a desired threshold, and we can preferentially use faster machines when they are available. This has a dramatic effect on package build throughput, although I don't yet have precise measurements of the performance improvements. Specifically, the changes are: * Introduce the new variable maxjobs in portbuild. This replaces the build scheduling weights previously listed in the mlist file, which now changes format to list the build machines only, ranked in order of preference for job dispatches (i.e. faster machines first). * The ${arch}/queue directory is used to list machines available for jobs (file content is the number of jobs currently running on the machine). Changes to files in this directory are serialized using lockf on the .lock file. * Claim a machine with the getmachine script, with the .lock held. This picks the machine with the fewestnumber of jobs running, which is listed highest in the mlist file in case of multiple machines with equal load. The job counter is incremented, and the file removed if the counter reaches ${maxjobs} for that machine. If all machines are busy, sleep for 15 seconds and retry. * After we have claimed a machine, we run claim-chroot on it to claim an empty chroot, as before. If the claim fails, release the job from the queue with the releasemachine script and retry after a 15 second wait. * When the build is finished, decrement the job counter with the releasemachine script, with .lock held. * The checkmachines script now exists only to poll the load averages for admin convenience (every 2 minutes), and to ping for unreachable machines. When a machine cannot be reached, remove the entry in the queue directory to stop further job dispatches to it. This needs more work to deal with reinitialization of machines after they become available again. Additional changes to this file: * Exit if passed a null package name, to avoid badness later on * Send a nag-mail if pkg-plist errors are detected in the build
* * Catch up to change in formatting of 'extra files' section in logskris2004-12-281-4/+3
| | | | * Other minor changes
* /rescue/mount_linprocfs isn't functional when called bykris2004-12-281-1/+2
| | | | | | | | | /rescue/mount -t linprocfs, so assume that the i386 build hosts have statically-built copies of the necessary binaries in /sbin, until this is fixed. Create /usr/X11R6 inside the chroot so that mtree has something to do, since this directory is otherwise orphaned.
* Support 5-exp buildskris2004-12-284-4/+14
|
* Use X_WINDOW_SYSTEM for 4.x builds too.kris2004-12-101-2/+2
|
* Belatedly catch up to XFREE86_VERSION -> X_WINDOW_SYSTEM change; applykris2004-12-101-3/+3
| | | | the BSD.x11.dist if set to xfree86-3, otherwise use BSD.x11-4.dist.
* The explanations of each build error no longer live on bento, they livelinimon2004-12-092-7/+7
| | | | on pointyhat.
* Construct permanent links to the error logs here too.kris2004-12-051-4/+4
| | | | | Submitted by: linimon Reminded by: marcus
OpenPOWER on IntegriCloud