aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
Commit message (Collapse)AuthorAgeFilesLines
* small optimazation: don't compare versions that are equaleik2004-05-181-1/+1
|
* check only ports connected to the build.eik2004-05-181-15/+32
|
* - integrated chkorigineik2004-05-171-51/+102
| | | | | | - eliminated shell usage [1] Submitted by: mat [1]
* FWIIW, spawn fewer processes.eik2004-05-161-3/+12
|
* support for symlinked portsdir (but no other symlinks in the ports tree)eik2004-05-152-14/+19
| | | | chkversion: support for CVS blame with env CVSBLAME=yes
* add support for ignoring local ports / categories:eik2004-05-151-1/+4
| | | | env 'EXCLUDE=local devel/local' /usr/ports/Tools/scripts/chkmodules.pl
* added chkversion, a script that ensures that PORTVERSIONs don't go backwardseik2004-05-141-0/+155
|
* add a perl script to check CVSROOT-ports/modules,eik2004-05-141-0/+127
| | | | based on a shell script by Clement Laforet.
* - don't flag empty lineseik2004-05-081-6/+30
| | | | | | - callable without arguments: /usr/ports/Tools/scripts/MOVEDlint.awk - do CVS annotate when called with env CVS=yes
* awk script to check MOVED for consistencyeik2004-05-081-0/+87
| | | | | Usage: [env PORTSDIR=/usr/ports] awk -f MOVEDlint.awk /usr/ports/MOVED
* While generating commit message, don't lowercase the first letter if the secondmat2004-04-051-2/+2
| | | | | | | is upper case (ie : don't end up with pEAR) Approved by: will Asked by: thierry
* Set INDEX_PRISTINE and INDEX_QUIET to catch up to new index buildkris2004-04-021-3/+5
| | | | variables.
* added an -q option to enable usage in crontab.eik2004-03-291-2/+27
| | | | Suggested by: erwin
* Fix a bug arising when you added a port which should have been at the end ofmat2004-03-211-3/+10
| | | | | | <category>/Makefile, and ended up at the begining Approved by: will
* Add chkorigin.sh, a script that checks the ports tree for ports with a wrongeik2004-03-192-0/+89
| | | | | | | | PKGORIGIN. Useful especially after repocopies. env PORTSDIR=/usr/ports sh /usr/ports/Tools/scripts/chkorigin.sh Approved by: marcus (portmgr)
* Fill /mnt/ before each port and clear it afterward, to avoid runningtrevor2004-03-161-1/+2
| | | | out of inodes.
* This script had served its purpose.knu2004-03-141-146/+0
|
* Add note about FETCH_BEFORE_ARGS=-s.trevor2004-03-131-0/+4
|
* script for finding "size mismatch" and "size unknown" errorstrevor2004-03-131-0/+58
|
* Run a command on all client machines of a certain architecture, or allkris2004-03-081-0/+50
| | | | client machines.
* Walk through a package set and prune files that are not listed in INDEXkris2004-03-081-0/+66
| | | | | (e.g. packages from a previous build run, packages that incorrectly modify their PORTNAME at install-time, etc.) as well as dangling symlinks.
* Verify the archive integrity of a package set, and move aside any thatkris2004-03-081-0/+45
| | | | | are found to be bad. Not currently in use, since we do not experience package corruption and this takes quite a while to run.
* To be run on the client, this script looks for chroot directories that have ↵kris2004-03-081-0/+48
| | | | | | | | not been used in 20 minutes, as well as directories listed as 'in use' that have not been touched in 24 hours (corresponding to port builds that have timed out or shut down uncleanly) and prunes them to reclaim space. This is intended to be run as a cron job.
* Break out a script from dopackages for building the restricted.sh filekris2004-03-081-0/+34
| | | | so it can be easily done manually
* Replace gnome with gnome2 in quickports. I'm still not sure this actuallykris2004-03-081-1/+1
| | | | works as intended.
* Remove the integrity testing code now that the corruption bug has beenkris2004-03-081-4/+0
| | | | identified and those machines removed (restricted to Miatas running 5.2)
* * Fix 4.x builds with 5.x host systems by copying some additional neededkris2004-03-081-0/+6
| | | | files into the chroot to support host ps and killall binaries.
* Expand out some shell globbing syntaxkris2004-03-081-1/+1
|
* Prune out packages that will not be built because a dependency is markedkris2004-03-081-1/+1
| | | | IGNORE/FORBIDDEN/etc (using duds.full).
* Create a duds.full file that lists not only files that are marked IGNOREkris2004-03-081-0/+4
| | | | but everything that depends on them.
* Increase timeout on slow build machines (alpha, sparc64) to 16 hours.kris2004-03-081-2/+8
| | | | This should probably be made a per-machine variable.
* * Set the PACKAGE_BUILDING variable in the build environment so ports cankris2004-03-081-1/+4
| | | | | detect they are being built on bento * Update the list of "extra files" to filter to reduce some false positives
* Set up the DISTDIR and PACKAGES variables for use by client scriptskris2004-03-081-0/+3
|
* Add sunshar, a "secure unshar" for ports committers, which:knu2004-02-283-0/+368
| | | | | | | | | | | - Does not execute unknown commands nor call sh(1) at all. - Does not overwrite existing files by default. - Does not extract files into upper directories. - Does have a dry run (-n) flag to see what would have been extracted. - Does have a strip (-p N) flag to strip any number of levels from pathnames. It (so far) only supports shell archives made with BSD shar.
* Update "plist" to understand the rest of the mtree(5) file format,green2004-02-281-14/+36
| | | | | thus fixing the extra-@dirrm-problem once the base mtree files document the extra symlinks that are part of the local/etc. trees.
* Fix up the ordering and remove some duplicates so the resulting summary ismarcus2004-02-041-22/+26
| | | | | | | | | | | | | | | | | more accurate: * The tests for "Cannot stat", "can't cd", and "tar command failed" are moved to the bottom. This will sacrifice a little bit of performance for a gain in accuracy * The tests for "configuration errors" needed to be combined and tweaked to better identify errors that are architecture-specific (usuallly the "all pointers are ints" assumption) * The detection of chown was buggy * There were some duplicate test cases * As an experiment, another test for dependency problems is added PR: 61914 Submitted by: linimon
* - Fix synopsisale2004-01-231-2/+2
| | | | | | - Add 'ports/' PR category to commit log Approved by: will
* Comment out the munmap reason since it is quite unlikely this will bemarcus2004-01-221-4/+4
| | | | | | | | | encountered again, nad having it in there slows performance. However, I'm leaving it in the file in case a bad bindist slips back in, and it becomes convenient to uncomment this for purposes of seeing what build failures are cluster-related. Requested by: kris
* Add domakedescribe and doportlint, two scripts that iterate over the portsmarcus2004-01-202-0/+39
| | | | | | | | tree, and run "make describe" and portlint respectively. They can be useful as automated linting tools. PR: 59226 Submitted by: linimon
* * Refactor processlogs so that new error types can be added easily to a newmarcus2004-01-203-312/+441
| | | | | | | | | | | | | | | processonelog script, that contains all the per-errorlog logic [1] * Add new error checks, one for detecting CPU problems, and the other for checking for broken libgnugetopt support [2] * Add a new "munmap" error type to check for broken bindists * Add imake and pthread detection to processonelog [3] * Add errortype column to the bento "New Build Failures" report [4] PR: 50258 56859 [1] 54406 [2] 57067 [3] 59272 [4] Submitted by: linimon [1] [2] [3] [4]
* Add security-check.awk, a more efficient implementation of the portsmarcus2004-01-201-0/+100
| | | | | | | | system's security checking algorithm. This will be used in the upcoming changes to bsd.*.mk. PR: 55331 Submitted by: Eugene M. Kim <ab@astralblue.com>
* * Add support for linprocfs (needed for JDK ports) [1]marcus2004-01-201-2/+23
| | | | | | | * Be smarter about adding directories to ldconfig * Add code to test package integrity [1] Submitted by: kris [1]
* Use editors/openoffice-1.1 instead of editors/openoffice since the latter ismarcus2004-01-161-1/+1
| | | | now gone.
* When suggesting to add new port's submitter to Contributors' List,demon2004-01-081-1/+2
| | | | | | | | also print the exact location of the file to checkout. This is for those who rarely adds new ports and do not remember the location of Additional FreeBSD Contributors article. Approved by: will
* Refactor how we format the autofill message. With the slightly questionablepetef2004-01-061-34/+15
| | | | | | | | Perl before, sometimes we would word wrap too soon. Now we should never generate a line more than 72 characters long (but as close to 72 characters long as we can without breaking up a word). Approved by: will (maintainer)
* There is nothing "future" about 'addport'.obrien2004-01-031-1/+1
|
* Use 'make master-sites-all' instead of 'make -V MASTER_SITES' to obtain the listdemon2003-12-171-1/+1
| | | | | | | | of master sites. Before that %SUBDIR% was not expanded and the resulting URL was malformed. L-o-o-o-ng maintainer timeout waiting for review of a slightly different solution.
* fetch(1)'s -b and -t options were deprecated years ago, so stop using them.des2003-11-121-1/+1
|
* Condense the table a bitkris2003-10-131-3/+3
|
* The newfailure file is no longer updated by buildskris2003-10-131-3/+0
|
* Script for migrating from old-style to new-style failure log file.kris2003-10-131-0/+74
|
* * newfailure is no longer updated, no need to prune itkris2003-10-131-42/+6
| | | | * Update failure file format with both original and latest failure date
* * Generate newfailure file (sorted list by original failure date) from failurekris2003-10-131-10/+13
| | | | | * Enhance HTML output to include both original and latest failure date, and number of times the build has failed.
* * Try to be more careful when writing the failure file in case the diskkris2003-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)
* Add a script that prunes the contents of the failure and newfailure fileskris2003-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.
* Fix -l option comment removing obsolete pkg-comment reference.bland2003-09-291-2/+2
| | | | Approved by: will
* Teach this script about different architectures.kris2003-09-132-61/+54
|
* Add amd64 to the list of architectures to poll.kris2003-09-131-1/+1
|
* Add a couple of amd64 failure messages.kris2003-09-131-0/+6
|
* Remove some ldconfig -R's that were apparently confusing things, coalescekris2003-09-131-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.
* Set PACKAGE_BUILDING before making the duds file to prevent listing ofkris2003-09-131-0/+1
| | | | ports that are buildable conditionally on this variable.
* Export MASTER_SITE_OVERRIDE with DIST_SUBDIR correctly escapedkris2003-09-131-2/+1
|
* Catch up to makefile changes: build in etc/ before trying to installkris2003-09-131-0/+2
| | | | | | from it. Submitted by: ru
* When using addport on freefall, there's no need to ssh freefall once more tomat2003-09-021-1/+5
| | | | | | use modulesupdate. Approved by: will
* Add a -fetch-original switch to dopackages that fetches the distfiles fromkris2003-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.
* Only transfer the build distfiles to bento if requested.kris2003-05-171-7/+14
| | | | | Switch back to chroot builds until I can debug the remaining problems with jail builds.
* Pass down the request to keep distfiles if appropriate.kris2003-05-171-0/+3
|
* Add a -distfiles flag to specify that we should retain distfiles for laterkris2003-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/.
* Switch to polling the clients with netcat to collect load stats, insteadkris2003-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.
* Previous delta was:sobomax2003-04-181-1/+1
| | | | Submitted by: ru
* Clean up empty dirs.sobomax2003-04-181-2/+2
|
* Speed-up a bit when user keeps his working directories in the ports treesobomax2003-04-081-2/+5
| | | | | | (doesn't use WRKDIRPREFIX). Submitted by: ru
* Update sed pattern used to process logskris2003-04-061-1/+1
|
* Zap some old/non-useful codekris2003-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
* This tool parses the output of kdump to generate a list of addededwin2003-04-041-0/+199
| | | | | | | | | | | | | and removed files. This can be used as the basis of a pkg-plist, or even just for curiosity about what files something is touching. Fairly raw at the moment, and doubtless inefficient, but it should make a useful tool for port creators. PR: ports/47424 Submitter: Daniel O'Connor <doconnor@gsoft.com.au>
* Sort the non-dirrm entries, and reverse sort the dirrm entries.marcus2003-03-281-1/+5
| | | | Reviewed by: green
* - Define __MAKE_CONF to allow per-arch make.conf files in buildworldkris2003-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
* Make modulesupdate actually work in light of split. You can't use awill2003-03-031-1/+1
| | | | CVSROOT that's readonly.
* Update for post-repo-split. s/ncvs/pcvs/ so that the default root ispeter2003-03-012-5/+5
| | | | pcvs.freebsd.org:/home/pcvs
* Do a better job of stating which port we had problems with whilesteve2003-02-251-4/+4
| | | | mapping directories to package names.
* Another try at fixing the "adding to CVSROOT/modules from remotelioux2003-02-241-1/+1
| | | | | | | | | hosts (non-freefall)" bug: add '-A' argument to ssh(1) command line for accessing host cointaining modules file. This should fix the bug for ssh-agent(1) users. Others can just switch to using ssh-agent(1). Approved by: will (maintainer)
* Instead of pushing the load data to the master with scp every 10 seconds,kris2003-02-231-13/+3
| | | | just report it via an inetd service.
* * Allow port builds to be started with a certain niceness ('nice' parameterkris2003-02-231-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]
* If ${buildworld}=1 in mkbindist.conf, then use the makeworld script tokris2003-02-231-48/+44
| | | | | build world and populate the chroot. Otherwise, if ${ftp}=1 then fetch it from the ftp site as before.
* Simplify the collection of load statistics for the cluster. Loadskris2003-02-231-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 (!!!)
* Store dates in +%s formatkris2003-02-231-3/+3
|
* Handle '#' and '$' in pkg-comment properly.knu2003-02-211-2/+3
|
* - pkg-comment is no longer mandatory;sobomax2003-02-211-1/+5
| | | | - ignore patchfiles ending with `,v' or '.orig'.
* Add de-pkg-comment.knu2003-02-181-0/+2
|
* Add de-pkg-comment, a ruby script to convert pkg-comment to COMMENT.knu2003-02-181-0/+145
|
* Change how to get CATEGORIES tag from new port for slave port.nork2003-02-161-2/+2
| | | | Approved by: will
* Search for a lot of new failure strings to reduce the number of buildkris2003-02-141-4/+177
| | | | | | | failures listed as '???'. Submitted by: Mark Linimon <linimon@lonesome.com> PR: www/44919
* Work around broken rand() in -current by changing the way we pick akris2003-02-141-3/+3
| | | | random build host.
* - If ${ftp} = 0 in mkbindist.conf, then use the makeworld script to buildkris2003-02-141-77/+56
| | | | a world instead.
* - Correct usage messagekris2003-02-141-7/+2
| | | | | - Don't try and use buildenv, it's useless - Set TARGET_ARCH instead
* Catch up to new semantics of COMMENT variable (contains comment stringkris2003-02-102-5/+2
| | | | itself, instead of pointing to pkg-comment)
* Attempt to defuse problems from developers who don't have the correctwill2003-01-311-0/+2
| | | | ssh setup in order for addport to do CVSROOT/modules correctly.
* If the port directory contains a file called .keep, then tar up thekris2003-01-242-0/+10
| | | | | ${WRKDIR} after the port build completes and copy it to ${arch}/${branch}/wrkdirs/${pkgname}.tbz.
* These scripts have been replaced by .c versions that do not require perl.kris2003-01-242-111/+0
|
* - Use ${arch} and rename html files accordinglykris2003-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
* First cut at a script to process the logfile maintained by 'buildsuccess'kris2003-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).
* These scripts are run when a build completes (successfully or not). Theykris2003-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.
* Simple script to check the number of packages built on the variouskris2003-01-241-0/+17
| | | | architectures, for a given branch.
* Script to automate the process of cvs updating the build tree, performingkris2003-01-241-0/+91
| | | | | the buildworld, installworld and 'make distribute' necessary for preparing a bindist.
* - Use ${arch}kris2003-01-241-5/+6
|
* Determine client architecture using /etc/archkris2003-01-241-4/+2
|
* - Use ${arch}kris2003-01-241-2/+3
| | | | - Support builds as non-privileged user
* Check status of multiple architecture client machineskris2003-01-241-35/+40
|
* - Use ${arch}kris2003-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
* - Use ${arch}kris2003-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
* - Use ${arch}kris2003-01-241-6/+7
| | | | - Mount on ${master} instead of localhost
* - Use ${arch} and ${INDEXFILE}kris2003-01-241-6/+11
|
* Add the ${arch} argumentkris2003-01-241-4/+6
|
* - Use the ${arch} subdirectory and pass ${arch} around to other scriptskris2003-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)
* Add makeparallel script, an improved version of the 'parallel' targetkris2003-01-241-0/+30
| | | | | in ports/Makefile. It uses the buildenv framework to obtain the correct PKGSUFFIX and INDEXFILE variables.
* Use pkg_add instead of pkg_add -fkris2003-01-241-3/+3
|
* Sync with bento:kris2003-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
* Remove these scripts, which are no longer useful.kris2003-01-243-47/+0
|
* Add both hungarian and portuguese l10n prefixes to syncronize withlioux2003-01-231-0/+2
| | | | | | portlint port Approved by: maintainer
* Update this script to deal with .tbz packages.murray2003-01-201-9/+10
|
* Add two utilties for listing and stashing away package files obtainedroam2003-01-082-0/+110
| | | | | | | | | | | | from recursive dependency builds a la: make DEPENDS_TARGET='install package clean' all install package clean The pkg-list script obtains a list of the packages in the dependency directories; the pkg-stash script moves them away to a predefined directory, adding a timestamp to the package file name. This is convenient for keeping ready-built packages for system rescue activities.
* unbroke addport by petefalane2002-11-191-1/+2
|
* Convert this to buildenv to make it actually work properly.kris2002-11-181-38/+7
|
* Use 'cvs ci -F ...' instead of setting the log file with EDITOR="cp ...".petef2002-11-131-3/+1
| | | | | | | This fixes addport for me on -stable (cvs was erroring out), and also fixes addport when you have the EDITOR environment variable set. Approved by: will
* Fix the html output of this script. There was neither a closingkris2002-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
* Catch up to lots of changes from bento/beta:kris2002-11-091-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
* Revamp this script:kris2002-11-041-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
* Add C versions of the pnohang and ptimeout scripts (previously written inkris2002-11-032-0/+192
| | | | | | perl). Thanks to all those who submitted versions of these. Submitted by: marcus (based on)
* Use the correct filename for the FreeBSD version string used by thekris2002-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.
* Read FTP url from ${ftpurl}. Remove hack to fetch perl package into thekris2002-11-021-8/+2
| | | | bindist now that it is no longer required.
* Support either .tgz or .tbz packageskris2002-11-021-2/+2
|
* Add FTP_PASSIVE_MODE. Build tgz packages on 4 and 4-exp, and tbz on 5.kris2002-11-021-2/+8
|
* I never thought I'd change this code, but a change was required to makewill2002-10-141-0/+107
| | | | | sure cvs -R is enforced for freefall !=n cvs. And it's a Bad Thing(TM) that a piece of code addport depended on wasn't in the CVS tree anyway.
* Modifications to support ncvs.freebsd.org != freefall.freebsd.org. Thiswill2002-10-141-13/+14
| | | | | | | actually simplifies some of the code and makes other parts more complicated. Tested by: www/mod_filter && (after bugfixes) sysutils/sjog Noticed by: ijliao (by way of peter)
* Add 650MB for the 4th CD since it's all just packages.will2002-10-081-1/+1
|
* Increase the available space for packages on disc #1 of the packagemurray2002-10-081-1/+1
| | | | | | split. Approved by: portmgr (will), re
* Correct a messagekris2002-09-161-1/+1
|
* Conditionalize one more thing on i386kris2002-09-161-1/+1
|
* Optimize the html output by putting multiple missing files in the samekris2002-09-161-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
* Add a bunch of new failure modes (mostly to do with ports failing on 5.0)kris2002-09-161-2/+14
|
* Use PKGSUFFIX from buildenvkris2002-09-161-1/+5
|
* Add PKG_PATH so packages can be found automatically (not sure what causedkris2002-09-161-1/+3
| | | | this to break). Support both .tgz and .tbz packages.
* .tbz packages are now standardkris2002-09-161-2/+2
|
* * XFREE86_VERSION=4 is now standardkris2002-09-161-3/+4
| | | | * Add PKGSUFFIX and PKGZIPCMD variables
* * Support multiple arches and conditionalize i386-only stuffkris2002-09-161-2/+12
| | | | * Fetch perl package on -current
* * Catch up to .tbz packageskris2002-09-161-6/+11
| | | | | * Hack to use perl package on -current (needs to be done better somehow) * Use buildenv
* Check for duplicate entries in INDEX and warn about them.kris2002-08-311-7/+12
| | | | | Submitted by: Martin Heinen <martin@sumuk.de> PR: ports/33196 (based on)
* Correct usage example.sobomax2002-07-161-1/+2
|
* Add l10n prefix to default module name.perky2002-07-071-2/+14
| | | | Approved by: will
* Allow packages to be installed in the build chroot; this is neededkris2002-06-071-1/+9
| | | | | for 5.x package builds since the pnohang script is written in perl, which was removed from the base OS.
* Only run ldconfig -aout commands on i386kris2002-06-071-6/+16
| | | | | Correct some build environment variables Exit with code 255 if the port build failed uncleanly
* Use correct variable for symlinking src scripts.will2002-06-021-1/+1
|
* Support PATCH_WRKSRC. Seetrevor2002-05-251-3/+3
| | | | | | | http://people.freebsd.org/~trevor/ports/update-patches-1.411.diff for the accompanying patch to bsd.port.mk. PR: 24292
* Track setup.sh usage.will2002-05-202-2/+7
|
* Use the right variable name.will2002-05-201-1/+1
|
* Use a RE to find the X dependency instead of hardcoding.will2002-05-201-2/+2
|
* Streamline instructions a little more.will2002-05-201-4/+12
|
* Add this makefile to help people who are performing package splits towill2002-05-201-0/+48
| | | | generate the correct environment in which to do them.
* Add CD configs for use by these scripts.will2002-05-201-0/+16
|
* More useful exit if dir not passed.will2002-05-161-0/+4
|
* Accept dir as argument instead of hardcoding.will2002-05-161-1/+5
|
* - Catch up to buildenv changes.kris2002-05-131-12/+21
| | | | | - Always update UNAME_TARGET with each build - Populate mtree hierarchies better
* Comment out the kernel building and just link to kernel.GENERIC.kris2002-05-131-5/+6
|
* Zap some unused code. Catch up to buildenv changes.kris2002-05-131-7/+1
|
* - Switch default to XFree86-4.x for all brancheskris2002-05-131-3/+6
| | | | | - buildenv() takes extra argument of the portbuild directory - Add a todo comment
* Fix breakage introduced in the previous commit.sobomax2002-05-101-6/+3
|
* - Make ${DISTDIR} auto-detection actually working;sobomax2002-05-101-2/+5
| | | | - unbroke when either ${PORTSDIR} or ${DISTDIR} is symlink.
* Allow overriding ${PORTSDIR} and respect ${DISTDIR} settings.sobomax2002-05-071-5/+15
| | | | Submitted by: Stijn Hoop <stijn@win.tue.nl>
* * Change path directory separator character back to _. The problem is "::"obrien2002-04-191-1/+3
| | | | | | | | is it makes patch names longer, and many shells autoexpand it to "\:\:" which makes them even longer. * Note that this file uses ts=4. Approved by: sobomax
* Fix breakage introduced in previous commit when EXTRA_PATCHES isn't defined.sobomax2002-04-171-1/+1
|
* Recognise EXTRA_PATCHES.sobomax2002-04-161-0/+6
|
* Set the $scripts directory to the same as $dir to make these more usefulsteve2002-03-272-2/+2
| | | | in their "as committed" layout.
* This file is nearly a verbatim copy of setup.sh so this one issteve2002-03-271-11/+0
| | | | redundant.
* Add a missed file which acts as a driver for the others.will2002-03-272-0/+141
| | | | | Add documentation worked on by Steve and myself for ports freeze and package split procedure. Very minimal, very 4.5 specific, needs work.
* Add the scripts used to break up the package collections for a release.will2002-03-276-0/+490
| | | | | | | | | | | | | | | Some work/cleanup here would probably be desirable. I'm committing them now to give others the ability to reproduce these package splits and help with making these scripts better. The README should have some more documentation in the future. A better solution to the package set size problem would be to teach sysinstall to ask for the CD on which a particular package is when it needs to add it, but for now this will do. Requested by: murray Written by: steve Discussed with: steve, kris (some time ago)
* * Clean up this script a bitkris2002-03-251-36/+49
| | | | | | | | | | | * Add a trap handler to try and clean up the build if it is interrupted by a signal (one problem with the previous version is that package builds whice are interrupted by ptimeout because they are stuck, leave their working files lying around in the chroot). * Switch to NFS v3 mounts instead of v2 * Autogenerate the version string to report in uname within the chroot, based on the version string in the head of the CVS branch being built. * Copy packages via cp from the NFS mount, not scp.
* * Clean up this script a bitkris2002-03-251-19/+27
| | | | | | | * Require an additional <tmpdir> argument so the client knows where its temp directory is. * Mount the portbuild directory readonly via NFS, and copy files that way instead of via scp, which has too much overhead
* Detect a couple more failure modeskris2002-03-251-0/+6
|
* Add MASTER_SITE_OVERRIDE to the list of variables propagated, so thatkris2002-03-251-0/+2
| | | | the cluster machines preferentially fetch an existing file from ftp-master
* Update OSVERSIONS. This needs to be switched to buildenv.kris2002-03-161-3/+3
|
* Use buildenv for setting environment variables, and tidy up a bit. Fixkris2002-03-161-65/+32
| | | | typo s/UNAME_VERSION/UNAME_TARGET/
* Pull environment variables from buildenv, and tidy up a bit.kris2002-03-161-12/+8
|
* Collect some more environment variables here and tidy up a bitkris2002-03-161-7/+14
|
* Clean up index generation:kris2002-03-111-29/+26
| | | | | | | | | | * Don't assume the script will be called from the ports directory * Use buildenv to set environment variables * Set LOCALBASE and X11BASE to dummy variables to prevent the ports tree from picking up packages installed on the host system, and patch up the generated index at the end
* Set all of the <bsd.port.mk> control variables to be used in port/packagekris2002-03-111-0/+44
| | | | | | | | | | operations in one central place, instead of doing them piecemeal all over the place. This also includes the ability to customize settings per port branch (e.g. XFREE86_VERSION) Also, instead of hardcoding values of OSVERSION and OSREL which are going to get forgotten again, pull them out of the source tree in ${branch}/src so they track the head of the branch.
* Zap support for 2.2 and 3.xkris2002-03-111-12/+0
|
* Reenable use of the -M option and add a -d option to put @dirrm commandsgreen2002-03-111-4/+17
| | | | at the end of the plist.
* * Ports get built under ${scratchdir}, not under ${pb}..this was prettykris2002-03-101-28/+30
| | | | | | | | | | | | tangled up. * Sort the environment variables so that all of the commented out ones are grouped together * Reverse sense of NOPLISTCHECK -> PLISTCHECK, since it's not an option we want enabled by default (it causes too many build failures). This was too easy to forget when building packages 'by hand' using the parallel makefile. * Copy across UNAME_VERSION into the chroot area so that uname inside the chroot reports the desired version
* * Use portbuild.conf for config information.kris2002-03-101-4/+8
| | | | | | | | | * Shorten timeout period from 12 hours to 4 hours to avoid delaying the builds unnecessarily. * Reverse sense of NOPLISTCHECK -> PLISTCHECK, since it's not an option we want enabled by default (it causes too many build failures). This was too easy to forget when building packages 'by hand' using the parallel makefile.
* Add -nocdrom option to usagekris2002-03-101-1/+1
|
* * Reverse sense of NOPLISTCHECK -> PLISTCHECK, since it's not an optionkris2002-03-101-10/+19
| | | | | | | | | | | | | we want enabled by default (it causes too many build failures). This was too easy to forget when building packages 'by hand' using the parallel makefile. * Display correct pathnames in build progress messages * Add a -nocdrom option to avoid the (time-consuming) clean-for-cdrom-list target * Remove x11/XFree86 from dummyports since we don't want to use an old stale version of the package which never gets rebuilt * Add comments noting that we should check for CVS conflicts in the cvs update scripts and exit gracefully.
* Reverse sense of NOPLISTCHECK -> PLISTCHECK, since it's not an optionkris2002-03-101-1/+1
| | | | | | we want enabled by default (it causes too many build failures). This was too easy to forget when building packages 'by hand' using the parallel makefile.
* Ports are built in ${scratchdir}, not ${pb}kris2002-03-101-1/+1
|
* * Document the purpose of this scriptkris2002-03-101-1/+12
| | | | | * Don't display errors if the bindist tarball is not yet on the client * Copy over some more files required to set up the client
* Add new version of uname for 5.x bindistskris2002-03-101-0/+67
|
* Add template file from bentokris2002-03-101-0/+6
|
* Don't hard-code a version string to report to the chroots, pick it upkris2002-03-101-2/+8
| | | | | from a file so it can be more easily changed (and is more obvious so it doesn't get overlooked)
* Garbage collect these old configuration directories, since we don'tkris2002-02-2510-303/+0
| | | | support 2.2.x/3.x package builds any more.
* Clean up this script a bit:kris2002-02-241-13/+60
| | | | | | | | | | * Don't require the script to be called from inside the branch directory; follow standard practise and pass the branch to build as an argument. * Populate the chroot with the BSD.local.dist mtree file * Add whitespace for readability, and sprinkle liberally with comments * Comment on some inscrutable parts of the script which were presumably put there to work around a (perceived) problem, but which I can't understand.
* Axe support for 2.2.x and 3.x branches, and make this script more robustkris2002-02-241-14/+8
| | | | by removing assumptions about how and from where it is called.
* When the 'makeduds' script fails, show the contents of the duds file insteadkris2002-02-241-1/+2
| | | | | | of just proclaiming "error(s) occurred". This should immediately identify which port is causing the build to break (although it's a bit of a verbose solution).
* Catch up to changes on bento:kris2002-02-111-10/+10
| | | | | | * Update OSVERSIONs * Add -x to ssh arguments * Use per-branch ports collection
* Catch up to changes on bento:kris2002-02-111-0/+7
| | | | | * Add some commented out stuff which tries to mount/unmount something. No idea why, but it's commented out so it's harmless :)
* Catch up to changes on bento:kris2002-02-111-1/+8
| | | | | | * Run mtree in the temporary directory to create the filesystem hierarchy * Use the correct kernel compile directory on both 5.x and earlier versions.
* Catch up to changes on bento:kris2002-02-111-14/+11
| | | | * Don't run this script in a loop, run once only.
* Catch up to changes on bento:kris2002-02-112-6/+20
| | | | | * Update OSVERSIONs for the various branches; add 4-exp. * Add SRCBASE environment variable and export it to the make job.
* Catch up to changes on bento:kris2002-02-111-4/+4
| | | | * Don't create logs for 3.x, do them for 4-exp instead.
* Catch up to changes on bento:kris2002-02-111-3/+11
| | | | | * Require a branch argument * Use tar --unlink when copying distfiles
* Catch up with changes from bento:kris2002-02-111-48/+66
| | | | | | | | | | | * Update the list of ports which takes a long time to build. * Don't use a single ports collection for every port build, indirect through ${pb}/${branch}/ports so we can have different ports collections for each branch. Add -noportscvs option to prevent cvs update of ports collection. * Remove 3.x as a valid branch, add 4-exp for the 4.x experimental builds used for testing bsd.port.mk patches * Update usage information
* Document the use and purpose of this script.kris2002-02-111-0/+5
|
* Describe the meaning of the mlist file a bit better, and update step 9 inkris2002-02-111-7/+10
| | | | the setup instructions.
* Document the purpose of this script and the algorithm it uses tokris2002-02-111-0/+23
| | | | | | decide machines which should be handed new jobs. Also, at some point someone added a note about a possible bug in the reportload script which causes this one to fall over.
* Document the purpose of this script. Use the temp directory for tempfileskris2002-02-111-1/+5
|
* Document the purpose of this script.kris2002-02-111-0/+3
|
* Add a comment describing what this script does.kris2002-02-111-0/+2
|
* Support tools that don't have u@h syntax but h -l u.will2002-01-301-1/+1
| | | | Submitted by: eivind
* - New option `-e' - threat warnings as errors;sobomax2002-01-141-8/+19
| | | | - kill unused variable.
* Add license and cvs tag.sobomax2002-01-131-0/+15
|
* Add chkdepschain.py - a tool to address one of the most annoying when it comessobomax2002-01-131-0/+294
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | down to user support flaws in the FreeBSD ports system. The flaw in question is related to the fact that dependencies are often "chained", which allows to simplify maintenance of ports with large number of implied dependencies (a la Evolution, Nautilus, you-name-it). Dependency chaining it's not a problem by itself, but the fact that when building or installing a port the system doesn't check chain integrity - it's only checks that dependencies explicitly specified in port's Makefile are satisfied, which opens wide window for various hard-trackable problems when one or more links in the middle of the chain missed. The idea behind the tool is quite simple - it should be executed right after main dependency checking procedure, two times for each build - check build-time chain before building the port (pre-pre-extract) and check run-time chain before installing the port (pre-pre-install). When executed, the tool checks integrity of the specified chain (build-time, run-time or both) and reports all errors, both fatal (dependency isn't installed) and non-fatal (dependency is installed, but different version). I've wrote this tool mostly to simplify maintenance of the GNOME ports, but it doesn't contain anything GNOME-specific, so that it could be used in the other parts of tree as well. As an example I've added GNOME_VALIDATE_DEPS_CHAIN knob into bsd.gnome.mk (off by default), which enables automatic chain validation for all ports that USE_GNOMELIBS. This is a bit hackish, because I've used pre-extract and pre-install targets - what we probably need is a generic way to plug various custom tasks specified in bsd.xxx.mk (where xxx is kde, gnome, python, etc.) into various parts of the build process (something like {pre,post}-pre-foo, {pre,post}-post-foo springs into my mind). The code is quite raw, so that I would appreciate any bug reports, patches, suggestions, constructive critiquie and so on.
* Ignore patchfiles ending with `.orig' and `.rej'.sobomax2002-01-041-1/+7
|
* - Use `::' as a combination of symbols to replace `/' in patchfile name;sobomax2002-01-041-18/+22
| | | | | - don't reset size of corresponding patchfile to zero if no differencies were found between original and modified file.
* Don't trap SIGINFO.sobomax2001-12-201-2/+2
| | | | Submitted by: ben
* Add checkcats.py - a script that verifyes that master categories in all portssobomax2001-12-112-1/+51
| | | | are correct and reports any problems.
* Make the tool working even if there is a symlink in a given path to a port'ssobomax2001-12-051-1/+28
| | | | | | | | file. For example I'm usually keeping all working directories in /tmp using WRKDIRPREFIX, while for the quick access to a port's files creating a symlink to this directory in skeleton's dir (i.e. ports/foo/bar/src --> /tmp/usr/ports/foo/bar/work/bar-0.0) and with this patch the tool correctly works when I'm specifying `src/foo.c' as an argument.
* Actually use the user's group name, not their username, for the *GRPnbm2001-11-181-1/+1
| | | | | variables passed to the ports system. For example, use 'wheel' instead of 'root' for root.
* Add another check for duplicate installations of same port. Onlyasami2001-10-151-3/+5
| | | | search for logs in toplevel directory. A couple of cosmetic changes.
* Use 'id -un' and 'id -gn' for user and group information, not 'logname'.nbm2001-08-173-7/+80
| | | | | | | Add mkppackage, which will create a "fake"-style package, but not really. It doesn't try fake PREFIX and such to the build (it's not really possible anyway yet), but it uses pkg_create's '-s' option to pretend the package generated was installed in ${PREFIX}.
* Actually fix the breakage introduced in rev 1.2.sobomax2001-07-311-2/+0
|
* Fix breakage introduced in previous commit.sobomax2001-07-311-1/+1
|
* Fix a bug that in some rare cases may lead to a patch not being properlysobomax2001-07-311-0/+2
| | | | generated.
* Trap signal 31 as well (typo).sobomax2001-07-301-2/+2
| | | | Submitted by: "Alexey V. Neyman" <alex.neyman@auriga.ru>
* Unbroke when /usr/ports is symlink.sobomax2001-07-301-2/+2
| | | | Submitted by: ben
* Fix problems in previous commit:sobomax2001-05-171-5/+5
| | | | | - We don't really want to catch SIGCHLD; - actually enable new `-f' option.
* - Add an option to disable interactive confirmation;sobomax2001-05-171-1/+18
| | | | | | - catch up possible signals to remove temporary files. Submitted by: dirk, sobomax
* Stopgap bugfix to avoid the case where a user invokes -t and ends up withwill2001-05-011-3/+4
| | | | | | | | | | | a work/ dir in the repository placed there by addport without permission. Also restore the rcsids from the predecessors of this script by removing their $'s. If I had more time, I'd just revamp parts of this script. Submitted by: greid Apologies to: greid && cvs@
* Be more specific in trying to exclude man pages - look for 'man/man',nbm2001-04-021-1/+1
| | | | not just 'man'. This makes the 'manage_*' from Zope work.
* Steal the 'hmake' variable building from mkpinstall. This wasn'tnbm2001-04-021-4/+6
| | | | properly fixing the username in the *OWN variables passed to make(1).
* Add patchtool - a tool to automate generation/updating of patchfiles. Thissobomax2001-03-192-0/+775
| | | | | | tool has something in common with update-patches shell script, but has more features and is more intelligent. See README.patchtool or source code for details.
* Look into arch-specific distinfo's as well.sobomax2001-03-191-2/+2
| | | | Prompted by: Vadim Ostranitsyn <vadim@alpha.tsu.ru>
* Make plist work again with new-found use of line continuation ingreen2001-03-131-9/+16
| | | | mtree files.
* Uncomment and update OSREL and OSVERSION in preparation for 4.3R.asami2001-03-123-6/+6
|
* Tweak to catch missing directories from the Makefiles in the varioussteve2001-03-081-1/+5
| | | | | | categories which were failing to be mapped from directory to port name because 'make index' can't know to run 'make describe' in directories it doesn't know exist.
* mkbindist is in scripts/ now, with ${branch}/mkbindist.conf specifyingasami2001-03-014-100/+12
| | | | necessary per-branch options.
* Do not hardcode /tmp as a temp directory base, try $TMPDIR, $TMP androam2001-02-222-4/+41
| | | | | | | the system temp dir as given by paths.h (paths.ph) in this order. Approved by: nbm Perl-fu by: des, Tony Finch <dot@dotat.at>
* (1) Update values of OSREL/OSVERSION to match reality.asami2001-02-213-15/+15
| | | | | | | | | (2) (portbuild) Change no-output timeout from 1800 to 3600. Some ports seem to actually take more than 30 minutes inside a command. (3) (portbuild) Add -p flag to tar when extracting bindist. (4) (makeindex) Remove the -j flag to make index, the argument was 1 anyway.
* Some minor additions so that we act a bit more like NetBSD's url2pkg; wenbm2001-02-021-1/+7
| | | | | | | now autogenerate MASTER_SITES if we're given an URL. Also check the PKGMAINTAINER environment variable. Submitted by: Tomasz Luchowski <zuntum@eik.pl>
* A few new features:asami2001-01-211-14/+22
| | | | | | | | | | | | | | | | | | | | (1) The script now assumes make(1) knows how to handle long dependency chains properly. quickports is a list of ports that take a long time to build by thesmelves (not ports that have long dependency chains). The script adds several extra dependency levels to the generate Makefile for those ports to make their dependency chains longer. (2) Use -R flag to cvs. Comment out the cvsup part. (3) Preserve error messages for ports that didn't build the first time around but did build on the retry. (4) Record the package's timestamps in the log directory by doing an "ls -asFlrt" in the packages/All directory. (5) Add a little sleep after two background jobs so outputs won't be garbled.
* Fix off-by-one error that was causing an infinite loop in some verywill2001-01-171-1/+1
| | | | | | | weird cases. AAARGGH!!! Discovered by: will, sobomax, alex Fix by: Dima Dorfman <dima@unixfreak.org>
* Use the -p option with diff. Add a FreeBSD tag. Don't try totrevor2001-01-131-24/+7
| | | | | | | | | guess WRKSRC or PATCHDIR. Don't munge "." characters in filenames. This requires support in bsd.port.mk, a patch for which is in PR 24292. Submitted by: Christian Weisgerber <naddy@mips.inka.de>
* Fix two bugs: pass $passenv to make *always*; remember that the initialwill2001-01-071-3/+3
| | | | | | join() in the autofill algorithm doesn't need a space. Bugged by: alex