aboutsummaryrefslogtreecommitdiffstats
path: root/security/silktools/Makefile
blob: 1473404bef05cf99de5688cb26ebcb1c075e1d7d (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
44
45
46
# Created by: David Thiel <lx@redundancy.redundancy.org>
# $FreeBSD$

PORTNAME=   silktools
PORTVERSION=    3.10.2
CATEGORIES= security net
MASTER_SITES=   http://tools.netsa.cert.org/releases/ \
        http://redundancy.redundancy.org/mirror/
DISTNAME=   silk-${PORTVERSION}

MAINTAINER= lx@FreeBSD.org
COMMENT=    Tools for large-scale network capture analysis

LICENSE=    GPLR GPLv2
LICENSE_COMB=   multi
LICENSE_NAME_GPLR=  Government Purpose License Rights
LICENSE_FILE_GPLR=  ${WRKSRC}/doc/LICENSE.txt
LICENSE_FILE_GPLv2= ${WRKSRC}/doc/GPL.txt
LICENSE_PERMS_GPLR= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

LIB_DEPENDS=    liblzo2.so:${PORTSDIR}/archivers/lzo2 \
        libfixbuf.so:${PORTSDIR}/net/libfixbuf
BUILD_DEPENDS=  p5-DBI>=0:${PORTSDIR}/databases/p5-DBI
RUN_DEPENDS=    p5-DBI>=0:${PORTSDIR}/databases/p5-DBI

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-lzo=${LOCALBASE} --enable-packing-tools \
                --enable-ipv6
USE_LDCONFIG=   yes
USES=       gmake perl5 pkgconfig libtool
USE_PERL5=  build
INSTALL_TARGET= install-strip

OPTIONS_DEFINE= IPV6RECORDS LOCALTIME PYTHON STATIC
OPTIONS_DEFAULT=    PYTHON STATIC
OPTIONS_SUB=    yes

IPV6RECORDS_CONFIGURE_ENABLE=   ipv6
IPV6RECORDS_DESC=   Support for analysis of flow records containing IPv6 addresses
LOCALTIME_DESC= Use localtime instead of UTC
LOCALTIME_CONFIGURE_ENABLE= localtime
PYTHON_CONFIGURE_WITH=  python
PYTHON_USES=    python
STATIC_CONFIGURE_ENABLE=    static

.include <bsd.port.mk>