summaryrefslogtreecommitdiff
path: root/security/logcheck
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-07-17 15:16:17 +0000
committerwiz <wiz@pkgsrc.org>2001-07-17 15:16:17 +0000
commit0fff2039061b7549bf0fdc87937e9e68172970a8 (patch)
treed203e6622ef2ca13be0ae9a54bacaf8f736a77ae /security/logcheck
parentd4189aa8469c91327e71dee18927aa546296822b (diff)
downloadpkgsrc-0fff2039061b7549bf0fdc87937e9e68172970a8.tar.gz
Use MESSAGE_SUBST (and its default settings) instead of manually doing
the same.
Diffstat (limited to 'security/logcheck')
-rw-r--r--security/logcheck/Makefile11
-rw-r--r--security/logcheck/pkg/MESSAGE (renamed from security/logcheck/pkg/MESSAGE.in)9
2 files changed, 6 insertions, 14 deletions
diff --git a/security/logcheck/Makefile b/security/logcheck/Makefile
index 6e19f400496..b74c79c9633 100644
--- a/security/logcheck/Makefile
+++ b/security/logcheck/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2001/07/17 15:00:48 nra Exp $
+# $NetBSD: Makefile,v 1.2 2001/07/17 15:16:17 wiz Exp $
DISTNAME= logcheck-1.1.1
CATEGORIES= security
@@ -8,18 +8,9 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.psionic.com/
COMMENT= Auditing tool for system logs on Unix boxes
-PKGMESSAGE= ${WRKDIR}/MESSAGE
-
post-patch:
@${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.old
@${SED} -e "s+/usr/local+${PREFIX}+g" \
< ${WRKSRC}/Makefile.old > ${WRKSRC}/Makefile
-post-build:
- @${SED} -e "s+%%PREFIX%%+${PREFIX}+g" \
- ${PKGDIR}/MESSAGE.in > ${PKGMESSAGE}
-
-post-install:
- @${CAT} ${PKGMESSAGE}
-
.include "../../mk/bsd.pkg.mk"
diff --git a/security/logcheck/pkg/MESSAGE.in b/security/logcheck/pkg/MESSAGE
index 5dae1b02af9..8e53a92338a 100644
--- a/security/logcheck/pkg/MESSAGE.in
+++ b/security/logcheck/pkg/MESSAGE
@@ -1,14 +1,15 @@
-----------------------------------------------------------------------------
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2001/07/17 15:16:18 wiz Exp $
Remember to copy the sample files to the real file names.
Here is an example what you need to do:
- cd %%PREFIX%%/etc/
+ cd ${PREFIX}/etc/
cp logcheck.ignore.sample logcheck.ignore
cp logcheck.violations.ignore.sample logcheck.violations.ignore
cp logcheck.violations.sample logcheck.violations
cp logcheck.hacking.sample logcheck.hacking
- Note that logcheck is started with %%PREFIX%%/etc/logcheck.sh
+ Note that logcheck is started with ${PREFIX}/etc/logcheck.sh
-----------------------------------------------------------------------------
+===========================================================================