blob: 550af4047b38997eb2e7e1470036b00878f68541 (
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
|
PORTNAME= scanlogd
PORTVERSION= 2.2.8
PORTREVISION= 3
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
WWW= https://openwall.com/scanlogd/
USE_RC_SUBR= ${PORTNAME}
USERS= scanlogd
GROUPS= scanlogd
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LD="${CC}" LDFLAGS="${LDFLAGS}"
PLIST_FILES= bin/scanlogd share/man/man8/scanlogd.8.gz \
etc/periodic/security/850.scanlogd
OPTIONS_SINGLE= PCAP
OPTIONS_SINGLE_PCAP= PCAP_BASE NIDS
OPTIONS_DEFAULT= PCAP_BASE
PCAP_BASE_DESC= Use pcap from base for packet capture
NIDS_DESC= Use net/libnet for packet capture
PCAP_BASE_ALL_TARGET= libpcap
NIDS_ALL_TARGET= libnids
NIDS_BUILD_DEPENDS= ${LOCALBASE}/lib/libnids.a:net/libnids
NIDS_LIB_DEPENDS= libnet.so:net/libnet
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/scanlogd ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/scanlogd.8 ${STAGEDIR}${PREFIX}/share/man/man8
${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/security
${INSTALL_SCRIPT} ${FILESDIR}/850.scanlogd \
${STAGEDIR}${PREFIX}/etc/periodic/security
.include <bsd.port.mk>
|