blob: ccfbe9e24695e819d27da029b481f642423c06a9 (
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
|
# $NetBSD: Makefile,v 1.8 2001/02/26 20:43:27 wiz Exp $
#
DISTNAME= snort-1.7
CATEGORIES= net security
MASTER_SITES= http://www.snort.org/Files/ \
ftp://the.wiretapped.net/pub/security/network-intrusion-detection/snort/ \
http://www.centus.com/snort/ \
http://snort.whitehats.com/ \
http://snort.safenetworks.com/ \
ftp://gd.tuwien.ac.at/infosys/security/snort/
MAINTAINER= rh@netbsd.org
HOMEPAGE= http://www.snort.org/
COMMENT= Libpcap-based packet sniffer/logger
GNU_CONFIGURE= YES
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
DEPENDS+= libpcap-0.4:../../net/libpcap
ROOTGROUP= root
.endif
ROOTGROUP?= wheel
post-install:
${INSTALL_DATA_DIR} -m 700 -o root -g ${ROOTGROUP} /var/log/snort
${INSTALL_DATA_DIR} ${PREFIX}/share/snort
.for f in backdoor-lib ddos-lib finger-lib ftp-lib misc-lib netbios-lib \
overflow-lib ping-lib rpc-lib scan-lib smtp-lib telnet-lib \
web-lib webcf-lib webcgi-lib webfp-lib webiis-lib webmisc-lib
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/snort
.endfor
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/snort
.for f in BUGS CREDITS README README.FLEXRESP README.PLUGINS \
README.Spade README.Spade.Usage README.database README.tcpstream \
README.xml NEWS RULES.SAMPLE USAGE
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/snort
.endfor
${INSTALL_MAN} ${WRKSRC}/snort.8 ${PREFIX}/man/man8
.include "../../mk/bsd.pkg.mk"
|