pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Fix show-vulnerabilities-html target for pkg_instal...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6199d1e443c7
branches: trunk
changeset: 531768:6199d1e443c7
user: adrianp <adrianp%pkgsrc.org@localhost>
date: Mon Aug 06 02:36:24 2007 +0000
description:
Fix show-vulnerabilities-html target for pkg_install>=20070714.
audit-packages prints vulnerabilities to stdout so compensate for this.
diffstat:
mk/bsd.pkg.readme.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 05a6a404e531 -r 6199d1e443c7 mk/bsd.pkg.readme.mk
--- a/mk/bsd.pkg.readme.mk Mon Aug 06 01:58:04 2007 +0000
+++ b/mk/bsd.pkg.readme.mk Mon Aug 06 02:36:24 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.readme.mk,v 1.9 2007/08/05 19:13:02 adrianp Exp $
+# $NetBSD: bsd.pkg.readme.mk,v 1.10 2007/08/06 02:36:24 adrianp Exp $
#
# This Makefile fragment is included by bsd.pkg.mk and encapsulates the
# code to produce README.html files in each package directory.
@@ -252,7 +252,7 @@
else \
_PKGVULNDIR=`audit-packages ${AUDIT_PACKAGES_FLAGS} -Q PKGVULNDIR`; \
if [ -f $$_PKGVULNDIR/pkg-vulnerabilities ]; then \
- audit-packages ${AUDIT_PACKAGES_FLAGS} -n ${PKGNAME} |${AWK} \
+ audit-packages ${AUDIT_PACKAGES_FLAGS} -n ${PKGNAME} 2>&1| ${AWK} \
'{ gsub("\<", "\\<", $$2); \
gsub("\>", "\\>", $$2); \
printf("<LI><STRONG>%s has a %s exploit (see <a href=\"%s\">%s</a> for more details)</STRONG></LI>\n", $$2, $$5, $$8, $$8) }'; \
Home |
Main Index |
Thread Index |
Old Index