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
|
2006-02-23 02:42:27 +01:00
|
|
|
PORTVERSION= 1.2.8
|
2004-05-15 16:00:59 +02:00
|
|
|
CATEGORIES= security
|
|
|
|
MASTER_SITES= http://downloads.rootkit.nl/
|
|
|
|
|
2005-06-14 20:52:04 +02:00
|
|
|
MAINTAINER= vaidab@safe-mail.net
|
2004-05-15 16:00:59 +02:00
|
|
|
COMMENT= Rootkit detection tool
|
|
|
|
|
2005-07-03 14:42:08 +02:00
|
|
|
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \
|
|
|
|
${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget
|
2004-05-15 16:00:59 +02:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
USE_PERL5= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
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"
|
2006-02-23 02:42:27 +01:00
|
|
|
BROKEN= Does not build on sparc64
|
2005-03-26 23:18:09 +01:00
|
|
|
.endif
|
|
|
|
|
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
|
2004-05-15 16:00:59 +02:00
|
|
|
|
2006-01-03 00:19:50 +01:00
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
2005-03-26 23:18:09 +01:00
|
|
|
.include <bsd.port.post.mk>
|