aboutsummaryrefslogtreecommitdiffstats
path: root/security/scanlogd/Makefile
blob: 4eb06e0b7197f232f60980d7154d9c90efe006bc (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
# Created by: Roman Bogorodskiy
# $FreeBSD$

PORTNAME=   scanlogd
PORTVERSION=    2.2.7
CATEGORIES= security
MASTER_SITES=   http://openwall.com/scanlogd/ \
        ftp://ftp.openwall.com/pub/projects/scanlogd/ \
        ftp://rt.fm/pub/scanlogd/

MAINTAINER= novel@FreeBSD.org
COMMENT=    TCP port scan detection tool

USE_RC_SUBR=    ${PORTNAME}

.if defined(WITH_LIBNIDS)
BUILD_DEPENDS+= ${LOCALBASE}/lib/libnids.a:${PORTSDIR}/net/libnids
ALL_TARGET= libnids
.else
ALL_TARGET= libpcap
.endif
MAKE_ARGS=  CC="${CC}" CFLAGS="${CFLAGS} -c" LD="${CC}"

MAN8=       scanlogd.8
PLIST_FILES=    bin/scanlogd

NO_STAGE=   yes
do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/scanlogd ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/scanlogd.8 ${MANPREFIX}/man/man8

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

.include <bsd.port.mk>