diff options
author | joerg <joerg@pkgsrc.org> | 2008-03-15 16:27:42 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-03-15 16:27:42 +0000 |
commit | 9d4968f06cd982ecf74856821d1640f2eb9f9b7f (patch) | |
tree | 34393cfaace98068b87e86e1ba3c87ca1a745941 /mk/bulk/sort-packages | |
parent | 205bcb8e820da2cf677f38242e075a1583815553 (diff) | |
download | pkgsrc-9d4968f06cd982ecf74856821d1640f2eb9f9b7f.tar.gz |
Remove remaining compat code for old pkg_install versions.
Diffstat (limited to 'mk/bulk/sort-packages')
-rw-r--r-- | mk/bulk/sort-packages | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/mk/bulk/sort-packages b/mk/bulk/sort-packages index 4dbc343de67..ed2e952c47d 100644 --- a/mk/bulk/sort-packages +++ b/mk/bulk/sort-packages @@ -1,5 +1,5 @@ #! /bin/sh -# $NetBSD: sort-packages,v 1.11 2007/10/09 19:19:13 martti Exp $ +# $NetBSD: sort-packages,v 1.12 2008/03/15 16:27:43 joerg Exp $ # This program scans all binary packages in the current directory and # creates three lists of files in OUTDIR: @@ -69,16 +69,7 @@ for pkg in *${PKG_SUFX}; do pkg_prefix="${pkg%%-*}" category="regular" _INFO_VER=`${PKG_INFO} -V`; - if ${PKG_ADMIN} pmatch 'pkg_install<20070714' pkg_install-${_INFO_VER}; then - # XXX: The egrep command is only needed here because - # audit-packages before pkg_install-20070714 is so - # awfully slow. - if egrep "^({.*${pkg_prefix}.*}|${pkg_prefix}|{.*}${pkg_prefix})" ${PKGVULNDIR}/pkg-vulnerabilities >/dev/null 4>&1; then - vuln=`${AUDIT_PACKAGES} -p "${pkg}"` - fi - else - vuln=`${AUDIT_PACKAGES} ${AUDIT_PACKAGES_FLAGS} -p "${pkg}"` - fi + vuln=`${AUDIT_PACKAGES} ${AUDIT_PACKAGES_FLAGS} -p "${pkg}"` if [ -n "${vuln}" ]; then category="vulnerable" fi |