summaryrefslogtreecommitdiff
path: root/mk/bulk
AgeCommit message (Collapse)AuthorFilesLines
2002-03-16Allow restarting a chrooted build:hubertf1-2/+2
sh mk/bulk/do-chroot-build restart
2002-03-14nuke /var/wwwoffle - pointed out by fred bruckmanhubertf1-1/+2
2002-03-13Move documentation where it belongs.hubertf1-13/+2
Add paragraph "Setting up a sandbox for chroot'ed build" to Packages.txt and xref it from do-sandbox-build script
2002-03-04Use <pre> to surround build logs - monospaced fonts are so much more readable.hubertf1-10/+10
OK'd by Dan McMahill
2002-01-20add some html markup to the .broken files (which now have .html extenstion).dmcmahill1-10/+12
The primary purpose is so when a package is broken due to broken depends, there are links to the build logs of the broken dependencies. Suggested by Brook Milligan on tech-pkg.
2002-01-12add the OBJHOSTNAME functionality that appeared in 1.901 of bsd.pkg.mk.dmcmahill1-20/+22
When OBJHOSTNAME is set, the various cache files and log files will include the hostname in their names. Useful when multiple machines of the same architecture share pkgsrc.
2001-12-17- add 'bulk-cache' and 'clean-bulk-cache' targets to create and removedmcmahill2-19/+34
the cache files used during a bulk pkgsrc build. - replace the code in the build script that used to create the cache files with a 'make bulk-cache' call.
2001-12-16add more checks to be more robust in the face of an index file whichdmcmahill1-1/+3
may not be 100% accurate.
2001-12-15Modify all references to PKGSRCDIR to _PKGSRCDIR, except in the externalagc2-23/+23
references of the pkglint package. _PKGSRCDIR is an internal definition in bsd.pkg.mk, and a few packages which would like to refer to other packages in the build tree. It should not be set by users, but neither should it stop a user from building a package if it is defined, so make it obvious that this is the case.
2001-12-01Catch errors while running printindexhubertf1-2/+5
2001-12-01there's no need to abort this whole script if one pkg brings up anhubertf1-3/+3
error.
2001-11-28lose some more pkg/ referencesabs1-3/+3
2001-11-26Run "make bulk-package" with stdin redirected from /dev/null,hubertf1-2/+2
to prevent it sitting there for days waiting for input in useless situations.
2001-11-25fix typo in error output message (s/PKNAME/PKGNAME). Patch fromdmcmahill1-2/+2
Hubert Feyrer.
2001-11-08Change running output from build to include timestamp and current package.jmc1-2/+2
Makes the output a bit long at times but gives a nice concise idea of where you're at and if the build is moving
2001-11-07The $DEPENDS file has the pkg's directory in the first column, followed byhubertf1-2/+2
whitespeace, followed by it's required pkgs. Make sure to look for that whitespace, to not catch any wrong positives, e.g. egrep "x11/kdebase.*" $DEPENDSFILE will catch depends for both KDE1 and KDE2 and do weird things then (among other things, think that kdelibs-2.2.1 is ok as a dependency when building in x11/kdebase, which is certainly not!) Eight broken pkgs less in the bulk builds by adding a single space! (Now if adding some more would help further... :-)
2001-11-06"bulk-install" already makes a binary package and cleans up after itself,hubertf1-2/+2
no need to make "bulk-package" or "clean" after it!
2001-10-20When working out if an installed package should be left as itabs1-1/+4
matches one of the DEPENDS, the bulk-build system looked up the package in the INDEXFILE, then used the pkgdir returned to check against the DEPENDS. If for some reason the package was not found in the index file the package was left installed as 'requires installed package'.
2001-10-20- change the way we cause the build order to happen. The old way passeddmcmahill1-12/+63
GROUP_SPECIFIC_PKGS into a top pkgsrc level call to make. The new way, uses a shell 'for pkgdir in ....' and then calls a make in each pkg directory. This does 2 things. The first thing is that a 'build restart' starts up _much_ faster because instead of calling 'make' for each package we've already built and finding out they're already build, we just grep through the list of already built pkgs. The second item (a side benefit) is that now a progress meter is simple. - add a progress meter to the build. - add even more error checking.
2001-10-16fix quoteshubertf1-2/+2
2001-10-15Change alignment of "Broken" column to right-justified - this makeshubertf1-2/+2
the (colored) numbers stand out better, visually.
2001-10-15Narrow doen the "Pkgs broken by" column by renaming it to "Breaks"hubertf1-4/+4
This gives this a bit of a chance to fit into 80 columns.
2001-10-15At the end of the build, remove the contents of the "perl" packagehubertf1-2/+2
from the leftovers list - "perl-base" is long gone.
2001-10-15Set ressource limits as high as possible before we'll start compilinghubertf1-1/+6
2001-10-14add some more failure checks for robustness.dmcmahill3-18/+63
- if something fails while extracting the DEPENDS for a particular package, mark that package as broken and drop the DEPENDS info for it. This allows the build to continue and properly marks the package as broken. - if something fails while extracting the PKGNAME, also mark the pkg as broken. - be more careful about seeing if directories exist before cd'ing to them. Lack of such a test has caused problems elsewhere, so hopefully this will make the system more robust.
2001-10-13after the build, pull in 'lang/perl5' instead of 'lang/perl5-base' as thedmcmahill1-2/+2
latter no longer exists. Also, use '&&' to separate commands where you don't want the second to execute if the first fails!
2001-10-12Change my non-standard copyright header to a BSD-style one.hubertf2-7/+62
2001-07-21don't try and do 'mount -o async -u /usr' because we don't know that the userdmcmahill1-3/+1
even has a file system called /usr or that thats the right one.
2001-07-21if an outdated package is still installed and 'make deinstall' failsdmcmahill1-1/+5
to remove it, then try again with 'pkg_delete -r'. This can happen when some other out date pacakges are installed and we're trying to bulk build a single package.
2001-07-13if a package subdirectory is listed in the category makefile, but doesn'tdmcmahill2-15/+27
exist, then spit out a big warning to stderr (since we often capture stdout for other purposes) and don't try and descend to that directory.
2001-07-09consolidate a duplicated part of the script.dmcmahill1-6/+10
2001-07-09when saving the rsync script for later, be sure and save the startingdmcmahill1-0/+4
directory too.
2001-07-08teach the upload script about OSVERSION_SPECIFIC packages so one can putdmcmahill2-9/+92
them in the right place. For example, a collection of binary packages can now put uploaded with most going to the major.minor directory and the OSVERSION_SPECIFIC ones going to the major.minor.patch directory. still todo: the destination settings should probably be moved out of build.conf so the same build.conf can be used by multiple machines of different MACHINE_ARCH's at the same time. Perhaps these should be a command line option to 'upload' instead.
2001-06-27do not forget Xhubertf1-1/+3
2001-06-26Fix typo in RCD Id -- s/NetSBD/NetBSD/zuntum1-1/+1
2001-06-26 * add example how to setup a sandbox from sourcehubertf1-2/+2
* remove twice-mentioned resolv.conf
2001-06-23A tiny example how I start my sandbox builds.hubertf1-0/+19
Nothing fancy, probably needs adjusting to other people's environments. XXX the list of things that need to be setup in the sandbox should XXX probably be moved to Packages.txt...
2001-06-23Add a script that I use to upload binary pkgs to the FTP serverhubertf2-1/+36
2001-05-09OK, let's try this the other way 'round: first clean out *everything*,hubertf1-57/+61
then start preparing the bulk build (cvs update, distfile cleanout, ...)
2001-05-09Add date when a buid for a pkg started, and comment a place that has somehubertf1-2/+3
side effecs
2001-05-09don't exit if a depends can't be pkg_add'ed. In this case it will bedmcmahill1-2/+2
rebuilt from sources.
2001-05-05when installing pkglint before the bulk build do it with PRECLEAN=yes.dmcmahill1-11/+12
This should fix pkg/12808. Adding the PRECLEAN as a fix was suggested by Hubert. Also, while here don't hardcode LOCALBASE and X11BASE.
2001-05-03keep a snapshot of the bulk cache files.dmcmahill1-1/+32
2001-05-03some code cleanup.dmcmahill1-30/+36
- use the PKGPATH variable instead of getting it indirectly - don't use `foo` when we only want the return value, not the output. Also, in the non-cache case, we need to remove un-needed packages as noted in the most recent non-cached bulk build. Patches provided by Hubert and slightly modified by me.
2001-05-02do some extra checks. In particular, don't try to pkg_add a package ifdmcmahill1-3/+7
it doesn't exist (doh!).
2001-04-14allow for a pre-build.local script. If mk/bulk/pre-build.local exists,dmcmahill1-2/+7
then run it at the end of pre-build. This lets users do things like: echo "I do not have enough disk space to build this pig." \ > games/crafty-book-enormous/$BROKENF
2001-04-02clean up a few more shardshubertf1-1/+3
2001-03-31uncomment an important line which should have never been commented out.dmcmahill1-2/+2
printindex works now.
2001-03-31get rid of an unneeded awk invocationdmcmahill1-2/+2
2001-03-27make sure that any packages listed in BULK_PREREQ get listed in the outputdmcmahill1-2/+25
even if they are not enabled in the category makefiles. This catches, in particular, pkgtools/xpkgwedge which was missing before. Thanks to Christoph Badura for noting this.