2004-05-15 16:00:59 +02:00
|
|
|
# New ports collection makefile for: rkhunter
|
|
|
|
# Date created: 15 May 2004
|
|
|
|
# Whom: Radim Kolar
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= rkhunter
|
2005-06-13 16:13:37 +02:00
|
|
|
PORTVERSION= 1.2.7
|
2004-05-15 16:00:59 +02:00
|
|
|
CATEGORIES= security
|
|
|
|
MASTER_SITES= http://downloads.rootkit.nl/
|
|
|
|
|
2005-06-13 16:13:37 +02:00
|
|
|
MAINTAINER= babak@farrokhi.net
|
2004-05-15 16:00:59 +02:00
|
|
|
COMMENT= Rootkit detection tool
|
|
|
|
|
2005-05-18 18:37:53 +02:00
|
|
|
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
|
2004-05-15 16:00:59 +02:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
USE_PERL5= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
USE_REINPLACE= yes
|
2004-07-25 23:23:48 +02:00
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
2004-05-15 16:00:59 +02:00
|
|
|
|
|
|
|
MAN8= rkhunter.8
|
|
|
|
MANCOMPRESSED= no
|
|
|
|
|
2004-08-08 18:01:38 +02:00
|
|
|
PORTDOCS= CHANGELOG README WISHLIST
|
|
|
|
|
2005-03-26 23:18:09 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "sparc64"
|
|
|
|
BROKEN= "Does not build on sparc64"
|
|
|
|
.endif
|
|
|
|
|
2004-07-25 23:23:48 +02:00
|
|
|
post-patch:
|
|
|
|
@${SED} -e 's|PREFIX|${PREFIX}|g' ${FILESDIR}/pkg-message.in > ${PKGMESSAGE}
|
|
|
|
|
2004-05-15 16:00:59 +02:00
|
|
|
do-install:
|
2004-07-25 23:23:48 +02:00
|
|
|
cd ${WRKSRC} && ./installer.sh --installdir ${PREFIX}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/files/development/rkhunter.8 ${MAN8PREFIX}/man/man8
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
2004-08-08 18:01:38 +02:00
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/files/|} ${DOCSDIR}
|
2004-07-25 23:23:48 +02:00
|
|
|
.endif
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
2004-05-15 16:00:59 +02:00
|
|
|
|
2005-03-26 23:18:09 +01:00
|
|
|
.include <bsd.port.post.mk>
|