pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Apply my fix for PR 35091: do a check-vulnerable st...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4b950988d1cf
branches:  trunk
changeset: 576576:4b950988d1cf
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Tue Jun 15 04:14:26 2010 +0000

description:
Apply my fix for PR 35091: do a check-vulnerable step first in "make
update", so if it's going to fail because of a known vulnerability it
does so before uninstalling anything. I've been carrying this patch
for some three years with no ill effects. Ok by agc@.

diffstat:

 mk/bsd.pkg.update.mk |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 259d8cf3865c -r 4b950988d1cf mk/bsd.pkg.update.mk
--- a/mk/bsd.pkg.update.mk      Tue Jun 15 03:11:52 2010 +0000
+++ b/mk/bsd.pkg.update.mk      Tue Jun 15 04:14:26 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.update.mk,v 1.20 2010/02/25 02:08:33 joerg Exp $
+# $NetBSD: bsd.pkg.update.mk,v 1.21 2010/06/15 04:14:26 dholland Exp $
 #
 # This Makefile fragment is included by bsd.pkg.mk and contains the targets
 # and variables for "make update".
@@ -51,6 +51,7 @@
 CLEAR_DIRLIST?=        YES
 
 update:
+       ${RUN} ${RECURSIVE_MAKE} ${MAKEFLAGS} check-vulnerable
        ${RUN} ${RECURSIVE_MAKE} ${MAKEFLAGS} update-create-ddir
 .  if ${UPDATE_TARGET} != "replace"
        ${RUN} if ${PKG_INFO} -qe ${PKGBASE}; then                      \



Home | Main Index | Thread Index | Old Index