summaryrefslogtreecommitdiff
path: root/Tools (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Garbage collect these old configuration directories, since we don'tKris Kennaway2002-02-2510-303/+0
| | | | | | | support 2.2.x/3.x package builds any more. Notes: svn path=/head/; revision=55222
* Clean up this script a bit:Kris Kennaway2002-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. Notes: svn path=/head/; revision=55166
* Axe support for 2.2.x and 3.x branches, and make this script more robustKris Kennaway2002-02-241-14/+8
| | | | | | | by removing assumptions about how and from where it is called. Notes: svn path=/head/; revision=55152
* When the 'makeduds' script fails, show the contents of the duds file insteadKris Kennaway2002-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). Notes: svn path=/head/; revision=55150
* Catch up to changes on bento:Kris Kennaway2002-02-111-10/+10
| | | | | | | | | * Update OSVERSIONs * Add -x to ssh arguments * Use per-branch ports collection Notes: svn path=/head/; revision=54524
* Catch up to changes on bento:Kris Kennaway2002-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 :) Notes: svn path=/head/; revision=54523
* Catch up to changes on bento:Kris Kennaway2002-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. Notes: svn path=/head/; revision=54522
* Catch up to changes on bento:Kris Kennaway2002-02-111-14/+11
| | | | | | | * Don't run this script in a loop, run once only. Notes: svn path=/head/; revision=54521
* Catch up to changes on bento:Kris Kennaway2002-02-112-6/+20
| | | | | | | | * Update OSVERSIONs for the various branches; add 4-exp. * Add SRCBASE environment variable and export it to the make job. Notes: svn path=/head/; revision=54520
* Catch up to changes on bento:Kris Kennaway2002-02-111-4/+4
| | | | | | | * Don't create logs for 3.x, do them for 4-exp instead. Notes: svn path=/head/; revision=54519
* Catch up to changes on bento:Kris Kennaway2002-02-111-3/+11
| | | | | | | | * Require a branch argument * Use tar --unlink when copying distfiles Notes: svn path=/head/; revision=54518
* Catch up with changes from bento:Kris Kennaway2002-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 Notes: svn path=/head/; revision=54517
* Document the use and purpose of this script.Kris Kennaway2002-02-111-0/+5
| | | | Notes: svn path=/head/; revision=54516
* Describe the meaning of the mlist file a bit better, and update step 9 inKris Kennaway2002-02-111-7/+10
| | | | | | | the setup instructions. Notes: svn path=/head/; revision=54515
* Document the purpose of this script and the algorithm it uses toKris Kennaway2002-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. Notes: svn path=/head/; revision=54513
* Document the purpose of this script. Use the temp directory for tempfilesKris Kennaway2002-02-111-1/+5
| | | | Notes: svn path=/head/; revision=54512
* Document the purpose of this script.Kris Kennaway2002-02-111-0/+3
| | | | Notes: svn path=/head/; revision=54511
* Add a comment describing what this script does.Kris Kennaway2002-02-111-0/+2
| | | | Notes: svn path=/head/; revision=54510
* Support tools that don't have u@h syntax but h -l u.Will Andrews2002-01-301-1/+1
| | | | | | | Submitted by: eivind Notes: svn path=/head/; revision=54028
* - New option `-e' - threat warnings as errors;Maxim Sobolev2002-01-141-8/+19
| | | | | | | - kill unused variable. Notes: svn path=/head/; revision=53052
* Add license and cvs tag.Maxim Sobolev2002-01-131-0/+15
| | | | Notes: svn path=/head/; revision=53016
* Add chkdepschain.py - a tool to address one of the most annoying when it comesMaxim Sobolev2002-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. Notes: svn path=/head/; revision=53015
* Ignore patchfiles ending with `.orig' and `.rej'.Maxim Sobolev2002-01-041-1/+7
| | | | Notes: svn path=/head/; revision=52567
* - Use `::' as a combination of symbols to replace `/' in patchfile name;Maxim Sobolev2002-01-031-18/+22
| | | | | | | | - don't reset size of corresponding patchfile to zero if no differencies were found between original and modified file. Notes: svn path=/head/; revision=52538
* Don't trap SIGINFO.Maxim Sobolev2001-12-191-2/+2
| | | | | | | Submitted by: ben Notes: svn path=/head/; revision=51845
* Add checkcats.py - a script that verifyes that master categories in all portsMaxim Sobolev2001-12-112-1/+51
| | | | | | | are correct and reports any problems. Notes: svn path=/head/; revision=51349
* Make the tool working even if there is a symlink in a given path to a port'sMaxim Sobolev2001-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. Notes: svn path=/head/; revision=51066
* Actually use the user's group name, not their username, for the *GRPNeil Blakey-Milner2001-11-181-1/+1
| | | | | | | | variables passed to the ports system. For example, use 'wheel' instead of 'root' for root. Notes: svn path=/head/; revision=50183
* Add another check for duplicate installations of same port. OnlySatoshi Asami2001-10-141-3/+5
| | | | | | | search for logs in toplevel directory. A couple of cosmetic changes. Notes: svn path=/head/; revision=48766
* Use 'id -un' and 'id -gn' for user and group information, not 'logname'.Neil Blakey-Milner2001-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}. Notes: svn path=/head/; revision=46358
* Actually fix the breakage introduced in rev 1.2.Maxim Sobolev2001-07-311-2/+0
| | | | Notes: svn path=/head/; revision=45650
* Fix breakage introduced in previous commit.Maxim Sobolev2001-07-311-1/+1
| | | | Notes: svn path=/head/; revision=45649
* Fix a bug that in some rare cases may lead to a patch not being properlyMaxim Sobolev2001-07-311-0/+2
| | | | | | | generated. Notes: svn path=/head/; revision=45648
* Trap signal 31 as well (typo).Maxim Sobolev2001-07-301-2/+2
| | | | | | | Submitted by: "Alexey V. Neyman" <alex.neyman@auriga.ru> Notes: svn path=/head/; revision=45622
* Unbroke when /usr/ports is symlink.Maxim Sobolev2001-07-301-2/+2
| | | | | | | Submitted by: ben Notes: svn path=/head/; revision=45607
* Fix problems in previous commit:Maxim Sobolev2001-05-171-5/+5
| | | | | | | | - We don't really want to catch SIGCHLD; - actually enable new `-f' option. Notes: svn path=/head/; revision=42672
* - Add an option to disable interactive confirmation;Maxim Sobolev2001-05-171-1/+18
| | | | | | | | | - catch up possible signals to remove temporary files. Submitted by: dirk, sobomax Notes: svn path=/head/; revision=42670
* Stopgap bugfix to avoid the case where a user invokes -t and ends up withWill Andrews2001-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@ Notes: svn path=/head/; revision=42131
* Be more specific in trying to exclude man pages - look for 'man/man',Neil Blakey-Milner2001-04-021-1/+1
| | | | | | | not just 'man'. This makes the 'manage_*' from Zope work. Notes: svn path=/head/; revision=40742
* Steal the 'hmake' variable building from mkpinstall. This wasn'tNeil Blakey-Milner2001-04-021-4/+6
| | | | | | | properly fixing the username in the *OWN variables passed to make(1). Notes: svn path=/head/; revision=40741
* Add patchtool - a tool to automate generation/updating of patchfiles. ThisMaxim Sobolev2001-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. Notes: svn path=/head/; revision=40054
* Look into arch-specific distinfo's as well.Maxim Sobolev2001-03-191-2/+2
| | | | | | | Prompted by: Vadim Ostranitsyn <vadim@alpha.tsu.ru> Notes: svn path=/head/; revision=40053
* Make plist work again with new-found use of line continuation inBrian Feldman2001-03-131-9/+16
| | | | | | | mtree files. Notes: svn path=/head/; revision=39710
* Uncomment and update OSREL and OSVERSION in preparation for 4.3R.Satoshi Asami2001-03-123-6/+6
| | | | Notes: svn path=/head/; revision=39642
* Tweak to catch missing directories from the Makefiles in the variousSteve Price2001-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. Notes: svn path=/head/; revision=39222
* mkbindist is in scripts/ now, with ${branch}/mkbindist.conf specifyingSatoshi Asami2001-02-284-100/+12
| | | | | | | necessary per-branch options. Notes: svn path=/head/; revision=38905
* Do not hardcode /tmp as a temp directory base, try $TMPDIR, $TMP andPeter Pentchev2001-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> Notes: svn path=/head/; revision=38611
* (1) Update values of OSREL/OSVERSION to match reality.Satoshi 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. Notes: svn path=/head/; revision=38538
* Some minor additions so that we act a bit more like NetBSD's url2pkg; weNeil Blakey-Milner2001-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> Notes: svn path=/head/; revision=37909
* A few new features:Satoshi 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. Notes: svn path=/head/; revision=37384