pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Fix an anomaly noted by Steve Bellovin in
details: https://anonhg.NetBSD.org/pkgsrc/rev/0381be8f9329
branches: trunk
changeset: 489091:0381be8f9329
user: agc <agc%pkgsrc.org@localhost>
date: Wed Feb 16 11:01:03 2005 +0000
description:
Fix an anomaly noted by Steve Bellovin in
<20050215182853.AC52D3C03B8%berkshire.machshav.com@localhost>
The check for a vulnerable package at package fetch time is producing
incorrect results when csh-style alternates are used in the
pkg-vulnerabilities specification of the vulnerable package - disable
the incorrect speed-up that was there previously, at the expense of
some machine cycles at build time.
diffstat:
mk/bsd.pkg.mk | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (17 lines):
diff -r 367659c6bcfa -r 0381be8f9329 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk Wed Feb 16 10:59:03 2005 +0000
+++ b/mk/bsd.pkg.mk Wed Feb 16 11:01:03 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1589 2005/02/15 16:21:41 tv Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1590 2005/02/16 11:01:03 agc Exp $
#
# This file is in the public domain.
#
@@ -1385,7 +1385,6 @@
PKGBASE="${PKGBASE}" \
${AWK} '/^$$/ { next } \
/^#.*/ { next } \
- $$1 !~ ENVIRON["PKGBASE"] { next } \
{ s = sprintf("${PKG_ADMIN} pmatch \"%s\" %s && ${ECHO} \"*** WARNING - %s vulnerability in %s - see %s for more information ***\"", $$1, ENVIRON["PKGNAME"], $$2,
ENVIRON["PKGNAME"], $$3); system(s); }' < ${PKGVULNDIR}/pkg-vulnerabilities || ${FALSE}; \
fi
Home |
Main Index |
Thread Index |
Old Index