summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2003-05-29 11:39:22 +0000
committeragc <agc@pkgsrc.org>2003-05-29 11:39:22 +0000
commit72de6a586b508b5a7639e2f50bd5fd804e6c8653 (patch)
tree78a84e494710115de810b58b9791f700947532aa /mk
parent29d0d43f2bb5c1a3c5fa6e61769c93e2e1c83d19 (diff)
downloadpkgsrc-72de6a586b508b5a7639e2f50bd5fd804e6c8653.tar.gz
Now that we're checking more thoroughly for vulnerabilities in the "do-fetch"
target via "check-vulnerable", there's no need to use "show-vulnerabilities" target when installing a package.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk22
1 files changed, 1 insertions, 21 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 13e825bfd46..cfdcc656d1d 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1184 2003/05/19 06:02:10 wiz Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1185 2003/05/29 11:39:22 agc Exp $
#
# This file is in the public domain.
#
@@ -3787,14 +3787,6 @@ SED_HOMEPAGE_EXPR= -e 's|%%HOMEPAGE%%|<p>This package has a home page at <
SED_HOMEPAGE_EXPR= -e 's|%%HOMEPAGE%%||'
.endif
-show-vulnerabilities:
- ${_PKG_SILENT}${_PKG_DEBUG} \
- if [ -f ${PKGVULNDIR}/vulnerabilities ]; then \
- ${AWK} '/^${PKGBASE}[-<>=]+[0-9]/ { print $$0 }' ${PKGVULNDIR}/vulnerabilities; \
- else \
- ${ECHO} "No vulnerabilities list found."; \
- fi
-
show-vulnerabilities-html:
${_PKG_SILENT}${_PKG_DEBUG} \
if [ -f ${PKGVULNDIR}/vulnerabilities ]; then \
@@ -4191,18 +4183,6 @@ fake-pkg: ${PLIST} ${DESCR} ${MESSAGE}
fi; \
done; \
fi
- ${_PKG_SILENT}${_PKG_DEBUG} \
- if [ -f ${PKGVULNDIR}/vulnerabilities ]; then \
- allvul="`${AWK} '/#.*/ { next } NF > 0 { cmd = sprintf(\"${PKG_INFO} -e \\\"%s\\\"\", $$1); system(cmd) }' ${PKGVULNDIR}/vulnerabilities`"; \
- for vul in "" $$allvul; do \
- if [ "X$$vul" = "X" ]; then continue; fi; \
- if [ "$$vul" = "${PKGNAME}" ]; then \
- ${ECHO_MSG} '*** WARNING: This package (${PKGNAME}) has a security vulnerability ***'; \
- ${ECHO_MSG} "`${MAKE} show-vulnerabilities`"; \
- ${ECHO_MSG} '*** WARNING: You are strongly advised to deinstall ${PKGNAME} now ***'; \
- fi; \
- done; \
- fi
.endif
# Depend is generally meaningless for arbitrary packages, but if someone wants