diff options
author | adrianp <adrianp@pkgsrc.org> | 2005-06-19 12:14:39 +0000 |
---|---|---|
committer | adrianp <adrianp@pkgsrc.org> | 2005-06-19 12:14:39 +0000 |
commit | e277f68b3422855c69358dd9e02b6d07e59269e4 (patch) | |
tree | 4e95dc86b2631c7950d097b3f76225eae9a4ac04 /security | |
parent | e11ebacebd9b6e7d0bc496d11641b95d89fdc30b (diff) | |
download | pkgsrc-e277f68b3422855c69358dd9e02b6d07e59269e4.tar.gz |
- Use ${FIND} as opposed to hardcoding 'find'
- Bump to nb1
- ok'ed wiz@
Diffstat (limited to 'security')
-rw-r--r-- | security/audit-packages/Makefile | 4 | ||||
-rwxr-xr-x | security/audit-packages/files/audit-packages | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/security/audit-packages/Makefile b/security/audit-packages/Makefile index 957e0b70c48..8eccda18972 100644 --- a/security/audit-packages/Makefile +++ b/security/audit-packages/Makefile @@ -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 @@ do-build: -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 --git a/security/audit-packages/files/audit-packages b/security/audit-packages/files/audit-packages index 14521ec89ac..c75e5a11b35 100755 --- a/security/audit-packages/files/audit-packages +++ b/security/audit-packages/files/audit-packages @@ -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 @@ case "$errmsg" in "") # 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 |