summaryrefslogtreecommitdiff
path: root/mk/bulk
AgeCommit message (Collapse)AuthorFilesLines
2004-01-31fix typo in commentgrant1-2/+2
2004-01-31improve report layout:grant1-197/+376
- move the build summary to the top and include build start/end times. - break the report up into three sections for easier navigation: Broken, Broken dependencies, and Not packaged. - HTML report now uses a subset of the www.NetBSD.org stylesheet. - improve some of the text.
2004-01-30shut up a warning from gawk.grant1-2/+2
2004-01-30allow the user to set the packages to build in build.conf (PKGLIST).grant3-11/+28
cache the list in printdepends so that printindex doesn't need to run the same command(s) again at the start of a bulk build.
2004-01-30print a useful error if the pkgsrc directory or src directorygrant1-3/+16
doesn't exist.
2004-01-30if an unknown option is given, don't treat it as a sandboxgrant1-3/+9
directory, print the usage message instead.
2004-01-27Replace all occurrences of the "MAIL" definition with MAIL_CMD, sinceagc1-4/+4
some shells can set MAIL to be the mailbox of the user, and environment variables will override assignments in make when using conditional assignments.
2004-01-26add /usr/5bin for Solaris.grant1-2/+2
2004-01-26Add a new definition, _PRESERVE_WRKDIR, which defaults to "no". Thisagc1-10/+15
definition is not intended to be set by the user, and so has a leading '_', and is undocumented. If set to "yes", then a "make clean" of the package will not be done, thereby preserving the working directory. This is useful for debugging problems in bulk builds.
2004-01-26Use $FIND with "-print". Noted by Georg Schwarz in PR pkg/24248heinz2-6/+7
2004-01-22sandboxed builds also need /usr/dt and /usr/ucblib on Solaris.grant1-2/+2
2004-01-22make date format string more portable.grant1-2/+2
2004-01-20add archivers/pax, net/tnftp, security/kth-krb4 and textproc/nbsed togrant1-7/+9
the packages to skip on non-NetBSD because they blow away bootstrap-pkgsrc installed files. only create ${PKG_DBDIR} if it doesn't already exist.
2004-01-20make this work on Solaris by using perl's internal grep(). it isgrant1-15/+28
faster, and (f)grep can't handle very long word lists.
2004-01-20reverse some "if ! command;" statements so this works with Solaris'grant1-9/+9
/bin/sh, which doesn't deal with ! bulk builds now work out-of-the-box on Solaris. woo :-)
2004-01-20missed a `uname -p`grant1-2/+2
2004-01-20get and use the value of ${MACHINE_ARCH} instead of `uname -p` togrant1-2/+3
correctly reflect the pkgsrc arch. (uname -p returns "unknown" on (my) Linux, which is not very helpful..)
2004-01-20tiny whitespace tweakgrant1-2/+2
2004-01-20on Linux, use --bind arg to mount(8) and call 'MAKEDEV generic' togrant1-2/+6
make the device files, as this is what Linux systems seem to use...
2004-01-17portability fixes:grant1-11/+22
- use AWK, GREP, SED and MAIL as set by defs.opsys.mk. - use $? to test exit code of programs
2004-01-17minor whitespace cleanup.grant1-15/+15
2004-01-17use GREP and SED as set by defs.opsys.mk so this works on non-NetBSD.grant1-5/+18
2004-01-15ensure we call chroot with the full path to 'sh'.grant1-2/+3
2004-01-15'export VAR=value' doesn't work in some brain-dead shells. usegrant1-2/+3
'VAR=value; export VAR' instead.
2003-12-10Replace hardcoded '/usr/pkgsrc' in comments.sketch3-7/+7
2003-12-07Make the cvs update work for all shells, not just csh.agc1-2/+2
2003-12-03Missing terminating quote.sketch1-1/+1
2003-12-03Make sure programs compatible with pkgsrc are used, rather than relyingsketch1-9/+9
on the first in path. Fixes possible issues with Solaris.
2003-11-28Catch if the user given to "su" is bogus/non-existing, but ifhubertf1-2/+2
the "cvs" command inside the su returns an error, that should be ignored. (Aparently cvs returns "1" even if it's done a successful update but if there were some files removed on purpose).
2003-11-20Catch errors from pre-build, and abort if it's not 0.hubertf1-1/+6
2003-11-20Catch error from su, and report it to the calling script (pkgsrc/mk/build)hubertf1-2/+6
2003-10-11find the right GREP and SED programs and use them.grant1-3/+9
2003-10-10This patch addresses three problems:hubertf1-5/+3
1) When checking if any of the required binary pkgs is newer, it's not good to look into the (already existing) binary pkg, as that might be unchanged. Instead, look at the DEPENDS. In the context of the recent jpeg changes, the gd package itself was not changed, but the DEPENDS were (via buildlink files). Now looking into the existing gd binary pkg still said it wanted jpeg-6b instead of the now-wanted jpeg>=6b, which was only available via the DEPENDS. That's the first chunk of the patch below. 2) While debugging this, I found that the change in rev. 1.48 was wrong, as can be seen throughout the last bulk build, search for errors like: find: "/usr/cvs.local/pkgsrc/packages/i386/All/gd-2.0.15.tgz": No such file or directory As the whole operation is really on two files (as assured by "pkg_admin lsbest" for pkg and REFS by definition), the quotes can be ommitted. Why this wasn't caught when that change was tested is beyond me - maybe different sh(1) behaviour? (The error happened on 1.6.1_STABLE, see e.g. http://smaug.fh-regensburg.de/~feyrer/ftp/pub/NetBSD/pkgstat-i386/last/www/p5-Template-Toolkit/.broken.yui.html). Anyways, that's addressed in the second part of the patch below, too. 3) Use ${FIND} while there.
2003-09-16apply patch from Jonathan Perkin on tech-pkg@, bringing the list ofgrant1-8/+13
files to preserve in sync with reality.
2003-09-02Merge pkgviews-mk branch into the HEAD by running:jlam5-35/+39
cd pkgsrc/mk cvs update -Pd -A cvs update -Pd -j pkgviews-mk-base -j pkgviews-mk
2003-08-26Clean up a few things in /tmp before buildinghubertf1-1/+3
2003-08-21Replace [ $A -nt $B ] with a portable equivalentgavan1-2/+2
2003-08-19Avoid keyword substitution in keyword matching patterngavan1-2/+2
2003-08-19Remove dependence on ident and awk. This aids portability to Solaris.gavan1-9/+19
2003-08-19Added text describing major.minor-latest directories for binaries builtjklos1-1/+4
from pkgsrc current.
2003-08-18Get the OS name from "uname -s" instead of assuming NetBSD.cjep1-4/+6
Observed from Gavan's Solaris bulk build.
2003-08-10Also create /var/log/lastlog{,x} in the sandbox if they exist in theseb1-2/+2
hosting system.
2003-08-08quote some args to ${GREP}.grant1-3/+3
from gavan@.
2003-07-30Rename sandboxDirs to sandboxMountDirs.seb1-14/+12
Introduce sandboxEmptyFiles a list of files to create empty in the sandbox if they exist on the hosting system. Hence put /var/run in sandboxEmptyDirs list. Use $cppprog instead of cp.
2003-07-30Whitespace.seb1-2/+1
2003-07-29Introduce sandboxEmptyDirs a list of directories to create emptyseb1-5/+14
in the sandbox if they exist on the hosting system: put /var/spool/mqueue as it was already created before and add /var/log for now (needed for various packages, like security/ssh2). Only create /var/run/utmp(x) if they exist on the hosting system. XXX this may better be an opsys dependent action.
2003-07-25replace the -u and -d options to tflat with 'up' and 'down' as the formerdmcmahill2-11/+11
causes problems with some awks. Patch provided by Jonathan Perkin in PR pkg/22246
2003-07-11portability fixes:grant2-6/+5
quote a shell test, and run ${AWK} -f tflat instead of using #!/usr/bin/awk.
2003-06-06If we want to try a bulk-build on a non-NetBSD platform, we need to takejschauma1-6/+38
care not to blow away our bootstrap-pkgsrc stuff in the initial phase. Also mark devel/bmake and devel/mk-files as broken on non-NetBSD so as not to blow away our precious files from the bootstrap process in the middle of a bulk-build. Now let's see if bulk-building works on Linux...
2003-05-06Drop trailing whitespace. Ok'ed by wiz.jmmv9-55/+55