summaryrefslogtreecommitdiff
path: root/mk/bulk
AgeCommit message (Collapse)AuthorFilesLines
2005-02-10on Linux, we need more than just /proc in the sandbox. :)grant1-2/+2
2005-01-27Pass the correct programs to the mkdatabase script.sketch1-2/+2
2005-01-25only try to run the build if "cd /usr/pkgsrc" is successful.grant1-2/+2
2005-01-24Per default, only create md5 and sha1 checksums.jschauma2-17/+25
(These are available on all platforms via digest(1).) Set commands for other checksums on a per OPSYS basis. Set MKSUSM=yes back as the default.
2005-01-24Not all OS's have all the checksum tools available to make MKSUMS=yes work.tv1-2/+2
Default it to "no" instead.
2005-01-24Add MKSUMS and SIGN_AS (the former defaulting to yes, the latter commentedjschauma1-1/+7
out).
2005-01-24Add bits to allow bulk-builders to generate checksums for the binaryjschauma1-1/+52
packages they upload (by setting the optional variable MKSUMS=yes) and, also optionally, PGP signing them (by setting SIGN_AS=username@NetBSD.org, for example).
2005-01-21The pipe triggers a subshell even though () is not used. So use "exit" andtv1-13/+13
|| on the outside of the command to determine whether the packages found in the loop are up to date.
2005-01-21Fix missing {} around variable name, noted by wiz.tv1-5/+5
Change one instance of $(...) to `...` per policy.
2005-01-20Add LINTPKGSRC_CACHE support to reuse .lintpkgsrc.db created by pre-build.tv1-5/+14
"cd" to $USR_PKGSRC automagically so this can be called from any dir.
2005-01-19Fix error in previous; add explicit version check first, then the optionallytv1-5/+10
excluded timestamp check.
2005-01-19* Add USE_BULK_TIMESTAMPS (default "yes") to control whether dependencytv3-24/+66
binpkg timestamps, and ${PKGDIR} file timestamps, will be used to determine if a rebuild is necessary. If changed to "no", then rebuilds will only happen when PKGNAME actually changes. * Add LINTPKGSRC_DB (and companion USE_LINTPKGSRC_CACHE, default "no") to make pre-build generate a reusable database with "lintpkgsrc -E"; helps with nfs-mounted pkgsrc. A future change will allow use of this in the upload script. * Add entry for PRUNEPACKAGES in build.conf-example (this was missing).
2005-01-18Turn distfile pruning back off by suggestion of wiz@. It's only binpkgtv1-2/+2
pruning that needs to be on by default.
2005-01-18Turn on all pruning by default. This avoids problems with @blddep matchingtv1-4/+4
in the current incarnation of pkg_install.
2005-01-17Add a blank line between multiple "broken due to a broken dependency"jmmv1-2/+2
messages for better readability.
2005-01-15Work around an undef-in-string warning caused by unexpanded $NetBSD$tv1-4/+4
id tags. Noticed by kristerw.
2005-01-14"uptodate-pkgtools" is actually a dead target these days. Use "fetch" intv1-2/+2
pkgtools/pkglint to determine if pkg_install needs an update.
2005-01-14For those packages where the maintainer field can't be determined byjmmv1-1/+4
grepping, run make to get MAINTAINER's value. I've tested this with a script that tries to "simulate" this one without problems, but I can't test it "in place".
2005-01-13* Clean up syntax ambiguities, e.g. (my $foo = $bar) =~ ....tv1-111/+147
* Add optional verbosity to show most commands as they are being executed. * "use strict" and "use warnings". * Slurp in the varables from build.conf and bmake in one shot (amazing startup speed boost with nfs pkgsrc); put them in a hash to make "use strict" much happier with the namespace. * Fix a bunch of undef-dereference errors evidenced by "use warnings". * Exclude PKG_DBDIR from leftovers list if it is inside LOCALBASE. * Convert some <a name="..."/> constructs to <a name="..."></a> to make non-XHTML-compliant browsers happier.
2005-01-12Fix checking of up to date binary packages. The problem with DEPENDStv1-3/+3
containing constructs of the form {perl>=5.8.3nb1,perl-thread>=5.8.3nb1} is that a Bourne shell "for" interprets this as two separate items in the list, nuking the {}s. The above will never succeed and thus always cause Perl-dependent packages to be rebuilt unconditionally. Just adding more \s isn't enough -- the parsing of the depends list has to be moved out of the "for" clause. So, echo them one per line and use "read" to pull them in without allowing the shell to peek at those characters.
2005-01-11nfs-pkgsrc friendliness change:tv1-8/+13
Add a knob to relocate all the global bulk state files in one setting. BULKFILESDIR; defaults to PKGSRCDIR as before.
2005-01-11Some shells can cache * lookups, so do all the rm -f's of */*/<something>tv1-5/+4
on one line. Add a message prior to doing the leftover log cleanup, as it will take a while if pkgsrc is on nfs.
2005-01-10rc is in /usr/pkgsrc/, even in sandboxeshubertf2-4/+4
2005-01-10Upload pkgs built in sandboxhubertf1-0/+11
(wrapper to 'upload' script, similar to do-sandbox-build).
2004-12-11The documentation claims you can use -m as an alias for --mirror_only.kristerw1-2/+2
Make it so.
2004-11-23Don't hard-code "lang/perl58". Instead, use the value of PERL5_PKGSRCDIRjlam2-4/+6
which is computed based on whether perl or perl-thread should be the default.
2004-11-23Fix the find command used to print out all of the .broken* files. It nowjlam1-2/+2
prints out both the .broken.html and .broken.work.html files instead of just the latter.
2004-11-22Change perlfiles var to look for files from perl*,wiz1-2/+2
not only perl, so that perl-thread files are not marked as leftovers.
2004-11-16Preserve the .work.log file from a broken build as .broken.work.htmljlam4-6/+34
in the package directory, and add a link to it from .broken.html at the point where the build fails. Also adjust the auxilliary scripts to handle/cleanup .broken.work.html files. This should enhance the ability of developers to debug broken builds by providing important information about what is happening as a build progresses and fails.
2004-11-12Bulk builds should be defaulting to building perl58.jlam2-4/+4
2004-10-24Allow the xsrc directory to be specified on the command line, defaulting toagc1-3/+14
/usr/xsrc if not specified, and check for its existence.
2004-10-07* Make PKGSRC_TOPDIR a private variable by renaming it to _PKGSRC_TOPDIR,jlam1-28/+28
as it's only used internally by bsd.prefs.mk. * Make _PKGSRCDIR a public variable by renaming it to PKGSRCDIR. Also, generate its value from ${_PKGSRC_TOPDIR} so it's less fragile than the old method of stripping off the last two components of ${.CURDIR}. PKGSRCDIR may now be used after bsd.prefs.mk is defined. * Change all references to _PKGSRCDIR to PKGSRCDIR.
2004-09-22Typo - "ressource".mason1-2/+2
2004-09-16Make and mount the local patches directory when relevant. Fixes PR#26951cjep1-2/+10
from Masanori Mikawa.
2004-09-02many kernel-grovelling tools in Linux need /proc mounted to dogrant1-1/+2
anything useful. make it so.
2004-08-12Properly quote the NICE_LEVEL variable to prevent errors.sketch1-2/+2
2004-08-06Unset CDPATH variable in the user environment which prints the cwd to stdoutsketch1-1/+3
when changing directory, breaking the resulting tsort from the printindex script output.
2004-07-25correctly use PKG_SUFX instead of ".tgz".grant1-2/+2
this fixes a problem where bulk builds with PKG_SUFX=.tbz would needlessly, repeatedly rebuild dependency packages because ${PKGNAME}.tgz did not exist.
2004-07-22Abstract out the "nice -n 20" clause, so that it can be set to somethingagc2-4/+12
else if desired. Print out dates in the form: yyyy/mm/dd
2004-07-15add anchors for jumping to the top and each section of the HTML report.grant1-4/+22
2004-07-15only include broken packages in the email output.grant1-6/+9
2004-07-10fix typogrant1-2/+2
2004-07-03add /var/sadm so that Solaris pkgchk(8) can read the package database,grant1-2/+2
xpm/builtin.mk uses this to determine whether Solaris has xpm.
2004-07-01the timezone file on Solaris is /etc/TIMEZONE.grant1-2/+10
2004-06-25make sure we get BMAKE set when calling printdepends and printindexdmcmahill1-3/+3
2004-06-06on Solaris, ensure /usr/tmp and /var/tmp are created in the sandbox,grant1-1/+2
as nroff(1) and others complain if these directories don't exist.
2004-06-06remove "local" variable scope, it is not required and is NetBSD sh(1)grant1-2/+2
specific.
2004-04-29add missing -r option that the usage claimed existed. Noted by garbled@dmcmahill1-2/+2
2004-04-24add a -s | --specific-pkgs option which will set SPECIFIC_PKGS=1 for thedmcmahill1-3/+16
build. Suggested by Christoph Badura.
2004-04-19Fix pasto.seb1-2/+2