blob: 70d5bec7ec122eacbcebe60b145f5380b19a1eb9 (
plain)
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
|
# $NetBSD: Makefile,v 1.1.1.1 2004/02/17 15:33:52 minskim Exp $
#
DISTNAME= chkrootkit
PKGNAME= ${DISTNAME}-0.43
CATEGORIES= security
MASTER_SITES= ftp://ftp.pangeia.com.br/pub/seg/pac/
MAINTAINER= pancake@phreaker.net
HOMEPAGE= http://www.chkrootkit.org/
COMMENT= Locally checks for signs of a rootkit
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}/${PKGNAME}
DIST_SUBDIR= ${PKGNAME}
USE_GNU_TOOLS+= make
USE_BUILDLINK3= yes
NO_CONFIGURE= yes
PROGRAMS= chkdirs chklastlog chkproc chkwtmp ifpromisc strings-static
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
PROGRAMS+= check_wtmpx
PLIST_SUBST+= WTMPX=""
CFLAGS+= -DSOLARIS2
LDFLAGS+= -lsocket
. if empty(CC_VERSION:Mgcc-*)
MAKE_ENV+= STATIC="-B static"
. else
MAKE_ENV+= STATIC="-static"
. endif
.else
PLIST_SUBST+= WTMPX="@comment "
MAKE_ENV+= STATIC="-static"
.endif
INSTALLATION_DIRS+= bin
do-install:
cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PROGRAMS} ${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"
|