aboutsummaryrefslogtreecommitdiff
path: root/security/rkhunter
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-07-12 22:06:38 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-07-12 22:06:38 +0000
commite55cc0c2f5673cba664c87651f1758e946170bf3 (patch)
tree49c7365464e50f7a05f39f7c194e3f2d2c6ca9d6 /security/rkhunter
parent758e43383403bb9568b7839cd9a066f888a25e23 (diff)
downloadports-e55cc0c2f5673cba664c87651f1758e946170bf3.tar.gz
ports-e55cc0c2f5673cba664c87651f1758e946170bf3.zip
- Add OPTIONS for nmap (default on) and lsof (default off) RUN_DEPENDs for
additional checks - bump portrevision PR: ports/99432 Submitted by: Babak Farrokhi <babak@farrokhi.net> Approved by: maintianer timeout
Notes
Notes: svn path=/head/; revision=167635
Diffstat (limited to 'security/rkhunter')
-rw-r--r--security/rkhunter/Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/security/rkhunter/Makefile b/security/rkhunter/Makefile
index 0b3a55261c0e..47d78e71f672 100644
--- a/security/rkhunter/Makefile
+++ b/security/rkhunter/Makefile
@@ -7,14 +7,17 @@
PORTNAME= rkhunter
PORTVERSION= 1.2.8
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= http://downloads.rootkit.nl/
MAINTAINER= vaidab@safe-mail.net
COMMENT= Rootkit detection tool
-RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \
+OPTIONS= LSOF "Use LSOF" on \
+ NMAP "Use NMAP" off
+
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \
${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget
WRKSRC= ${WRKDIR}/${PORTNAME}
@@ -28,6 +31,14 @@ PORTDOCS= CHANGELOG README WISHLIST
.include <bsd.port.pre.mk>
+.if !defined(WITHOUT_LSOF)
+RUN_DEPENDS+= lsof:${PORTSDIR}/sysutils/lsof
+.endif
+
+.if defined(WITH_NMAP)
+RUN_DEPENDS+= nmap:${PORTSDIR}/security/nmap
+.endif
+
.if ${ARCH} == "sparc64"
BROKEN= Does not build on sparc64
.endif