Lines 1-37
Link Here
|
1 |
PORTNAME= ipfixcol2 |
1 |
PORTNAME= ipfixcol2 |
2 |
DISTVERSIONPREFIX= v |
2 |
DISTVERSIONPREFIX= v |
3 |
DISTVERSION= 2.6.0 |
3 |
DISTVERSION= 2.6.0 |
4 |
CATEGORIES= net-mgmt |
4 |
CATEGORIES= net-mgmt |
5 |
|
5 |
|
6 |
MAINTAINER= zarychtam@plan-b.pwste.edu.pl |
6 |
MAINTAINER= zarychtam@plan-b.pwste.edu.pl |
7 |
COMMENT= NetFlow v5/v9 and IPFIX flow (RFC 7011) data collector |
7 |
COMMENT= NetFlow v5/v9 and IPFIX flow (RFC 7011) data collector |
8 |
WWW= https://github.com/CESNET/ipfixcol2 |
8 |
WWW= https://github.com/CESNET/ipfixcol2 |
9 |
|
9 |
|
10 |
LICENSE= GPLv2 |
10 |
LICENSE= GPLv2 |
11 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
11 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
12 |
|
12 |
|
13 |
LIB_DEPENDS= librdkafka.so:net/librdkafka \ |
13 |
ONLY_FOR_ARCHS= aarch64 amd64 armv7 |
14 |
libepoll-shim.so:devel/libepoll-shim \ |
14 |
ONLY_FOR_ARCHS_REASON= Require SSE2 and static_assert(sizeof(uint64_t) == sizeof(time_t), "Assumed that time_t is uint64_t, but it's not") |
15 |
libfds.so:net-mgmt/libfds |
|
|
16 |
|
15 |
|
17 |
BUILD_DEPENDS= rst2man:textproc/py-docutils |
16 |
BUILD_DEPENDS= rst2man:textproc/py-docutils@${PY_FLAVOR} |
18 |
USES= cmake localbase:ldflags pkgconfig |
17 |
LIB_DEPENDS= librdkafka.so:net/librdkafka \ |
|
|
18 |
libepoll-shim.so:devel/libepoll-shim \ |
19 |
libfds.so:net-mgmt/libfds |
19 |
|
20 |
|
|
|
21 |
USES= cmake localbase:ldflags pkgconfig |
20 |
USE_GITHUB= yes |
22 |
USE_GITHUB= yes |
21 |
GH_ACCOUNT= CESNET |
23 |
GH_ACCOUNT= CESNET |
22 |
USE_RC_SUBR=${PORTNAME} |
24 |
USE_RC_SUBR= ${PORTNAME} |
23 |
USERS= ${PORTNAME} |
25 |
|
24 |
GROUPS= ${PORTNAME} |
26 |
CXXFLAGS+= -D_GNU_SOURCE |
25 |
PORTEXAMPLES= * |
27 |
LDFLAGS+= -rdynamic |
26 |
|
28 |
|
27 |
LDFLAGS+= -rdynamic |
29 |
SUB_LIST= USER=${USERS:[0]} |
28 |
CXXFLAGS+= -D_GNU_SOURCE |
30 |
USERS= ${PORTNAME} |
|
|
31 |
GROUPS= ${PORTNAME} |
32 |
PORTEXAMPLES= * |
29 |
|
33 |
|
30 |
OPTIONS_DEFINE= EXAMPLES |
34 |
OPTIONS_DEFINE= EXAMPLES |
31 |
|
35 |
|
32 |
post-install: |
36 |
post-install: |
33 |
${MKDIR} ${STAGEDIR}${ETCDIR} ${STAGEDIR}/var/run/${PORTNAME} |
37 |
${MKDIR} ${STAGEDIR}${ETCDIR} ${STAGEDIR}/var/run/${PORTNAME} |
34 |
${INSTALL_DATA} ${WRKSRC}/doc/data/configs/udp2json.xml ${STAGEDIR}${ETCDIR}/startup.xml.sample |
38 |
${INSTALL_DATA} ${WRKSRC}/doc/data/configs/udp2json.xml \ |
|
|
39 |
${STAGEDIR}${ETCDIR}/startup.xml.sample |
35 |
|
40 |
|
36 |
post-install-EXAMPLES-on: |
41 |
post-install-EXAMPLES-on: |
37 |
cd ${WRKSRC}/doc/data && ${COPYTREE_SHARE} "configs" ${STAGEDIR}${EXAMPLESDIR} |
42 |
cd ${WRKSRC}/doc/data && ${COPYTREE_SHARE} "configs" ${STAGEDIR}${EXAMPLESDIR} |