aboutsummaryrefslogtreecommitdiffstats
path: root/security/rkhunter/Makefile
blob: 0b3a55261c0e7ea28bbeea4a44958ab7a811c870 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# New ports collection makefile for:    rkhunter
# Date created:     15 May 2004
# Whom:         Radim Kolar
#
# $FreeBSD$
#

PORTNAME=   rkhunter
PORTVERSION=    1.2.8
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 \
        ${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget

WRKSRC=     ${WRKDIR}/${PORTNAME}
USE_PERL5=  yes
NO_BUILD=   yes

MAN8=       rkhunter.8
MANCOMPRESSED=  no

PORTDOCS=   CHANGELOG README WISHLIST

.include <bsd.port.pre.mk>

.if ${ARCH} == "sparc64"
BROKEN=     Does not build on sparc64
.endif

do-install:
    cd ${WRKSRC} && ./installer.sh --installdir ${PREFIX}
    ${INSTALL_MAN} ${WRKSRC}/files/development/rkhunter.8 ${MAN8PREFIX}/man/man8
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/files/|} ${DOCSDIR}
.endif

post-install:
        @${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>