summaryrefslogtreecommitdiff
path: root/mk/bulk
AgeCommit message (Collapse)AuthorFilesLines
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
2003-04-22now REALLY use the right dir... dohhubertf1-2/+2
2003-04-22Make sure binary pkgs are found :)hubertf1-2/+2
2003-04-21Set BATCH=1 and set DEPENDS_TARGET. (BATCH=1 is certainly needed forcjep1-0/+5
the bulk-install target to work.)
2003-04-16Fix typos, remove duplicate entry security, nits.wiz1-11/+8
2003-04-13PR#21087. Some files are missing in bulk build sandboxes created bycjep1-1/+9
mksandbox. From Brook G. Milligan.
2003-03-16Add some notes with thoughts on what a parallel bulk build system should do.dmcmahill1-0/+210
2003-03-09Use CVS_USER for RSYNC options.cjep1-3/+3
2003-02-13correct the 'broken due to depends' processing. This change makes thedmcmahill1-3/+5
summary email list correctly the packages which are broken because of their dependencies. Problem noted on Huberts most recent bulk build.
2003-02-08honor PKG_SKIP_REASON as well as PKG_FAIL_REASON, like normal build does.kei1-2/+2
2003-01-04move bulk/{mkreadme,genreadme.awk} to scripts/ as this is a more suitabledmcmahill2-1131/+0
location. They are not really part of the bulk build stuff.
2002-12-31Introduce a variable called kernel which is either empty or contains thecjep1-3/+7
full pathname to the kernel file (e.g. for NetBSD /netbsd, OpenBSD /bsd, etc)
2002-12-31Loopback mount /proc on SunOS. shells/tcsh successfully builds in the sandboxcjep1-2/+9
except for one peculiar thing: bmake does not pick up a definition for CC. Something is missing (for SunOS).
2002-12-31Add /usr/ccs, /usr/ucb and /usr/xpg4 for SunOS in sandboxDirs.cjep1-2/+2
Provided that I copy a working gcc and the binaries from the bootstrap kit into the sandbox manually, this gets me as far as having a pkgsrc sandbox that can build pkg_tools/pkg_install.
2002-12-311. On SunOS populate /dev in the sandbox with devfsadm and ucblinks.cjep1-21/+20
2. Introduce sandboxDirs, a list of directories that need to be null mounted. This is different (e.g. on SunOS).
2002-12-311. Introduce mountflags so that we can tune the mount command for Solariscjep1-8/+13
(et al.). 2. Use the loopback filesystem on Solaris.
2002-12-31Introduce idprog so that Solaris survives the root test.cjep1-2/+7
2002-12-31If the pkg tools are not update, upgrade them.cjep1-1/+8
2002-12-07Replace IGNORE into PKG_FAIL_REASON and PKG_SKIP_REASON, so pkgsrcschmonz1-2/+2
can stop builds when a dependency is broken, yet continue builds when a dependency is merely skipped (usually because it duplicates functionality in the base system). Thus IGNORE_FAIL, the oft-misunderstood and naught-documented option, goes away. This addresses many people's complaints on tech-pkg@ and other lists, as well as PR pkg/18157.
2002-12-03Apply patches from Sergey Svishchev in PR 19221 to get the correct valueagc1-1/+3
for localpatches and to make that directory available in the sandbox.
2002-12-01add some more error checking. In particular if the bulk-cache creationdmcmahill1-1/+5
fails, then abort the build.
2002-11-20Fixes from Robert Elz to:agc1-9/+17
+ umount filesystems in the reverse order from that which they were mounted + null-mount /lib and /libexec in a way more consistent with the original
2002-11-16- When listing the current version of the package, don't create a hyperlinkdmcmahill1-3/+4
back to the current page, just list it as regular text. - Put each dependency hyperlink on a separate line in the README.html file. These were both noted by Thomas Klausner in a private email.
2002-11-14- when creating a new database, make sure that the old one is gone first todmcmahill1-1/+12
avoid simply appending to it. - add some additional error checks when using the -r/--restart options to make sure that the database exists and give a useful error message if it doesn't
2002-11-14add a 'SINGLEPKG' variable which can be set on the command line to thedmcmahill1-2/+12
directory of a single package (e.g. graphics/gimp) for which a README.html is to be generated. This provides the required hook to be able to use this script to generate a README.html file for a single package as well as for all packages.