aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Make plist (the Ruby script) a tad more useful: build in mtree supportgreen2001-01-071-26/+54
| | | | | | which holds final veto power over what @dirrm lines go into the plist. This is a bit less evil than all the regexps previously used to manually remove those directories.
* As a quick fix, use /tmp instead of the currently hardcoded /usr/tmp.nbm2001-01-032-2/+2
|
* Add (a currently very bare) mkpbuild, and (the more useful) mkpinstall.nbm2001-01-032-0/+136
| | | | | | | | | | | | | | | | | | mkpbuild just builds a port with WRKDIRPREFIX and PREFIX set to a directory in /tmp, and with the owner and group variables set to the user. A placeholder - in future, it'll have build error/log parsing. mkpinstall's claim to fame is to do the same, except with "make install" instead of "make build", and it then parses the mtree file, and compares that and the current directory tree and the files, and auto-generates a plist. They're not pretty, but they finish the mkptools set basic functionality: automatic skeleton generation with mkpskel, on-extraction requirements guessing, and plist generation. Future direction might be parsing build and install failures, checking for '/usr/local' abuse, more requirements guessing, and stuff like that.
* Fix breakage when someone uses -t option: pass DISTDIR environment variablewill2001-01-021-7/+9
| | | | | | | | | | | to the extra testing's make procs. Fix _stupid_ mistake where -n option had no effect on hindering ``cvs add'' and CVSROOT/modules updating. Cosmetics; remove extra space in generated commit log message and fix the usage section's style in regards to options that take arguments. Add missing -g option's mention. Submitted by: assar (DISTDIR, CVSROOT/modules updating routine bugs)
* Several changes. First, depend on another environment variable ratherwill2001-01-011-12/+14
| | | | | | | | than CVSROOT (now ADDPCVSROOT) to avoid conflicts for people who normally set CVSROOT to something besides freefall (like myself). Second, allow autofill to work for non-PR additions by checking for a -l argument of -1. Third, remove the bogus $portname check in autofill that screws up if you are adding something with a PKGNAMEPREFIX (i.e. p5-).
* Here's my holiday present to the ports team: new -l option allows you towill2000-12-311-19/+95
| | | | | | | | | | | | let portlint fill out your commit log message. It takes data from your port's Makefile and pkg-comment to generate this, then displays the resulting file and gives a chance to fix any problems. Also, change -c option to move the file to the temp directory. Since -c and -l option conflict, -l will take precedence. Move -c option down to where directories are parsed. Reviewed by: Jeremy Shaffner <jeremy@external.org>
* Add new option: -c file : Pass a file containing the log message for thewill2000-12-301-3/+23
| | | | | | | new port. Slight hack used to obtain absolute path for the file. I'll probably change that to make it copy the file to the tmpdir instead. For now, this provides a stepping stone to use to begin automating commit log messages - with, of course, a chance to edit the file again.
* Add -g option to disable committing to CVSROOT/modules, useful if someonewill2000-12-191-2/+5
| | | | | | | | is going to commit a large number of ports and doesn't want to bloat the repo any more than necessary. Later on I'll add support to modulesupdate to do multiple modules at the same time. I should check that script in CVS, but nobody's repocopied non-ports-specific tools to src yet to my knowledge so I can't do that.
* master is back to bento.asami2000-12-181-1/+2
| | | | | Add definition of scratchdir=/x/tmp for scratch directory to use when temporarily creating load files.
* Combine the scripts for building the bundist tarballs. The per-branchasami2000-12-181-0/+70
| | | | specifics are in mkbindist.conf under ${portbuilddir}/${branch}.
* Functional modification: Make -n only apply to cvs commit, NOT *all*will2000-12-091-3/+3
| | | | | | | cvs ops. Many committers found it difficult to debug while using addport with the -n argument. I'm inclined to agree with the sentiment. Submitted by: sada, deischen, others
* Use YYYYMMDDHH for log files so we can have two builds on the sameasami2000-11-081-1/+8
| | | | day. Remove lock file if package build aborts.
* (1) New flag, -ftp, indicates packages are to be copied over to theasami2000-11-081-17/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ftp site (specified in portbuild.conf). (It used to be implied by -norestr.) (2) Remove x11-toolkits/Motif-dummy from list of dummy ports, since open-motif is now the default. Also gone is the MOTIF_OPEN variable. (3) Run the tar -czf of the ports tree and generation of CHECKSUM.MD5 in the background. (4) Print the amount of time it took for the entire process, as well as phase 1 and phase 2 of the compilations. (It is done by date -r, so it will only work modulo 24 hours. Hopefully the build will never go over 24 hours again.) (5) Make symlink of the form [ae].${branch}.YYYYMMDD -> [ae].${branch}.YYYYMMDDHH so we can have the simple "date" form as well as the new "date+hour" directories for logs. (6) Remove temporary make status files from /tmp that are over 60 minutes since the last modification. It was filling up the root filesystem. (7) Print out an "ls -lrt" of packages/All into logs/ls-lrt. This is going to be used to evaluate make's job dispatch policies.
* Add standard 2-clause BSD license to protect my (and mharo's) copyright.will2000-11-041-0/+24
|
* s|pkg/PLIST|pkg-plist|gsobomax2000-10-211-3/+3
|
* Add update-patches, a script to generate updated versions of thetrevor2000-10-192-1/+139
| | | | | | patches in a port. Obtained from: OpenBSD
* Add plist, a script to automate the generation of a pkg-plist.green2000-10-172-0/+65
|
* Overhaul addport again. Should be quite functional now.will2000-10-141-22/+70
| | | | | | | | | | | | | | | | | | | 1) Re-add functionality removed in revision 1.11, but only as an option. This time, it checks out its own copy of ports/Mk and points PORTSDIR at the correct location. To use this, use the -a option. It will not work if it can't find portlint in your path. 2) Add option -f to disable fetching the distfile. 3) Add option -m to disable checking out a copy of Mk for 1). For those that have a current Mk in PORTSDIR and don't want to check out a fresh copy for whatever reason. 4) Support CVSROOT environment variable. 5) Note environment variables recognized by addport. 6) Fix breakage trying to use -d with multiple directories (not tested). 7) Actually use $interactive variable. 8) Update usage(). 9) Note original RCSID for my shell script; take over as MAINTAINER. Tested by: gshapiro (this revision was used in adding sendmail)
* Add the first efforts on my mkptools, the successor to makeport.pl.nbm2000-10-144-0/+613
| | | | | | | | | | | | | | | | | | | | | mkptools are broken up into simple scripts: mkpskel takes a distribution file as an argument and generates a skeleton; it guesses the extract method, the package name, and so forth, and generates populated Makefile and distinfo and empty pkg-descr, pkg-comment, and pkg-plist. mkpextr goes through the extract phase, and generates what it believes are the necessary variables necessary to build the port. It guesses the work source directory, what the Makefile is called, whether it has configure, whether to use libtool, and other bits such as wildly guessing kde, qt, gtk, gnome, and ssl requirements. Run it in a port directory, and it generates Makefile.extr. mkpmerge merges the results from mkpskel and mkpextr (and will later merge the results from the other phases) into Makefile. mkpclean cleans up any extra files that may be hanging about.
* Since people don't seem to appreciate the fact that addport can dowill2000-10-111-26/+0
| | | | | | | | automatic checking on their ports to be added, I'm removing it and its overriding -v option. Let the improper port additions continue, and screw anyone who doesn't care about the repo. Propelled by: obrien, msmith
* Ajust for a new world order (md5 --> distinfo).sobomax2000-10-091-3/+3
|
* Name change, files/md5 -> distinfo. (Only change is to message -- theasami2000-10-091-2/+2
| | | | | | code actually detects both new and old errors.) Expand the USE_XLIB case to include Xosdefs.h.
* Hack this file beyond recognition to cope with both the old and newasami2000-10-061-9/+12
| | | | | | | | mtree outputs. Also change the title of the file from "List of extra files and directories" to "List of files and directories that do not match their mtree description", which is more accurate.
* Need to quote su -c command with ", not ' since I've got variablesasami2000-10-061-1/+1
| | | | in there (d'oh!).
* Typo (/etc/portbuild -> /var/portbuild).asami2000-10-061-1/+1
|
* Comment out OSREL settings -- these are taken from /usr/bin/unameasami2000-10-061-5/+7
| | | | in the chroot dirs (which is a hacked version) anyway.
* Use -t flag with portlint.will2000-10-041-1/+1
| | | | Submitted by: trevor
* Fix bogon where replies were not chomp()'d.will2000-10-011-0/+1
| | | | Submitted by: knu
* Detect two more failures -- fetch timeout and runaway process (which isasami2000-09-291-0/+4
| | | | really a make package timeout without output).
* Don't delete modules, it might be needed.asami2000-09-271-1/+0
|
* Read in configuration variables from /var/portbuild/portbuild.conf.asami2000-09-272-4/+6
|
* Pull in configuration variables from /var/portbuild/portbuild.conf.asami2000-09-279-29/+48
| | | | | | | | | /var/portbuild is the new designated home of the portbuild setup, and is expected to be a symlink to wherever you choose to put the stuff. Also, change reportload to use /var/portbuild to store temporary files. Seems there are some bugs in the null mount code that make the files inaccessible if you are using an NFS root.
* A configuration file where all options reside.asami2000-09-271-0/+17
|
* A little script to call "at" to copy the packages.asami2000-09-271-0/+7
|
* Don't whack old packages, we have enough disk space to keep a few setsasami2000-09-271-31/+58
| | | | | | | | | | | | | | | | | | | around now. Make a symlink "Makefile" so I don't have to "make -f ../../Makefile" when I'm restarting an aborted build. Print out pnohang messages along with ptimeout messages. Count the number of jobs at the beginning of the second phase too. Check integrity of packages at end with gzip -t. Remove the ones that don't pass the test. Don't try to compare list of packages if there is no prior list to compare with. If the -norestr flag is given, copy the packages to the ftp site.
* Remove syslog message about a load file being empty -- I know it happens now.asami2000-09-271-1/+1
|
* Make sure you're given the "start" argument before trying to start the script.asami2000-09-271-0/+2
|
* Don't add packages that are already installed.asami2000-09-271-7/+17
| | | | | Use pnohang to catch make checksum (fetch) or make package (usually an xemacs running away) that aren't making any progress.
* A little script to kill makes that haven't printed out any message inasami2000-09-271-0/+70
| | | | a while (presumably because they are hanging or are in an infinite loop).
* Change "grep *.log" to "find . -name '*.log' | xargs grep", the number ofasami2000-09-271-1/+1
| | | | logs were overflowing the argv array.
* Catch one more case of XFree86-4 manpage building error.asami2000-09-271-0/+7
| | | | | Mark ports that are already marked BROKEN (and don't build, predictably) with a red "[B]" for people to see.
* Remove an extra message that only served to clutter the logs.asami2000-09-271-1/+1
|
* Don't try to process logs twice by protecting this script with a lock file.asami2000-09-271-1/+9
|
* Add -t and -n flags to ssh. (-t flag suggested by: ps)asami2000-09-271-4/+4
| | | | | This seems to fix a lot of the hang problems to bump up the timeout from 5 hours to 12 hours.
* Change lock file name to "cppackages.lock" so it's clear it's a lock.asami2000-09-271-1/+1
|
* When NODUMMY is defined, set XFREE86_VERSION to 4 and MOTIF_OPEN to t.asami2000-09-272-0/+15
| | | | These are for testing the split-up XFree86-4 ports and open-motif.
* Don't remove the distfiles from the backup directory -- the nextasami2000-09-271-2/+0
| | | | run of dopackages will take care of it.
* Exit with error status in ${portbuild}/status when an error occurs.asami2000-08-291-45/+170
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make INDEX build failure a fatal error. Copy INDEX to INDEX-${branch} for later perusal. There is no -a flag in OpenSSH's scp. Use sed to remove /usr/ports and stuff from restricted.sh and cdrom.sh, so they can be run without further modification using relative directories. Take more options, namely -norestr (don't build RESTRICTED ports), -noplistcheck (turn off "extra files check"), and -nodummy (use open-motif instead of Motif-dummy and XFree86-4-* instead of XFree86-3). -nodummy will become the default soon. Also a new flag -nocvs will prevent cvs update on ${branch}/src only (while -nocvsup will prevent cvsup and cvs update on usr/ports). -nocvs is to be used when builds for more than one branch shares a same cvsup session. Write out time cvsup is done so it can be used by log processing scripts. Handle dummy ports by using a more generic approach -- list the directories they reside in (e.g., x11-toolkits/Motif-dummy) and generate the package name from there, instead of hardcoding them package names everywhere. Hopefully this will go away when we get rid of the special case handling for Motif and XFree86. Add something called "quickports" -- these are packages with very long dependency lists that always seem to throttle the parallel build near the end. By spelling them out explicitly, try to make make build dependencies for them earlier while there are a lot of other stuff to do. (Our make doesn't do anything with the target list, but maybe I can fix that someday.) Copy bindist.tar to clients before the second run of package build too. It can be useful to "sneak" in fixes if something minorly wrong is discovered in the bindist during the first run. Since there is a md5 checking, this copying will not be done unless the files are actually different. When -norestr is set, delete restricted packages and distfiles using restricted.sh immediately after completion of package build. Generate CHECKSUM.MD5 after packages are built. Copy distfiles over to the ftp site after everything is done. This is run in the background on bak/distfiles so the next package build can immediately start.
* Split build into two phases, checksum and package, and copy theasami2000-08-291-18/+65
| | | | | | | | | | | | | | | | | | | | | | | distfile to the server right after checksum. This will make it possible to "harvest" distfiles even for ports that don't currently build. (This was a reason for a lot of distfiles being lost in the past -- someone commits a broken port, distfile doesn't get fetched to ftp.FreeBSD.org since package doesn't build, and distfile is gone from the master site before the port is fixed.) This also enables more efficient sharing of distfiles since we can set MASTER_SITE_OVERRIDE to the port build server and have a better chance of finding the distfiles there. Instead of using a simple make package | tee, redirect the output of make package into a separate log file and concatenate it later. For some reason, the gconf build always hangs after the build succeeds (tee doesn't exit). Handle the new arguments (-norestr for NO_RESTRICTED, -noplistcheck for NOPLISTCHECK and -nodummy for NODUMMY) by converting them to environment variables. Add the branch=5 case. Run ldconfig on /usr/lib/compat too.
* Instead of doing a pwd | grep (duh!) to find the branch we areasami2000-08-291-15/+16
| | | | | | | building ports for, pass it as an argument. Pass NO_RESTRICTED, NOPLISTCHECK and NODUMMY to ssh as flags when said environment variables are set.
* The errors and logs are now in the archive directory namedasami2000-08-291-1/+1
| | | | | [ae].${branch}.${date}, and "logs" and "errors" are just symlinks to them.
* Change find command line to find potential security hazards (portsasami2000-08-291-2/+2
| | | | | | that install setupd binaries etc.) Submitted by: kris
* Run build on three branches. Check the status file filled out byasami2000-08-291-3/+39
| | | | | | | | | dopackages and abort build if there were any errors. It intentionally leaves lock files behind in that case because it usually requires my manual intervention to fix whatever's wrong (usually a botched INDEX build due to someone forgetting to update dependency lines) and we don't want subsequent failed tries to wipe out all the good packages and distfiles we have accumulated.
* Handle arbitrary number of log directories instead of just two.asami2000-08-291-22/+37
|
* Ignore empty loads files -- it seems scp in OpenSSH sometimes leavesasami2000-08-291-1/+5
| | | | | | files empty even if the original target and the new source are both non-empty. (Old ssh1 never did that, but whether this is a bug is not obvious.)
* Handle three branches instead of two. Use a for loop instead of justasami2000-08-291-12/+13
| | | | | listing calls to comparelogs etc., so we can expand it into the future (no, not 4 branches, but maybe another architecture).
* Add -f to forcefully umount /usr/src and /usr/obj before reboot.asami2000-08-291-1/+1
|
* Add branch=5 case and update some variables. Don't set NO_RESTRICTED,asami2000-08-291-5/+14
| | | | | | | this will be passed down by calling scripts if necessary. Remove extra spaces in dependency list -- this sometimes confuses make for some reason.
* Add branch=5 case and update some variables. Don't set NO_RESTRICTED,asami2000-08-291-5/+11
| | | | this will be passed down by calling scripts if necessary.
* Print uptime after the number of jobs running. This has no functionalasami2000-08-291-1/+2
| | | | | | effect since the job scheduler will only look at the first field, but will give humans looking at the load reports some idea about the machines (especially crashes).
* A little script that tries to "undo" a package build. Basically just renamesasami2000-08-291-0/+6
| | | | a bunch of directories back. Use it when you want to void a botched build.
* A small script to copy packages over to the ftp site. It is not integratedasami2000-08-291-0/+35
| | | | into the main build scripts yet so you need to call this one manually.
* A small script to copy distfiles from per-port directory to centralasami2000-08-291-0/+17
| | | | | | | | | | | | | | | location. This is done to avoid write-on-write race conditions, when two package builds try to write the same distfile back into the server. To avoid this, the distfiles are first copied over to distfiles/.pbtmp/${PKGNAME}, and then a .done file is created in that directory. This script runs on the server periodically to copy the files to the central location. Since this script copies one distfile at a time, the race mentioned above doesn't exist. Also, it will only copy files from directories where the .done file exists to avoid read-before-write race conditions.
* Remove bak/distfiles after it's done -- this script is now called inasami2000-08-291-0/+2
| | | | | the background with bak/distfiles to work with (so that the new package build can run in parallel).
* (1) Use timestamp file to make log processing lazier -- only processasami2000-08-291-3/+22
| | | | | | | | | | | | | | logs when there are logs newer than the .stamp file. (2) Print time cvs update is done for reference. (3) Print number of affected ports (the "aff." field). Basically the number of times the port appears in INDEX minus one (itself), so it won't take care of all chained build dependencies, but it will give you some idea how critical a port is when looking at the long list. (4) Catch a few more error cases.
* Read package build log files and compile a list of "extra" files in anasami2000-08-291-0/+67
| | | | HTML table format.
* New script (and it's README) for searching the ports tree. Add this scriptmarko2000-08-283-0/+349
| | | | | | | | | | to the main README. This was originally submitted as a port but was added to Tools/scripts instead at alex's suggestion. PR: 20863 Approved by: alex
* Make -n work again. Add new option -s to allow people to specify awill2000-08-191-11/+30
| | | | | | | | | | | | | | $DISTDIR to put distfiles in, if they can't touch $PORTSDIR/distfiles. If this is freefall, default to $tmpdir, which is relatively secure since most users on it are trusted. Reset FETCH_BEFORE_ARGS to "-btA" instead of "-btsA", so the distfile is actually fetched. Add a method to allow the name of the module to be changed if -i is used. Update to use the modulesupdate that's in /usr/local/bin. Addport should now work properly on freefall, without -v option. Submitted by: roger (-s, $tmpdir by default on freefall) Thanks to: peter (copying modulesupdate to /usr/local/bin)
* Properly check -d argument, and return usage() if it's not there. Also usewill2000-08-121-6/+9
| | | | | | Sys::Hostname with hostname() instead of `hostname`. Hostname stolen from: CVSROOT/log_accum.pl
* Minor cleanups. Print usage() if no arguments are passed. Get rid ofwill2000-08-111-19/+10
| | | | | | unused $pwd variable. Remove extra cruft. Fix comments. usage() problem submitted by: knu
* Add -nocopy option to prevent bindist.tar from being copied over. Couldasami2000-08-111-7/+17
| | | | | | be useful between the first and second phases of the build. Do a "killall make fetch" to clear any remaining processes.
* Major update to addport. Many *MANY* bugfixes. Addport should now workwill2000-08-101-160/+211
| | | | | | | | | | | | | | | | | | with a directory specified as ``.'' or containing a ``/''. A new option -i was added to allow people more control over the port's position in the CVS repository. A new feature was added to allow multiple ports to be added in the same execution of addport. Addport will now add a port to the category Makefile properly if it is the first port in a category. A major reorganization of addport was also performed - now the functions are at the *bottom* instead of scattered around. This should allow easier understanding of the process addport goes through. I've also added -w to perl's exec args, and moved to a hash for getopts(). usage() was extended to help explain addport's functionality better. Bugs submitted by: nbm Some help from: sheldonh
* Fix special case where people use ``.'' for the argument to -d. I'm notwill2000-08-061-1/+6
| | | | | | | | | very good with perl yet, so anyone who can propose a better way to do this (with s/// or m// or something using regex) that might also include the case where the argument contains slashes (i.e. games/somegame). But anyways, this should catch folks who use ``.''. :-> Submitted by: obrien, sada
* Make this run on ${portbuild}/bak/distfiles rather thanasami2000-08-041-5/+15
| | | | | ${portbuild}/distfiles so it can be interleaved with the next run of build.
* Add missed '>' to my e-mail.sobomax2000-08-023-4/+4
|
* Add gnomedepends.py to our collection of helpfull scripts.sobomax2000-08-022-1/+164
| | | | | | gnomedepends is a script, which analyses pkg/PLIST and gives an advice as to which GNOME ports should be listes in {RUN,LIB}_DEPENDS for the port to ensure correct removal of GNOME shared directories.
* Various fixes and improvements.sobomax2000-07-191-5/+5
|
* Add hack for gzipped files that are not .tar.gz files and uncompressalex2000-07-191-2/+3
| | | | | | them The-Right-Way(tm). This whole uncompress-algorythm should be reworked, though.
* Fix benign bug which had the script claiming to delete any package thatasami2000-07-131-1/+1
| | | | | includes a missing package's name as a substring (e.g., ja-mh-6.8.4 vs. mh-6.8.4), when it wasn't actually deleting it anyway.
* Add "-s" (silent) option useful for shell scripts.sobomax2000-07-101-18/+41
|
* Add checknewver.sh - a shell script which checks for availability of newestsobomax2000-07-071-0/+85
| | | | | version of distfiles on MASTER_SITES. This is still work in progress, so please use with caution and don't forget report bugs and submit patches.
* Add checknewvers.sh - a script which checks for availability of the newestsobomax2000-07-071-0/+2
| | | | | versions of distfiles on MASTER_SITES. This is still work in progress, so please use with caution and don't forget report bugs and submit patches.
* Back out (1) in previous commit -- extra directories are fatal again.asami2000-07-061-5/+1
| | | | | | Otherwise it is often too hard to find out which port left the directory behind since packages propagates extra directories. Also, many of the extra directories contain files, so it makes no sense to ignore them.
* Allow existing CVS_RSH environment var to take precedent.sobomax2000-07-041-1/+8
|
* Allow existing CVS_RSH environment var to take precedent.will2000-07-041-2/+4
| | | | Submitted by: sobomax
* (1) Make extra files fatal errors only if they are files -- extraasami2000-07-021-2/+9
| | | | | | | | directories are still included in the list of "extra stuff", but are not considered fatal (for now). (2) Use ls's -a flag to print out list of all files in ${PREFIX}, for obvious reasons.
* Fix addport so that it will work on freefall. Remove old cruft leftwill2000-07-011-13/+28
| | | | | around from older versions of addport. Make addport a little more helpful by actually displaying usage() if no args are passed.
* Add close-pr - a slightly hacked version of edit-pr(1) to quickly close PR.sobomax2000-06-272-0/+364
|
* Add extract-lines for .Z archives.alex2000-06-101-1/+7
| | | | | | Change MAINTAINER: alex@big.endian.de --> alex@FreeBSD.org Reviewed by: will
* Add a traling slash ("/") to the /usr/ports/ and /usr/ports/distfiles/ to makesobomax2000-06-061-3/+3
| | | | | | the script working for the cases when either one directory is a symlink. Submitted by: Juriy Goloveshkin <juriy@avias.com>, Volodymyr Kostyrko <arcade@limbo.dn.ua>
* Add tag and MAINTAINER.sobomax2000-06-051-4/+4
|
* Add distclean.sh - a little script to check set of distfiles against currentlysobomax2000-06-052-5/+71
| | | | | | | installed ports collection and prompt to remove unmatching entries (i.e. distfiles that doesn't have corresponding md5 file). Hardly requiested by: will
* Update for multiple ports. Also add MAINTAINER/Created [on,by] lines.will2000-05-241-41/+57
| | | | Submitted by: maintainer
* Add checksum.sh script that checks a port or ports for broken distfiles andwill2000-05-222-0/+66
| | | | | | | | | gives a diff of any port with broken distfiles, if the distfile names are the same. This script will help keep more ports' up-to-date distfiles on ftp.FreeBSD.org. PR: 18723 Submitted by: Alexander Langer <alex@cichlids.com>
* Make getpr work for remote committers as well.sobomax2000-05-191-2/+7
|
* (1) Make this file callable in two phases (checksum, package) so distfilesasami2000-05-081-31/+110
| | | | | | | | | | | | | | | can be fetched even if the packaging fails. This is to ensure distfiles with correct checksums can be fetched and put on ftp.FreeBSD.org before they disappear from the original master sites. (2) Delete port and all dependencies after packaging, and print out list of (a) Security-related files (set[ug]id flag set or world-writable) (b) Extra files and directories Requested by: kris (2a only)
* Readme describing all the scripts in this directory. Somebody good atmharo2000-05-021-0/+47
| | | | writing docs should probably fix this file.
* 3 little scripts I use when dealing with port update PRs.mharo2000-05-023-0/+147
| | | | | | | | | | getpr - downloads a problem report from GNATS and attempts to extract the patch, shar, uuencoded file from it. this probably needs to be checked for potential security problems. prpatch - just does `patch $1 < pr-patch' (pr-patch is created by getpr) prdone - checks in the port, attempting to fill out the commit message using information from the problem report and then takes you into edit-pr so you don't forget to close the PR.
* Future replacement to easy-import for adding ports to the tree.mharo2000-05-021-0/+243
| | | | | This still needs work, but I want to get this out there so people can comment on it. This is really only of use to committers.
* A tool to check whether all your ports are installed properly, what filesmharo2000-05-021-0/+143
| | | | | | have changed, what new files there are, and so forth. Created by: Neil Blakey-Milner <nbm@mithrandr.moria.org>
* (1) Be a little less picky about finding read-only mounts.asami2000-03-221-4/+6
| | | | | | (2) Create directories before trying to copy files over. (3) There's no -a option to scp anymore.
* Add a few more error tags (bison, ELF, REQUIRES_MOTIF, dependency, newasami2000-03-031-2/+12
| | | | compiler error).
* Add a few more files to bindest.asami2000-02-171-4/+16
|
* freebsd.org -> FreeBSD.orgasami1999-10-121-1/+1
|
* Increase wait from 4 hours to 5 hours. Seems the ports are taking longerasami1999-10-101-2/+2
| | | | to build now.
* Don't run make describe in parallel -- the outputs gets mangled sometimes.asami1999-10-101-1/+1
|
* Minor cleanup, remove excessive tests.asami1999-09-241-2/+1
|
* Adjust to new directory structure.asami1999-09-241-1/+1
|
* Put the logs and error logs in a dated subdirectory of the archiveasami1999-09-221-3/+22
| | | | | | | | directory and create symlinks to it. Move index generation back into the parallel part, let's see if the echo `perl` fix to bsd.port.mk will make a difference. Move the index syntax check out of the background job so it can be properly flagged.
* Call bothlogs.asami1999-09-221-0/+2
|
* A small script to generate a list of logs that are in both 3-stableasami1999-09-221-0/+51
| | | | and 4-current.
* Put build logs in "archive/buildlogs" and make a symlink to it.asami1999-09-221-5/+5
|
* Another case for compiler error.asami1999-09-221-1/+1
|
* Run chflags if rm -rf of chroot dir fails -- some port may haveasami1999-09-221-1/+6
| | | | left some schg junk around.
* Run Xvfb if it exists and set DISPLAY accordingly. This helps portsasami1999-09-221-4/+17
| | | | that require xrdb and other inane stuff during build.
* Remove /var/db/pkg/* *inside* chroot area, not outside.asami1999-09-111-2/+2
|
* Little whitespace fix.asami1999-09-111-1/+1
|
* Note that you need /usr/lib/aout/c++rt0.o for package building. It's notasami1999-09-111-3/+8
| | | | included in bindist or any of the compat*dists.
* This is supposed to be 4-current, not 3.1-release.asami1999-09-111-2/+2
|
* Don't delete the whole /usr/games, leave strfile behind. At least one portasami1999-09-112-4/+92
| | | | (misc/fortuneit) needs it.
* Improve snapshot ftp installation. Put hostnames, distributions etc. inasami1999-09-112-18/+28
| | | | variables instead of command lines. Create /var/db/port.mkversion.
* (1) Instead of specifying list of package names of dummy ports (i.e.,asami1999-09-111-19/+36
| | | | | | | | | | | | | | | | | | | | | | XFree86, Motif) to copy, make a variable hold directory names, and do a "make package-name" in there to obtain the package names. (2) Exit if there is problem in INDEX. A line that contains "non-existent" (suggesting a dangling dependency) or a line that has less or more than nine |'s flag errors. (3) Pass the fifth argument (bindist.tar's md5) to setupnode. (4) Typo in spelling "restricted". Submitted by: marcel (5) Run cvsup at verbosity level 0 instead of 1. (6) Print out only ${PKGNAME}, not ${PKGNAME}.log or ${PKGNAME}.tgz when reporting new or old packages/failures. (7) Archive /usr/ports used to build packages in ${branch}/tarballs. Requested by: steve
* (1) Remove FORCE_PKG_REGISTER, it is not necessary anymore. Removeasami1999-09-111-12/+23
| | | | | | | | | | | | | | | | everything under /var/db/pkg/* before installing dependencies and during final cleanup. (2) Change OSREL, OSVERSION and PORTOBJFORMAT (if necessary). Comment out those for 3-stable. Reported by: paul, tg (3) Move mtree until after we actually mount /usr/src. ;) Reported by: taoka (4) Run ldconfig with and without -aout in all sorts of directories to pick up everything that could be in compat dirs etc. Run ldconfig -aout -R after cleanup too.
* Add extra argument md5 for bindist.tar. Skip scp if md5 matchesasami1999-09-111-3/+9
| | | | what the client already has.
* Change OSREL and OSVERSION for 3 and 4 branches. (The ones for 3-stableasami1999-09-112-6/+6
| | | | are commented out anyway....)
* Add check for "invalid category" error.asami1999-09-111-1/+3
| | | | Add another case for compilation error (undeclared variable).
* Explict specify NFSv2 for mounting /usr/src and /usr/obj during make world.asami1999-09-111-2/+2
|
* Copy logs to ${portbuild}/buildlogs/${branch}.log.${date}.asami1999-09-111-3/+7
| | | | Replace another explicit mail address with ${mailto}.
* Id->FreeBSD rename take 2obrien1999-08-251-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Do not require dependencies to be deleted to be explicitly listed.asami1999-08-181-3/+29
| | | | | Any dependency that doesn't exist as a package will be automatically deleted from the list of dependencies.
* Move CHECKSUM.MD5 generation to after INDEX splitting. Not much changeasami1999-08-021-1/+1
| | | | in functionality but echo statements will print the counts right.
* Parallelize things a bit more. Now we'll do index/cdrom/restrictedasami1999-07-301-73/+167
| | | | | | | | | | | | | | | | | | list generation at the same time we're setting up the clients. duds generation is intentionally separate. If we get an error back from that one (usually means someone committed a Makefile with a syntax error), abort the whole thing so we won't generate a faulty index and destroy the stuff that's been builtbefore. Lockfile handling is now moved to dopackages2 so we won't overwrite the build.log file just to say "skipped". Generate INDEX right after packages are built, from the same INDEX that was used to build them. Compare the packages from this build with the previous one and report what's missing and whatnot.