aboutsummaryrefslogtreecommitdiff
path: root/Tools
Commit message (Collapse)AuthorAgeFilesLines
* Support 7.x INDEX buildsKris Kennaway2006-01-221-16/+37
| | | | | | | | Add a few more local configuration variables Minor cleanups Notes: svn path=/head/; revision=154191
* Don't bother mounting doc tree, it's not needed by any portsKris Kennaway2006-01-221-12/+8
| | | | | | | | | Use LOCALBASE/X11BASE values from buildenv xorg uses the stock BSD.x11-4.dist now. Notes: svn path=/head/; revision=154130
* Remove -nodoccvs option, it turns out mounting the doc tree is notKris Kennaway2006-01-221-14/+1
| | | | | | | required by any ports Notes: svn path=/head/; revision=154129
* Also clean up linprocfs mountsKris Kennaway2006-01-221-0/+1
| | | | Notes: svn path=/head/; revision=154128
* Pull in buildenv for LOCALBASE/X11BASE locationsKris Kennaway2006-01-221-2/+4
| | | | | | | Don't bother cleaning up doc mounts, they are not needed. Notes: svn path=/head/; revision=154127
* Use LOCALBASE and X11BASE from buildenvKris Kennaway2006-01-221-1/+4
| | | | Notes: svn path=/head/; revision=154126
* Allow for the possibility of overriding LOCALBASE and X11BASEKris Kennaway2006-01-221-0/+2
| | | | Notes: svn path=/head/; revision=154125
* Exit with the correct error code when a make target failsKris Kennaway2006-01-151-3/+3
| | | | | | | | PR: ports/64930 Submitted by: Damir Kiramov <damirycha@damirycha.net.ru> Notes: svn path=/head/; revision=153536
* Back out last commit, it was the wrong fileKris Kennaway2006-01-151-17/+15
| | | | Notes: svn path=/head/; revision=153535
* Exit with the correct error code when a make target failsKris Kennaway2006-01-151-15/+17
| | | | | | | | PR: ports/64930 Submitted by: Damir Kiramov <damirycha@damirycha.net.ru> Notes: svn path=/head/; revision=153531
* Add portsvar.sh schell script into Tools/scripts.Daichi GOTO2006-01-111-0/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | portsvar.sh - print out variable defined through bsd.port.mk example: % portsvar.sh PORTSDIR OSVERSION PORTSDIR = /usr/ports OSVERSION = 600034 % portsvar.sh -e "PORTS[^_]" PORTSDIR = /usr/ports PORTSSUPFILE = /usr/share/examples/cvsup/ports-supfile % portsvar.sh USE_RUBY=yes RUBY_VER RUBY_ARCH RUBY_VER = 1.8 RUBY_ARCH = i386-freebsd6 % portsvar.sh -w ruby RUBY_VER RUBY_ARCH RUBY_VER = 1.8 RUBY_ARCH = i386-freebsd6 % portsvar.sh -w kde -e KDE_ KDE_MAINTAINER = will@FreeBSD.org KDE_ORIGVER = ${KDE_VERSION} KDE_PREFIX = ${LOCALBASE} KDE_VERSION = 3.5.0 MASTER_SITE_KDE_kde = ${kmaster:S@%SUBDIR%/@@g} % portsvar.sh -a list all variables through bsd.port.mk % portsvar.sh -a -w kde list all variables through bsd.port.mk including kde portsvar.sh is easy tool to check out the variables used in /usr/ports/Mk/bsd.*.mk. Notes: svn path=/head/; revision=153236
* This script may be run on a client machine to force it to flush its squidKris Kennaway2005-12-111-0/+15
| | | | | | | | cache. This is useful if the client is holding a bad or stale cached copy of a package that is causing problems for package builds. Notes: svn path=/head/; revision=150855
* Bump the file size limit to 300MB now that openoffice distfiles exceedKris Kennaway2005-12-111-5/+5
| | | | | | | 256MB. Clarify a comment. Notes: svn path=/head/; revision=150854
* Shuffle the order of a cdKris Kennaway2005-12-111-2/+1
| | | | Notes: svn path=/head/; revision=150853
* Remove 0-sized entries to avoid misbehaviourKris Kennaway2005-12-111-0/+4
| | | | Notes: svn path=/head/; revision=150852
* Don't use a lockfile, the script will be called with lockf -t0 instead toKris Kennaway2005-12-112-16/+0
| | | | | | | avoid problems with stale lockfiles after a reboot. Notes: svn path=/head/; revision=150851
* Don't use a lockfile, the script will be called with lockf -t0 insteadKris Kennaway2005-12-111-6/+0
| | | | | | | to avoid problems with stale lockfiles after reboots. Notes: svn path=/head/; revision=150850
* Update the list of quickportsKris Kennaway2005-12-111-1/+1
| | | | Notes: svn path=/head/; revision=150849
* Don't set -nocopy when -norsync is set, otherwise the setupnode scriptKris Kennaway2005-12-111-1/+1
| | | | | | | doesn't completely prep the client. Notes: svn path=/head/; revision=150848
* Don't use a lock file, the script will be called with lockf -t 0 instead.Kris Kennaway2005-12-111-6/+0
| | | | | | | This avoids problems from stale lockfiles after reboots. Notes: svn path=/head/; revision=150847
* Mount the md image async since this gives much better performanceKris Kennaway2005-12-111-1/+1
| | | | Notes: svn path=/head/; revision=150846
* Utility: A tool to identify similar pkg-descr filesEdwin Groothuis2005-11-261-0/+24
| | | | | | | | | | | | | The ports tree contains many tools with almost-similar names and no helpful pkg-descr difference. The goal of pkg-descr would be to aid the user in his choice of port version. Ergo, similar pkg-descr files are bad. PR: ports/89432 Submitted by: Jonathan <afarsec@012.net.il> Notes: svn path=/head/; revision=149525
* 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