aboutsummaryrefslogtreecommitdiff
path: root/security/rkhunter
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2005-07-03 12:42:08 +0000
committerThierry Thomas <thierry@FreeBSD.org>2005-07-03 12:42:08 +0000
commit194aa248edc4cad4fd8def3eb2f9e99f5ace1f72 (patch)
treebdcbd37dc14a654debe40e8df58ce27b1553cfcc /security/rkhunter
parent7ccbca9f48f872fdfc2bfbe06109af5eeed6663d (diff)
downloadports-194aa248edc4cad4fd8def3eb2f9e99f5ace1f72.tar.gz
ports-194aa248edc4cad4fd8def3eb2f9e99f5ace1f72.zip
Fix dependency and remove the ancient pkg-message.
PR: 82336 Submitted by: Babak Farrokhi <babak (at) farrokhi.net> Approved by: maintainer time-out (> 15 days)
Notes
Notes: svn path=/head/; revision=138397
Diffstat (limited to 'security/rkhunter')
-rw-r--r--security/rkhunter/Makefile12
-rw-r--r--security/rkhunter/files/pkg-message.in7
2 files changed, 3 insertions, 16 deletions
diff --git a/security/rkhunter/Makefile b/security/rkhunter/Makefile
index 512fa3d2261c..19bad11d8a72 100644
--- a/security/rkhunter/Makefile
+++ b/security/rkhunter/Makefile
@@ -7,22 +7,20 @@
PORTNAME= rkhunter
PORTVERSION= 1.2.7
+PORTREVISION= 1
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
-
-# 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 @@ PORTDOCS= CHANGELOG README WISHLIST
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 @@ do-install:
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/files/|} ${DOCSDIR}
.endif
- @${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
diff --git a/security/rkhunter/files/pkg-message.in b/security/rkhunter/files/pkg-message.in
deleted file mode 100644
index 18459e773237..000000000000
--- a/security/rkhunter/files/pkg-message.in
+++ /dev/null
@@ -1,7 +0,0 @@
-
-#############################################################################
- Installed additional documentation in: PREFIX/share/doc/rkhunter
- Copy PREFIX/etc/rkhunter.conf.sample to PREFIX/etc/rkhunter.conf
-#############################################################################
-
-