pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/audit-packages - Use ${FIND} as opposed to ha...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c39a6373a6de
branches:  trunk
changeset: 495744:c39a6373a6de
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Sun Jun 19 12:14:39 2005 +0000

description:
- Use ${FIND} as opposed to hardcoding 'find'
- Bump to nb1
- ok'ed wiz@

diffstat:

 security/audit-packages/Makefile             |  4 +++-
 security/audit-packages/files/audit-packages |  4 ++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diffs (41 lines):

diff -r 32c5b00f50e9 -r c39a6373a6de security/audit-packages/Makefile
--- a/security/audit-packages/Makefile  Sun Jun 19 11:48:32 2005 +0000
+++ b/security/audit-packages/Makefile  Sun Jun 19 12:14:39 2005 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.56 2005/06/09 15:34:52 dillo Exp $
+# $NetBSD: Makefile,v 1.57 2005/06/19 12:14:39 adrianp Exp $
 
 DISTNAME=      audit-packages-1.36
 CATEGORIES=    security pkgtools
+PKGREVISION=   1
 MASTER_SITES=  # empty
 DISTFILES=     # empty
 
@@ -37,6 +38,7 @@
                        -e 's|@RM@|${RM}|g'                             \
                        -e 's|@MKDIR@|${MKDIR}|g'                       \
                        -e 's|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g'     \
+                       -e 's|@FIND@|${FIND}|g'                         \
                        ${FILESDIR}/$$f > ${WRKSRC}/$$f;                \
        done
 .if ${OPSYS} == "SunOS" || ${OPSYS} == "AIX"
diff -r 32c5b00f50e9 -r c39a6373a6de security/audit-packages/files/audit-packages
--- a/security/audit-packages/files/audit-packages      Sun Jun 19 11:48:32 2005 +0000
+++ b/security/audit-packages/files/audit-packages      Sun Jun 19 12:14:39 2005 +0000
@@ -1,6 +1,6 @@
 #! @SH@
 #
-# $NetBSD: audit-packages,v 1.20 2005/06/09 15:34:52 dillo Exp $
+# $NetBSD: audit-packages,v 1.21 2005/06/19 12:14:39 adrianp Exp $
 #
 # Copyright (c) 2000-2003 Alistair Crooks.  All rights reserved.
 #
@@ -71,7 +71,7 @@
 "")    # check for old vulnerabilities file if we're being verbose
        case "$verbose" in
        # XXX: quote vuls
-       yes)    [ -n "$(find $vuls -ctime +7)" ] && echo "*** WARNING - $vuls more than a week old, continuing..." ;;
+       yes)    [ -n "$(@FIND@ $vuls -ctime +7)" ] && echo "*** WARNING - $vuls more than a week old, continuing..." ;;
        esac
        ;;
 esac



Home | Main Index | Thread Index | Old Index