summaryrefslogtreecommitdiff
path: root/mk/bulk/post-build
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2001-03-19 11:25:39 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2001-03-19 11:25:39 +0000
commitc341f514d37d17de2d1fe1bad9ce568b7edacad6 (patch)
tree231912bf99df3e7a22581d6b801548a57431b123 /mk/bulk/post-build
parent2fb471eb70a267061bf81d7eea958eaedae51f1d (diff)
downloadpkgsrc-c341f514d37d17de2d1fe1bad9ce568b7edacad6.tar.gz
-add support for a BULK_PREREQ make variable. BULK_PREREQ contains a list
of packages which must stay installed during the build, but are not pulled in by the DEPENDS for each package. Currently, BULK_PREREQ will always include pkgtools/digest. At this time, the primary use will be to add BULK_PREREQ+=pkgtools/xpkgwedge in /etc/mk.conf to do an xpkgwedge'd bulk build. It is up to the user to make sure that the list of packages in BULK_PREREQ is a flattened list (ie all the DEPENDS are listed too). Again, at this time, xpkgwedge is really the only package that should be added to the list. -add an ADMINSIG build.conf variable. This is the signature at the end of the email report. Maybe now I'll quit forwarding reports signed as "-Hubert". -while here, eliminate grep|awk lines and `grep >/dev/null` replacing them with pure awk and grep -q.
Diffstat (limited to 'mk/bulk/post-build')
-rw-r--r--mk/bulk/post-build5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/bulk/post-build b/mk/bulk/post-build
index 6de281d01b0..f36d8e5d5ec 100644
--- a/mk/bulk/post-build
+++ b/mk/bulk/post-build
@@ -1,5 +1,5 @@
#!/usr/pkg/bin/perl
-# $NetBSD: post-build,v 1.11 2001/02/23 11:18:29 dmcmahill Exp $
+# $NetBSD: post-build,v 1.12 2001/03/19 11:25:39 dmcmahill Exp $
#
# Collect stuff after a pkg bulk build
#
@@ -27,6 +27,7 @@ sub getconf
}
+getconf("ADMINSIG"); # "-Your Name"
getconf("FTPURL"); # "pub/NetBSD/pkgstat/`date +%Y%m%d.%H%M`"
getconf("FTP"); # "/disk1/ftp/${FTPURL}"
getconf("FTPHOST"); # ftp://ftp.machi.ne/
@@ -251,7 +252,7 @@ if ($verbose) {
print "for logs of builds broken or not resulting in a binary pkg.\n";
print "\n";
print "\n";
- print " - Hubert\n";
+ print "$ADMINSIG\n";
print "\n";
print "[* This message was created automatically! *]\n";
print "\n";