diff options
author | thierry <thierry@FreeBSD.org> | 2005-07-03 20:42:08 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2005-07-03 20:42:08 +0800 |
commit | 5c4a51061168415fc27cae173df4f1907571c7d5 (patch) | |
tree | 25852aa06451ba3ae084e8c66a5b09943a206d14 /security | |
parent | de10240c6336d206055a10103792f097d36741fe (diff) | |
download | freebsd-ports-graphics-5c4a51061168415fc27cae173df4f1907571c7d5.tar.gz freebsd-ports-graphics-5c4a51061168415fc27cae173df4f1907571c7d5.tar.zst freebsd-ports-graphics-5c4a51061168415fc27cae173df4f1907571c7d5.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)
Diffstat (limited to 'security')
-rw-r--r-- | security/rkhunter/Makefile | 12 | ||||
-rw-r--r-- | security/rkhunter/files/pkg-message.in | 7 |
2 files changed, 3 insertions, 16 deletions
diff --git a/security/rkhunter/Makefile b/security/rkhunter/Makefile index 512fa3d2261..19bad11d8a7 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 18459e77323..00000000000 --- 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 -############################################################################# - - |