aboutsummaryrefslogtreecommitdiff
path: root/Tools
Commit message (Collapse)AuthorAgeFilesLines
* Remove, don't comment out, unused variablesKris Kennaway2005-10-111-2/+0
| | | | Notes: svn path=/head/; revision=144900
* Remove unused variables. Don't bother protecting against negativeKris Kennaway2005-10-111-4/+2
| | | | | | | queue lengths since that doesn't arise. Notes: svn path=/head/; revision=144899
* Update lockf to lockf -k in example usageKris Kennaway2005-10-111-1/+1
| | | | Notes: svn path=/head/; revision=144898
* Update the lockf command to add -k in example usageKris Kennaway2005-10-111-1/+1
| | | | Notes: svn path=/head/; revision=144897
* When -norsync is set, don't bother to run md5 over the bindist.tarKris Kennaway2005-10-111-3/+9
| | | | | | | | | | | | | and copy it to the client. This has two benefits: 1) Avoids spamming the master with dozens of md5 processes when dosetupnode is spawned for all client machines at ocne 2) Avoids silly copy attempts on disconnected nodes for which the file is copied to itself Notes: svn path=/head/; revision=144896
* Change lockf to lockf -k in a commented-out command, just in case it'sKris Kennaway2005-10-111-1/+1
| | | | | | | ever uncommented. Notes: svn path=/head/; revision=144895
* Add support for use_md_swapKris Kennaway2005-10-111-0/+5
| | | | Notes: svn path=/head/; revision=144893
* Add support for use_md_swap. When this variable is set in aKris Kennaway2005-10-111-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | | portbuild.conf, builds will each be done in a separate swap-backed md. This dramatically improves build performance since * Every transaction is not written to disk, so disk bandwidth is not a bottleneck * Multiple builds do not contend with each other for the same set of filesystem locks and other per-device resources The size of the md devices is controlled by the md_size variable. '2g' seems to be a good size. Currently we mdconfig -u each device after each port build, since otherwise dirty blocks accumulate and the md eventually uses a full amount of backing store (2g in the above example). This is a problem if there is unsufficient swap backing to accomodate them all. XXX This should be made configurable to avoid the performance penalty on systems that do have enough swap backing Notes: svn path=/head/; revision=144892
* No need to hold the queue lock while polling client loadKris Kennaway2005-10-111-1/+1
| | | | Notes: svn path=/head/; revision=144891
* * Use lockf -k instead of lockf. If there is ever contention from >1Kris Kennaway2005-10-111-5/+5
| | | | | | | process, you must use -k or lockf can give out two locks at once Notes: svn path=/head/; revision=144890
* * Add support for use_md_swapKris Kennaway2005-10-111-12/+22
| | | | Notes: svn path=/head/; revision=144889
* * Unmount linprocfs around pkg_adding dependencies, to try and workKris Kennaway2005-10-111-3/+41
| | | | | | | | | | | | | | | | | | around silly failures in some ports when it is present * Add a footer to completed builds that is recognised by pdispatch to retry truncated builds * If ALWAYS_KEEP_DISTFILES is not present in the environment or port makefile, then clean up DISTDIR after the build finishes, to prevent collection of distfiles for this port. * Finish flipping the switch on -noplistcheck - this is activated by passing in the NOPLISTCHECK environment variable instead of using PLISTCHECK in the opposite case Notes: svn path=/head/; revision=144888
* * Finish flipping the switch on -noplistcheck - this is activated byKris Kennaway2005-10-111-11/+6
| | | | | | | | | | | | passing in the NOPLISTCHECK environment variable instead of using PLISTCHECK in the opposite case * Remove the unused -nodummy function * Pass in ALWAYS_KEEP_DISTFILES when -distfiles is set Notes: svn path=/head/; revision=144887
* * Remove support for the unused -nodummy functionKris Kennaway2005-10-111-65/+66
| | | | | | | | | | | | | | | | * Finish flipping the switch on -noplistcheck - this is activated by passing in the NOPLISTCHECK environment variable instead of using PLISTCHECK in the opposite case * Always pull in the distfiles from the client if they exist (needed for forthcoming ports tree changes to satisfy GPL license requirements) * If the build did not complete "cleanly", e.g. it was interrupted by a network outage or client machine panic, then retry it until it succeeds instead of just leaving a dirty truncated log Notes: svn path=/head/; revision=144886
* * Remove unused -nodummy argumentKris Kennaway2005-10-111-34/+6
| | | | | | | | | | | | | | * Finish flipping the switch on -noplistcheck; set NOPLISTCHECK instead of PLISTCHECK in the opposite case * Clean up the distfiles/ directory when starting build, so it is not contaminated by old distfiles * Remove commented-out code to don't back up old distfiles/ directory, it's just too big to do this. Notes: svn path=/head/; revision=144885
* Silence some possible errors from chflags -RKris Kennaway2005-10-111-1/+1
| | | | Notes: svn path=/head/; revision=144884
* Silence possible errors from some recursive commandsKris Kennaway2005-10-111-2/+2
| | | | Notes: svn path=/head/; revision=144883
* - Add a new option -L, it works like -l but uses pkg-descr to createRenato Botelho2005-10-041-17/+30
| | | | | | | | | commit message. Approved by: will (maintainer) Notes: svn path=/head/; revision=144178
* Remove some hardcoded values to hopefully stop random users from shootingKris Kennaway2005-09-081-12/+27
| | | | | | | | | their feet off in public. Suggested by: adamw Notes: svn path=/head/; revision=142233
* - Handle different INDEX filename on 5.X and abovePav Lucistnik2005-09-041-2/+5
| | | | | | | | PR: ports/85281 Submitted by: Vasil Dimov <vd@datamax.bg> Notes: svn path=/head/; revision=141957
* Check for extra files on !i386 alsoKris Kennaway2005-07-241-6/+4
| | | | Notes: svn path=/head/; revision=140036
* Support FreeBSD 7.xKris Kennaway2005-07-245-5/+15
| | | | Notes: svn path=/head/; revision=140035
* Drop the removed openoffice 1.0 ports from the quickports listKris Kennaway2005-07-241-1/+1
| | | | Notes: svn path=/head/; revision=140034
* Correct typoKris Kennaway2005-07-241-1/+1
| | | | Notes: svn path=/head/; revision=140033
* Add prototypes for all the subroutines which fixes compilation withJoe Marcus Clarke2005-07-101-9/+20
| | | | | | | | | Perl 5.8.7. Reported by: mezz Notes: svn path=/head/; revision=138862
* Fix typosVolker Stolz2005-04-181-3/+3
| | | | | | | Approved by: sobomax Notes: svn path=/head/; revision=133581
* As discussed on the cvs-ports-list, make 'addport' print a warning if the ↵Volker Stolz2005-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) Notes: svn path=/head/; revision=133136
* Add a splitpatch.pl utility, a small script to convert multi-fileAnton Berezin2005-04-122-0/+112
| | | | | | | | | patches to several appropriately named single-file patches. Requested by: flz Notes: svn path=/head/; revision=133135
* - Add bump_revision.pl, a small script to bump the PORTREVISION variableFlorent Thoumie2005-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 Notes: svn path=/head/; revision=133130
* - Replace pkg-comment with COMMENT to reflect latest (*sigh*) changesFlorent Thoumie2005-04-111-2/+2
| | | | | | | | | | | in the ports framework. PR: ports/62767 Submitted by: Igor Pokrovsky <tiamat@comset.net> Approved by: maintainer timeout (> 8 months) Notes: svn path=/head/; revision=133101
* Use WRKDIRPREFIX instead of hardcoded value.Kris Kennaway2005-04-111-1/+3
| | | | | | | Clean up after we're done. Notes: svn path=/head/; revision=133100
* Change rsync -l to -L for the tarballs/ directory (so that danglingKris Kennaway2005-04-031-1/+1
| | | | | | | | symlinks are not created on the target) and rsync the entire directory so that extra files are deleted. Notes: svn path=/head/; revision=132306
* Build packages with WRKDIRPREFIX=/work (which does not exist byKris Kennaway2005-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 Notes: svn path=/head/; revision=132266
* Increase the nc poll timeout to better deal with network latencies.Kris Kennaway2005-04-021-1/+1
| | | | Notes: svn path=/head/; revision=132264
* Flip over the -plistcheck switch to -noplistcheck since we now want toKris Kennaway2005-04-021-5/+5
| | | | | | | make it the default behaviour. Notes: svn path=/head/; revision=132263
* Update the list of files and directories to filter from the plist checking.Kris Kennaway2005-04-021-1/+3
| | | | Notes: svn path=/head/; revision=132262
* Checkout Templates from CVS as well since ports with GNU_CONFIGURE willVolker Stolz2005-03-201-0/+2
| | | | | | | | | need them when building from 'addport -a -t'. Approved by: will Notes: svn path=/head/; revision=131750
* Put $FreeBSD$ for ident(1)'ing.Kirill Ponomarev2005-03-131-0/+1
| | | | Notes: svn path=/head/; revision=131056
* Hopefully last try to fix readmes build.Kirill Ponomarev2005-03-111-1/+2
| | | | | | | | Submitted by: Christopher Kelley <bsd at kelleycows.com> Pointyhat to: krion Notes: svn path=/head/; revision=130942
* Fix problems with quoting if PORTSTOP is specified.Kirill Ponomarev2005-03-091-1/+1
| | | | Notes: svn path=/head/; revision=130756
* * Add info files to TMPPLIST, only if INFO is specified. [1]Kirill Ponomarev2005-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] Notes: svn path=/head/; revision=130042
* * Instead of using umount -f to unmount things, first use fstat toKris Kennaway2005-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. Notes: svn path=/head/; revision=128586
* Only try to chown the portbuild directory if we are a disconnected clientKris Kennaway2005-02-121-1/+1
| | | | | | | (i.e. it is not mounted by nfs) Notes: svn path=/head/; revision=128585
* Instead of using umount -f to unmount things, first use fstat to look forKris Kennaway2005-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. Notes: svn path=/head/; revision=128584
* * Instead of using umount -f to unmount things, first use fstat toKris Kennaway2005-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) Notes: svn path=/head/; revision=128583
* Update the plist checking to look for a subset of files and weed out someKris Kennaway2005-02-121-1/+6
| | | | | | | false positives. Notes: svn path=/head/; revision=128582
* Document the check-latest-link and tindex scriptsKris Kennaway2005-01-241-1/+5
| | | | Notes: svn path=/head/; revision=127163
* Add the script I use to look for duplicate LATEST_LINK entries and toKris Kennaway2005-01-241-0/+72
| | | | | | | send nag-mails to the responsible maintainers. Notes: svn path=/head/; revision=127162
* This is the script I use to build indexes for all supported ports branches,Kris Kennaway2005-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. Notes: svn path=/head/; revision=127161
* Remove traling spaces.Kirill Ponomarev2005-01-0928-52/+52
| | | | Notes: svn path=/head/; revision=125941