summaryrefslogtreecommitdiff
path: root/Tools (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Set the $scripts directory to the same as $dir to make these more usefulSteve Price2002-03-272-2/+2
| | | | | | | in their "as committed" layout. Notes: svn path=/head/; revision=56728
* This file is nearly a verbatim copy of setup.sh so this one isSteve Price2002-03-271-11/+0
| | | | | | | redundant. Notes: svn path=/head/; revision=56727
* Add a missed file which acts as a driver for the others.Will Andrews2002-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. Notes: svn path=/head/; revision=56724
* Add the scripts used to break up the package collections for a release.Will Andrews2002-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) Notes: svn path=/head/; revision=56723
* * Clean up this script a bitKris Kennaway2002-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. Notes: svn path=/head/; revision=56568
* * Clean up this script a bitKris Kennaway2002-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 Notes: svn path=/head/; revision=56567
* Detect a couple more failure modesKris Kennaway2002-03-251-0/+6
| | | | Notes: svn path=/head/; revision=56566
* Add MASTER_SITE_OVERRIDE to the list of variables propagated, so thatKris Kennaway2002-03-251-0/+2
| | | | | | | the cluster machines preferentially fetch an existing file from ftp-master Notes: svn path=/head/; revision=56565
* Update OSVERSIONS. This needs to be switched to buildenv.Kris Kennaway2002-03-161-3/+3
| | | | Notes: svn path=/head/; revision=56188
* Use buildenv for setting environment variables, and tidy up a bit. FixKris Kennaway2002-03-161-65/+32
| | | | | | | typo s/UNAME_VERSION/UNAME_TARGET/ Notes: svn path=/head/; revision=56187
* Pull environment variables from buildenv, and tidy up a bit.Kris Kennaway2002-03-161-12/+8
| | | | Notes: svn path=/head/; revision=56186
* Collect some more environment variables here and tidy up a bitKris Kennaway2002-03-161-7/+14
| | | | Notes: svn path=/head/; revision=56185
* Clean up index generation:Kris Kennaway2002-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 Notes: svn path=/head/; revision=55859
* Set all of the <bsd.port.mk> control variables to be used in port/packageKris Kennaway2002-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. Notes: svn path=/head/; revision=55858
* Zap support for 2.2 and 3.xKris Kennaway2002-03-111-12/+0
| | | | Notes: svn path=/head/; revision=55842
* Reenable use of the -M option and add a -d option to put @dirrm commandsBrian Feldman2002-03-111-4/+17
| | | | | | | at the end of the plist. Notes: svn path=/head/; revision=55841
* * Ports get built under ${scratchdir}, not under ${pb}..this was prettyKris Kennaway2002-03-091-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 Notes: svn path=/head/; revision=55796
* * Use portbuild.conf for config information.Kris Kennaway2002-03-091-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. Notes: svn path=/head/; revision=55795
* Add -nocdrom option to usageKris Kennaway2002-03-091-1/+1
| | | | Notes: svn path=/head/; revision=55794
* * Reverse sense of NOPLISTCHECK -> PLISTCHECK, since it's not an optionKris Kennaway2002-03-091-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. Notes: svn path=/head/; revision=55793
* Reverse sense of NOPLISTCHECK -> PLISTCHECK, since it's not an optionKris Kennaway2002-03-091-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. Notes: svn path=/head/; revision=55792
* Ports are built in ${scratchdir}, not ${pb}Kris Kennaway2002-03-091-1/+1
| | | | Notes: svn path=/head/; revision=55791
* * Document the purpose of this scriptKris Kennaway2002-03-091-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 Notes: svn path=/head/; revision=55790
* Add new version of uname for 5.x bindistsKris Kennaway2002-03-091-0/+67
| | | | Notes: svn path=/head/; revision=55789
* Add template file from bentoKris Kennaway2002-03-091-0/+6
| | | | Notes: svn path=/head/; revision=55788
* Don't hard-code a version string to report to the chroots, pick it upKris Kennaway2002-03-091-2/+8
| | | | | | | | from a file so it can be more easily changed (and is more obvious so it doesn't get overlooked) Notes: svn path=/head/; revision=55787
* 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