1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

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)
This commit is contained in:
Thierry Thomas 2005-07-03 12:42:08 +00:00
parent 7ccbca9f48
commit 194aa248ed
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=138397
2 changed files with 3 additions and 16 deletions

View File

@ -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>

View File

@ -1,7 +0,0 @@
#############################################################################
Installed additional documentation in: PREFIX/share/doc/rkhunter
Copy PREFIX/etc/rkhunter.conf.sample to PREFIX/etc/rkhunter.conf
#############################################################################