diff options
author | adrianp <adrianp@pkgsrc.org> | 2008-01-03 20:51:21 +0000 |
---|---|---|
committer | adrianp <adrianp@pkgsrc.org> | 2008-01-03 20:51:21 +0000 |
commit | 8c8f2165fb7b67da615c5b3753f7fc570cd70173 (patch) | |
tree | f2850d766030514082f6a46f2d7b2484a04df753 /mk/bsd.pkg.readme.mk | |
parent | c79c548835013bfed13b4e168623757b90eebc50 (diff) | |
download | pkgsrc-8c8f2165fb7b67da615c5b3753f7fc570cd70173.tar.gz |
* Rename AP var to AUDIT_PACKAGES as the former was a bit obscure
* Add DOWNLOAD_VULN_LIST var
* Get AUDIT_PACKAGES and DOWNLOAD_VULN_LIST to point to the right binaries
taking into consideration OPSYS and pkg_install version
* Replace all references to audit-packages and download-vulnerability-list
with AUDIT_PACKAGES and DOWNLOAD_VULN_LIST
Diffstat (limited to 'mk/bsd.pkg.readme.mk')
-rw-r--r-- | mk/bsd.pkg.readme.mk | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/mk/bsd.pkg.readme.mk b/mk/bsd.pkg.readme.mk index 747aeb5464c..4260ee0f433 100644 --- a/mk/bsd.pkg.readme.mk +++ b/mk/bsd.pkg.readme.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.readme.mk,v 1.15 2007/10/20 13:35:12 adrianp Exp $ +# $NetBSD: bsd.pkg.readme.mk,v 1.16 2008/01/03 20:51:21 adrianp Exp $ # # This Makefile fragment is included by bsd.pkg.mk and encapsulates the # code to produce README.html files in each package directory. @@ -248,9 +248,9 @@ show-vulnerabilities-html: ${PKGVULNDIR}/pkg-vulnerabilities; \ fi; \ else \ - _PKGVULNDIR=`audit-packages ${AUDIT_PACKAGES_FLAGS} -Q PKGVULNDIR`; \ + _PKGVULNDIR=`${AUDIT_PACKAGES} ${AUDIT_PACKAGES_FLAGS} -Q PKGVULNDIR`; \ if [ -f $$_PKGVULNDIR/pkg-vulnerabilities ]; then \ - audit-packages ${AUDIT_PACKAGES_FLAGS} -n ${PKGNAME} 2>&1| ${AWK} \ + ${AUDIT_PACKAGES} ${AUDIT_PACKAGES_FLAGS} -n ${PKGNAME} 2>&1| ${AWK} \ '{ printurl = $$8; \ gsub("\<", "\\<", $$2); \ gsub("\>", "\\>", $$2); \ @@ -284,11 +284,12 @@ README.html: .PRECIOUS if ${PKG_ADMIN} pmatch 'pkg_install<20070714' pkg_install-${PKGTOOLS_VERSION}; then \ _PVDIR=${PKGVULNDIR}; \ else \ - _PVDIR=`audit-packages ${AUDIT_PACKAGES_FLAGS} -Q PKGVULNDIR`; \ + _PVDIR=`${AUDIT_PACKAGES} ${AUDIT_PACKAGES_FLAGS} -Q PKGVULNDIR`; \ fi; \ ${AWK} -f ../../mk/scripts/genreadme.awk \ builddependsfile=/dev/null \ dependsfile=/dev/null \ + AUDIT_PACKAGES=${AUDIT_PACKAGES:Q} \ AWK=${AWK:Q} \ CMP=${CMP:Q} \ DISTDIR=${DISTDIR:Q} \ |