aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
Commit message (Collapse)AuthorAgeFilesLines
* Exit with error status in ${portbuild}/status when an error occurs.Satoshi 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. Notes: svn path=/head/; revision=32091
* Split build into two phases, checksum and package, and copy theSatoshi Asami2000-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. Notes: svn path=/head/; revision=32090
* Instead of doing a pwd | grep (duh!) to find the branch we areSatoshi Asami2000-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. Notes: svn path=/head/; revision=32088
* The errors and logs are now in the archive directory namedSatoshi Asami2000-08-291-1/+1
| | | | | | | | [ae].${branch}.${date}, and "logs" and "errors" are just symlinks to them. Notes: svn path=/head/; revision=32087
* Change find command line to find potential security hazards (portsSatoshi Asami2000-08-291-2/+2
| | | | | | | | | that install setupd binaries etc.) Submitted by: kris Notes: svn path=/head/; revision=32086
* Run build on three branches. Check the status file filled out bySatoshi Asami2000-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. Notes: svn path=/head/; revision=32085
* Handle arbitrary number of log directories instead of just two.Satoshi Asami2000-08-291-22/+37
| | | | Notes: svn path=/head/; revision=32084
* Ignore empty loads files -- it seems scp in OpenSSH sometimes leavesSatoshi Asami2000-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.) Notes: svn path=/head/; revision=32083
* Handle three branches instead of two. Use a for loop instead of justSatoshi Asami2000-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). Notes: svn path=/head/; revision=32082
* Add -f to forcefully umount /usr/src and /usr/obj before reboot.Satoshi Asami2000-08-291-1/+1
| | | | Notes: svn path=/head/; revision=32081
* Add branch=5 case and update some variables. Don't set NO_RESTRICTED,Satoshi 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. Notes: svn path=/head/; revision=32080
* Add branch=5 case and update some variables. Don't set NO_RESTRICTED,Satoshi Asami2000-08-291-5/+11
| | | | | | | this will be passed down by calling scripts if necessary. Notes: svn path=/head/; revision=32079
* Print uptime after the number of jobs running. This has no functionalSatoshi Asami2000-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). Notes: svn path=/head/; revision=32078
* A little script that tries to "undo" a package build. Basically just renamesSatoshi Asami2000-08-291-0/+6
| | | | | | | a bunch of directories back. Use it when you want to void a botched build. Notes: svn path=/head/; revision=32077
* A small script to copy packages over to the ftp site. It is not integratedSatoshi Asami2000-08-291-0/+35
| | | | | | | into the main build scripts yet so you need to call this one manually. Notes: svn path=/head/; revision=32076
* A small script to copy distfiles from per-port directory to centralSatoshi Asami2000-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. Notes: svn path=/head/; revision=32075
* Remove bak/distfiles after it's done -- this script is now called inSatoshi Asami2000-08-291-0/+2
| | | | | | | | the background with bak/distfiles to work with (so that the new package build can run in parallel). Notes: svn path=/head/; revision=32074
* (1) Use timestamp file to make log processing lazier -- only processSatoshi Asami2000-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. Notes: svn path=/head/; revision=32073
* Read package build log files and compile a list of "extra" files in anSatoshi Asami2000-08-291-0/+67
| | | | | | | HTML table format. Notes: svn path=/head/; revision=32072
* New script (and it's README) for searching the ports tree. Add this scriptMark Ovens2000-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 Notes: svn path=/head/; revision=32049
* Make -n work again. Add new option -s to allow people to specify aWill Andrews2000-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) Notes: svn path=/head/; revision=31762
* Properly check -d argument, and return usage() if it's not there. Also useWill Andrews2000-08-121-6/+9
| | | | | | | | | Sys::Hostname with hostname() instead of `hostname`. Hostname stolen from: CVSROOT/log_accum.pl Notes: svn path=/head/; revision=31543
* Minor cleanups. Print usage() if no arguments are passed. Get rid ofWill Andrews2000-08-111-19/+10
| | | | | | | | | unused $pwd variable. Remove extra cruft. Fix comments. usage() problem submitted by: knu Notes: svn path=/head/; revision=31531
* Add -nocopy option to prevent bindist.tar from being copied over. CouldSatoshi Asami2000-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. Notes: svn path=/head/; revision=31485
* Major update to addport. Many *MANY* bugfixes. Addport should now workWill Andrews2000-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 Notes: svn path=/head/; revision=31457
* Fix special case where people use ``.'' for the argument to -d. I'm notWill Andrews2000-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 Notes: svn path=/head/; revision=31331
* Make this run on ${portbuild}/bak/distfiles rather thanSatoshi Asami2000-08-041-5/+15
| | | | | | | | ${portbuild}/distfiles so it can be interleaved with the next run of build. Notes: svn path=/head/; revision=31303
* Add missed '>' to my e-mail.Maxim Sobolev2000-08-023-4/+4
| | | | Notes: svn path=/head/; revision=31245
* Add gnomedepends.py to our collection of helpfull scripts.Maxim Sobolev2000-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. Notes: svn path=/head/; revision=31244
* Various fixes and improvements.Maxim Sobolev2000-07-191-5/+5
| | | | Notes: svn path=/head/; revision=30889
* Add hack for gzipped files that are not .tar.gz files and uncompressAlexander Langer2000-07-191-2/+3
| | | | | | | | | them The-Right-Way(tm). This whole uncompress-algorythm should be reworked, though. Notes: svn path=/head/; revision=30878
* Fix benign bug which had the script claiming to delete any package thatSatoshi Asami2000-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. Notes: svn path=/head/; revision=30542
* Add "-s" (silent) option useful for shell scripts.Maxim Sobolev2000-07-101-18/+41
| | | | Notes: svn path=/head/; revision=30441
* Add checknewver.sh - a shell script which checks for availability of newestMaxim Sobolev2000-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. Notes: svn path=/head/; revision=30300
* Add checknewvers.sh - a script which checks for availability of the newestMaxim Sobolev2000-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. Notes: svn path=/head/; revision=30299
* Back out (1) in previous commit -- extra directories are fatal again.Satoshi 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. Notes: svn path=/head/; revision=30247
* Allow existing CVS_RSH environment var to take precedent.Maxim Sobolev2000-07-041-1/+8
| | | | Notes: svn path=/head/; revision=30171
* Allow existing CVS_RSH environment var to take precedent.Will Andrews2000-07-041-2/+4
| | | | | | | Submitted by: sobomax Notes: svn path=/head/; revision=30146
* (1) Make extra files fatal errors only if they are files -- extraSatoshi Asami2000-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. Notes: svn path=/head/; revision=30062
* Fix addport so that it will work on freefall. Remove old cruft leftWill Andrews2000-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. Notes: svn path=/head/; revision=30037
* Add close-pr - a slightly hacked version of edit-pr(1) to quickly close PR.Maxim Sobolev2000-06-272-0/+364
| | | | Notes: svn path=/head/; revision=29891
* Add extract-lines for .Z archives.Alexander Langer2000-06-101-1/+7
| | | | | | | | | Change MAINTAINER: alex@big.endian.de --> alex@FreeBSD.org Reviewed by: will Notes: svn path=/head/; revision=29501
* Add a traling slash ("/") to the /usr/ports/ and /usr/ports/distfiles/ to makeMaxim Sobolev2000-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> Notes: svn path=/head/; revision=29255
* Add tag and MAINTAINER.Maxim Sobolev2000-06-051-4/+4
| | | | Notes: svn path=/head/; revision=29233
* Add distclean.sh - a little script to check set of distfiles against currentlyMaxim Sobolev2000-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 Notes: svn path=/head/; revision=29232
* Update for multiple ports. Also add MAINTAINER/Created [on,by] lines.Will Andrews2000-05-241-41/+57
| | | | | | | Submitted by: maintainer Notes: svn path=/head/; revision=28722
* Add checksum.sh script that checks a port or ports for broken distfiles andWill Andrews2000-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> Notes: svn path=/head/; revision=28669
* Make getpr work for remote committers as well.Maxim Sobolev2000-05-191-2/+7
| | | | Notes: svn path=/head/; revision=28588
* (1) Make this file callable in two phases (checksum, package) so distfilesSatoshi Asami2000-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) Notes: svn path=/head/; revision=28362
* Readme describing all the scripts in this directory. Somebody good atMichael Haro2000-05-021-0/+47
| | | | | | | writing docs should probably fix this file. Notes: svn path=/head/; revision=28246
* 3 little scripts I use when dealing with port update PRs.Michael Haro2000-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. Notes: svn path=/head/; revision=28245
* Future replacement to easy-import for adding ports to the tree.Michael Haro2000-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. Notes: svn path=/head/; revision=28244
* A tool to check whether all your ports are installed properly, what filesMichael Haro2000-05-021-0/+143
| | | | | | | | | have changed, what new files there are, and so forth. Created by: Neil Blakey-Milner <nbm@mithrandr.moria.org> Notes: svn path=/head/; revision=28243
* (1) Be a little less picky about finding read-only mounts.Satoshi Asami2000-03-221-4/+6
| | | | | | | | | (2) Create directories before trying to copy files over. (3) There's no -a option to scp anymore. Notes: svn path=/head/; revision=26926
* Add a few more error tags (bison, ELF, REQUIRES_MOTIF, dependency, newSatoshi Asami2000-03-031-2/+12
| | | | | | | compiler error). Notes: svn path=/head/; revision=26501
* Add a few more files to bindest.Satoshi Asami2000-02-171-4/+16
| | | | Notes: svn path=/head/; revision=25898
* freebsd.org -> FreeBSD.orgSatoshi Asami1999-10-121-1/+1
| | | | Notes: svn path=/head/; revision=22376
* Increase wait from 4 hours to 5 hours. Seems the ports are taking longerSatoshi Asami1999-10-101-2/+2
| | | | | | | to build now. Notes: svn path=/head/; revision=22302
* Don't run make describe in parallel -- the outputs gets mangled sometimes.Satoshi Asami1999-10-101-1/+1
| | | | Notes: svn path=/head/; revision=22301
* Minor cleanup, remove excessive tests.Satoshi Asami1999-09-241-2/+1
| | | | Notes: svn path=/head/; revision=21897
* Adjust to new directory structure.Satoshi Asami1999-09-241-1/+1
| | | | Notes: svn path=/head/; revision=21896
* Put the logs and error logs in a dated subdirectory of the archiveSatoshi Asami1999-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. Notes: svn path=/head/; revision=21885
* Call bothlogs.Satoshi Asami1999-09-221-0/+2
| | | | Notes: svn path=/head/; revision=21873
* A small script to generate a list of logs that are in both 3-stableSatoshi Asami1999-09-221-0/+51
| | | | | | | and 4-current. Notes: svn path=/head/; revision=21872
* Put build logs in "archive/buildlogs" and make a symlink to it.Satoshi Asami1999-09-221-5/+5
| | | | Notes: svn path=/head/; revision=21871
* Another case for compiler error.Satoshi Asami1999-09-221-1/+1
| | | | Notes: svn path=/head/; revision=21870
* Run chflags if rm -rf of chroot dir fails -- some port may haveSatoshi Asami1999-09-221-1/+6
| | | | | | | left some schg junk around. Notes: svn path=/head/; revision=21869
* Run Xvfb if it exists and set DISPLAY accordingly. This helps portsSatoshi Asami1999-09-221-4/+17
| | | | | | | that require xrdb and other inane stuff during build. Notes: svn path=/head/; revision=21868
* Remove /var/db/pkg/* *inside* chroot area, not outside.Satoshi Asami1999-09-111-2/+2
| | | | Notes: svn path=/head/; revision=21663
* Little whitespace fix.Satoshi Asami1999-09-111-1/+1
| | | | Notes: svn path=/head/; revision=21651
* Note that you need /usr/lib/aout/c++rt0.o for package building. It's notSatoshi Asami1999-09-111-3/+8
| | | | | | | included in bindist or any of the compat*dists. Notes: svn path=/head/; revision=21646
* This is supposed to be 4-current, not 3.1-release.Satoshi Asami1999-09-111-2/+2
| | | | Notes: svn path=/head/; revision=21644
* Don't delete the whole /usr/games, leave strfile behind. At least one portSatoshi Asami1999-09-112-4/+92
| | | | | | | (misc/fortuneit) needs it. Notes: svn path=/head/; revision=21643
* Improve snapshot ftp installation. Put hostnames, distributions etc. inSatoshi Asami1999-09-112-18/+28
| | | | | | | variables instead of command lines. Create /var/db/port.mkversion. Notes: svn path=/head/; revision=21642
* (1) Instead of specifying list of package names of dummy ports (i.e.,Satoshi 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 Notes: svn path=/head/; revision=21639
* (1) Remove FORCE_PKG_REGISTER, it is not necessary anymore. RemoveSatoshi Asami1999-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. Notes: svn path=/head/; revision=21638
* Add extra argument md5 for bindist.tar. Skip scp if md5 matchesSatoshi Asami1999-09-111-3/+9
| | | | | | | what the client already has. Notes: svn path=/head/; revision=21637
* Change OSREL and OSVERSION for 3 and 4 branches. (The ones for 3-stableSatoshi Asami1999-09-112-6/+6
| | | | | | | are commented out anyway....) Notes: svn path=/head/; revision=21636
* Add check for "invalid category" error.Satoshi Asami1999-09-111-1/+3
| | | | | | | Add another case for compilation error (undeclared variable). Notes: svn path=/head/; revision=21635
* Explict specify NFSv2 for mounting /usr/src and /usr/obj during make world.Satoshi Asami1999-09-111-2/+2
| | | | Notes: svn path=/head/; revision=21634
* Copy logs to ${portbuild}/buildlogs/${branch}.log.${date}.Satoshi Asami1999-09-111-3/+7
| | | | | | | Replace another explicit mail address with ${mailto}. Notes: svn path=/head/; revision=21633
* Id->FreeBSD rename take 2David E. O'Brien1999-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. Notes: svn path=/head/; revision=20940
* Do not require dependencies to be deleted to be explicitly listed.Satoshi Asami1999-08-181-3/+29
| | | | | | | | Any dependency that doesn't exist as a package will be automatically deleted from the list of dependencies. Notes: svn path=/head/; revision=20776
* Move CHECKSUM.MD5 generation to after INDEX splitting. Not much changeSatoshi Asami1999-08-021-1/+1
| | | | | | | in functionality but echo statements will print the counts right. Notes: svn path=/head/; revision=20471
* Parallelize things a bit more. Now we'll do index/cdrom/restrictedSatoshi Asami1999-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. Notes: svn path=/head/; revision=20392
* Create lock file so you won't have two of these running. Also, separateSatoshi Asami1999-07-301-2/+16
| | | | | | | the report mailing address into the configurable variables section. Notes: svn path=/head/; revision=20391
* Compare the last full runs (and not only the last partial runs).Satoshi Asami1999-07-301-0/+4
| | | | Notes: svn path=/head/; revision=20390
* Run with -j4.Satoshi Asami1999-07-301-1/+8
| | | | | | | Exit with error status if an error occured. Notes: svn path=/head/; revision=20389
* Run with -j4.Satoshi Asami1999-07-301-1/+6
| | | | Notes: svn path=/head/; revision=20388
* Intentionally set up ${PORTSDIR} with symlink to catch broken ports.Satoshi Asami1999-07-301-2/+7
| | | | | | | Suggested by: takamune@avrl.mei.co.jp Notes: svn path=/head/; revision=20387
* Little script to convert ports/INDEX to packages/INDEX.Satoshi Asami1999-07-301-0/+13
| | | | Notes: svn path=/head/; revision=20385
* Move message about skipping missing packages into the right else clause.Satoshi Asami1999-07-141-2/+2
| | | | Notes: svn path=/head/; revision=20190
* Print out date and time the port is killed due to timeout.Satoshi Asami1999-06-251-1/+4
| | | | Notes: svn path=/head/; revision=19756
* Plularity typo.Satoshi Asami1999-06-251-1/+1
| | | | Notes: svn path=/head/; revision=19755
* Driver script for whole build process. It willSatoshi Asami1999-06-222-0/+228
| | | | | | | | | | | | | | | | | (1) cvsup (2) run cvs update on the ports and doc trees (3) generate new index (4) generate new duds list (5) move old packages and distfiles out of the way (6) build packages (7) build packages again (to salvage those died with transient errors) (8) generate restricted list (9) generate no-cdrom list Steps (3)-(9) are repeated for 4-current and 3-stable. Notes: svn path=/head/; revision=19638
* Add support for 4-current. Add /compat to list of directories toSatoshi Asami1999-06-221-22/+29
| | | | | | | | | delete after building is done. Run mtree regardless of the directory exists or not. Do not use local copy of dependency packages -- it is too hard to maintain consistency -- always use one on master. Notes: svn path=/head/; revision=19637
* Timeout port builds after 4 hours. This will prevent ports that getSatoshi Asami1999-06-221-3/+9
| | | | | | | | stuck indefinitely in fetch or configure from hanging up the entire build process. Notes: svn path=/head/; revision=19636
* Print out the time when the build starts and ends.Satoshi Asami1999-06-221-0/+7
| | | | Notes: svn path=/head/; revision=19635
* Three scripts to look into the error logs and generate the now-famousSatoshi Asami1999-06-223-0/+159
| | | | | | | web page of errors. Notes: svn path=/head/; revision=19634
* Little helper scripts to upgrade your machinery.Satoshi Asami1999-06-222-0/+41
| | | | Notes: svn path=/head/; revision=19630
* A little script to copy changed/new distfiles over to wcarchive. ThisSatoshi Asami1999-06-221-0/+22
| | | | | | | probably won't be of much use to too many people, but just FYI. Notes: svn path=/head/; revision=19629
* A little script to fire up checkmachines. Put in /usr/local/etc/rc.d.Satoshi Asami1999-06-221-0/+8
| | | | Notes: svn path=/head/; revision=19628
* The makeindex and makeduds scripts now take a "branch" argument to workSatoshi Asami1999-06-222-6/+78
| | | | | | | on the specified branch. Notes: svn path=/head/; revision=19627
* A perl script to run a command with a timeout. The command is killed if itSatoshi Asami1999-06-221-0/+38
| | | | | | | | | | | doesn't complete within the specified timeout period. I tried to do this from within the pdispatch script, but I couldn't get all the auxiliary processes to be killed correctly so implemented this as a separate script in perl. Notes: svn path=/head/; revision=19626
* Setup a client machine. Unmounts all read-only mounts that looks likeSatoshi Asami1999-06-221-0/+11
| | | | | | | | portbuild temporary mounts, deletes all the chroot dirs and copies the portbuild script and the correct bindist tarball. Notes: svn path=/head/; revision=19625
* Delete the chroot dirs before starting the load average reportingSatoshi Asami1999-06-221-1/+5
| | | | | | | | script so that a rebooting machine doesn't join the cluster in an unclean state. Notes: svn path=/head/; revision=19624
* Update to reflect recent world order. In particular, you need /dev/bpf0Satoshi Asami1999-05-122-18/+10
| | | | | | | to build some ports. Notes: svn path=/head/; revision=18801
* Correctly deal with the http field in index lines.Satoshi Asami1999-05-051-3/+3
| | | | | | | Submitted by: steve Notes: svn path=/head/; revision=18488
* (1) Make it clear that only I am allowed to commit to bsd.port.mk.Satoshi Asami1999-04-281-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (2) New variable USE_ZIP -- will change EXTRACT_SUFX to ".zip" and extract commands/arguments accordingly. Submitted by: jseger (3) Use ${GREP} in some places where grep was used. (4) A little update to the MASTER_SITES_GNU list. Submitted by: cpiazza@home.net (5) New target clean-for-cdrom-list and clean-restricted-list -- will print out commands to delete un-cdromable or unredistributable files. Save them into a shell script for later use. (6) Add CXXFLAGS="${CXXFLAGS}" to configure's environment. Submitted by: reg@shale.csir.co.za PR: 11353 (part 3/3) (7) Print out a warning if you try to install without being root. Abort if ${PREFIX} is not writable. (8) Add web site to INDEX as tenth field. Reviewed by: wosch, steve, scrappy Notes: svn path=/head/; revision=18174
* We are now in 3.1-STABLE.Satoshi Asami1999-03-221-2/+2
| | | | Notes: svn path=/head/; revision=17346
* Various updates.Satoshi Asami1999-03-2210-16/+80
| | | | Notes: svn path=/head/; revision=17343
* a print statement was added where it wasn't supposed to be, in a file thatMarc G. Fournier1999-03-131-2/+1
| | | | | | | I hadn't meant to change... Notes: svn path=/head/; revision=17158
* Commit all Y2K/WWW_SITE changes from today...Marc G. Fournier1999-03-121-1/+2
| | | | Notes: svn path=/head/; revision=17142
* Note that makeinfo and install-info also needs to be updated.Satoshi Asami1999-01-262-0/+2
| | | | Notes: svn path=/head/; revision=16336
* (1) Do not delete and recreate the chroot dir for every new packageSatoshi Asami1999-01-265-26/+113
| | | | | | | | | | | | | | | | | | | | that is built. This saves a lot of time, especiall when the parallelism (the number of jobs per machine, not the number of machines) is low. However, the build script only blows away /usr/local and /usr/X11R6, so if there is a port that does some nasty things outside that area, all bets are off. (2) Better load balancing. Now, each machine reports its own load in a form of a text file, which the master merely aggregates to pick the lowest-loaded machine(s). Other than generally running faster (and more up-to-date) under loaded conditions, the master script will no longer hold up until a timeout when a machine goes down. Notes: svn path=/head/; revision=16334
* The build root is now one directory up from here.Satoshi Asami1999-01-221-1/+1
| | | | Notes: svn path=/head/; revision=16260
* Moved the scripts into subdirectory "scripts" with repository copy.Satoshi Asami1999-01-221-1/+1
| | | | Notes: svn path=/head/; revision=16258
* By defining NOCLEAN in the environment, you can have the chroot dir leftSatoshi Asami1999-01-222-6/+22
| | | | | | | | | | | | | behind. Useful for debugging. Touch package on master after copying it back. This will avoid synchronization problems when the machines' clocks are wildly skewed. Remove log from master when build is successful. No need to keep around transient error logs. Notes: svn path=/head/; revision=16257
* Print out maintainer.Satoshi Asami1999-01-221-0/+2
| | | | Notes: svn path=/head/; revision=16256
* Sync this with my private copy.Satoshi Asami1999-01-223-6/+12
| | | | Notes: svn path=/head/; revision=16255
* Add /usr/libexec/elf/ld to list of files to update.Satoshi Asami1999-01-082-0/+2
| | | | Notes: svn path=/head/; revision=15928
* Typo in echo statement.Satoshi Asami1999-01-071-1/+1
| | | | Notes: svn path=/head/; revision=15907
* Add sys.mk to list of files you need to update.Satoshi Asami1999-01-051-0/+1
| | | | Notes: svn path=/head/; revision=15849
* The scripts to allow parallel package building. See the README file inSatoshi Asami1998-12-2823-0/+679
| | | | | | | | | | | Tools/portbuild for details. Note that this is still a major work in progress. I probably forgot something but I need to go to sleep. At least it works here (most of the time :). Notes: svn path=/head/; revision=15682
* Make this require perl version 5.002 or later to run.Steve Price1998-12-161-1/+3
| | | | | | | Noticed by: John Baldwin <jobaldwi@vt.edu> Notes: svn path=/head/; revision=15360
* Fast INDEX generation. See bsd.port.mk rev. 1.300 for details.Satoshi Asami1998-12-121-0/+117
Submitted by: steve Notes: svn path=/head/; revision=15302