From 194aa248edc4cad4fd8def3eb2f9e99f5ace1f72 Mon Sep 17 00:00:00 2001 From: Thierry Thomas Date: Sun, 3 Jul 2005 12:42:08 +0000 Subject: Fix dependency and remove the ancient pkg-message. PR: 82336 Submitted by: Babak Farrokhi Approved by: maintainer time-out (> 15 days) --- security/rkhunter/Makefile | 12 +++--------- security/rkhunter/files/pkg-message.in | 7 ------- 2 files changed, 3 insertions(+), 16 deletions(-) delete mode 100644 security/rkhunter/files/pkg-message.in (limited to 'security') 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 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 -############################################################################# - - -- cgit v1.2.3