pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/audit-packages Apply the fix in PR 35024 from...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ee75ed01b2de
branches: trunk
changeset: 521867:ee75ed01b2de
user: agc <agc%pkgsrc.org@localhost>
date: Sat Nov 25 13:43:42 2006 +0000
description:
Apply the fix in PR 35024 from Jukka Salmi - allow the use of the base name
of the package when specifying package names for the -p (one package) option,
and to make audit-packages more consistent with pkg_info behaviour.
diffstat:
security/audit-packages/Makefile | 4 ++--
security/audit-packages/files/audit-packages | 7 ++++---
2 files changed, 6 insertions(+), 5 deletions(-)
diffs (35 lines):
diff -r 3bd28b053c41 -r ee75ed01b2de security/audit-packages/Makefile
--- a/security/audit-packages/Makefile Sat Nov 25 13:39:39 2006 +0000
+++ b/security/audit-packages/Makefile Sat Nov 25 13:43:42 2006 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.72 2006/11/07 09:28:09 joerg Exp $
+# $NetBSD: Makefile,v 1.73 2006/11/25 13:43:42 agc Exp $
-DISTNAME= audit-packages-1.44
+DISTNAME= audit-packages-1.45
CATEGORIES= security pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
diff -r 3bd28b053c41 -r ee75ed01b2de security/audit-packages/files/audit-packages
--- a/security/audit-packages/files/audit-packages Sat Nov 25 13:39:39 2006 +0000
+++ b/security/audit-packages/files/audit-packages Sat Nov 25 13:43:42 2006 +0000
@@ -1,6 +1,6 @@
#! @SH@
#
-# $NetBSD: audit-packages,v 1.28 2006/10/05 14:26:42 joerg Exp $
+# $NetBSD: audit-packages,v 1.29 2006/11/25 13:43:42 agc Exp $
#
# Copyright (c) 2000-2003 Alistair Crooks. All rights reserved.
#
@@ -197,8 +197,9 @@
vulnpkgs=`@PKG_TOOLS_BIN@/pkg_info -e "$pat"`
else
vulnpkgs=
- if `@PKG_TOOLS_BIN@/pkg_admin pmatch "$pat" "$one_package"` ; then
- vulnpkgs=$one_package
+ one_pkg=`@PKG_TOOLS_BIN@/pkg_info -e "$one_package"`
+ if `@PKG_TOOLS_BIN@/pkg_admin pmatch "$pat" "$one_pkg"` ; then
+ vulnpkgs=$one_pkg
fi
fi
for pkg in $vulnpkgs ; do
Home |
Main Index |
Thread Index |
Old Index