View | Details | Raw Unified | Return to bug 253216 | Differences between
and this patch

Collapse All | Expand All

(-)net-mgmt/netdata/Makefile (-28 / +22 lines)
Lines 3-10 Link Here
3
3
4
PORTNAME=	netdata
4
PORTNAME=	netdata
5
DISTVERSIONPREFIX=	v
5
DISTVERSIONPREFIX=	v
6
DISTVERSION=	1.28.0
6
DISTVERSION=	1.29.0
7
PORTREVISION=	1
8
CATEGORIES=	net-mgmt
7
CATEGORIES=	net-mgmt
9
MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/
8
MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/
10
9
Lines 23-86 Link Here
23
22
24
USES=		autoreconf cpe gmake pathfix pkgconfig:both python shebangfix \
23
USES=		autoreconf cpe gmake pathfix pkgconfig:both python shebangfix \
25
		ssl
24
		ssl
25
USE_RC_SUBR=	${PORTNAME}
26
26
27
SHEBANG_GLOB=	*
27
SHEBANG_GLOB=	*
28
28
29
NETDATA_CACHE=	/var/cache/${PORTNAME}
30
NETDATA_LOG=	/var/log/${PORTNAME}
31
NETDATA_PERST=	/var/db/${PORTNAME}
32
33
GNU_CONFIGURE=	yes
29
GNU_CONFIGURE=	yes
34
CONFIGURE_ARGS=	--disable-unit-tests
30
CONFIGURE_ARGS=	--disable-unit-tests
35
CPPFLAGS+=	-D_WANT_VMMETER
36
INSTALL_TARGET=	install-strip
31
INSTALL_TARGET=	install-strip
32
CPPFLAGS+=	-D_WANT_VMMETER
37
33
34
SUB_FILES=	${PORTNAME}.conf.sample
38
SUB_LIST=	NETDATA_CACHE=${NETDATA_CACHE} \
35
SUB_LIST=	NETDATA_CACHE=${NETDATA_CACHE} \
39
		NETDATA_LOG=${NETDATA_LOG} \
36
		NETDATA_LOG=${NETDATA_LOG} \
40
		NETDATA_PERST=${NETDATA_PERST}
37
		NETDATA_PERST=${NETDATA_PERST}
41
38
39
USERS=		netdata
40
GROUPS=		netdata
41
42
PLIST_SUB=	NETDATA_CACHE=${NETDATA_CACHE} \
42
PLIST_SUB=	NETDATA_CACHE=${NETDATA_CACHE} \
43
		NETDATA_LOG=${NETDATA_LOG} \
43
		NETDATA_LOG=${NETDATA_LOG} \
44
		NETDATA_PERST=${NETDATA_PERST}
44
		NETDATA_PERST=${NETDATA_PERST}
45
45
46
USE_RC_SUBR=	${PORTNAME}
47
SUB_FILES=	${PORTNAME}.conf.sample
48
49
USERS=		netdata
50
GROUPS=		netdata
51
52
OPTIONS_DEFINE=		CLOUD CUPS DBENGINE FREEIPMI GOPLUGIN LTO
46
OPTIONS_DEFINE=		CLOUD CUPS DBENGINE FREEIPMI GOPLUGIN LTO
53
OPTIONS_SUB=		YES
54
OPTIONS_DEFAULT=	DBENGINE
47
OPTIONS_DEFAULT=	DBENGINE
55
OPTIONS_DEFAULT_FreeBSD_12=	LTO
48
OPTIONS_DEFAULT_FreeBSD_12=	LTO
56
OPTIONS_DEFAULT_FreeBSD_13=	LTO
49
OPTIONS_DEFAULT_FreeBSD_13=	LTO
57
OPTIONS_DEFAULT_FreeBSD_14=	LTO
50
OPTIONS_DEFAULT_FreeBSD_14=	LTO
58
OPTIONS_DEFAULT+=	${OPTIONS_DEFAULT_${OPSYS}_${OSREL:R}}
51
OPTIONS_DEFAULT+=	${OPTIONS_DEFAULT_${OPSYS}_${OSREL:R}}
52
OPTIONS_SUB=		YES
59
53
60
CLOUD_DESC=		Enable cloud functionality
54
CLOUD_DESC=		Enable cloud functionality
55
CUPS_DESC=		Enable support for cups
56
DBENGINE_DESC=			Enable support for database engine
57
FREEIPMI_DESC=			Enable support for freeipmi
58
GOPLUGIN_DESC=		Enable the go collector plugin
59
LTO_DESC=		Use Link-Time Optimization
60
61
CLOUD_CONFIGURE_OFF=	--disable-cloud
61
CLOUD_CONFIGURE_OFF=	--disable-cloud
62
CLOUD_EXTRA_PATCHES_OFF=	${FILESDIR}/extra-patch-web_gui_index.html \
62
CLOUD_EXTRA_PATCHES_OFF=	${FILESDIR}/extra-patch-web_gui_index.html \
63
			${FILESDIR}/extra-patch-web_gui_main.js
63
			${FILESDIR}/extra-patch-web_gui_main.js
64
65
CUPS_DESC=		Enable support for cups
66
CUPS_CONFIGURE_ENABLE=	plugin-cups
67
CUPS_LIB_DEPENDS=	libcups.so:print/cups
64
CUPS_LIB_DEPENDS=	libcups.so:print/cups
68
65
CUPS_CONFIGURE_ENABLE=	plugin-cups
69
DBENGINE_DESC=			Enable support for database engine
70
DBENGINE_CONFIGURE_ENABLE=	dbengine
71
DBENGINE_LIB_DEPENDS=		libJudy.so:devel/judy \
66
DBENGINE_LIB_DEPENDS=		libJudy.so:devel/judy \
72
				liblz4.so:archivers/liblz4
67
				liblz4.so:archivers/liblz4
73
68
DBENGINE_CONFIGURE_ENABLE=	dbengine
74
FREEIPMI_DESC=			Enable support for freeipmi
75
FREEIPMI_CONFIGURE_ENABLE=	plugin-freeipmi
76
FREEIPMI_LIB_DEPENDS=		libfreeipmi.so:sysutils/freeipmi
69
FREEIPMI_LIB_DEPENDS=		libfreeipmi.so:sysutils/freeipmi
77
70
FREEIPMI_CONFIGURE_ENABLE=	plugin-freeipmi
78
GOPLUGIN_DESC=		Enable the go collector plugin
79
GOPLUGIN_RUN_DEPENDS=	${LOCALBASE}/libexec/netdata/plugins.d/god.plugin:net-mgmt/netdata-go
71
GOPLUGIN_RUN_DEPENDS=	${LOCALBASE}/libexec/netdata/plugins.d/god.plugin:net-mgmt/netdata-go
80
81
LTO_DESC=		Use Link-Time Optimization
82
LTO_CONFIGURE_ENABLE=	lto
83
LTO_USES=		compiler:c11
72
LTO_USES=		compiler:c11
73
LTO_CONFIGURE_ENABLE=	lto
84
74
85
.include <bsd.port.options.mk>
75
.include <bsd.port.options.mk>
86
.if ${PORT_OPTIONS:MLTO} && ${OPSYS}_${OSREL:R} == FreeBSD_11
76
.if ${PORT_OPTIONS:MLTO} && ${OPSYS}_${OSREL:R} == FreeBSD_11
Lines 90-95 Link Here
90
.if ${PORT_OPTIONS:MLTO} && ${ARCH:Mpowerpc*}
80
.if ${PORT_OPTIONS:MLTO} && ${ARCH:Mpowerpc*}
91
USE_GCC=	yes
81
USE_GCC=	yes
92
.endif
82
.endif
83
84
NETDATA_CACHE=	/var/cache/${PORTNAME}
85
NETDATA_LOG=	/var/log/${PORTNAME}
86
NETDATA_PERST=	/var/db/${PORTNAME}
93
87
94
post-patch:
88
post-patch:
95
	@${REINPLACE_CMD} -e 's|%%NETDATA_CACHE%%|${NETDATA_CACHE}|g' \
89
	@${REINPLACE_CMD} -e 's|%%NETDATA_CACHE%%|${NETDATA_CACHE}|g' \
(-)net-mgmt/netdata/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1608455138
1
TIMESTAMP = 1612367299
2
SHA256 (netdata-v1.28.0.tar.gz) = 44801e240b1883a98d203156397cc8d9232492f3136891e61074e2e7facbf1a8
2
SHA256 (netdata-v1.29.0.tar.gz) = d898995faa3c269e6fbbf5456f237e25323213e6ec8c0a2b28007499b22e9f5d
3
SIZE (netdata-v1.28.0.tar.gz) = 6718808
3
SIZE (netdata-v1.29.0.tar.gz) = 6730607
(-)net-mgmt/netdata/pkg-plist (-14 / +14 lines)
Lines 1-5 Link Here
1
%%ETCDIR%%/.opt-out-from-anonymous-statistics
1
%%ETCDIR%%/.opt-out-from-anonymous-statistics
2
%%ETCDIR%%/edit-config
2
%%ETCDIR%%/edit-config
3
@sample(netdata,netdata,0640) %%ETCDIR%%/netdata.conf.sample
3
@sample(netdata,netdata,0640) lib/netdata/conf.d/apps_groups.conf.sample
4
@sample(netdata,netdata,0640) lib/netdata/conf.d/apps_groups.conf.sample
4
@sample(netdata,netdata,0640) lib/netdata/conf.d/aws_kinesis.conf.sample
5
@sample(netdata,netdata,0640) lib/netdata/conf.d/aws_kinesis.conf.sample
5
@sample(netdata,netdata,0640) lib/netdata/conf.d/charts.d.conf.sample
6
@sample(netdata,netdata,0640) lib/netdata/conf.d/charts.d.conf.sample
Lines 312-319 Link Here
312
libexec/netdata/python.d/varnish.chart.py
313
libexec/netdata/python.d/varnish.chart.py
313
libexec/netdata/python.d/w1sensor.chart.py
314
libexec/netdata/python.d/w1sensor.chart.py
314
libexec/netdata/python.d/web_log.chart.py
315
libexec/netdata/python.d/web_log.chart.py
315
sbin/netdata-claim.sh
316
sbin/netdata
316
sbin/netdata
317
sbin/netdata-claim.sh
317
sbin/netdatacli
318
sbin/netdatacli
318
@mode 4640
319
@mode 4640
319
@owner netdata
320
@owner netdata
Lines 403-413 Link Here
403
%%DATADIR%%/web/lib/pako-1.0.6.min.js
404
%%DATADIR%%/web/lib/pako-1.0.6.min.js
404
%%DATADIR%%/web/lib/perfect-scrollbar-0.6.15.min.js
405
%%DATADIR%%/web/lib/perfect-scrollbar-0.6.15.min.js
405
%%DATADIR%%/web/lib/tableExport-1.6.0.min.js
406
%%DATADIR%%/web/lib/tableExport-1.6.0.min.js
406
%%DATADIR%%/web/old/index.html
407
%%DATADIR%%/web/main.css
407
%%DATADIR%%/web/main.css
408
%%DATADIR%%/web/main.js
408
%%DATADIR%%/web/main.js
409
%%DATADIR%%/web/netdata-swagger.json
409
%%DATADIR%%/web/netdata-swagger.json
410
%%DATADIR%%/web/netdata-swagger.yaml
410
%%DATADIR%%/web/netdata-swagger.yaml
411
%%DATADIR%%/web/old/index.html
411
%%DATADIR%%/web/refresh-badges.js
412
%%DATADIR%%/web/refresh-badges.js
412
%%DATADIR%%/web/robots.txt
413
%%DATADIR%%/web/robots.txt
413
%%DATADIR%%/web/sitemap.xml
414
%%DATADIR%%/web/sitemap.xml
Lines 417-434 Link Here
417
@mode
418
@mode
418
@owner
419
@owner
419
@group
420
@group
420
@sample(netdata,netdata,0640) %%ETCDIR%%/netdata.conf.sample
421
@dir %%ETCDIR%%/charts.d
421
@dir(netdata,netdata,0750) %%ETCDIR%%
422
@dir %%ETCDIR%%/custom-plugins.d
422
@dir(netdata,netdata,0750) %%ETCDIR%%/charts.d
423
@dir %%ETCDIR%%/go.d
423
@dir(netdata,netdata,0750) %%ETCDIR%%/custom-plugins.d
424
@dir %%ETCDIR%%/health.d
424
@dir(netdata,netdata,0750) %%ETCDIR%%/go.d
425
@dir %%ETCDIR%%/node.d
425
@dir(netdata,netdata,0750) %%ETCDIR%%/health.d
426
@dir %%ETCDIR%%/python.d
426
@dir(netdata,netdata,0750) %%ETCDIR%%/node.d
427
@dir %%ETCDIR%%/ssl
427
@dir(netdata,netdata,0750) %%ETCDIR%%/python.d
428
@dir %%ETCDIR%%/statsd.d
428
@dir(netdata,netdata,0750) %%ETCDIR%%/ssl
429
@dir %%ETCDIR%%
429
@dir(netdata,netdata,0750) %%ETCDIR%%/statsd.d
430
@dir %%DATADIR%%/web
430
@dir(netdata,netdata,0750) %%DATADIR%%
431
@dir %%DATADIR%%
431
@dir(netdata,netdata,0750) %%DATADIR%%/web
432
@dir(netdata,netdata,0750) %%NETDATA_CACHE%%
432
@dir(netdata,netdata,0750) %%NETDATA_CACHE%%
433
@dir(netdata,netdata,0750) %%NETDATA_PERST%%
433
@dir(netdata,netdata,0750) %%NETDATA_PERST%%
434
@dir(netdata,netdata,0750) %%NETDATA_LOG%%
434
@dir(netdata,netdata,0750) %%NETDATA_LOG%%

Return to bug 253216