blob: a8b146e0ed45179e3bdb457cb448297bd074c0ea (
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
|
# $NetBSD: Makefile.common,v 1.6 2002/11/09 13:44:43 wiz Exp $
#
DISTNAME?= snort-1.9.0
CATEGORIES?= net security
MASTER_SITES?= http://www.snort.org/releases/ \
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/ \
http://snort.sourcefire.com/releases/
MAINTAINER?= packages@netbsd.org
HOMEPAGE?= http://www.snort.org/
GNU_CONFIGURE= YES
CONFIGURE_ARGS+=--with-libpcap-includes=${BUILDLINK_PREFIX.libpcap}/include
CONFIGURE_ARGS+=--with-libpcap-libraries=${BUILDLINK_PREFIX.libpcap}/lib
post-install:
${INSTALL_DATA_DIR} -m 700 -o ${ROOT_USER} -g ${ROOT_GROUP} /var/log/snort
${INSTALL_DATA_DIR} ${PREFIX}/etc/snort
cd ${WRKSRC}/etc ; \
for i in `ls | grep -v Makefile` ; do \
${INSTALL_DATA} $$i ${PREFIX}/etc/snort ; \
done
:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/snort
cd ${WRKSRC}/doc ; \
for i in `ls | grep -v Makefile` ; do \
${INSTALL_DATA} $$i ${PREFIX}/share/doc/snort ; \
done
:
${INSTALL_DATA_DIR} ${PREFIX}/share/snort/rules
cd ${WRKSRC}/rules ; \
for i in `ls | grep -v Makefile` ; do \
${INSTALL_DATA} $$i ${PREFIX}/share/snort/rules ; \
done
${INSTALL_MAN} ${WRKSRC}/snort.8 ${PREFIX}/man/man8
|