summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2005-11-19 00:30:54 +0000
committeragc <agc@pkgsrc.org>2005-11-19 00:30:54 +0000
commit444e474f15e147f55fcd1348910c806741baa544 (patch)
tree4db646187c95a75d4504821b9b41cfef2a0cc836 /mk
parente58bd1b605769e85aa098ae75d0b62dbee7780d3 (diff)
downloadpkgsrc-444e474f15e147f55fcd1348910c806741baa544.tar.gz
To check if the pkg_install tools are up to date, the bulk build script
cd's into pkgtools/pkglint and does a "make fetch". Since the audit-packages check was introduced to bsd.pkg.mk, this "make fetch" will fail with an error message which looks like: ===> do-fetch [pkglint-4.42.1] ===> Checking for vulnerabilities in pkglint-4.42.1 ===> check-vulnerable [pkglint-4.42.1] ===> *** The audit-packages package must be at least version 1.40 ===> check-vulnerable [pkglint-4.42.1] ===> *** Please install the security/audit-packages package and run ===> check-vulnerable [pkglint-4.42.1] ===> *** '/usr/pkg/sbin/download-vulnerability-list'. *** Error code 1 since there is no audit-packages package installed at this point (we are still doing the pre-installation checks). So call "make fetch" with an additional SKIP_AUDIT_PACKAGES=yes argument at this point.
Diffstat (limited to 'mk')
-rw-r--r--mk/bulk/build4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bulk/build b/mk/bulk/build
index 9e84c207889..795f9d8f8e0 100644
--- a/mk/bulk/build
+++ b/mk/bulk/build
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: build,v 1.78 2005/11/18 11:43:25 agc Exp $
+# $NetBSD: build,v 1.79 2005/11/19 00:30:54 agc Exp $
#
# Copyright (c) 1999, 2000 Hubert Feyrer <hubertf@NetBSD.org>
@@ -216,7 +216,7 @@ show_config_vars
# Check that the package tools are up to date.
#
( cd "${pkglint_dir}" \
- && ${BMAKE} fetch >/dev/null 2>&1
+ && ${BMAKE} fetch SKIP_AUDIT_PACKAGES=yes >/dev/null 2>&1
) || {
echo "Updating pkgtools"
( cd "${pkgsrc_dir}/pkgtools/pkg_install" \