diff options
author | Roman Bogorodskiy <novel@FreeBSD.org> | 2009-08-21 18:55:12 +0000 |
---|---|---|
committer | Roman Bogorodskiy <novel@FreeBSD.org> | 2009-08-21 18:55:12 +0000 |
commit | f022f03a1c25b5eb7a5ccaedae1963a655c03e21 (patch) | |
tree | 5a87745f5c75c0745060fb46142a4f3c6a1cbe68 /security/scanlogd | |
parent | c61585d1cd3f64cd5b6af378c3e9c728c8065f04 (diff) |
Notes
Diffstat (limited to 'security/scanlogd')
-rw-r--r-- | security/scanlogd/Makefile | 12 | ||||
-rw-r--r-- | security/scanlogd/files/scanlogd.in (renamed from security/scanlogd/files/scanlogd.sh) | 0 |
2 files changed, 3 insertions, 9 deletions
diff --git a/security/scanlogd/Makefile b/security/scanlogd/Makefile index 1c9ae569be66..908a0b5cc1b4 100644 --- a/security/scanlogd/Makefile +++ b/security/scanlogd/Makefile @@ -7,6 +7,7 @@ PORTNAME= scanlogd PORTVERSION= 2.2.6 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://openwall.com/scanlogd/ \ ftp://ftp.openwall.com/pub/projects/scanlogd/ \ @@ -15,7 +16,7 @@ MASTER_SITES= http://openwall.com/scanlogd/ \ MAINTAINER= novel@FreeBSD.org COMMENT= TCP port scan detection tool -USE_RC_SUBR= yes +USE_RC_SUBR= ${PORTNAME} .if defined(WITH_LIBNIDS) BUILD_DEPENDS+= ${LOCALBASE}/lib/libnids.a:${PORTSDIR}/net/libnids @@ -26,20 +27,13 @@ ALL_TARGET= libpcap MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -c" LD="${CC}" MAN8= scanlogd.8 -PLIST_FILES= bin/scanlogd \ - etc/rc.d/scanlogd.sh - -RC_SCRIPTS_SUB= PREFIX=${PREFIX} \ - RC_SUBR=${RC_SUBR} +PLIST_FILES= bin/scanlogd do-install: ${INSTALL_PROGRAM} ${WRKSRC}/scanlogd ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/scanlogd.8 ${MANPREFIX}/man/man8 post-install: - @${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ - ${FILESDIR}/scanlogd.sh > ${PREFIX}/etc/rc.d/scanlogd.sh - @${CHMOD} ${BINMODE} ${PREFIX}/etc/rc.d/scanlogd.sh @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> diff --git a/security/scanlogd/files/scanlogd.sh b/security/scanlogd/files/scanlogd.in index 532249fcfcb3..532249fcfcb3 100644 --- a/security/scanlogd/files/scanlogd.sh +++ b/security/scanlogd/files/scanlogd.in |