Lines 4-9
Link Here
|
4 |
PORTNAME= nfdump |
4 |
PORTNAME= nfdump |
5 |
PORTVERSION= 1.6.17 |
5 |
PORTVERSION= 1.6.17 |
6 |
DISTVERSIONPREFIX=v |
6 |
DISTVERSIONPREFIX=v |
|
|
7 |
PORTREVISION= 1 |
7 |
CATEGORIES= net-mgmt |
8 |
CATEGORIES= net-mgmt |
8 |
|
9 |
|
9 |
MAINTAINER= pi@FreeBSD.org |
10 |
MAINTAINER= pi@FreeBSD.org |
Lines 13-28
LICENSE= BSD3CLAUSE
Link Here
|
13 |
LICENSE_FILE= ${WRKSRC}/BSD-license.txt |
14 |
LICENSE_FILE= ${WRKSRC}/BSD-license.txt |
14 |
|
15 |
|
15 |
USES= autoreconf libtool pkgconfig |
16 |
USES= autoreconf libtool pkgconfig |
16 |
GNU_CONFIGURE= yes |
|
|
17 |
USE_CSTD= gnu89 |
17 |
USE_CSTD= gnu89 |
18 |
USE_LDCONFIG= yes |
18 |
USE_LDCONFIG= yes |
19 |
MAKE_JOBS_UNSAFE= yes |
|
|
20 |
USE_GITHUB= yes |
19 |
USE_GITHUB= yes |
21 |
GH_ACCOUNT= phaag |
20 |
GH_ACCOUNT= phaag |
22 |
|
21 |
|
|
|
22 |
GNU_CONFIGURE= yes |
23 |
MAKE_JOBS_UNSAFE= yes |
24 |
|
23 |
#flow-tools support |
25 |
#flow-tools support |
24 |
OPTIONS_DEFINE= DOCS FT2NFDUMP NFPROFILE FIXTIMEBUG READPCAP NFTRACK \ |
26 |
OPTIONS_DEFINE= DOCS FT2NFDUMP NFPROFILE FIXTIMEBUG READPCAP NFTRACK \ |
25 |
SFLOW NFDUMP15 NSEL |
27 |
SFLOW NFDUMP15 NSEL INFLUXDB |
26 |
OPTIONS_DEFAULT= NFPROFILE |
28 |
OPTIONS_DEFAULT= NFPROFILE |
27 |
|
29 |
|
28 |
FT2NFDUMP_DESC= With Flow-tools to nfdump converter |
30 |
FT2NFDUMP_DESC= With Flow-tools to nfdump converter |
Lines 33-38
NFTRACK_DESC= With PortTracker support
Link Here
|
33 |
SFLOW_DESC= Build sflow collector daemon also |
35 |
SFLOW_DESC= Build sflow collector daemon also |
34 |
NFDUMP15_DESC= Enable compatibility with version 1.5 |
36 |
NFDUMP15_DESC= Enable compatibility with version 1.5 |
35 |
NSEL_DESC= Read and process ASA/NSEL/NEL event data |
37 |
NSEL_DESC= Read and process ASA/NSEL/NEL event data |
|
|
38 |
INFLUXDB_DESC= Enable stats to InfluxDB |
36 |
|
39 |
|
37 |
post-patch: |
40 |
post-patch: |
38 |
${REINPLACE_CMD} 's|-ggdb||' ${WRKSRC}/bin/Makefile.am |
41 |
${REINPLACE_CMD} 's|-ggdb||' ${WRKSRC}/bin/Makefile.am |
Lines 108-113
PLIST_FILES+= bin/sfcapd man/man1/sfcapd.1.gz
Link Here
|
108 |
CONFIGURE_ARGS+= --disable-sflow |
111 |
CONFIGURE_ARGS+= --disable-sflow |
109 |
.endif |
112 |
.endif |
110 |
|
113 |
|
|
|
114 |
#influxdb support |
115 |
.if ${PORT_OPTIONS:MINFLUXDB} |
116 |
CONFIGURE_ARGS+= --enable-influxdb |
117 |
LIB_DEPENDS+= libcurl.so:ftp/curl |
118 |
.else |
119 |
CONFIGURE_ARGS+= --disable-influxdb |
120 |
.endif |
121 |
|
111 |
do-install: |
122 |
do-install: |
112 |
.for binary in nfanon nfcapd nfdump nfexpire nfreplay |
123 |
.for binary in nfanon nfcapd nfdump nfexpire nfreplay |
113 |
${INSTALL_PROGRAM} ${WRKSRC}/bin/.libs/${binary} ${STAGEDIR}${PREFIX}/bin |
124 |
${INSTALL_PROGRAM} ${WRKSRC}/bin/.libs/${binary} ${STAGEDIR}${PREFIX}/bin |