blob: a721cb560fb6051c11bc4f8dc6fc25dda7a164c9 (
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
|
# Ports collection makefile for: chkrootkit
# Date created: 13 Mar 2001
# Whom: Luiz Eduardo R. Cordeiro
#
# $FreeBSD$
#
PORTNAME= chkrootkit
PORTVERSION= 0.38
CATEGORIES= security
MASTER_SITES= ftp://ftp.pangeia.com.br/pub/seg/pac/
MAINTAINER= cordeiro@luinil.nic.br
USE_REINPLACE= yes
ALL_TARGET= chkrootkit chklastlog chkwtmp chkproc chkdirs ifpromisc
DOCFILES= COPYRIGHT README README.chklastlog README.chkwtmp
BINMODE= 0700
pre-patch:
${REINPLACE_CMD} -e "s/^CC/#CC/; s/^CFLAGS/#CFLAGS/" ${WRKSRC}/Makefile
${REINPLACE_CMD} -e \
's#\./chklastlog#${PREFIX}/sbin/chklastlog#g; \
s#\./chkwtmp#${PREFIX}/sbin/chkwtmp#g; \
s#\./chkproc#${PREFIX}/sbin/chkproc#g; \
s#\./chkdirs#${PREFIX}/sbin/chkdirs#g; \
s#\./ifpromisc#${PREFIX}/sbin/ifpromisc#g;' \
${WRKSRC}/chkrootkit
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/chkrootkit ${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/chklastlog ${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/chkwtmp ${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/chkproc ${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/chkdirs ${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/ifpromisc ${PREFIX}/sbin
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/chkrootkit
${INSTALL_DATA} ${DOCFILES:C,^,${WRKSRC}/,} ${PREFIX}/share/doc/chkrootkit
.endif
.include <bsd.port.mk>
|