ports/82336: Update port security/rkhunter - Fixed dependency and updated Makefile
Babak Farrokhi
farrokhi at rootshell.be
Thu Jun 16 21:20:19 UTC 2005
>Number: 82336
>Category: ports
>Synopsis: Update port security/rkhunter - Fixed dependency and updated Makefile
>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: Thu Jun 16 21:20:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Babak Farrokhi
>Release: FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: FreeBSD elf.shatel.ir 4.11-STABLE FreeBSD 4.11-STABLE #0: Fri Jun 3 15:10:08 IRDT 2005 root at elf.shatel.ir:/usr/obj/usr/src/sys/SERVER i386
>Description:
>How-To-Repeat:
>Fix:
--- rkhunter-1.patch begins here ---
diff -ruN rkhunter.orig/Makefile rkhunter/Makefile
--- rkhunter.orig/Makefile Thu Jun 16 21:54:45 2005
+++ rkhunter/Makefile Fri Jun 17 00:49:19 2005
@@ -7,22 +7,20 @@
PORTNAME= rkhunter
PORTVERSION= 1.2.7
+PORTREVISION= 1
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
-
-# Wget has security holes, and rkhunter can use /usr/bin/fetch instead
-# wget:${PORTSDIR}/ftp/wget
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \
+ ${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_PERL5= yes
NO_BUILD= yes
USE_REINPLACE= yes
-PKGMESSAGE= ${WRKDIR}/pkg-message
MAN8= rkhunter.8
MANCOMPRESSED= no
@@ -35,9 +33,6 @@
BROKEN= "Does not build on sparc64"
.endif
-post-patch:
- @${SED} -e 's|PREFIX|${PREFIX}|g' ${FILESDIR}/pkg-message.in > ${PKGMESSAGE}
-
do-install:
cd ${WRKSRC} && ./installer.sh --installdir ${PREFIX}
${INSTALL_MAN} ${WRKSRC}/files/development/rkhunter.8 ${MAN8PREFIX}/man/man8
@@ -45,6 +40,5 @@
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/files/|} ${DOCSDIR}
.endif
- @${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
diff -ruN rkhunter.orig/files/pkg-message.in rkhunter/files/pkg-message.in
--- rkhunter.orig/files/pkg-message.in Thu Jun 16 21:54:45 2005
+++ rkhunter/files/pkg-message.in Thu Jan 1 03:30:00 1970
@@ -1,7 +0,0 @@
-
-#############################################################################
- Installed additional documentation in: PREFIX/share/doc/rkhunter
- Copy PREFIX/etc/rkhunter.conf.sample to PREFIX/etc/rkhunter.conf
-#############################################################################
-
-
--- rkhunter-1.patch ends here ---
[This mail has been send from http://www.rootshell.be.]
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list