aboutsummaryrefslogtreecommitdiff
path: root/Tools
Commit message (Collapse)AuthorAgeFilesLines
* Add sunshar, a "secure unshar" for ports committers, which:Akinori MUSHA2004-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. Notes: svn path=/head/; revision=102409
* Update "plist" to understand the rest of the mtree(5) file format,Brian Feldman2004-02-271-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. Notes: svn path=/head/; revision=102311
* Fix up the ordering and remove some duplicates so the resulting summary isJoe Marcus Clarke2004-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 Notes: svn path=/head/; revision=99924
* - Fix synopsisAlex Dupre2004-01-231-2/+2
| | | | | | | | | - Add 'ports/' PR category to commit log Approved by: will Notes: svn path=/head/; revision=98866
* Comment out the munmap reason since it is quite unlikely this will beJoe Marcus Clarke2004-01-211-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 Notes: svn path=/head/; revision=98701
* Add domakedescribe and doportlint, two scripts that iterate over the portsJoe Marcus Clarke2004-01-192-0/+39
| | | | | | | | | | | tree, and run "make describe" and portlint respectively. They can be useful as automated linting tools. PR: 59226 Submitted by: linimon Notes: svn path=/head/; revision=98607
* * Refactor processlogs so that new error types can be added easily to a newJoe Marcus Clarke2004-01-193-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] Notes: svn path=/head/; revision=98604
* Add security-check.awk, a more efficient implementation of the portsJoe Marcus Clarke2004-01-191-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> Notes: svn path=/head/; revision=98600
* * Add support for linprocfs (needed for JDK ports) [1]Joe Marcus Clarke2004-01-191-2/+23
| | | | | | | | | | * Be smarter about adding directories to ldconfig * Add code to test package integrity [1] Submitted by: kris [1] Notes: svn path=/head/; revision=98599
* Use editors/openoffice-1.1 instead of editors/openoffice since the latter isJoe Marcus Clarke2004-01-151-1/+1
| | | | | | | now gone. Notes: svn path=/head/; revision=98226
* When suggesting to add new port's submitter to Contributors' List,Dmitry Sivachenko2004-01-071-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 Notes: svn path=/head/; revision=97594
* Refactor how we format the autofill message. With the slightly questionablePete Fritchman2004-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) Notes: svn path=/head/; revision=97436
* There is nothing "future" about 'addport'.David E. O'Brien2004-01-021-1/+1
| | | | Notes: svn path=/head/; revision=97138
* Use 'make master-sites-all' instead of 'make -V MASTER_SITES' to obtain the listDmitry Sivachenko2003-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. Notes: svn path=/head/; revision=96037
* fetch(1)'s -b and -t options were deprecated years ago, so stop using them.Dag-Erling Smørgrav2003-11-121-1/+1
| | | | Notes: svn path=/head/; revision=93825
* Condense the table a bitKris Kennaway2003-10-131-3/+3
| | | | Notes: svn path=/head/; revision=90994
* The newfailure file is no longer updated by buildsKris Kennaway2003-10-131-3/+0
| | | | Notes: svn path=/head/; revision=90977
* Script for migrating from old-style to new-style failure log file.Kris Kennaway2003-10-131-0/+74
| | | | Notes: svn path=/head/; revision=90976
* * newfailure is no longer updated, no need to prune itKris Kennaway2003-10-131-42/+6
| | | | | | | * Update failure file format with both original and latest failure date Notes: svn path=/head/; revision=90975
* * Generate newfailure file (sorted list by original failure date) from failureKris Kennaway2003-10-131-10/+13
| | | | | | | | * Enhance HTML output to include both original and latest failure date, and number of times the build has failed. Notes: svn path=/head/; revision=90974
* * Try to be more careful when writing the failure file in case the diskKris Kennaway2003-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) Notes: svn path=/head/; revision=90973
* Add a script that prunes the contents of the failure and newfailure filesKris Kennaway2003-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. Notes: svn path=/head/; revision=90961
* Fix -l option comment removing obsolete pkg-comment reference.Alexander Nedotsukov2003-09-291-2/+2
| | | | | | | Approved by: will Notes: svn path=/head/; revision=89738
* Teach this script about different architectures.Kris Kennaway2003-09-122-61/+54
| | | | Notes: svn path=/head/; revision=88968
* Add amd64 to the list of architectures to poll.Kris Kennaway2003-09-121-1/+1
| | | | Notes: svn path=/head/; revision=88967
* Add a couple of amd64 failure messages.Kris Kennaway2003-09-121-0/+6
| | | | Notes: svn path=/head/; revision=88966
* Remove some ldconfig -R's that were apparently confusing things, coalesceKris Kennaway2003-09-121-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. Notes: svn path=/head/; revision=88965
* Set PACKAGE_BUILDING before making the duds file to prevent listing ofKris Kennaway2003-09-121-0/+1
| | | | | | | ports that are buildable conditionally on this variable. Notes: svn path=/head/; revision=88964
* Export MASTER_SITE_OVERRIDE with DIST_SUBDIR correctly escapedKris Kennaway2003-09-121-2/+1
| | | | Notes: svn path=/head/; revision=88963
* Catch up to makefile changes: build in etc/ before trying to installKris Kennaway2003-09-121-0/+2
| | | | | | | | | from it. Submitted by: ru Notes: svn path=/head/; revision=88962
* When using addport on freefall, there's no need to ssh freefall once more toMathieu Arnold2003-09-021-1/+5
| | | | | | | | | use modulesupdate. Approved by: will Notes: svn path=/head/; revision=88364
* Add a -fetch-original switch to dopackages that fetches the distfiles fromKris Kennaway2003-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. Notes: svn path=/head/; revision=81182
* Only transfer the build distfiles to bento if requested.Kris Kennaway2003-05-171-7/+14
| | | | | | | | Switch back to chroot builds until I can debug the remaining problems with jail builds. Notes: svn path=/head/; revision=81131
* Pass down the request to keep distfiles if appropriate.Kris Kennaway2003-05-171-0/+3
| | | | Notes: svn path=/head/; revision=81130
* Add a -distfiles flag to specify that we should retain distfiles for laterKris Kennaway2003-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/. Notes: svn path=/head/; revision=81129
* Switch to polling the clients with netcat to collect load stats, insteadKris Kennaway2003-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. Notes: svn path=/head/; revision=81128
* Previous delta was:Maxim Sobolev2003-04-181-1/+1
| | | | | | | Submitted by: ru Notes: svn path=/head/; revision=79232
* Clean up empty dirs.Maxim Sobolev2003-04-181-2/+2
| | | | Notes: svn path=/head/; revision=79231
* Speed-up a bit when user keeps his working directories in the ports treeMaxim Sobolev2003-04-081-2/+5
| | | | | | | | | (doesn't use WRKDIRPREFIX). Submitted by: ru Notes: svn path=/head/; revision=78597
* Update sed pattern used to process logsKris Kennaway2003-04-061-1/+1
| | | | Notes: svn path=/head/; revision=78394
* Zap some old/non-useful codeKris Kennaway2003-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 Notes: svn path=/head/; revision=78393
* This tool parses the output of kdump to generate a list of addedEdwin Groothuis2003-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> Notes: svn path=/head/; revision=78167
* Sort the non-dirrm entries, and reverse sort the dirrm entries.Joe Marcus Clarke2003-03-281-1/+5
| | | | | | | Reviewed by: green Notes: svn path=/head/; revision=77579
* - Define __MAKE_CONF to allow per-arch make.conf files in buildworldKris Kennaway2003-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 Notes: svn path=/head/; revision=77180
* Make modulesupdate actually work in light of split. You can't use aWill Andrews2003-03-021-1/+1
| | | | | | | CVSROOT that's readonly. Notes: svn path=/head/; revision=76742
* Update for post-repo-split. s/ncvs/pcvs/ so that the default root isPeter Wemm2003-02-282-5/+5
| | | | | | | pcvs.freebsd.org:/home/pcvs Notes: svn path=/head/; revision=76668
* Do a better job of stating which port we had problems with whileSteve Price2003-02-241-4/+4
| | | | | | | mapping directories to package names. Notes: svn path=/head/; revision=76403
* Another try at fixing the "adding to CVSROOT/modules from remoteMario Sergio Fujikawa Ferreira2003-02-231-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) Notes: svn path=/head/; revision=76315
* 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