aboutsummaryrefslogtreecommitdiff
path: root/security/rkhunter/Makefile
diff options
context:
space:
mode:
authorSofian Brabez <sbz@FreeBSD.org>2011-04-20 12:53:50 +0000
committerSofian Brabez <sbz@FreeBSD.org>2011-04-20 12:53:50 +0000
commitb453467aa4d4778964026231b0e083c198871d01 (patch)
treeed9f4022ddaae576c3cc1d7d6eb700b0f2099b52 /security/rkhunter/Makefile
parent83630e44e3799a53747ced22f66f33aa72f6d5aa (diff)
downloadports-b453467aa4d4778964026231b0e083c198871d01.tar.gz
ports-b453467aa4d4778964026231b0e083c198871d01.zip
Notes
Diffstat (limited to 'security/rkhunter/Makefile')
-rw-r--r--security/rkhunter/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/security/rkhunter/Makefile b/security/rkhunter/Makefile
index 4e00da096843..af6c28905542 100644
--- a/security/rkhunter/Makefile
+++ b/security/rkhunter/Makefile
@@ -7,12 +7,16 @@
PORTNAME= rkhunter
PORTVERSION= 1.3.8
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= SF
MAINTAINER= sbz@FreeBSD.org
COMMENT= Rootkit detection tool
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/files/LICENSE
+
OPTIONS= LSOF "Use LSOF" on \
NMAP "Use NMAP" off
@@ -54,6 +58,10 @@ do-install:
.endif
post-install:
+ ${INSTALL_DATA} ${WRKSRC}/files/${PORTNAME}.conf ${PREFIX}/etc/${PORTNAME}.conf.sample
+ @if [ ! -f ${PREFIX}/etc/${PORTNAME}.conf ]; then \
+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${PREFIX}/etc; \
+ fi
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>