1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/Tools/portbuild/scripts
Satoshi Asami 31fb70c70d Exit with error status in ${portbuild}/status when an error occurs.
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.
2000-08-29 08:51:57 +00:00
..
bothlogs Handle arbitrary number of log directories instead of just two. 2000-08-29 08:18:44 +00:00
buildscript Change find command line to find potential security hazards (ports 2000-08-29 08:22:39 +00:00
checkmachines Ignore empty loads files -- it seems scp in OpenSSH sometimes leaves 2000-08-29 08:17:08 +00:00
checkmachines.sh
chopindex Fix benign bug which had the script claiming to delete any package that 2000-07-12 23:29:30 +00:00
comparelogs The errors and logs are now in the archive directory named 2000-08-29 08:23:42 +00:00
cpdistfiles Remove bak/distfiles after it's done -- this script is now called in 2000-08-29 07:52:55 +00:00
cppackages A small script to copy packages over to the ftp site. It is not integrated 2000-08-29 07:58:44 +00:00
dodistfiles A small script to copy distfiles from per-port directory to central 2000-08-29 07:57:09 +00:00
dologs Handle three branches instead of two. Use a for loop instead of just 2000-08-29 08:14:52 +00:00
dopackages Exit with error status in ${portbuild}/status when an error occurs. 2000-08-29 08:51:57 +00:00
dopackages2 Run build on three branches. Check the status file filled out by 2000-08-29 08:21:47 +00:00
doupgrademach Add -f to forcefully umount /usr/src and /usr/obj before reboot. 2000-08-29 08:13:18 +00:00
makeduds Add branch=5 case and update some variables. Don't set NO_RESTRICTED, 2000-08-29 08:04:13 +00:00
makeindex Add branch=5 case and update some variables. Don't set NO_RESTRICTED, 2000-08-29 08:12:16 +00:00
pdispatch Instead of doing a pwd | grep (duh!) to find the branch we are 2000-08-29 08:25:14 +00:00
portbuild Split build into two phases, checksum and package, and copy the 2000-08-29 08:33:05 +00:00
processlogs (1) Use timestamp file to make log processing lazier -- only process 2000-08-29 07:50:12 +00:00
processlogs2 Read package build log files and compile a list of "extra" files in an 2000-08-29 07:45:02 +00:00
ptimeout
reportload Print uptime after the number of jobs running. This has no functional 2000-08-29 08:03:13 +00:00
reportload.sh
rewind A little script that tries to "undo" a package build. Basically just renames 2000-08-29 08:00:51 +00:00
setupnode Add -nocopy option to prevent bindist.tar from being copied over. Could 2000-08-10 20:01:42 +00:00
upgrademach