aboutsummaryrefslogtreecommitdiff
path: root/security/logcheck
diff options
context:
space:
mode:
authorGreg Larkin <glarkin@FreeBSD.org>2009-04-25 02:13:46 +0000
committerGreg Larkin <glarkin@FreeBSD.org>2009-04-25 02:13:46 +0000
commita3a5278743cbb2060777f6ec7b2e1c701464ffc3 (patch)
treea86065e425d86b3d0ae9ba573992485be358765e /security/logcheck
parentdb3906d18d41231403ba7844fd2080bd74d2967b (diff)
downloadports-a3a5278743cbb2060777f6ec7b2e1c701464ffc3.tar.gz
ports-a3a5278743cbb2060777f6ec7b2e1c701464ffc3.zip
Notes
Diffstat (limited to 'security/logcheck')
-rw-r--r--security/logcheck/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/security/logcheck/Makefile b/security/logcheck/Makefile
index e63fafa95738..42554fa6c224 100644
--- a/security/logcheck/Makefile
+++ b/security/logcheck/Makefile
@@ -7,7 +7,7 @@
PORTNAME= logcheck
PORTVERSION= 1.2.54
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
DISTNAME= ${PORTNAME}_${PORTVERSION}
@@ -15,7 +15,7 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= glarkin@FreeBSD.org
COMMENT= Auditing tool for system logs on Unix boxes
-BUILD_DEPENDS= docbook-to-man:${PORTSDIR}/textproc/docbook-to-man
+BUILD_DEPENDS= docbook2man:${PORTSDIR}/textproc/docbook2X
RUN_DEPENDS= lockfile:${PORTSDIR}/mail/procmail \
bash:${PORTSDIR}/shells/bash
@@ -42,12 +42,14 @@ PORTDOCS= ${DOCS:T}
MAN8= logcheck.8 logtail.8
do-build:
- ${REINPLACE_CMD} -e 's!/var/log/syslog!/var/log/messages!' \
+ @${REINPLACE_CMD} -e 's!/var/log/syslog!/var/log/messages!' \
${WRKSRC}/etc/logcheck.logfiles
- ${REINPLACE_CMD} -e 's!/etc/logcheck!${ETCDIR}!' \
+ @${REINPLACE_CMD} -e 's!/etc/logcheck!${ETCDIR}!' \
-e 's!/usr/share/doc/logcheck-database/README.logcheck-database.gz!${DOCSDIR}/README.logcheck-database!' \
${WRKSRC}/docs/logcheck.sgml
- docbook-to-man ${WRKSRC}/docs/logcheck.sgml > ${WRKSRC}/docs/logcheck.8
+ @cd ${WRKSRC}/docs && docbook2man -s \
+ /usr/local/share/docbook2X/xslt/man/docbook.xsl \
+ --sgml logcheck.sgml && ${MV} Logcheck.8 logcheck.8
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/src/logcheck ${PREFIX}/sbin