From b453467aa4d4778964026231b0e083c198871d01 Mon Sep 17 00:00:00 2001 From: Sofian Brabez Date: Wed, 20 Apr 2011 12:53:50 +0000 Subject: - Install sample configuration file - Add LICENSE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR: ports/153024 Submitted by: Trond Endrestøl Approved by: jadawin@ (mentor) --- security/rkhunter/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'security/rkhunter/Makefile') 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 -- cgit v1.2.3