summaryrefslogtreecommitdiff
path: root/mk/bulk
AgeCommit message (Collapse)AuthorFilesLines
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.
2002-11-13move the pruning of readme's to the very end of the job.dmcmahill1-19/+24
2002-11-13- add some more error checking. In particular, if any of the template filesdmcmahill1-6/+22
don't exist, exit with a fatal error and don't try and make empty README.html files. - fix a bug which caused some duplication in category README.html files. Problem noted on netbsd-help@ by Nicolas Saurbier ( Nicolas dot Saurbier at biodata dot de)
2002-11-13add a -S,--save-database option which doesn't delete the database filesdmcmahill1-4/+15
after the run. Useful for debugging since this preserves the intermediate result of the most time consuming portion of the script.
2002-11-13only update the README-IPv6.html file if it has changeddmcmahill1-2/+7
2002-11-13- replace & with &amp; _before_ replacing < with &lt; and > with &gt; whendmcmahill1-2/+10
escaping html output. - properly escape the URL in the link and the displayed URL in the vulnerability list to handle the '&' character in URL's.
2002-11-13start warning output on a new line to make it easier to readdmcmahill1-1/+2
2002-11-12- added progress meter when extracting database. Useful for those of usdmcmahill1-1/+9
with slow machines. - fix minor bug which left some temp files laying around in /tmp/mkreadme.
2002-11-12add timestamp to output messagesdmcmahill1-2/+3
2002-11-11add scripts for generating the README.html files in a much more efficientdmcmahill2-0/+1054
way than the previous recursive make approach. The 'mkreadme' script is the top level script. 'mkreadme -h' or 'mkreadme --help' for complete documentation on its use. Generates README.html files more than two orders of magnitude faster than the recursive make approach by only calling make(1) once per pkg.
2002-11-08Take care of -current's /lib and /libexec.seb1-2/+8
Noted by Julio Merino <jmmv at menta dot net> in PR pkg/18968, I had this in my trees for weeks and I forgot about it...
2002-11-03Actually pass CVS_FLAGS propperly to the su'd "cvs update"hubertf1-2/+2
2002-10-06fix typo in comment and an error in the usage output (position ofdmcmahill1-3/+3
bar and libbar were swapped).
2002-08-22Merge pkgsrc/mk from the buildlink2 branch back into the main trunk.jlam8-8/+8
2002-08-20Add CVS_FLAGS that will be passed to 'cvs update' before builds.hubertf2-3/+7
Allows specifying a branch ("-rnetbsd-1-6") or the trunk ("-A") easily from the build.conf file.
2002-08-15Actually Alistair was right: $packages and $distfiles also need to beseb1-1/+2
$mkdirprog'ed, it helps on a fresh/virgin/cleaned up bulk building system.
2002-08-12Make sure that /var/games exists in the sandbox, and has the correctagc1-1/+11
permissions.
2002-08-12New feature: this script now create $sandbox/sandbox, a shell scriptseb1-1/+50
to ease the use of the sandbox. $sandbox/sandbox umount Umount the null mounts from the sandbox $sandbox/sandbox mount Mount the null mounts required by the sandbox (useful across reboots, ...). $sandbox/sandbox whatever Runs the command passed as arguments, chrooted into the sandbox. Typical usage would be `$sandbox/sandbox /my/favourite/shell'. $sandbox/sandbox Same as `$sandbox/sandbox /bin/sh' Approved by agc.
2002-08-12- Remove $sandbox/etc/localtime before copying /usr/share/zoneinfo/GMT over.seb1-4/+5
This prevent surprise when /etc/localtime -previously copied over in the sandbox by pax/tar- is a symlink to /usr/share/zoneinfo/whatever. - Improve somewhat some messages. - Make sure $sandbox/$packages and $sandbox/$distfiles are created instead of $packages and $distfiles.
2002-08-12In the build script, set BATCH=1 and DEPENDS_TARGET=bulk-install in theagc1-1/+6
environment, and pass them down to the bulk build. This means that the /etc/mk.conf (or $MAKECONF) can be shared between ordinary builds and bulk builds.
2002-08-12Don't null-mount all of /var - just do /var/mail for just now, so thatagc1-2/+2
the packages which expect a sane mail delivery set up can configure and build within the sandbox.
2002-08-12Also null-mount /var from inside the sandboxagc1-2/+3
2002-08-12Don't assume that this is a shell script - instead, realise that it'sagc1-11/+11
written in perl, and call the environment variable "BMAKE" accordingly (it's set to the name of the NetBSD make(1) program).
2002-08-07Correct the position of a closing parenthesis in a commentagc1-2/+2
2002-08-07A small shell script to set up a sandbox (usually for a pkgsrc bulkagc1-0/+184
build), using null mounts.
2002-08-07Make these scripts useful on platforms other than NetBSD by using a BMAKEagc7-70/+92
environment variable, which contains the name of the make(1) program to invoke - suggestion by Julien Letessier some time ago, the confusion mine, since I thought he was referring to something else completely. Don't rely on there being a POSIX tr(1) in the path by default - test explicitly for both "yes" and "YES". Set the default for PRUNEDISTFILES to "no", since we can't assume that the user wants us to delete something which he may have been keeping around, and there are other ways of accomplishing this aim (lintpkgsrc -o, for example). Clean up some superfluous white space at the end of lines.