ports/99432: [update port] security/rkhunter - added dependencies
Babak Farrokhi
babak at farrokhi.net
Sat Jun 24 22:00:43 UTC 2006
>Number: 99432
>Category: ports
>Synopsis: [update port] security/rkhunter - added dependencies
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Jun 24 22:00:35 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Babak Farrokhi
>Release: FreeBSD 6.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD 6.1-STABLE #1: Fri May 12 21:09:54 IRDT 2006
root at home.farrokhi.net:/usr/obj/usr/src/sys/HOME
>Description:
- Add nmap and lsof dependencies (optional) for additional checks
- bump portrevision
maintainer is CC'ed
>How-To-Repeat:
>Fix:
--- rkhunter.patch begins here ---
diff -ruN rkhunter.orig/Makefile rkhunter/Makefile
--- rkhunter.orig/Makefile Sat Jun 24 23:46:20 2006
+++ rkhunter/Makefile Sun Jun 25 01:25:18 2006
@@ -7,14 +7,17 @@
PORTNAME= rkhunter
PORTVERSION= 1.2.8
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= http://downloads.rootkit.nl/
MAINTAINER= vaidab at 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}
@@ -27,6 +30,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
--- rkhunter.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list