summaryrefslogtreecommitdiff
path: root/mk/bulk
AgeCommit message (Collapse)AuthorFilesLines
2003-08-31Okay, now that I've read the file and actually understand what it's tryingjlam1-48/+25
to do, rewrite the package removal as a loop over ${PKG_DBDIR} then ${DEPOTBASE}. This causes all "overwrite" and package instances in the default view to be removed first, followed by any depoted packages. Since removing a depoted package triggers removing package instances in all other views, this should guarantee that all traces of pkgviews packages are removed from the system.
2003-08-31Actually, make sure that we don't try to remove broken packages on thejlam1-9/+15
first time around.
2003-08-31Check to see if DEPOTBASE is different from PKG_DBDIR as an optimization.jlam1-9/+23
2003-08-26Sync to HEADjlam1-1/+3
2003-08-23Sync to HEAD.jlam1-2/+2
2003-08-22Require version 20030820 of the pkg_install tools to use the new -K and -kjlam1-9/+9
flags to specify package database directories, instead of setting up a shell environment for the pkg_install tools. The latter was more prone to error.
2003-08-21Use the 20030819 pkg_install tools, which support PKG_DBDIR_DFLT, andjlam2-26/+33
modify pkgsrc to use the new variable. This greatly simplifies a lot of the code instead of having to overload the value of PKG_DBDIR as we did before this change.
2003-08-19Sync to HEADjlam2-13/+28
2003-08-17Alter pkgsrc infrastructure to use pkg_install-20030809, and properlyjlam1-5/+5
add packages into the correct view when using pkg_add(1) (either through bin-install or the bulk-build process).
2003-08-16Define some _PKG_* variables representing the pkg_install tools that pointjlam1-23/+23
to either DEPOT_PKG_* or PKG_* and consistently use _PKG_* to avoid having to constantly condition on the value of PKG_INSTALLATION_TYPE.
2003-08-16Sync to HEAD for tools.mk changes.jlam2-2/+2
2003-08-14Sync to HEAD, primarily for texinfo changes, and prepare for buildlink3.jlam2-5/+5
2003-08-01Sync to HEAD.jlam3-21/+27
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.
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...