pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/bulk audit-packages prints vulnerabilities to stdou...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7363d9e880ff
branches:  trunk
changeset: 531769:7363d9e880ff
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Mon Aug 06 02:43:34 2007 +0000

description:
audit-packages prints vulnerabilities to stdout so compensate for this.

diffstat:

 mk/bulk/sort-packages |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 6199d1e443c7 -r 7363d9e880ff mk/bulk/sort-packages
--- a/mk/bulk/sort-packages     Mon Aug 06 02:36:24 2007 +0000
+++ b/mk/bulk/sort-packages     Mon Aug 06 02:43:34 2007 +0000
@@ -1,5 +1,5 @@
 #! /bin/sh
-# $NetBSD: sort-packages,v 1.8 2007/07/14 17:17:45 adrianp Exp $
+# $NetBSD: sort-packages,v 1.9 2007/08/06 02:43:34 adrianp Exp $
 
 # This program scans all binary packages in the current directory and
 # creates three lists of files in OUTDIR:
@@ -77,7 +77,7 @@
                                vuln=`${AUDIT_PACKAGES} -p "${pkg}"`
                        fi
                else
-                       vuln=`${AUDIT_PACKAGES} ${AUDIT_PACKAGES_FLAGS} -p "${pkg}"`
+                       vuln=`${AUDIT_PACKAGES} ${AUDIT_PACKAGES_FLAGS} -p "${pkg}" 2>&1`
                fi
                if [ -n "${vuln}" ]; then
                        category="vulnerable"



Home | Main Index | Thread Index | Old Index