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

Collapse All | Expand All

(-)b/net-mgmt/netdata/Makefile (-52 / +68 lines)
Lines 1-7 Link Here
1
PORTNAME=	netdata
1
PORTNAME=	netdata
2
DISTVERSIONPREFIX=	v
2
DISTVERSIONPREFIX=	v
3
DISTVERSION=	1.43.2
3
DISTVERSION=	1.45.5
4
PORTREVISION=	1
5
CATEGORIES=	net-mgmt
4
CATEGORIES=	net-mgmt
6
MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/
5
MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/
7
6
Lines 12-59 WWW= https://github.com/netdata/netdata Link Here
12
LICENSE=	GPLv3
11
LICENSE=	GPLv3
13
LICENSE_FILE=	${WRKSRC}/LICENSE
12
LICENSE_FILE=	${WRKSRC}/LICENSE
14
13
15
LIB_DEPENDS=	libjson-c.so:devel/json-c \
14
BUILD_DEPENDS=	${LOCALBASE}/bin/mmv:misc/mmv
16
		libyaml.so:textproc/libyaml \
15
LIB_DEPENDS=	libbrotlicommon.so:archivers/brotli \
16
		libjson-c.so:devel/json-c \
17
		libpcre2-8.so:devel/pcre2 \
17
		libuuid.so:misc/e2fsprogs-libuuid \
18
		libuuid.so:misc/e2fsprogs-libuuid \
18
		libuv.so:devel/libuv
19
		libuv.so:devel/libuv \
20
		libyaml.so:textproc/libyaml \
21
		libzstd.so:archivers/zstd
19
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}urllib3>0:net/py-urllib3@${PY_FLAVOR} \
22
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}urllib3>0:net/py-urllib3@${PY_FLAVOR} \
20
		${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} \
23
		${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} \
21
		bash:shells/bash \
24
		bash:shells/bash \
22
		curl:ftp/curl
25
		curl:ftp/curl
23
26
24
USES=		autoreconf compiler:c++17-lang cpe gmake localbase:ldflags pathfix \
27
USES=		cmake cpe localbase:ldflags pathfix \
25
		pkgconfig:both python shebangfix ssl
28
		pkgconfig:both python shebangfix ssl
26
USE_RC_SUBR=	${PORTNAME}
27
SHEBANG_GLOB=	*
29
SHEBANG_GLOB=	*
28
BINARY_ALIAS=	ar=llvm-ar ranlib=llvm-ranlib
29
30
30
# Libs that you can't unbundle...
31
# Libs that you can't unbundle...
31
# SQLite3, --exclude database/sqlite/sqlite3*
32
# SQLite3, --exclude database/sqlite/sqlite3*
32
# (lib)judy, --exclude libnetdata/libjudy
33
# (lib)judy, --exclude libnetdata/libjudy
33
EXTRACT_AFTER_ARGS=	--exclude ml/dlib --exclude web/server/h2o
34
EXTRACT_AFTER_ARGS=	--exclude ml/dlib \
35
	--exclude collectors/python.d.plugin/python_modules/pyyaml2 \
36
	--exclude collectors/python.d.plugin/python_modules/pyyaml3 \
37
	--exclude collectors/python.d.plugin/python_modules/urllib3
34
38
35
GNU_CONFIGURE=	yes
39
CFLAGS+=	-D_WANT_VMMETER
36
CONFIGURE_ARGS=	--disable-h2o --disable-unit-tests --with-user=netdata
37
40
38
INSTALL_TARGET=	install-strip
41
USE_RC_SUBR=	${PORTNAME}
39
CPPFLAGS+=	-D_WANT_VMMETER
42
USERS=		netdata
40
USE_CXXSTD=	c++17
43
GROUPS=		netdata
44
45
NETDATA_CACHE=	/var/cache/${PORTNAME}
46
NETDATA_LOG=	/var/log/${PORTNAME}
47
NETDATA_PERST=	/var/db/${PORTNAME}
41
48
42
SUB_FILES=	${PORTNAME}.conf.sample
49
SUB_FILES=	${PORTNAME}.conf.sample
43
SUB_LIST=	NETDATA_CACHE=${NETDATA_CACHE} \
50
SUB_LIST=	NETDATA_CACHE=${NETDATA_CACHE} \
44
		NETDATA_LOG=${NETDATA_LOG} \
51
		NETDATA_LOG=${NETDATA_LOG} \
45
		NETDATA_PERST=${NETDATA_PERST}
52
		NETDATA_PERST=${NETDATA_PERST}
46
53
47
USERS=		netdata
48
GROUPS=		netdata
49
50
PLIST_SUB=	NETDATA_CACHE=${NETDATA_CACHE} \
54
PLIST_SUB=	NETDATA_CACHE=${NETDATA_CACHE} \
51
		NETDATA_LOG=${NETDATA_LOG} \
55
		NETDATA_LOG=${NETDATA_LOG} \
52
		NETDATA_PERST=${NETDATA_PERST}
56
		NETDATA_PERST=${NETDATA_PERST}
53
57
54
OPTIONS_DEFINE=		CLOUD CUPS DBENGINE FREEIPMI GOPLUGIN LTO ML
58
# DebugFS and below are Linux exclusive
55
OPTIONS_DEFAULT=	CLOUD DBENGINE LTO ML
59
CMAKE_OFF=	ENABLE_PLUGIN_EBPF \
56
OPTIONS_EXCLUDE_riscv64=	LTO
60
		ENABLE_PLUGIN_NFACCT \
61
		ENABLE_PLUGIN_XENSTAT \
62
		ENABLE_PLUGIN_DEBUGFS \
63
		ENABLE_PLUGIN_PERF \
64
		ENABLE_PLUGIN_SLABINFO \
65
		ENABLE_PLUGIN_SYSTEMD_JOURNAL \
66
		ENABLE_PLUGIN_CGROUP_NETWORK \
67
		ENABLE_PLUGIN_LOCAL_LISTENERS \
68
		ENABLE_PLUGIN_NETWORK_VIEWER
69
CMAKE_ON=	DISABLE_HARDENING
70
71
OPTIONS_DEFINE=		CLOUD CUPS DBENGINE FREEIPMI GOPLUGIN ML PROMETHEUS
72
OPTIONS_DEFAULT=	CLOUD DBENGINE ML
57
OPTIONS_SUB=		YES
73
OPTIONS_SUB=		YES
58
74
59
CLOUD_DESC=		Enable cloud functionality
75
CLOUD_DESC=		Enable cloud functionality
Lines 61-99 CUPS_DESC= Enable support for cups Link Here
61
DBENGINE_DESC=		Enable support for database engine
77
DBENGINE_DESC=		Enable support for database engine
62
FREEIPMI_DESC=		Enable support for freeipmi
78
FREEIPMI_DESC=		Enable support for freeipmi
63
GOPLUGIN_DESC=		Enable the go collector plugin
79
GOPLUGIN_DESC=		Enable the go collector plugin
64
ML_DESC=			Enable anomaly detection via dlib
80
ML_DESC=		Enable anomaly detection via dlib
65
81
PROMETHEUS_DESC=	Enable prometheus remote write exporter
66
CLOUD_LIB_DEPENDS=		libprotobuf.so:devel/protobuf
82
67
CLOUD_CONFIGURE_OFF=		--disable-cloud
83
CLOUD_USES=		compiler:c++17-lang
68
CUPS_LIB_DEPENDS=		libcups.so:print/cups
84
CLOUD_LIB_DEPENDS=	libabsl_base.so:devel/abseil \
69
CUPS_CONFIGURE_ENABLE=		plugin-cups
85
			libprotobuf.so:devel/protobuf
70
DBENGINE_LIB_DEPENDS=		liblz4.so:archivers/liblz4
86
CLOUD_CMAKE_BOOL=	ENABLE_CLOUD ENABLE_ACLK
71
DBENGINE_CONFIGURE_ENABLE=	dbengine
87
CUPS_LIB_DEPENDS=	libcups.so:print/cups
72
FREEIPMI_LIB_DEPENDS=		libfreeipmi.so:sysutils/freeipmi
88
CUPS_CMAKE_BOOL=	ENABLE_PLUGIN_CUPS
73
FREEIPMI_CONFIGURE_ENABLE=	plugin-freeipmi
89
DBENGINE_LIB_DEPENDS=	liblz4.so:archivers/liblz4
74
GOPLUGIN_RUN_DEPENDS=		${LOCALBASE}/libexec/netdata/plugins.d/god.plugin:net-mgmt/netdata-go
90
DBENGINE_CMAKE_BOOL=	ENABLE_PLUGIN_DBENGINE
75
LTO_USES=			compiler:c11
91
FREEIPMI_LIB_DEPENDS=	libfreeipmi.so:sysutils/freeipmi
76
LTO_CONFIGURE_ENABLE=		lto
92
FREEIPMI_CMAKE_BOOL=	ENABLE_PLUGIN_FREEIPMI
77
ML_BUILD_DEPENDS=		${LOCALBASE}/include/dlib/matrix.h:science/dlib-cpp
93
GOPLUGIN_CMAKE_BOOL=	ENABLE_PLUGIN_GO
78
ML_CONFIGURE_ENABLE=		ml
94
GOPLUGIN_BUILD_DEPENDS=	go>1.21:lang/go
79
95
ML_BUILD_DEPENDS=	${LOCALBASE}/include/dlib/matrix.h:science/dlib-cpp
80
NETDATA_CACHE=	/var/cache/${PORTNAME}
96
ML_CMAKE_BOOL=		ENABLE_ML
81
NETDATA_LOG=	/var/log/${PORTNAME}
97
PROMETHEUS_LIB_DEPENDS=	libsnappy.so:archivers/snappy \
82
NETDATA_PERST=	/var/db/${PORTNAME}
98
			libabsl_base.so:devel/abseil \
99
			libprotobuf.so:devel/protobuf
100
PROMETHEUS_CMAKE_BOOL=	ENABLE_EXPORTER_PROMETHEUS_REMOTE_WRITE
83
101
84
post-patch:
102
post-patch:
85
	@${REINPLACE_CMD} -e 's|%%DISTVERSION%%|${DISTVERSION}|g' \
103
	@${REINPLACE_CMD} -e 's|%%DISTVERSION%%|${DISTVERSION}|g' \
86
	    ${PATCH_WRKSRC}/configure.ac
104
	    ${PATCH_WRKSRC}/CMakeLists.txt
87
	@${REINPLACE_CMD} -e 's|%%NETDATA_CACHE%%|${NETDATA_CACHE}|g' \
105
	@${REINPLACE_CMD} -e 's|%%NETDATA_CACHE%%|${NETDATA_CACHE}|g' \
88
	    ${PATCH_WRKSRC}/configure.ac
106
	    ${PATCH_WRKSRC}/CMakeLists.txt
89
	@${REINPLACE_CMD} -e 's|%%NETDATA_LOG%%|${NETDATA_LOG}|g' \
107
	@${REINPLACE_CMD} -e 's|%%NETDATA_LOG%%|${NETDATA_LOG}|g' \
90
	    ${PATCH_WRKSRC}/configure.ac
108
	    ${PATCH_WRKSRC}/CMakeLists.txt
91
	@${REINPLACE_CMD} -e 's|%%NETDATA_PERST%%|${NETDATA_PERST}|g' \
109
	@${REINPLACE_CMD} -e 's|%%NETDATA_PERST%%|${NETDATA_PERST}|g' \
92
	    ${PATCH_WRKSRC}/configure.ac
110
	    ${PATCH_WRKSRC}/CMakeLists.txt
93
	@${REINPLACE_CMD} -e 's|%%ETCDIR%%|${ETCDIR}|g' \
111
	@${REINPLACE_CMD} -e 's|%%ETCDIR%%|${ETCDIR}|g' \
94
	    ${PATCH_WRKSRC}/configure.ac
112
	    ${PATCH_WRKSRC}/CMakeLists.txt
95
	@${REINPLACE_CMD} -e 's|%%PYTHON%%|${PYTHON_CMD}|g' \
113
	@${REINPLACE_CMD} -e 's|%%PYTHON_VERSION%%|${PYTHON_VERSION}|g' \
96
	    ${PATCH_WRKSRC}/collectors/python.d.plugin/python.d.plugin.in
114
	    ${PATCH_WRKSRC}/src/collectors/python.d.plugin/python.d.plugin.in
97
115
98
post-install:
116
post-install:
99
	${MKDIR} ${STAGEDIR}${ETCDIR}
117
	${MKDIR} ${STAGEDIR}${ETCDIR}
Lines 102-116 post-install: Link Here
102
	${MKDIR} ${STAGEDIR}${NETDATA_CACHE}
120
	${MKDIR} ${STAGEDIR}${NETDATA_CACHE}
103
	${MKDIR} ${STAGEDIR}${NETDATA_LOG}
121
	${MKDIR} ${STAGEDIR}${NETDATA_LOG}
104
	${MKDIR} ${STAGEDIR}${NETDATA_PERST}
122
	${MKDIR} ${STAGEDIR}${NETDATA_PERST}
105
	(for fi in 	${STAGEDIR}${LOCALBASE}/lib/${PORTNAME}/conf.d/*.conf \
123
	@cd ${STAGEDIR}${LOCALBASE}/lib/${PORTNAME} && mmv ";*.conf" "#1#2.conf.sample"
106
			${STAGEDIR}${LOCALBASE}/lib/${PORTNAME}/conf.d/*/*.conf \
107
			${STAGEDIR}${LOCALBASE}/lib/${PORTNAME}/conf.d/*/*.txt ; do \
108
		${MV} $$fi $$fi".sample"; \
109
	done)
110
	${RM} ${STAGEDIR}${ETCDIR}/netdata-updater.conf
124
	${RM} ${STAGEDIR}${ETCDIR}/netdata-updater.conf
125
	${RM} ${STAGEDIR}${PREFIX}/sbin/systemd-cat-native
111
	${RM} -r ${STAGEDIR}${PREFIX}/lib/netdata/system
126
	${RM} -r ${STAGEDIR}${PREFIX}/lib/netdata/system
112
127
113
post-install-CLOUD-off:
128
post-install-CLOUD-off:
114
	rm ${STAGEDIR}${PREFIX}/sbin/netdata-claim.sh
129
	${RM} ${STAGEDIR}${PREFIX}/sbin/netdata-claim.sh
130
	${RM} -d ${STAGEDIR}${NETDATA_PERST}/cloud.d
115
131
116
.include <bsd.port.mk>
132
.include <bsd.port.mk>
(-)b/net-mgmt/netdata/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1698687088
1
TIMESTAMP = 1716603008
2
SHA256 (netdata-v1.43.2.tar.gz) = d4a7ea2717ac7c8f04865f18e13aeaa0a36784156059f1b5ced75a44f74afc4d
2
SHA256 (netdata-v1.45.5.tar.gz) = 8b2f24df06f4e90aa448d25348e0301a5c710f86e3e830f2ec6e8d74d766b0b1
3
SIZE (netdata-v1.43.2.tar.gz) = 46462665
3
SIZE (netdata-v1.45.5.tar.gz) = 74884666
(-)b/net-mgmt/netdata/files/netdata.conf.sample.in (+1 lines)
Lines 10-15 Link Here
10
10
11
[plugins]
11
[plugins]
12
	freebsd = yes
12
	freebsd = yes
13
	statsd = no
13
14
14
[web]
15
[web]
15
	respect do not track policy = yes
16
	respect do not track policy = yes
(-)b/net-mgmt/netdata/files/patch-CMakeLists.txt (+744 lines)
Added Link Here
1
--- CMakeLists.txt.orig	2024-05-24 20:16:31.748984000 -0600
2
+++ CMakeLists.txt	2024-05-24 20:20:00.721322000 -0600
3
@@ -6,48 +6,48 @@
4
 # version atrocities
5
 #
6
 
7
-find_package(Git)
8
+#find_package(Git)
9
 
10
-if(GIT_EXECUTABLE)
11
-        execute_process(COMMAND ${GIT_EXECUTABLE} describe
12
-                        WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
13
-                        RESULT_VARIABLE GIT_DESCRIBE_RESULT
14
-                        OUTPUT_VARIABLE GIT_DESCRIBE_OUTPUT)
15
-        if(GIT_DESCRIBE_RESULT)
16
-                file(STRINGS packaging/version GIT_DESCRIBE_OUTPUT)
17
-                message(WARNING "using version from packaging/version: '${GIT_DESCRIBE_OUTPUT}'")
18
-        endif()
19
-else()
20
-        file(STRINGS packaging/version GIT_DESCRIBE_OUTPUT)
21
-        message(WARNING "using version from packaging/version: '${GIT_DESCRIBE_OUTPUT}'")
22
-endif()
23
+#if(GIT_EXECUTABLE)
24
+#        execute_process(COMMAND ${GIT_EXECUTABLE} describe
25
+#                        WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
26
+#                        RESULT_VARIABLE GIT_DESCRIBE_RESULT
27
+#                        OUTPUT_VARIABLE GIT_DESCRIBE_OUTPUT)
28
+#        if(GIT_DESCRIBE_RESULT)
29
+#                file(STRINGS packaging/version GIT_DESCRIBE_OUTPUT)
30
+#                message(WARNING "using version from packaging/version: '${GIT_DESCRIBE_OUTPUT}'")
31
+#        endif()
32
+#else()
33
+#        file(STRINGS packaging/version GIT_DESCRIBE_OUTPUT)
34
+#        message(WARNING "using version from packaging/version: '${GIT_DESCRIBE_OUTPUT}'")
35
+#endif()
36
 
37
-string(STRIP ${GIT_DESCRIBE_OUTPUT} GIT_DESCRIBE_OUTPUT)
38
-string(REGEX MATCH "v?([0-9]+)\\.([0-9]+)\\.([0-9]+)-?([0-9]+)?-?([0-9a-zA-Z]+)?" MATCHES "${GIT_DESCRIBE_OUTPUT}")
39
+#string(STRIP ${GIT_DESCRIBE_OUTPUT} GIT_DESCRIBE_OUTPUT)
40
+#string(REGEX MATCH "v?([0-9]+)\\.([0-9]+)\\.([0-9]+)-?([0-9]+)?-?([0-9a-zA-Z]+)?" MATCHES "${GIT_DESCRIBE_OUTPUT}")
41
 
42
-if(CMAKE_MATCH_COUNT EQUAL 3)
43
-        set(FIELD_MAJOR ${CMAKE_MATCH_1})
44
-        set(FIELD_MINOR ${CMAKE_MATCH_2})
45
-        set(FIELD_PATCH ${CMAKE_MATCH_3})
46
-        set(FIELD_TWEAK 0)
47
-        set(FIELD_DESCR "N/A")
48
-elseif(CMAKE_MATCH_COUNT EQUAL 4)
49
-        set(FIELD_MAJOR ${CMAKE_MATCH_1})
50
-        set(FIELD_MINOR ${CMAKE_MATCH_2})
51
-        set(FIELD_PATCH ${CMAKE_MATCH_3})
52
-        set(FIELD_TWEAK ${CMAKE_MATCH_4})
53
-        set(FIELD_DESCR "N/A")
54
-elseif(CMAKE_MATCH_COUNT EQUAL 5)
55
-        set(FIELD_MAJOR ${CMAKE_MATCH_1})
56
-        set(FIELD_MINOR ${CMAKE_MATCH_2})
57
-        set(FIELD_PATCH ${CMAKE_MATCH_3})
58
-        set(FIELD_TWEAK ${CMAKE_MATCH_4})
59
-        set(FIELD_DESCR ${CMAKE_MATCH_5})
60
-else()
61
-        message(FATAL_ERROR "Wrong version regex match count ${CMAKE_MATCH_COUNT} (should be in 3, 4 or 5)")
62
-endif()
63
+#if(CMAKE_MATCH_COUNT EQUAL 3)
64
+#        set(FIELD_MAJOR ${CMAKE_MATCH_1})
65
+#        set(FIELD_MINOR ${CMAKE_MATCH_2})
66
+#        set(FIELD_PATCH ${CMAKE_MATCH_3})
67
+#        set(FIELD_TWEAK 0)
68
+#        set(FIELD_DESCR "N/A")
69
+#elseif(CMAKE_MATCH_COUNT EQUAL 4)
70
+#        set(FIELD_MAJOR ${CMAKE_MATCH_1})
71
+#        set(FIELD_MINOR ${CMAKE_MATCH_2})
72
+#        set(FIELD_PATCH ${CMAKE_MATCH_3})
73
+#        set(FIELD_TWEAK ${CMAKE_MATCH_4})
74
+#       set(FIELD_DESCR "N/A")
75
+#elseif(CMAKE_MATCH_COUNT EQUAL 5)
76
+#        set(FIELD_MAJOR ${CMAKE_MATCH_1})
77
+#        set(FIELD_MINOR ${CMAKE_MATCH_2})
78
+#        set(FIELD_PATCH ${CMAKE_MATCH_3})
79
+#        set(FIELD_TWEAK ${CMAKE_MATCH_4})
80
+#        set(FIELD_DESCR ${CMAKE_MATCH_5})
81
+#else()
82
+#        message(FATAL_ERROR "Wrong version regex match count ${CMAKE_MATCH_COUNT} (should be in 3, 4 or 5)")
83
+#endif()
84
 
85
-set(NETDATA_VERSION ${FIELD_MAJOR}.${FIELD_MINOR}.${FIELD_PATCH}.${FIELD_TWEAK})
86
+set(NETDATA_VERSION %%DISTVERSION%%)
87
 
88
 #
89
 # project
90
@@ -63,7 +63,7 @@
91
 find_package(PkgConfig REQUIRED)
92
 
93
 set(CMAKE_C_STANDARD 11)
94
-set(CMAKE_CXX_STANDARD 14)
95
+set(CMAKE_CXX_STANDARD 17)
96
 
97
 option(USE_CXX_11 "use C++11 instead of C++14" False)
98
 
99
@@ -928,7 +928,6 @@
100
                 src/ml/ad_charts.h
101
                 src/ml/ad_charts.cc
102
                 src/ml/Config.cc
103
-                src/ml/dlib/dlib/all/source.cpp
104
                 src/ml/ml.h
105
                 src/ml/ml.cc
106
                 src/ml/ml-private.h
107
@@ -1681,7 +1680,7 @@
108
 
109
     install(TARGETS debugfs.plugin
110
             COMPONENT debugfs_plugin
111
-            DESTINATION usr/libexec/netdata/plugins.d)
112
+            DESTINATION libexec/netdata/plugins.d)
113
 endif()
114
 
115
 if(ENABLE_PLUGIN_APPS)
116
@@ -1712,10 +1711,10 @@
117
 
118
     install(TARGETS apps.plugin
119
             COMPONENT apps_plugin
120
-            DESTINATION usr/libexec/netdata/plugins.d)
121
+            DESTINATION libexec/netdata/plugins.d)
122
     install(FILES src/collectors/apps.plugin/apps_groups.conf
123
             COMPONENT apps_plugin
124
-            DESTINATION usr/lib/netdata/conf.d)
125
+            DESTINATION lib/netdata/conf.d)
126
 endif()
127
 
128
 if(CAP_FOUND)
129
@@ -1734,7 +1733,7 @@
130
 
131
     install(TARGETS freeipmi.plugin
132
             COMPONENT freeipmi_plugin
133
-            DESTINATION usr/libexec/netdata/plugins.d)
134
+            DESTINATION libexec/netdata/plugins.d)
135
 endif()
136
 
137
 if(ENABLE_PLUGIN_NFACCT)
138
@@ -1753,7 +1752,7 @@
139
 
140
     install(TARGETS nfacct.plugin
141
             COMPONENT nfacct_plugin
142
-            DESTINATION usr/libexec/netdata/plugins.d)
143
+            DESTINATION libexec/netdata/plugins.d)
144
 endif()
145
 
146
 if(ENABLE_PLUGIN_XENSTAT)
147
@@ -1769,7 +1768,7 @@
148
 
149
     install(TARGETS xenstat.plugin
150
             COMPONENT xenstat_plugin
151
-            DESTINATION usr/libexec/netdata/plugins.d)
152
+            DESTINATION libexec/netdata/plugins.d)
153
 endif()
154
 
155
 if(ENABLE_PLUGIN_PERF)
156
@@ -1780,7 +1779,7 @@
157
 
158
     install(TARGETS perf.plugin
159
             COMPONENT perf_plugin
160
-            DESTINATION usr/libexec/netdata/plugins.d)
161
+            DESTINATION libexec/netdata/plugins.d)
162
 endif()
163
 
164
 if(ENABLE_PLUGIN_SLABINFO)
165
@@ -1791,7 +1790,7 @@
166
 
167
     install(TARGETS slabinfo.plugin
168
             COMPONENT slabinfo_plugin
169
-            DESTINATION usr/libexec/netdata/plugins.d)
170
+            DESTINATION libexec/netdata/plugins.d)
171
 endif()
172
 
173
 if(ENABLE_PLUGIN_LOGS_MANAGEMENT)
174
@@ -1808,11 +1807,11 @@
175
 
176
     install(TARGETS logs-management.plugin
177
             COMPONENT logs_management_plugin
178
-            DESTINATION usr/libexec/netdata/plugins.d)
179
+            DESTINATION libexec/netdata/plugins.d)
180
 
181
     install(DIRECTORY src/logsmanagement/stock_conf/logsmanagement.d
182
             COMPONENT logs_management_plugin
183
-            DESTINATION usr/lib/netdata/conf.d)
184
+            DESTINATION lib/netdata/conf.d)
185
 
186
     install(DIRECTORY DESTINATION etc/netdata/logsmanagement.d)
187
 endif()
188
@@ -1846,7 +1845,7 @@
189
 
190
         install(TARGETS cups.plugin
191
                 COMPONENT cups_plugin
192
-                DESTINATION usr/libexec/netdata/plugins.d)
193
+                DESTINATION libexec/netdata/plugins.d)
194
     endif()
195
 endif()
196
 
197
@@ -1856,7 +1855,7 @@
198
 
199
 install(TARGETS ndsudo
200
         COMPONENT ndsudo
201
-        DESTINATION usr/libexec/netdata/plugins.d)
202
+        DESTINATION libexec/netdata/plugins.d)
203
 
204
 if(ENABLE_PLUGIN_CGROUP_NETWORK)
205
     set(CGROUP_NETWORK_FILES src/collectors/cgroups.plugin/cgroup-network.c)
206
@@ -1866,7 +1865,7 @@
207
 
208
     install(TARGETS cgroup-network
209
             COMPONENT cgroup_network_plugin
210
-            DESTINATION usr/libexec/netdata/plugins.d)
211
+            DESTINATION libexec/netdata/plugins.d)
212
 endif()
213
 
214
 if(ENABLE_PLUGIN_SYSTEMD_JOURNAL)
215
@@ -1875,7 +1874,7 @@
216
 
217
         install(TARGETS systemd-journal.plugin
218
                 COMPONENT systemd_journal_plugin
219
-                DESTINATION usr/libexec/netdata/plugins.d)
220
+                DESTINATION libexec/netdata/plugins.d)
221
 endif()
222
 
223
 if(ENABLE_PLUGIN_EBPF)
224
@@ -1929,7 +1928,7 @@
225
 
226
     install(TARGETS ebpf.plugin
227
             COMPONENT ebpf_plugin
228
-            DESTINATION usr/libexec/netdata/plugins.d)
229
+            DESTINATION libexec/netdata/plugins.d)
230
 endif()
231
 
232
 if(ENABLE_PLUGIN_LOCAL_LISTENERS)
233
@@ -1949,7 +1948,7 @@
234
 
235
         install(TARGETS local-listeners
236
                 COMPONENT local_listeners
237
-                DESTINATION usr/libexec/netdata/plugins.d)
238
+                DESTINATION libexec/netdata/plugins.d)
239
 endif()
240
 
241
 if(ENABLE_PLUGIN_NETWORK_VIEWER)
242
@@ -1971,7 +1970,7 @@
243
 
244
         install(TARGETS network-viewer.plugin
245
                 COMPONENT network_viewer_plugin
246
-                DESTINATION usr/libexec/netdata/plugins.d)
247
+                DESTINATION libexec/netdata/plugins.d)
248
 endif()
249
 
250
 #
251
@@ -2025,10 +2024,6 @@
252
         "$<$<BOOL:${ENABLE_EXPORTER_PROMETHEUS_REMOTE_WRITE}>:${PROMETHEUS_REMOTE_WRITE_EXPORTING_FILES}>"
253
 )
254
 
255
-target_compile_definitions(netdata PRIVATE
256
-        "$<$<BOOL:${ENABLE_ML}>:DLIB_NO_GUI_SUPPORT>"
257
-)
258
-
259
 target_compile_options(netdata PRIVATE
260
         "$<$<BOOL:${ENABLE_EXPORTER_MONGODB}>:${MONGOC_CFLAGS_OTHER}>"
261
         "$<$<BOOL:${ENABLE_EXPORTER_PROMETHEUS_REMOTE_WRITE}>:${SNAPPY_CFLAGS_OTHER}>"
262
@@ -2068,7 +2063,7 @@
263
 
264
 install(TARGETS systemd-cat-native
265
         COMPONENT systemd-cat-native
266
-        DESTINATION usr/sbin)
267
+        DESTINATION sbin)
268
 
269
 #
270
 # build log2journal
271
@@ -2103,11 +2098,11 @@
272
 
273
         install(TARGETS log2journal
274
                 COMPONENT log2journal
275
-                DESTINATION usr/sbin)
276
+                DESTINATION sbin)
277
 
278
         install(DIRECTORY src/collectors/log2journal/log2journal.d
279
                 COMPONENT log2journal
280
-                DESTINATION usr/lib/netdata/conf.d)
281
+                DESTINATION lib/netdata/conf.d)
282
 endif()
283
 
284
 #
285
@@ -2126,7 +2121,7 @@
286
 
287
 install(TARGETS netdatacli
288
         COMPONENT netdatacli
289
-        DESTINATION usr/sbin)
290
+        DESTINATION sbin)
291
 
292
 #
293
 # Build go.d.plugin
294
@@ -2137,7 +2132,7 @@
295
 
296
     install(PROGRAMS ${CMAKE_BINARY_DIR}/go.d.plugin
297
             COMPONENT go.d.plugin
298
-            DESTINATION usr/libexec/netdata/plugins.d)
299
+            DESTINATION libexec/netdata/plugins.d)
300
 endif()
301
 
302
 #
303
@@ -2148,16 +2143,16 @@
304
   string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
305
 endif()
306
 
307
-set(CACHE_DIR "${CMAKE_INSTALL_PREFIX}/var/cache/netdata")
308
-set(CONFIG_DIR "${CMAKE_INSTALL_PREFIX}/etc/netdata")
309
-set(LIBCONFIG_DIR "${CMAKE_INSTALL_PREFIX}/usr/lib/netdata/conf.d")
310
-set(LOG_DIR "${CMAKE_INSTALL_PREFIX}/var/log/netdata")
311
-set(PLUGINS_DIR "${CMAKE_INSTALL_PREFIX}/usr/libexec/netdata/plugins.d")
312
-set(VARLIB_DIR "${CMAKE_INSTALL_PREFIX}/var/lib/netdata")
313
+set(CACHE_DIR "%%NETDATA_CACHE%%")
314
+set(CONFIG_DIR "%%ETCDIR%%")
315
+set(LIBCONFIG_DIR "${CMAKE_INSTALL_PREFIX}/lib/netdata/conf.d")
316
+set(LOG_DIR "%%NETDATA_LOG%%")
317
+set(PLUGINS_DIR "${CMAKE_INSTALL_PREFIX}/libexec/netdata/plugins.d")
318
+set(VARLIB_DIR "%%NETDATA_PERST%%")
319
 
320
 # A non-default value is only used when building Debian packages (/var/lib/netdata/www)
321
 if(NOT DEFINED WEB_DIR)
322
-  set(WEB_DIR "usr/share/netdata/web")
323
+  set(WEB_DIR "share/netdata/web")
324
 else()
325
   string(REGEX REPLACE "^/" "" WEB_DIR "${WEB_DIR}")
326
 endif()
327
@@ -2169,7 +2164,7 @@
328
 if (NOT NETDATA_USER)
329
         set(NETDATA_USER "netdata")
330
 endif()
331
-set(VERSION "${GIT_DESCRIBE_OUTPUT}")
332
+set(VERSION "%%DISTVERSION%%")
333
 
334
 configure_file(packaging/cmake/config.cmake.h.in config.h)
335
 
336
@@ -2177,13 +2172,12 @@
337
 # install
338
 #
339
 
340
-install(TARGETS netdata DESTINATION usr/sbin)
341
+install(TARGETS netdata DESTINATION sbin)
342
 
343
-install(DIRECTORY DESTINATION var/cache/netdata)
344
-install(DIRECTORY DESTINATION var/log/netdata)
345
-install(DIRECTORY DESTINATION var/lib/netdata/registry)
346
-install(DIRECTORY DESTINATION var/lib/netdata/cloud.d)
347
-install(DIRECTORY DESTINATION var/run)
348
+install(DIRECTORY DESTINATION %%NETDATA_CACHE%%)
349
+install(DIRECTORY DESTINATION %%NETDATA_LOG%%)
350
+install(DIRECTORY DESTINATION %%NETDATA_PERST%%/registery)
351
+install(DIRECTORY DESTINATION %%NETDATA_PERST%%/cloud.d)
352
 install(DIRECTORY DESTINATION etc/netdata)
353
 install(DIRECTORY DESTINATION etc/netdata/charts.d)
354
 install(DIRECTORY DESTINATION etc/netdata/custom-plugins.d)
355
@@ -2193,20 +2187,20 @@
356
 install(DIRECTORY DESTINATION etc/netdata/python.d)
357
 install(DIRECTORY DESTINATION etc/netdata/ssl)
358
 install(DIRECTORY DESTINATION etc/netdata/statsd.d)
359
-install(DIRECTORY DESTINATION usr/lib/netdata/conf.d)
360
-install(DIRECTORY DESTINATION usr/lib/netdata/conf.d/schema.d)
361
-install(DIRECTORY DESTINATION usr/libexec/netdata/plugins.d)
362
+install(DIRECTORY DESTINATION lib/netdata/conf.d)
363
+install(DIRECTORY DESTINATION lib/netdata/conf.d/schema.d)
364
+install(DIRECTORY DESTINATION libexec/netdata/plugins.d)
365
 install(DIRECTORY DESTINATION ${WEB_DEST})
366
 
367
-set(libsysdir_POST "${CMAKE_INSTALL_PREFIX}/usr/lib/netdata/system")
368
-set(pkglibexecdir_POST "${CMAKE_INSTALL_PREFIX}/usr/libexec/netdata")
369
+set(libsysdir_POST "${CMAKE_INSTALL_PREFIX}/lib/netdata/system")
370
+set(pkglibexecdir_POST "${CMAKE_INSTALL_PREFIX}/libexec/netdata")
371
 set(localstatedir_POST "${CMAKE_INSTALL_PREFIX}/var")
372
-set(sbindir_POST "${CMAKE_INSTALL_PREFIX}/usr/sbin")
373
-set(configdir_POST "${CMAKE_INSTALL_PREFIX}/etc/netdata")
374
-set(libconfigdir_POST "${CMAKE_INSTALL_PREFIX}/usr/lib/netdata/conf.d")
375
-set(cachedir_POST "${CMAKE_INSTALL_PREFIX}/var/cache/netdata")
376
-set(registrydir_POST "${CMAKE_INSTALL_PREFIX}/var/lib/netdata/registry")
377
-set(varlibdir_POST "${CMAKE_INSTALL_PREFIX}/var/lib/netdata")
378
+set(sbindir_POST "${CMAKE_INSTALL_PREFIX}/sbin")
379
+set(configdir_POST "%%ETCDIR%%")
380
+set(libconfigdir_POST "${CMAKE_INSTALL_PREFIX}/lib/netdata/conf.d")
381
+set(cachedir_POST "%%NETDATA_CACHE%%")
382
+set(registrydir_POST "%%NETDATA_PERST%%/registery")
383
+set(varlibdir_POST "%%NETDATA_PERST%%")
384
 set(netdata_user_POST "${NETDATA_USER}")
385
 
386
 # netdata-claim.sh
387
@@ -2225,7 +2219,7 @@
388
 configure_file(src/claim/netdata-claim.sh.in src/claim/netdata-claim.sh @ONLY)
389
 install(PROGRAMS
390
         ${CMAKE_BINARY_DIR}/src/claim/netdata-claim.sh
391
-        DESTINATION usr/sbin)
392
+        DESTINATION sbin)
393
 
394
 #
395
 # We don't check ENABLE_PLUGIN_CGROUP_NETWORK because rpm builds assume
396
@@ -2236,13 +2230,13 @@
397
 install(PROGRAMS
398
         ${CMAKE_BINARY_DIR}/src/collectors/cgroups.plugin/cgroup-network-helper.sh
399
         COMPONENT cgroup_network_plugin
400
-        DESTINATION usr/libexec/netdata/plugins.d)
401
+        DESTINATION libexec/netdata/plugins.d)
402
 
403
 configure_file(src/collectors/cgroups.plugin/cgroup-name.sh.in
404
                src/collectors/cgroups.plugin/cgroup-name.sh @ONLY)
405
 install(PROGRAMS
406
         ${CMAKE_BINARY_DIR}/src/collectors/cgroups.plugin/cgroup-name.sh
407
-        DESTINATION usr/libexec/netdata/plugins.d)
408
+        DESTINATION libexec/netdata/plugins.d)
409
 
410
 #
411
 # statsd
412
@@ -2251,28 +2245,28 @@
413
         src/collectors/statsd.plugin/asterisk.conf
414
         src/collectors/statsd.plugin/example.conf
415
         src/collectors/statsd.plugin/k6.conf
416
-        DESTINATION usr/lib/netdata/conf.d/statsd.d)
417
+        DESTINATION lib/netdata/conf.d/statsd.d)
418
 
419
 #
420
 # exporting
421
 #
422
 install(FILES
423
         src/exporting/exporting.conf
424
-        DESTINATION usr/lib/netdata/conf.d)
425
+        DESTINATION lib/netdata/conf.d)
426
 
427
 #
428
 # ioping.plugin
429
 #
430
 install(FILES
431
         src/collectors/ioping.plugin/ioping.conf
432
-        DESTINATION usr/lib/netdata/conf.d)
433
+        DESTINATION lib/netdata/conf.d)
434
 
435
 #
436
 # streaming
437
 #
438
 install(FILES
439
         src/streaming/stream.conf
440
-        DESTINATION usr/lib/netdata/conf.d)
441
+        DESTINATION lib/netdata/conf.d)
442
 
443
 #
444
 # swagger
445
@@ -2289,78 +2283,78 @@
446
 configure_file(system/install-service.sh.in system/install-service.sh @ONLY)
447
 install(PROGRAMS
448
         ${CMAKE_BINARY_DIR}/system/install-service.sh
449
-        DESTINATION usr/libexec/netdata)
450
+        DESTINATION libexec/netdata)
451
 
452
 configure_file(system/cron/netdata-updater-daily.in system/cron/netdata-updater-daily @ONLY)
453
 install(FILES
454
         ${CMAKE_BINARY_DIR}/system/cron/netdata-updater-daily
455
-        DESTINATION usr/lib/netdata/system/cron)
456
+        DESTINATION lib/netdata/system/cron)
457
 
458
 configure_file(system/launchd/netdata.plist.in system/launchd/netdata.plist @ONLY)
459
 install(FILES
460
         ${CMAKE_BINARY_DIR}/system/launchd/netdata.plist
461
-        DESTINATION usr/lib/netdata/system/launchd)
462
+        DESTINATION lib/netdata/system/launchd)
463
 
464
 configure_file(system/freebsd/rc.d/netdata.in system/freebsd/rc.d/netdata @ONLY)
465
 install(PROGRAMS
466
         ${CMAKE_BINARY_DIR}/system/freebsd/rc.d/netdata
467
-        DESTINATION usr/lib/netdata/system/freebsd/rc.d)
468
+        DESTINATION lib/netdata/system/freebsd/rc.d)
469
 
470
 configure_file(system/initd/init.d/netdata.in system/initd/init.d/netdata @ONLY)
471
 install(PROGRAMS
472
         ${CMAKE_BINARY_DIR}/system/initd/init.d/netdata
473
-        DESTINATION usr/lib/netdata/system/initd/init.d)
474
+        DESTINATION lib/netdata/system/initd/init.d)
475
 
476
 configure_file(system/logrotate/netdata.in system/logrotate/netdata @ONLY)
477
 install(FILES
478
         ${CMAKE_BINARY_DIR}/system/logrotate/netdata
479
-        DESTINATION usr/lib/netdata/system/logrotate)
480
+        DESTINATION lib/netdata/system/logrotate)
481
 
482
 configure_file(system/lsb/init.d/netdata.in system/lsb/init.d/netdata @ONLY)
483
 install(PROGRAMS
484
         ${CMAKE_BINARY_DIR}/system/lsb/init.d/netdata
485
-        DESTINATION usr/lib/netdata/system/lsb/init.d)
486
+        DESTINATION lib/netdata/system/lsb/init.d)
487
 
488
 configure_file(system/openrc/conf.d/netdata.in system/openrc/conf.d/netdata @ONLY)
489
 install(FILES
490
         ${CMAKE_BINARY_DIR}/system/openrc/conf.d/netdata
491
-        DESTINATION usr/lib/netdata/system/openrc/conf.d)
492
+        DESTINATION lib/netdata/system/openrc/conf.d)
493
 
494
 configure_file(system/openrc/init.d/netdata.in system/openrc/init.d/netdata @ONLY)
495
 install(PROGRAMS
496
         ${CMAKE_BINARY_DIR}/system/openrc/init.d/netdata
497
-        DESTINATION usr/lib/netdata/system/openrc/init.d)
498
+        DESTINATION lib/netdata/system/openrc/init.d)
499
 
500
 configure_file(system/runit/run.in system/runit/run @ONLY)
501
 install(PROGRAMS
502
         ${CMAKE_BINARY_DIR}/system/runit/run
503
-        DESTINATION usr/lib/netdata/system/runit)
504
+        DESTINATION lib/netdata/system/runit)
505
 
506
 configure_file(system/systemd/netdata.service.in system/systemd/netdata.service @ONLY)
507
 install(FILES
508
         ${CMAKE_BINARY_DIR}/system/systemd/netdata.service
509
-        DESTINATION usr/lib/netdata/system/systemd)
510
+        DESTINATION lib/netdata/system/systemd)
511
 
512
 configure_file(system/systemd/netdata.service.v235.in system/systemd/netdata.service.v235 @ONLY)
513
 install(FILES
514
         ${CMAKE_BINARY_DIR}/system/systemd/netdata.service.v235
515
-        DESTINATION usr/lib/netdata/system/systemd)
516
+        DESTINATION lib/netdata/system/systemd)
517
 
518
 configure_file(system/systemd/netdata-updater.service.in system/systemd/netdata-updater.service @ONLY)
519
 install(FILES
520
         ${CMAKE_BINARY_DIR}/system/systemd/netdata-updater.service
521
-        DESTINATION usr/lib/netdata/system/systemd)
522
+        DESTINATION lib/netdata/system/systemd)
523
 
524
 install(FILES
525
         system/systemd/netdata-updater.timer
526
-        DESTINATION usr/lib/netdata/system/systemd)
527
+        DESTINATION lib/netdata/system/systemd)
528
 install(FILES
529
         system/systemd/50-netdata.preset
530
-        DESTINATION usr/lib/netdata/system/systemd)
531
+        DESTINATION lib/netdata/system/systemd)
532
 
533
 install(FILES
534
         system/vnodes/vnodes.conf
535
-        DESTINATION usr/lib/netdata/conf.d/vnodes)
536
+        DESTINATION lib/netdata/conf.d/vnodes)
537
 
538
 install(FILES
539
         system/.install-type
540
@@ -2379,16 +2373,16 @@
541
 configure_file(src/daemon/anonymous-statistics.sh.in src/daemon/anonymous-statistics.sh @ONLY)
542
 install(PROGRAMS
543
         ${CMAKE_BINARY_DIR}/src/daemon/anonymous-statistics.sh
544
-        DESTINATION usr/libexec/netdata/plugins.d)
545
+        DESTINATION libexec/netdata/plugins.d)
546
 
547
 configure_file(src/daemon/get-kubernetes-labels.sh.in src/daemon/get-kubernetes-labels.sh @ONLY)
548
 install(PROGRAMS
549
         ${CMAKE_BINARY_DIR}/src/daemon/get-kubernetes-labels.sh
550
-        DESTINATION usr/libexec/netdata/plugins.d)
551
+        DESTINATION libexec/netdata/plugins.d)
552
 
553
 install(PROGRAMS
554
         src/daemon/system-info.sh
555
-        DESTINATION usr/libexec/netdata/plugins.d)
556
+        DESTINATION libexec/netdata/plugins.d)
557
 
558
 #
559
 # health files
560
@@ -2397,22 +2391,22 @@
561
 file(GLOB_RECURSE HEALTH_CONF_FILES "src/health/health.d/*.conf")
562
 install(FILES
563
         ${HEALTH_CONF_FILES}
564
-        DESTINATION usr/lib/netdata/conf.d/health.d)
565
+        DESTINATION lib/netdata/conf.d/health.d)
566
 
567
 configure_file(src/health/notifications/alarm-notify.sh.in src/health/notifications/alarm-notify.sh @ONLY)
568
 install(PROGRAMS
569
         ${CMAKE_BINARY_DIR}/src/health/notifications/alarm-notify.sh
570
-        DESTINATION usr/libexec/netdata/plugins.d)
571
+        DESTINATION libexec/netdata/plugins.d)
572
 
573
 install(PROGRAMS
574
         src/health/notifications/alarm-email.sh
575
         src/health/notifications/alarm-test.sh
576
-        DESTINATION usr/libexec/netdata/plugins.d)
577
+        DESTINATION libexec/netdata/plugins.d)
578
 
579
 install(FILES
580
         src/health/notifications/health_alarm_notify.conf
581
         src/health/notifications/health_email_recipients.conf
582
-        DESTINATION usr/lib/netdata/conf.d)
583
+        DESTINATION lib/netdata/conf.d)
584
 #
585
 # test/ files
586
 #
587
@@ -2431,7 +2425,7 @@
588
         ${CMAKE_BINARY_DIR}/tests/alarm_repetition/alarm.sh
589
         ${CMAKE_BINARY_DIR}/tests/template_dimension/template_dim.sh
590
         ${CMAKE_BINARY_DIR}/tests/ebpf/ebpf_thread_function.sh
591
-        DESTINATION usr/libexec/netdata/plugins.d)
592
+        DESTINATION libexec/netdata/plugins.d)
593
 
594
 #
595
 # charts.d files
596
@@ -2440,16 +2434,16 @@
597
 configure_file(src/collectors/charts.d.plugin/charts.d.plugin.in src/collectors/charts.d.plugin/charts.d.plugin @ONLY)
598
 install(PROGRAMS
599
         ${CMAKE_BINARY_DIR}/src/collectors/charts.d.plugin/charts.d.plugin
600
-        DESTINATION usr/libexec/netdata/plugins.d)
601
+        DESTINATION libexec/netdata/plugins.d)
602
 
603
 install(FILES
604
         src/collectors/charts.d.plugin/charts.d.dryrun-helper.sh
605
         src/collectors/charts.d.plugin/loopsleepms.sh.inc
606
-        DESTINATION usr/libexec/netdata/plugins.d)
607
+        DESTINATION libexec/netdata/plugins.d)
608
 
609
 install(FILES
610
         src/collectors/charts.d.plugin/charts.d.conf
611
-        DESTINATION usr/lib/netdata/conf.d)
612
+        DESTINATION lib/netdata/conf.d)
613
 
614
 #
615
 # tc-qos-helper
616
@@ -2458,7 +2452,7 @@
617
 configure_file(src/collectors/tc.plugin/tc-qos-helper.sh.in src/collectors/tc.plugin/tc-qos-helper.sh @ONLY)
618
 install(PROGRAMS
619
         ${CMAKE_BINARY_DIR}/src/collectors/tc.plugin/tc-qos-helper.sh
620
-        DESTINATION usr/libexec/netdata/plugins.d)
621
+        DESTINATION libexec/netdata/plugins.d)
622
 
623
 # scripts
624
 
625
@@ -2469,7 +2463,7 @@
626
         src/collectors/charts.d.plugin/libreswan/libreswan.chart.sh
627
         src/collectors/charts.d.plugin/opensips/opensips.chart.sh
628
         src/collectors/charts.d.plugin/sensors/sensors.chart.sh
629
-        DESTINATION usr/libexec/netdata/charts.d)
630
+        DESTINATION libexec/netdata/charts.d)
631
 
632
 # confs
633
 
634
@@ -2480,12 +2474,12 @@
635
         src/collectors/charts.d.plugin/libreswan/libreswan.conf
636
         src/collectors/charts.d.plugin/opensips/opensips.conf
637
         src/collectors/charts.d.plugin/sensors/sensors.conf
638
-        DESTINATION usr/lib/netdata/conf.d/charts.d)
639
+        DESTINATION lib/netdata/conf.d/charts.d)
640
 
641
 install(FILES
642
         src/collectors/systemd-journal.plugin/schema.d/systemd-journal:monitored-directories.json
643
         src/health/schema.d/health:alert:prototype.json
644
-        DESTINATION usr/lib/netdata/conf.d/schema.d)
645
+        DESTINATION lib/netdata/conf.d/schema.d)
646
 
647
 #
648
 # ebpf files
649
@@ -2494,7 +2488,7 @@
650
 if(ENABLE_PLUGIN_EBPF)
651
         install(FILES
652
                 src/collectors/ebpf.plugin/ebpf.d.conf
653
-                DESTINATION usr/lib/netdata/conf.d)
654
+                DESTINATION lib/netdata/conf.d)
655
 
656
         install(FILES
657
                 src/collectors/ebpf.plugin/ebpf.d/cachestat.conf
658
@@ -2514,7 +2508,7 @@
659
                 src/collectors/ebpf.plugin/ebpf.d/swap.conf
660
                 src/collectors/ebpf.plugin/ebpf.d/sync.conf
661
                 src/collectors/ebpf.plugin/ebpf.d/vfs.conf
662
-                DESTINATION usr/lib/netdata/conf.d/ebpf.d)
663
+                DESTINATION lib/netdata/conf.d/ebpf.d)
664
 endif()
665
 
666
 #
667
@@ -2523,13 +2517,13 @@
668
 
669
 configure_file(src/collectors/python.d.plugin/python.d.plugin.in src/collectors/python.d.plugin/python.d.plugin @ONLY)
670
 install(PROGRAMS ${CMAKE_BINARY_DIR}/src/collectors/python.d.plugin/python.d.plugin
671
-        DESTINATION usr/libexec/netdata/plugins.d)
672
+        DESTINATION libexec/netdata/plugins.d)
673
 
674
 install(DIRECTORY src/collectors/python.d.plugin/python_modules
675
-        DESTINATION usr/libexec/netdata/python.d)
676
+        DESTINATION libexec/netdata/python.d)
677
 
678
 install(FILES src/collectors/python.d.plugin/python.d.conf
679
-        DESTINATION usr/lib/netdata/conf.d)
680
+        DESTINATION lib/netdata/conf.d)
681
 
682
 # conf files
683
 
684
@@ -2580,7 +2574,7 @@
685
         src/collectors/python.d.plugin/varnish/varnish.conf
686
         src/collectors/python.d.plugin/w1sensor/w1sensor.conf
687
         src/collectors/python.d.plugin/zscores/zscores.conf
688
-        DESTINATION usr/lib/netdata/conf.d/python.d)
689
+        DESTINATION lib/netdata/conf.d/python.d)
690
 
691
 # scripts
692
 
693
@@ -2631,11 +2625,11 @@
694
         src/collectors/python.d.plugin/varnish/varnish.chart.py
695
         src/collectors/python.d.plugin/w1sensor/w1sensor.chart.py
696
         src/collectors/python.d.plugin/zscores/zscores.chart.py
697
-        DESTINATION usr/libexec/netdata/python.d)
698
+        DESTINATION libexec/netdata/python.d)
699
 
700
 # FIXME: don't install this unconditionally
701
 configure_file(src/collectors/ioping.plugin/ioping.plugin.in src/collectors/ioping.plugin/ioping.plugin @ONLY)
702
-install(PROGRAMS ${CMAKE_BINARY_DIR}/src/collectors/ioping.plugin/ioping.plugin DESTINATION usr/libexec/netdata/plugins.d)
703
+install(PROGRAMS ${CMAKE_BINARY_DIR}/src/collectors/ioping.plugin/ioping.plugin DESTINATION libexec/netdata/plugins.d)
704
 
705
 #
706
 # logs management
707
@@ -2644,7 +2638,7 @@
708
         configure_file(src/logsmanagement/stock_conf/logsmanagement.d.conf.in src/logsmanagement/stock_conf/logsmanagement.d.conf @ONLY)
709
         install(FILES ${CMAKE_BINARY_DIR}/src/logsmanagement/stock_conf/logsmanagement.d.conf
710
                 COMPONENT logs_management_plugin
711
-                DESTINATION usr/lib/netdata/conf.d)
712
+                DESTINATION lib/netdata/conf.d)
713
 endif()
714
 
715
 #
716
@@ -2653,23 +2647,23 @@
717
 if(ENABLE_PLUGIN_GO)
718
     install(FILES src/go/collectors/go.d.plugin/config/go.d.conf
719
             COMPONENT go.d.plugin
720
-            DESTINATION usr/lib/netdata/conf.d)
721
+            DESTINATION lib/netdata/conf.d)
722
 
723
     install(DIRECTORY
724
             COMPONENT go.d.plugin
725
-            DESTINATION usr/lib/netdata/conf.d/go.d)
726
+            DESTINATION lib/netdata/conf.d/go.d)
727
     file(GLOB GO_CONF_FILES src/go/collectors/go.d.plugin/config/go.d/*.conf)
728
     install(FILES ${GO_CONF_FILES}
729
             COMPONENT go.d.plugin
730
-            DESTINATION usr/lib/netdata/conf.d/go.d)
731
+            DESTINATION lib/netdata/conf.d/go.d)
732
 
733
     install(DIRECTORY
734
             COMPONENT go.d.plugin
735
-            DESTINATION usr/lib/netdata/conf.d/go.d/sd)
736
+            DESTINATION lib/netdata/conf.d/go.d/sd)
737
     file(GLOB GO_SD_CONF_FILES src/go/collectors/go.d.plugin/config/go.d/sd/*.conf)
738
     install(FILES ${GO_SD_CONF_FILES}
739
             COMPONENT go.d.plugin
740
-            DESTINATION usr/lib/netdata/conf.d/go.d/sd)
741
+            DESTINATION lib/netdata/conf.d/go.d/sd)
742
 endif()
743
 
744
 #
(-)a/net-mgmt/netdata/files/patch-Makefile.am (-29 lines)
Removed Link Here
1
--- Makefile.am.orig	2023-07-23 18:43:42.030677684 -0600
2
+++ Makefile.am	2023-07-23 18:44:09.820603732 -0600
3
@@ -39,7 +39,6 @@
4
     build/m4/ax_c__generic.m4 \
5
     build/m4/ax_compiler_vendor.m4 \
6
     build/m4/ax_cxx_compile_stdcxx.m4 \
7
-    ml/dlib \
8
     README.md \
9
     LICENSE \
10
     REDISTRIBUTED.md \
11
@@ -254,16 +253,15 @@
12
     ml/ad_charts.h \
13
     ml/ad_charts.cc \
14
     ml/Config.cc \
15
-    ml/dlib/dlib/all/source.cpp \
16
     ml/ml-private.h \
17
     ml/ml.cc \
18
     $(NULL)
19
 
20
 # Disable warnings from dlib library
21
-ml/dlib/dlib/all/source.$(OBJEXT) : CXXFLAGS += -Wno-sign-compare -Wno-type-limits -Wno-aggressive-loop-optimizations -Wno-stringop-overflow -Wno-psabi
22
+# ml/dlib/dlib/all/source.$(OBJEXT) : CXXFLAGS += -Wno-sign-compare -Wno-type-limits -Wno-aggressive-loop-optimizations -Wno-stringop-overflow -Wno-psabi
23
 
24
 # Disable ml warnings
25
-ml/ml.$(OBJEXT) : CXXFLAGS += -Wno-psabi
26
+# ml/ml.$(OBJEXT) : CXXFLAGS += -Wno-psabi
27
 
28
 endif
29
 
(-)a/net-mgmt/netdata/files/patch-collectors_python.d.plugin_Makefile.am (-111 lines)
Removed Link Here
1
--- collectors/python.d.plugin/Makefile.am.orig	2022-06-08 15:49:44 UTC
2
+++ collectors/python.d.plugin/Makefile.am
3
@@ -125,108 +125,3 @@ dist_third_party_DATA = \
4
     python_modules/third_party/filelock.py \
5
     $(NULL)
6
 
7
-pythonyaml2dir=$(pythonmodulesdir)/pyyaml2
8
-dist_pythonyaml2_DATA = \
9
-    python_modules/pyyaml2/__init__.py \
10
-    python_modules/pyyaml2/composer.py \
11
-    python_modules/pyyaml2/constructor.py \
12
-    python_modules/pyyaml2/cyaml.py \
13
-    python_modules/pyyaml2/dumper.py \
14
-    python_modules/pyyaml2/emitter.py \
15
-    python_modules/pyyaml2/error.py \
16
-    python_modules/pyyaml2/events.py \
17
-    python_modules/pyyaml2/loader.py \
18
-    python_modules/pyyaml2/nodes.py \
19
-    python_modules/pyyaml2/parser.py \
20
-    python_modules/pyyaml2/reader.py \
21
-    python_modules/pyyaml2/representer.py \
22
-    python_modules/pyyaml2/resolver.py \
23
-    python_modules/pyyaml2/scanner.py \
24
-    python_modules/pyyaml2/serializer.py \
25
-    python_modules/pyyaml2/tokens.py \
26
-    $(NULL)
27
-
28
-pythonyaml3dir=$(pythonmodulesdir)/pyyaml3
29
-dist_pythonyaml3_DATA = \
30
-    python_modules/pyyaml3/__init__.py \
31
-    python_modules/pyyaml3/composer.py \
32
-    python_modules/pyyaml3/constructor.py \
33
-    python_modules/pyyaml3/cyaml.py \
34
-    python_modules/pyyaml3/dumper.py \
35
-    python_modules/pyyaml3/emitter.py \
36
-    python_modules/pyyaml3/error.py \
37
-    python_modules/pyyaml3/events.py \
38
-    python_modules/pyyaml3/loader.py \
39
-    python_modules/pyyaml3/nodes.py \
40
-    python_modules/pyyaml3/parser.py \
41
-    python_modules/pyyaml3/reader.py \
42
-    python_modules/pyyaml3/representer.py \
43
-    python_modules/pyyaml3/resolver.py \
44
-    python_modules/pyyaml3/scanner.py \
45
-    python_modules/pyyaml3/serializer.py \
46
-    python_modules/pyyaml3/tokens.py \
47
-    $(NULL)
48
-
49
-python_urllib3dir=$(pythonmodulesdir)/urllib3
50
-dist_python_urllib3_DATA = \
51
-    python_modules/urllib3/__init__.py \
52
-    python_modules/urllib3/_collections.py \
53
-    python_modules/urllib3/connection.py \
54
-    python_modules/urllib3/connectionpool.py \
55
-    python_modules/urllib3/exceptions.py \
56
-    python_modules/urllib3/fields.py \
57
-    python_modules/urllib3/filepost.py \
58
-    python_modules/urllib3/response.py \
59
-    python_modules/urllib3/poolmanager.py \
60
-    python_modules/urllib3/request.py \
61
-    $(NULL)
62
-
63
-python_urllib3_utildir=$(python_urllib3dir)/util
64
-dist_python_urllib3_util_DATA = \
65
-    python_modules/urllib3/util/__init__.py \
66
-    python_modules/urllib3/util/connection.py \
67
-    python_modules/urllib3/util/request.py \
68
-    python_modules/urllib3/util/response.py \
69
-    python_modules/urllib3/util/retry.py \
70
-    python_modules/urllib3/util/selectors.py \
71
-    python_modules/urllib3/util/ssl_.py \
72
-    python_modules/urllib3/util/timeout.py \
73
-    python_modules/urllib3/util/url.py \
74
-    python_modules/urllib3/util/wait.py \
75
-    $(NULL)
76
-
77
-python_urllib3_packagesdir=$(python_urllib3dir)/packages
78
-dist_python_urllib3_packages_DATA = \
79
-    python_modules/urllib3/packages/__init__.py \
80
-    python_modules/urllib3/packages/ordered_dict.py \
81
-    python_modules/urllib3/packages/six.py \
82
-    $(NULL)
83
-
84
-python_urllib3_backportsdir=$(python_urllib3_packagesdir)/backports
85
-dist_python_urllib3_backports_DATA = \
86
-    python_modules/urllib3/packages/backports/__init__.py \
87
-    python_modules/urllib3/packages/backports/makefile.py \
88
-    $(NULL)
89
-
90
-python_urllib3_ssl_match_hostnamedir=$(python_urllib3_packagesdir)/ssl_match_hostname
91
-dist_python_urllib3_ssl_match_hostname_DATA = \
92
-    python_modules/urllib3/packages/ssl_match_hostname/__init__.py \
93
-    python_modules/urllib3/packages/ssl_match_hostname/_implementation.py \
94
-    $(NULL)
95
-
96
-python_urllib3_contribdir=$(python_urllib3dir)/contrib
97
-dist_python_urllib3_contrib_DATA = \
98
-    python_modules/urllib3/contrib/__init__.py \
99
-    python_modules/urllib3/contrib/appengine.py \
100
-    python_modules/urllib3/contrib/ntlmpool.py \
101
-    python_modules/urllib3/contrib/pyopenssl.py \
102
-    python_modules/urllib3/contrib/securetransport.py \
103
-    python_modules/urllib3/contrib/socks.py \
104
-    $(NULL)
105
-
106
-python_urllib3_securetransportdir=$(python_urllib3_contribdir)/_securetransport
107
-dist_python_urllib3_securetransport_DATA = \
108
-    python_modules/urllib3/contrib/_securetransport/__init__.py \
109
-    python_modules/urllib3/contrib/_securetransport/bindings.py \
110
-    python_modules/urllib3/contrib/_securetransport/low_level.py \
111
-    $(NULL)
(-)a/net-mgmt/netdata/files/patch-collectors_python.d.plugin_python.d.plugin.in (-10 lines)
Removed Link Here
1
--- collectors/python.d.plugin/python.d.plugin.in.orig	2022-02-03 22:42:27 UTC
2
+++ collectors/python.d.plugin/python.d.plugin.in
3
@@ -1,6 +1,6 @@
4
 #!/usr/bin/env bash
5
 '''':;
6
-pybinary=$(which python3 || which python || which python2)
7
+pybinary=%%PYTHON%%
8
 filtered=()
9
 for arg in "$@"
10
 do
(-)a/net-mgmt/netdata/files/patch-collectors_python.d.plugin_python__modules_bases_loaders.py (-14 lines)
Removed Link Here
1
--- collectors/python.d.plugin/python_modules/bases/loaders.py.orig	2020-02-21 01:50:30 UTC
2
+++ collectors/python.d.plugin/python_modules/bases/loaders.py
3
@@ -10,9 +10,9 @@ PY_VERSION = version_info[:2]
4
 
5
 try:
6
     if PY_VERSION > (3, 1):
7
-        from pyyaml3 import SafeLoader as YamlSafeLoader
8
+        from yaml import SafeLoader as YamlSafeLoader
9
     else:
10
-        from pyyaml2 import SafeLoader as YamlSafeLoader
11
+        from yaml import SafeLoader as YamlSafeLoader
12
 except ImportError:
13
     from yaml import SafeLoader as YamlSafeLoader
14
 
(-)a/net-mgmt/netdata/files/patch-configure.ac (-81 lines)
Removed Link Here
1
--- configure.ac.orig	2023-10-30 12:43:22 UTC
2
+++ configure.ac
3
@@ -5,11 +5,11 @@
4
 AC_PREREQ(2.60)
5
 
6
 # We do not use m4_esyscmd_s to support older autoconf.
7
-define([VERSION_STRING], m4_esyscmd([git describe 2>/dev/null | tr -d '\n']))
8
-define([VERSION_FROM_FILE], m4_esyscmd([cat packaging/version | tr -d '\n']))
9
-m4_ifval(VERSION_STRING, [], [define([VERSION_STRING], VERSION_FROM_FILE)])
10
+# define([VERSION_STRING], m4_esyscmd([git describe 2>/dev/null | tr -d '\n']))
11
+# define([VERSION_FROM_FILE], m4_esyscmd([cat packaging/version | tr -d '\n']))
12
+# m4_ifval(VERSION_STRING, [], [define([VERSION_STRING], VERSION_FROM_FILE)])
13
 
14
-AC_INIT([netdata], VERSION_STRING[])
15
+AC_INIT([netdata], v%%DISTVERSION%%)
16
 
17
 AM_MAINTAINER_MODE([disable])
18
 if test x"$USE_MAINTAINER_MODE" = xyes; then
19
@@ -243,7 +243,7 @@ fi
20
 # C++ version check
21
 
22
 # Check for C++17 support (optional)
23
-# AX_CXX_COMPILE_STDCXX(17, noext, optional)
24
+AX_CXX_COMPILE_STDCXX(17, noext, optional)
25
 
26
 if test "x$HAVE_CXX17" != "x1"; then
27
   # Check for C++11 support (optional)
28
@@ -1416,15 +1416,15 @@ if test "${enable_ml}" = "yes" -a "${have_uuid}" != "y
29
 fi
30
 
31
 # Check if submodules have not been fetched. Fail if ML was explicitly requested.
32
-AC_MSG_CHECKING([if git submodules are present for machine learning functionality])
33
-if test -f "ml/dlib/dlib/all/source.cpp"; then
34
-    AC_MSG_RESULT([yes])
35
+# AC_MSG_CHECKING([if git submodules are present for machine learning functionality])
36
+# if test -f "ml/dlib/dlib/all/source.cpp"; then
37
+#    AC_MSG_RESULT([yes])
38
     have_ml_submodules="yes"
39
     AC_DEFINE([HAVE_DLIB], [1], [dlib availability])
40
-else
41
-    AC_MSG_RESULT([no])
42
-    have_ml_submodules="no"
43
-fi
44
+# else
45
+#    AC_MSG_RESULT([no])
46
+#    have_ml_submodules="no"
47
+# fi
48
 
49
 if test "${enable_ml}" = "yes" -a "${have_ml_submodules}" = "no"; then
50
     AC_MSG_ERROR([You have explicitly requested --enable-ml functionality but it cannot be built because the required git submodules are missing.])
51
@@ -1444,8 +1444,8 @@ fi
52
 AM_CONDITIONAL([ENABLE_ML], [test "${build_ml}" = "yes"])
53
 if test "${build_ml}" = "yes"; then
54
     AC_DEFINE([ENABLE_ML], [1], [anomaly detection usability])
55
-    OPTIONAL_ML_CFLAGS="-DDLIB_NO_GUI_SUPPORT -I \$(abs_top_srcdir)/ml/dlib"
56
-    OPTIONAL_ML_LIBS=""
57
+#    OPTIONAL_ML_CFLAGS="-DDLIB_NO_GUI_SUPPORT -I \$(abs_top_srcdir)/ml/dlib"
58
+#    OPTIONAL_ML_LIBS=""
59
 fi
60
 
61
 
62
@@ -1850,14 +1850,14 @@ AC_SUBST([OPTIONAL_DL_LIBS])
63
 
64
 AC_DEFINE_UNQUOTED([NETDATA_USER], ["${with_user}"], [use this user to drop privileged])
65
 
66
-varlibdir="${localstatedir}/lib/netdata"
67
-registrydir="${localstatedir}/lib/netdata/registry"
68
-cachedir="${localstatedir}/cache/netdata"
69
+varlibdir="%%NETDATA_PERST%%"
70
+registrydir="%%NETDATA_PERST%%/registry"
71
+cachedir="%%NETDATA_CACHE%%"
72
 chartsdir="${libexecdir}/netdata/charts.d"
73
 pythondir="${libexecdir}/netdata/python.d"
74
-configdir="${sysconfdir}/netdata"
75
+configdir="%%ETCDIR%%"
76
 libconfigdir="${libdir}/netdata/conf.d"
77
-logdir="${localstatedir}/log/netdata"
78
+logdir="%%NETDATA_LOG%%"
79
 pluginsdir="${libexecdir}/netdata/plugins.d"
80
 netdata_user="${with_user}"
81
 libsysdir="${libdir}/netdata/system"
(-)a/net-mgmt/netdata/files/patch-daemon_analytics.c (-15 lines)
Removed Link Here
1
--- daemon/analytics.c.orig	2023-08-09 18:44:44.805963000 +0000
2
+++ daemon/analytics.c	2023-08-09 19:09:09.490652000 +0000
3
@@ -831,6 +831,12 @@
4
         setenv("NETDATA_UPDATE_EVERY", b, 1);
5
     }
6
 
7
+    netdata_log_error("NETDATA_CACHE_DIR: %s", netdata_configured_cache_dir);
8
+    netdata_log_error("NETDATA_LIB_DIR: %s", netdata_configured_varlib_dir);
9
+    netdata_log_error("NETDATA_LOCK_DIR: %s", netdata_configured_lock_dir);
10
+    netdata_log_error("NETDATA_LOG_DIR: %s", netdata_configured_log_dir);
11
+    netdata_log_error("HOME: %s", netdata_configured_home_dir);
12
+
13
     setenv("NETDATA_VERSION", program_version, 1);
14
     setenv("NETDATA_HOSTNAME", netdata_configured_hostname, 1);
15
     setenv("NETDATA_CONFIG_DIR", verify_required_directory(netdata_configured_user_config_dir), 1);
(-)a/net-mgmt/netdata/files/patch-daemon_main.c (-12 lines)
Removed Link Here
1
--- daemon/main.c.orig	2023-08-09 19:47:06.833144000 +0000
2
+++ daemon/main.c	2023-08-09 19:47:43.035728000 +0000
3
@@ -1108,8 +1108,7 @@
4
     netdata_configured_web_dir          = config_get(CONFIG_SECTION_DIRECTORIES, "web",          netdata_configured_web_dir);
5
     netdata_configured_cache_dir        = config_get(CONFIG_SECTION_DIRECTORIES, "cache",        netdata_configured_cache_dir);
6
     netdata_configured_varlib_dir       = config_get(CONFIG_SECTION_DIRECTORIES, "lib",          netdata_configured_varlib_dir);
7
-    char *env_home=getenv("HOME");
8
-    netdata_configured_home_dir         = config_get(CONFIG_SECTION_DIRECTORIES, "home",         env_home?env_home:netdata_configured_home_dir);
9
+    netdata_configured_home_dir         = config_get(CONFIG_SECTION_DIRECTORIES, "home",         netdata_configured_home_dir);
10
 
11
     netdata_configured_lock_dir = initialize_lock_directory_path(netdata_configured_varlib_dir);
12
 
(-)b/net-mgmt/netdata/files/patch-packaging_cmake_Modules_NetdataProtobuf.cmake (+152 lines)
Added Link Here
1
From 787cfeed1a54949e817b2a1250b640a4f5049a06 Mon Sep 17 00:00:00 2001
2
From: "Austin S. Hemmelgarn" <austin@netdata.cloud>
3
Date: Wed, 1 May 2024 07:04:28 -0400
4
Subject: [PATCH] Significantly simplify the protobuf handling in CMake.
5
 (#17533)
6
7
---
8
 packaging/cmake/Modules/NetdataProtobuf.cmake | 99 +++----------------
9
 1 file changed, 16 insertions(+), 83 deletions(-)
10
11
diff --git a/packaging/cmake/Modules/NetdataProtobuf.cmake b/packaging/cmake/Modules/NetdataProtobuf.cmake
12
index bc0ffc03bea961..271252fb5c1663 100644
13
--- packaging/cmake/Modules/NetdataProtobuf.cmake.orig
14
+++ packaging/cmake/Modules/NetdataProtobuf.cmake
15
@@ -3,47 +3,19 @@
16
 # Copyright (c) 2024 Netdata Inc.
17
 # SPDX-License-Identifier: GPL-3.0-or-later
18
 
19
-macro(netdata_protobuf_21_tags)
20
-        set(PROTOBUF_TAG f0dc78d7e6e331b8c6bb2d5283e06aa26883ca7c) # v21.12
21
-        set(NEED_ABSL False)
22
-endmacro()
23
-
24
-macro(netdata_protobuf_25_tags)
25
-        set(PROTOBUF_TAG 4a2aef570deb2bfb8927426558701e8bfc26f2a4) # v25.3
26
-        set(NEED_ABSL True)
27
-        set(ABSL_TAG 2f9e432cce407ce0ae50676696666f33a77d42ac) # 20240116.1
28
-endmacro()
29
-
30
-# Determine what version of protobuf and abseil to bundle.
31
-#
32
-# This is unfortunately very complicated because we support systems
33
-# older than what Google officially supports for C++.
34
-macro(netdata_set_bundled_protobuf_tags)
35
-        netdata_protobuf_21_tags()
36
-
37
-        if(NOT USE_CXX_11)
38
-                if(CMAKE_CXX_COMPILER_ID STREQUAL GNU)
39
-                        if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 7.3.1)
40
-                                netdata_protobuf_25_tags()
41
-                        endif()
42
-                elseif(CMAKE_CXX_COMPILER_ID STREQUAL Clang)
43
-                        if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 7.0.0)
44
-                                netdata_protobuf_25_tags()
45
-                        endif()
46
-                elseif(CMAKE_CXX_COMPILER_ID STREQUAL AppleClang)
47
-                        if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 12)
48
-                                netdata_protobuf_25_tags()
49
-                        endif()
50
-                endif()
51
-        endif()
52
-endmacro()
53
-
54
 # Prepare a vendored copy of Protobuf for use with Netdata.
55
 function(netdata_bundle_protobuf)
56
         include(FetchContent)
57
         include(NetdataFetchContentExtra)
58
 
59
-        netdata_set_bundled_protobuf_tags()
60
+        set(PROTOBUF_TAG f0dc78d7e6e331b8c6bb2d5283e06aa26883ca7c) # v21.12
61
+        set(NEED_ABSL False)
62
+
63
+        if(CMAKE_CXX_STANDARD GREATER_EQUAL 14)
64
+                set(PROTOBUF_TAG 4a2aef570deb2bfb8927426558701e8bfc26f2a4) # v25.3
65
+                set(NEED_ABSL True)
66
+                set(ABSL_TAG 2f9e432cce407ce0ae50676696666f33a77d42ac) # 20240116.1
67
+        endif()
68
 
69
         set(FETCHCONTENT_TRY_FIND_PACKAGE_MODE NEVER)
70
 
71
@@ -115,27 +87,7 @@ macro(netdata_detect_protobuf)
72
 
73
         if(TARGET protobuf::libprotobuf)
74
                 if(NOT Protobuf_PROTOC_EXECUTABLE AND TARGET protobuf::protoc)
75
-                        get_target_property(Protobuf_PROTOC_EXECUTABLE protobuf::protoc
76
-                                IMPORTED_LOCATION_RELEASE)
77
-                        if(NOT EXISTS "${Protobuf_PROTOC_EXECUTABLE}")
78
-                                get_target_property(Protobuf_PROTOC_EXECUTABLE protobuf::protoc
79
-                                        IMPORTED_LOCATION_RELWITHDEBINFO)
80
-                        endif()
81
-                        if(NOT EXISTS "${Protobuf_PROTOC_EXECUTABLE}")
82
-                                get_target_property(Protobuf_PROTOC_EXECUTABLE protobuf::protoc
83
-                                        IMPORTED_LOCATION_MINSIZEREL)
84
-                        endif()
85
-                        if(NOT EXISTS "${Protobuf_PROTOC_EXECUTABLE}")
86
-                                get_target_property(Protobuf_PROTOC_EXECUTABLE protobuf::protoc
87
-                                        IMPORTED_LOCATION_DEBUG)
88
-                        endif()
89
-                        if(NOT EXISTS "${Protobuf_PROTOC_EXECUTABLE}")
90
-                                get_target_property(Protobuf_PROTOC_EXECUTABLE protobuf::protoc
91
-                                        IMPORTED_LOCATION_NOCONFIG)
92
-                        endif()
93
-                        if(NOT Protobuf_PROTOC_EXECUTABLE)
94
-                                set(Protobuf_PROTOC_EXECUTABLE protobuf::protoc)
95
-                        endif()
96
+                        set(Protobuf_PROTOC_EXECUTABLE protobuf::protoc)
97
                 endif()
98
 
99
                 # It is technically possible that this may still not
100
@@ -146,27 +98,8 @@ macro(netdata_detect_protobuf)
101
                         message(FATAL_ERROR "Could not determine the location of the protobuf compiler for the detected version of protobuf.")
102
                 endif()
103
 
104
-                set(NETDATA_PROTOBUF_PROTOC_EXECUTABLE ${Protobuf_PROTOC_EXECUTABLE})
105
-                set(NETDATA_PROTOBUF_LIBS protobuf::libprotobuf)
106
-                get_target_property(NETDATA_PROTOBUF_CFLAGS_OTHER
107
-                                    protobuf::libprotobuf
108
-                                    INTERFACE_COMPILE_DEFINITIONS)
109
-                get_target_property(NETDATA_PROTOBUF_INCLUDE_DIRS
110
-                                    protobuf::libprotobuf
111
-                                    INTERFACE_INCLUDE_DIRECTORIES)
112
-
113
-                if(NETDATA_PROTOBUF_CFLAGS_OTHER STREQUAL NETDATA_PROTOBUF_CFLAGS_OTHER-NOTFOUND)
114
-                        set(NETDATA_PROTOBUF_CFLAGS_OTHER "")
115
-                endif()
116
-
117
-                if(NETDATA_PROTOBUF_INCLUDE_DIRS STREQUAL NETDATA_PROTOBUF_INCLUDE_DIRS-NOTFOUND)
118
-                        set(NETDATA_PROTOBUF_INCLUDE_DIRS "")
119
-                endif()
120
-        else()
121
-                set(NETDATA_PROTOBUF_PROTOC_EXECUTABLE ${PROTOBUF_PROTOC_EXECUTABLE})
122
-                set(NETDATA_PROTOBUF_CFLAGS_OTHER ${PROTOBUF_CFLAGS_OTHER})
123
-                set(NETDATA_PROTOBUF_INCLUDE_DIRS ${PROTOBUF_INCLUDE_DIRS})
124
-                set(NETDATA_PROTOBUF_LIBS ${PROTOBUF_LIBRARIES})
125
+                set(PROTOBUF_PROTOC_EXECUTABLE ${Protobuf_PROTOC_EXECUTABLE})
126
+                set(PROTOBUF_LIBRARIES protobuf::libprotobuf)
127
         endif()
128
 
129
         set(ENABLE_PROTOBUF True)
130
@@ -203,9 +136,9 @@ function(netdata_protoc_generate_cpp INC_DIR OUT_DIR SRCS HDRS)
131
                 endif()
132
 
133
                 add_custom_command(OUTPUT ${GENERATED_PB_CC} ${GENERATED_PB_H}
134
-                                   COMMAND ${NETDATA_PROTOBUF_PROTOC_EXECUTABLE}
135
+                                   COMMAND ${PROTOBUF_PROTOC_EXECUTABLE}
136
                                    ARGS "-I$<JOIN:${_PROTOC_INCLUDE_DIRS},;-I>" --cpp_out=${OUT_DIR} ${ABS_FIL}
137
-                                   DEPENDS ${ABS_FIL} ${NETDATA_PROTOBUF_PROTOC_EXECUTABLE}
138
+                                   DEPENDS ${ABS_FIL} ${PROTOBUF_PROTOC_EXECUTABLE}
139
                                    COMMENT "Running C++ protocol buffer compiler on ${FIL}"
140
                                    COMMAND_EXPAND_LISTS)
141
         endforeach()
142
@@ -219,7 +152,7 @@ endfunction()
143
 
144
 # Add protobuf to a specified target.
145
 function(netdata_add_protobuf _target)
146
-        target_compile_options(${_target} PRIVATE ${NETDATA_PROTOBUF_CFLAGS_OTHER})
147
-        target_include_directories(${_target} PRIVATE ${NETDATA_PROTOBUF_INCLUDE_DIRS})
148
-        target_link_libraries(${_target} PRIVATE ${NETDATA_PROTOBUF_LIBS})
149
+        target_compile_definitions(${_target} PRIVATE ${PROTOBUF_CFLAGS_OTHER})
150
+        target_include_directories(${_target} PRIVATE ${PROTOBUF_INCLUDE_DIRS})
151
+        target_link_libraries(${_target} PRIVATE ${PROTOBUF_LIBRARIES})
152
 endfunction()
(-)b/net-mgmt/netdata/files/patch-src_collectors_freebsd.plugin_freebsd_kstat_zfs.c (+24 lines)
Added Link Here
1
--- src/collectors/freebsd.plugin/freebsd_kstat_zfs.c.orig	2024-03-31 10:39:09.673965000 -0600
2
+++ src/collectors/freebsd.plugin/freebsd_kstat_zfs.c	2024-03-31 10:42:06.464560000 -0600
3
@@ -46,7 +46,9 @@
4
         int hash_collisions[5];
5
         int hash_chains[5];
6
         int hash_chain_max[5];
7
-        int p[5];
8
+        int meta[5];
9
+        int pd[5];
10
+        int pm[5];
11
         int c[5];
12
         int c_min[5];
13
         int c_max[5];
14
@@ -149,7 +151,9 @@
15
     GETSYSCTL_SIMPLE("kstat.zfs.misc.arcstats.hash_collisions", mibs.hash_collisions, arcstats.hash_collisions);
16
     GETSYSCTL_SIMPLE("kstat.zfs.misc.arcstats.hash_chains", mibs.hash_chains, arcstats.hash_chains);
17
     GETSYSCTL_SIMPLE("kstat.zfs.misc.arcstats.hash_chain_max", mibs.hash_chain_max, arcstats.hash_chain_max);
18
-    GETSYSCTL_SIMPLE("kstat.zfs.misc.arcstats.p", mibs.p, arcstats.p);
19
+    GETSYSCTL_SIMPLE("kstat.zfs.misc.arcstats.meta", mibs.meta, arcstats.meta);
20
+    GETSYSCTL_SIMPLE("kstat.zfs.misc.arcstats.pd", mibs.pd, arcstats.pd);
21
+    GETSYSCTL_SIMPLE("kstat.zfs.misc.arcstats.pm", mibs.pm, arcstats.pm);
22
     GETSYSCTL_SIMPLE("kstat.zfs.misc.arcstats.c", mibs.c, arcstats.c);
23
     GETSYSCTL_SIMPLE("kstat.zfs.misc.arcstats.c_min", mibs.c_min, arcstats.c_min);
24
     GETSYSCTL_SIMPLE("kstat.zfs.misc.arcstats.c_max", mibs.c_max, arcstats.c_max);
(-)b/net-mgmt/netdata/files/patch-src_collectors_proc.plugin_zfs_common.c (+11 lines)
Added Link Here
1
--- src/collectors/proc.plugin/zfs_common.c.orig	2024-03-31 10:56:52.940538000 -0600
2
+++ src/collectors/proc.plugin/zfs_common.c	2024-03-31 10:57:14.548585000 -0600
3
@@ -560,7 +560,7 @@
4
     //unsigned long long anon_hits = arcstats.hits - (arcstats.mfu_hits + arcstats.mru_hits + arcstats.mfu_ghost_hits + arcstats.mru_ghost_hits);
5
 
6
     unsigned long long arc_size = arcstats.size;
7
-    unsigned long long mru_size = arcstats.p;
8
+    unsigned long long mru_size = arcstats.mru_size;
9
     //unsigned long long target_min_size = arcstats.c_min;
10
     //unsigned long long target_max_size = arcstats.c_max;
11
     unsigned long long target_size = arcstats.c;
(-)b/net-mgmt/netdata/files/patch-src_collectors_proc.plugin_zfs_common.h (+13 lines)
Added Link Here
1
--- src/collectors/proc.plugin/zfs_common.h.orig	2024-03-31 10:48:44.195193000 -0600
2
+++ src/collectors/proc.plugin/zfs_common.h	2024-03-31 10:49:05.669412000 -0600
3
@@ -40,7 +40,9 @@
4
     unsigned long long hash_collisions;
5
     unsigned long long hash_chains;
6
     unsigned long long hash_chain_max;
7
-    unsigned long long p;
8
+    unsigned long long meta;
9
+    unsigned long long pd;
10
+    unsigned long long pm;
11
     unsigned long long c;
12
     unsigned long long c_min;
13
     unsigned long long c_max;
(-)b/net-mgmt/netdata/files/patch-src_collectors_python.d.plugin_python.d.plugin.in (+10 lines)
Added Link Here
1
--- src/collectors/python.d.plugin/python.d.plugin.in.orig	2024-03-30 12:40:40 UTC
2
+++ src/collectors/python.d.plugin/python.d.plugin.in
3
@@ -1,6 +1,6 @@
4
 #!/usr/bin/env bash
5
 '''':;
6
-pybinary=$(which python3 || which python || which python2)
7
+pybinary=$(which %%PYTHON_VERSION%% || which python || which python2)
8
 filtered=()
9
 for arg in "$@"
10
 do
(-)b/net-mgmt/netdata/files/patch-src_ml_ml-private.h (+11 lines)
Added Link Here
1
--- src/ml/ml-private.h.orig	2024-05-24 20:20:34.243791000 -0600
2
+++ src/ml/ml-private.h	2024-05-24 20:21:41.401584000 -0600
3
@@ -3,7 +3,7 @@
4
 #ifndef NETDATA_ML_PRIVATE_H
5
 #define NETDATA_ML_PRIVATE_H
6
 
7
-#include "dlib/dlib/matrix.h"
8
+#include "dlib/matrix.h"
9
 
10
 // CentOS 7 shenanigans
11
 #include <cmath>
(-)b/net-mgmt/netdata/files/patch-src_ml_ml.cc (+10 lines)
Added Link Here
1
--- src/ml/ml.cc.orig	2024-03-30 08:07:26 UTC
2
+++ src/ml/ml.cc
3
@@ -1,6 +1,6 @@
4
 // SPDX-License-Identifier: GPL-3.0-or-later
5
 
6
-#include "dlib/dlib/clustering.h"
7
+#include "dlib/clustering.h"
8
 
9
 #include "ml-private.h"
10
 
(-)b/net-mgmt/netdata/pkg-plist (-105 / +196 lines)
Lines 8-34 Link Here
8
@sample(netdata,netdata,0640) lib/netdata/conf.d/charts.d/apcupsd.conf.sample
8
@sample(netdata,netdata,0640) lib/netdata/conf.d/charts.d/apcupsd.conf.sample
9
@sample(netdata,netdata,0640) lib/netdata/conf.d/charts.d/example.conf.sample
9
@sample(netdata,netdata,0640) lib/netdata/conf.d/charts.d/example.conf.sample
10
@sample(netdata,netdata,0640) lib/netdata/conf.d/charts.d/libreswan.conf.sample
10
@sample(netdata,netdata,0640) lib/netdata/conf.d/charts.d/libreswan.conf.sample
11
@sample(netdata,netdata,0640) lib/netdata/conf.d/charts.d/nut.conf.sample
12
@sample(netdata,netdata,0640) lib/netdata/conf.d/charts.d/opensips.conf.sample
11
@sample(netdata,netdata,0640) lib/netdata/conf.d/charts.d/opensips.conf.sample
13
@sample(netdata,netdata,0640) lib/netdata/conf.d/charts.d/sensors.conf.sample
12
@sample(netdata,netdata,0640) lib/netdata/conf.d/charts.d/sensors.conf.sample
14
@sample(netdata,netdata,0640) lib/netdata/conf.d/ebpf.d.conf.sample
15
@sample(netdata,netdata,0640) lib/netdata/conf.d/ebpf.d/cachestat.conf.sample
16
@sample(netdata,netdata,0640) lib/netdata/conf.d/ebpf.d/dcstat.conf.sample
17
@sample(netdata,netdata,0640) lib/netdata/conf.d/ebpf.d/disk.conf.sample
18
@sample(netdata,netdata,0640) lib/netdata/conf.d/ebpf.d/ebpf_kernel_reject_list.txt.sample
19
@sample(netdata,netdata,0640) lib/netdata/conf.d/ebpf.d/fd.conf.sample
20
@sample(netdata,netdata,0640) lib/netdata/conf.d/ebpf.d/filesystem.conf.sample
21
@sample(netdata,netdata,0640) lib/netdata/conf.d/ebpf.d/hardirq.conf.sample
22
@sample(netdata,netdata,0640) lib/netdata/conf.d/ebpf.d/mdflush.conf.sample
23
@sample(netdata,netdata,0640) lib/netdata/conf.d/ebpf.d/mount.conf.sample
24
@sample(netdata,netdata,0640) lib/netdata/conf.d/ebpf.d/network.conf.sample
25
@sample(netdata,netdata,0640) lib/netdata/conf.d/ebpf.d/oomkill.conf.sample
26
@sample(netdata,netdata,0640) lib/netdata/conf.d/ebpf.d/process.conf.sample
27
@sample(netdata,netdata,0640) lib/netdata/conf.d/ebpf.d/shm.conf.sample
28
@sample(netdata,netdata,0640) lib/netdata/conf.d/ebpf.d/softirq.conf.sample
29
@sample(netdata,netdata,0640) lib/netdata/conf.d/ebpf.d/swap.conf.sample
30
@sample(netdata,netdata,0640) lib/netdata/conf.d/ebpf.d/sync.conf.sample
31
@sample(netdata,netdata,0640) lib/netdata/conf.d/ebpf.d/vfs.conf.sample
32
@sample(netdata,netdata,0640) lib/netdata/conf.d/exporting.conf.sample
13
@sample(netdata,netdata,0640) lib/netdata/conf.d/exporting.conf.sample
33
@sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/adaptec_raid.conf.sample
14
@sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/adaptec_raid.conf.sample
34
@sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/anomalies.conf.sample
15
@sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/anomalies.conf.sample
Lines 74-80 Link Here
74
@sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/mysql.conf.sample
55
@sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/mysql.conf.sample
75
@sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/net.conf.sample
56
@sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/net.conf.sample
76
@sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/netfilter.conf.sample
57
@sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/netfilter.conf.sample
77
@sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/nut.conf.sample
78
@sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/nvme.conf.sample
58
@sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/nvme.conf.sample
79
@sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/pihole.conf.sample
59
@sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/pihole.conf.sample
80
@sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/ping.conf.sample
60
@sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/ping.conf.sample
Lines 113-118 Link Here
113
@sample(netdata,netdata,0640) lib/netdata/conf.d/health_alarm_notify.conf.sample
93
@sample(netdata,netdata,0640) lib/netdata/conf.d/health_alarm_notify.conf.sample
114
@sample(netdata,netdata,0640) lib/netdata/conf.d/health_email_recipients.conf.sample
94
@sample(netdata,netdata,0640) lib/netdata/conf.d/health_email_recipients.conf.sample
115
@sample(netdata,netdata,0640) lib/netdata/conf.d/ioping.conf.sample
95
@sample(netdata,netdata,0640) lib/netdata/conf.d/ioping.conf.sample
96
lib/netdata/conf.d/log2journal.d/default.yaml
97
lib/netdata/conf.d/log2journal.d/nginx-combined.yaml
98
lib/netdata/conf.d/log2journal.d/nginx-json.yaml
99
@sample(netdata,netdata,0640) lib/netdata/conf.d/logsmanagement.d.conf.sample
100
@sample(netdata,netdata,0640) lib/netdata/conf.d/logsmanagement.d/default.conf.sample
101
@sample(netdata,netdata,0640) lib/netdata/conf.d/logsmanagement.d/example_forward.conf.sample
102
@sample(netdata,netdata,0640) lib/netdata/conf.d/logsmanagement.d/example_mqtt.conf.sample
103
@sample(netdata,netdata,0640) lib/netdata/conf.d/logsmanagement.d/example_serial.conf.sample
104
@sample(netdata,netdata,0640) lib/netdata/conf.d/logsmanagement.d/example_syslog.conf.sample
105
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d.conf.sample
106
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/activemq.conf.sample
107
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/apache.conf.sample
108
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/bind.conf.sample
109
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/cassandra.conf.sample
110
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/chrony.conf.sample
111
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/cockroachdb.conf.sample
112
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/consul.conf.sample
113
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/coredns.conf.sample
114
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/couchbase.conf.sample
115
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/couchdb.conf.sample
116
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/dns_query.conf.sample
117
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/dnsdist.conf.sample
118
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/dnsmasq.conf.sample
119
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/dnsmasq_dhcp.conf.sample
120
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/docker.conf.sample
121
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/docker_engine.conf.sample
122
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/dockerhub.conf.sample
123
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/elasticsearch.conf.sample
124
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/envoy.conf.sample
125
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/example.conf.sample
126
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/filecheck.conf.sample
127
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/fluentd.conf.sample
128
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/freeradius.conf.sample
129
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/geth.conf.sample
130
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/haproxy.conf.sample
131
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/hdfs.conf.sample
132
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/httpcheck.conf.sample
133
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/isc_dhcpd.conf.sample
134
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/k8s_kubelet.conf.sample
135
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/k8s_kubeproxy.conf.sample
136
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/k8s_state.conf.sample
137
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/lighttpd.conf.sample
138
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/logind.conf.sample
139
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/logstash.conf.sample
140
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/mongodb.conf.sample
141
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/mysql.conf.sample
142
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/nginx.conf.sample
143
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/nginxplus.conf.sample
144
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/nginxvts.conf.sample
145
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/ntpd.conf.sample
146
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/nvidia_smi.conf.sample
147
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/nvme.conf.sample
148
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/openvpn.conf.sample
149
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/openvpn_status_log.conf.sample
150
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/pgbouncer.conf.sample
151
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/phpdaemon.conf.sample
152
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/phpfpm.conf.sample
153
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/pihole.conf.sample
154
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/pika.conf.sample
155
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/ping.conf.sample
156
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/portcheck.conf.sample
157
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/postgres.conf.sample
158
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/powerdns.conf.sample
159
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/powerdns_recursor.conf.sample
160
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/prometheus.conf.sample
161
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/proxysql.conf.sample
162
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/pulsar.conf.sample
163
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/rabbitmq.conf.sample
164
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/redis.conf.sample
165
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/scaleio.conf.sample
166
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/sd/docker.conf.sample
167
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/sd/net_listeners.conf.sample
168
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/snmp.conf.sample
169
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/squidlog.conf.sample
170
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/supervisord.conf.sample
171
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/systemdunits.conf.sample
172
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/tengine.conf.sample
173
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/traefik.conf.sample
174
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/unbound.conf.sample
175
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/upsd.conf.sample
176
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/vcsa.conf.sample
177
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/vernemq.conf.sample
178
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/vsphere.conf.sample
179
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/web_log.conf.sample
180
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/whoisquery.conf.sample
181
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/windows.conf.sample
182
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/wireguard.conf.sample
183
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/x509check.conf.sample
184
%%GOPLUGIN%%@sample(netdata,netdata,0640) lib/netdata/conf.d/go.d/zookeeper.conf.sample
116
@sample(netdata,netdata,0640) lib/netdata/conf.d/python.d.conf.sample
185
@sample(netdata,netdata,0640) lib/netdata/conf.d/python.d.conf.sample
117
@sample(netdata,netdata,0640) lib/netdata/conf.d/python.d/adaptec_raid.conf.sample
186
@sample(netdata,netdata,0640) lib/netdata/conf.d/python.d/adaptec_raid.conf.sample
118
@sample(netdata,netdata,0640) lib/netdata/conf.d/python.d/alarms.conf.sample
187
@sample(netdata,netdata,0640) lib/netdata/conf.d/python.d/alarms.conf.sample
Lines 160-165 Link Here
160
@sample(netdata,netdata,0640) lib/netdata/conf.d/python.d/varnish.conf.sample
229
@sample(netdata,netdata,0640) lib/netdata/conf.d/python.d/varnish.conf.sample
161
@sample(netdata,netdata,0640) lib/netdata/conf.d/python.d/w1sensor.conf.sample
230
@sample(netdata,netdata,0640) lib/netdata/conf.d/python.d/w1sensor.conf.sample
162
@sample(netdata,netdata,0640) lib/netdata/conf.d/python.d/zscores.conf.sample
231
@sample(netdata,netdata,0640) lib/netdata/conf.d/python.d/zscores.conf.sample
232
lib/netdata/conf.d/schema.d/health:alert:prototype.json
233
lib/netdata/conf.d/schema.d/systemd-journal:monitored-directories.json
163
@sample(netdata,netdata,0640) lib/netdata/conf.d/statsd.d/asterisk.conf.sample
234
@sample(netdata,netdata,0640) lib/netdata/conf.d/statsd.d/asterisk.conf.sample
164
@sample(netdata,netdata,0640) lib/netdata/conf.d/statsd.d/example.conf.sample
235
@sample(netdata,netdata,0640) lib/netdata/conf.d/statsd.d/example.conf.sample
165
@sample(netdata,netdata,0640) lib/netdata/conf.d/statsd.d/k6.conf.sample
236
@sample(netdata,netdata,0640) lib/netdata/conf.d/statsd.d/k6.conf.sample
Lines 169-175 libexec/netdata/charts.d/ap.chart.sh Link Here
169
libexec/netdata/charts.d/apcupsd.chart.sh
240
libexec/netdata/charts.d/apcupsd.chart.sh
170
libexec/netdata/charts.d/example.chart.sh
241
libexec/netdata/charts.d/example.chart.sh
171
libexec/netdata/charts.d/libreswan.chart.sh
242
libexec/netdata/charts.d/libreswan.chart.sh
172
libexec/netdata/charts.d/nut.chart.sh
173
libexec/netdata/charts.d/opensips.chart.sh
243
libexec/netdata/charts.d/opensips.chart.sh
174
libexec/netdata/charts.d/sensors.chart.sh
244
libexec/netdata/charts.d/sensors.chart.sh
175
libexec/netdata/install-service.sh
245
libexec/netdata/install-service.sh
Lines 190-196 libexec/netdata/plugins.d/ebpf_thread_function.sh Link Here
190
libexec/netdata/plugins.d/get-kubernetes-labels.sh
260
libexec/netdata/plugins.d/get-kubernetes-labels.sh
191
libexec/netdata/plugins.d/health-cmdapi-test.sh
261
libexec/netdata/plugins.d/health-cmdapi-test.sh
192
libexec/netdata/plugins.d/ioping.plugin
262
libexec/netdata/plugins.d/ioping.plugin
263
libexec/netdata/plugins.d/logs-management.plugin
193
libexec/netdata/plugins.d/loopsleepms.sh.inc
264
libexec/netdata/plugins.d/loopsleepms.sh.inc
265
libexec/netdata/plugins.d/ndsudo
266
%%GOPLUGIN%%libexec/netdata/plugins.d/go.d.plugin
194
libexec/netdata/plugins.d/python.d.plugin
267
libexec/netdata/plugins.d/python.d.plugin
195
libexec/netdata/plugins.d/request.sh
268
libexec/netdata/plugins.d/request.sh
196
libexec/netdata/plugins.d/system-info.sh
269
libexec/netdata/plugins.d/system-info.sh
Lines 262-267 libexec/netdata/python.d/uwsgi.chart.py Link Here
262
libexec/netdata/python.d/varnish.chart.py
335
libexec/netdata/python.d/varnish.chart.py
263
libexec/netdata/python.d/w1sensor.chart.py
336
libexec/netdata/python.d/w1sensor.chart.py
264
libexec/netdata/python.d/zscores.chart.py
337
libexec/netdata/python.d/zscores.chart.py
338
sbin/log2journal
265
sbin/netdata
339
sbin/netdata
266
%%CLOUD%%sbin/netdata-claim.sh
340
%%CLOUD%%sbin/netdata-claim.sh
267
sbin/netdatacli
341
sbin/netdatacli
Lines 450-549 sbin/netdatacli Link Here
450
%%DATADIR%%/web/tv.html
524
%%DATADIR%%/web/tv.html
451
%%DATADIR%%/web/v0/index.html
525
%%DATADIR%%/web/v0/index.html
452
%%DATADIR%%/web/v1/index.html
526
%%DATADIR%%/web/v1/index.html
453
%%DATADIR%%/web/v2/102.6720db877aebad83c9c0.chunk.js
527
%%DATADIR%%/web/v2/1220.866e5f8ef6dd53cc1146.chunk.js
454
%%DATADIR%%/web/v2/1282.e5f85eaa281c13b2030d.js
528
%%DATADIR%%/web/v2/1396.3ea7b55a3bffeef95530.chunk.js
455
%%DATADIR%%/web/v2/1585.5329adbba314b3f10704.js
529
%%DATADIR%%/web/v2/1396.3ea7b55a3bffeef95530.chunk.js.LICENSE.txt
456
%%DATADIR%%/web/v2/1646.f66ed032e200120e1457.chunk.js
530
%%DATADIR%%/web/v2/1418.a399f41ec9789d008612.chunk.js
457
%%DATADIR%%/web/v2/2376.9257ccae3f66af1cac88.chunk.js
531
%%DATADIR%%/web/v2/1726.e4f235562d58cb4f4044.chunk.js
458
%%DATADIR%%/web/v2/2713.4709f984a18e7f40a92c.chunk.js
532
%%DATADIR%%/web/v2/1782.31d84c467a8446cb3c47.chunk.js
459
%%DATADIR%%/web/v2/285.2de02386f3d8ec1855d7.chunk.js
533
%%DATADIR%%/web/v2/1839.1dcd23c81c97fb79bfdb.chunk.js
460
%%DATADIR%%/web/v2/2934.ec60078ef1c5714cec07.chunk.js
534
%%DATADIR%%/web/v2/185.7461f65d16b20fe83fc1.chunk.js
461
%%DATADIR%%/web/v2/3241.f4a3a7146370127962b2.chunk.js
535
%%DATADIR%%/web/v2/1875.e736e046980cb8eb4cda.chunk.js
462
%%DATADIR%%/web/v2/3360.6cced5680aec91f164f2.chunk.js
536
%%DATADIR%%/web/v2/1876.ba66fdbcfb1b55334646.chunk.js
463
%%DATADIR%%/web/v2/3465.598771116ac4b3118dcf.chunk.js
537
%%DATADIR%%/web/v2/195.3898e2d9ea61ff1d4a4f.chunk.js
464
%%DATADIR%%/web/v2/3495.b3c7dc78377628c8115a.js
538
%%DATADIR%%/web/v2/2007.3c73c91371062be4c05e.chunk.js
465
%%DATADIR%%/web/v2/3495.b3c7dc78377628c8115a.js.LICENSE.txt
539
%%DATADIR%%/web/v2/2414.38b580f70a86a4f94b83.chunk.js
466
%%DATADIR%%/web/v2/3564.913eb7b1b54cc991cff6.chunk.js
540
%%DATADIR%%/web/v2/3104.dfd9b1f79c9550ab8493.chunk.js
467
%%DATADIR%%/web/v2/39.89070793921be1288bb5.css
541
%%DATADIR%%/web/v2/3296.66994eada739315fc37e.chunk.js
468
%%DATADIR%%/web/v2/39.a3f7f35f7d444471688c.chunk.js
542
%%DATADIR%%/web/v2/3350.24934ec57134cbef07bf.chunk.js
469
%%DATADIR%%/web/v2/3981.ccb665950325037c0dda.css
543
%%DATADIR%%/web/v2/3584.7b6df71f431fe58061ad.chunk.js
544
%%DATADIR%%/web/v2/3624.b8b5bc981ae890a8a5b8.chunk.js
545
%%DATADIR%%/web/v2/3705.38e023af816fb6ce8fc9.chunk.js
546
%%DATADIR%%/web/v2/3731.40bfabd5c5a12309b1a9.chunk.js
547
%%DATADIR%%/web/v2/3731.40bfabd5c5a12309b1a9.chunk.js.LICENSE.txt
548
%%DATADIR%%/web/v2/3736.b247e40ccbdc039b9877.chunk.js
549
%%DATADIR%%/web/v2/3750.6f01a0becb7db332b4ce.chunk.js
550
%%DATADIR%%/web/v2/3968.a5f7366160b7ac086dba.chunk.js
470
%%DATADIR%%/web/v2/3D_PARTY_LICENSES.txt
551
%%DATADIR%%/web/v2/3D_PARTY_LICENSES.txt
471
%%DATADIR%%/web/v2/4193.a24fa63a696478cbc36d.chunk.js
552
%%DATADIR%%/web/v2/4034.9c82e72b081978919942.chunk.js
472
%%DATADIR%%/web/v2/4468.13fccfa3c5df70da4cb4.js
553
%%DATADIR%%/web/v2/4414.60a74c3b7534b4a25469.chunk.js
473
%%DATADIR%%/web/v2/4468.13fccfa3c5df70da4cb4.js.LICENSE.txt
554
%%DATADIR%%/web/v2/4680.0c75b44bbc80f4591fdd.chunk.js
474
%%DATADIR%%/web/v2/4586.81974ba4256f342a38d1.js
555
%%DATADIR%%/web/v2/5171.2a848991a41e02f24c8d.js
475
%%DATADIR%%/web/v2/4586.81974ba4256f342a38d1.js.LICENSE.txt
556
%%DATADIR%%/web/v2/5171.2a848991a41e02f24c8d.js.LICENSE.txt
476
%%DATADIR%%/web/v2/4744.f498601d245f8fea90ce.chunk.js
557
%%DATADIR%%/web/v2/5246.a7c78643acccf04d7268.chunk.js
477
%%DATADIR%%/web/v2/4759.d7e102237c4e6bdf77b5.chunk.js
558
%%DATADIR%%/web/v2/5304.dcb81c99fcb90f8ee8cc.chunk.js
478
%%DATADIR%%/web/v2/4794.c4854de788f5b1d31922.chunk.js
559
%%DATADIR%%/web/v2/5426.1235a7a39c1b0923b071.chunk.js
479
%%DATADIR%%/web/v2/4794.c4854de788f5b1d31922.chunk.js.LICENSE.txt
560
%%DATADIR%%/web/v2/5596.8280cb325a103342aa30.chunk.js
480
%%DATADIR%%/web/v2/4814.1f2dcb58eb4f6692db9a.chunk.js
561
%%DATADIR%%/web/v2/5598.99e492f7ae4d391df96f.chunk.js
481
%%DATADIR%%/web/v2/4915.6bc300ebfeff82fa9d92.chunk.js
562
%%DATADIR%%/web/v2/5700.313f7b9c7005d2022b03.chunk.js
482
%%DATADIR%%/web/v2/4934.7d9fa36f93cb179bec3d.chunk.js
563
%%DATADIR%%/web/v2/5709.6fc5fd48f639100fa6ad.chunk.js
483
%%DATADIR%%/web/v2/5158.10c6ae395ac563c1290c.chunk.js
564
%%DATADIR%%/web/v2/5709.6fc5fd48f639100fa6ad.chunk.js.LICENSE.txt
484
%%DATADIR%%/web/v2/5158.10c6ae395ac563c1290c.chunk.js.LICENSE.txt
565
%%DATADIR%%/web/v2/5794.719f2daca8b8f3a118fe.chunk.js
485
%%DATADIR%%/web/v2/5575.9f9aaa7fc19bab94ba40.chunk.js
566
%%DATADIR%%/web/v2/6008.07f03fb5dba476a12f91.chunk.js
486
%%DATADIR%%/web/v2/5575.9f9aaa7fc19bab94ba40.chunk.js.LICENSE.txt
567
%%DATADIR%%/web/v2/6121.8c25bb62d82381e90df8.chunk.js
487
%%DATADIR%%/web/v2/5933.33a83af1888ae968a5f5.chunk.js
568
%%DATADIR%%/web/v2/6121.8c25bb62d82381e90df8.chunk.js.LICENSE.txt
488
%%DATADIR%%/web/v2/5962.1f67472dc731b99c279b.chunk.js
569
%%DATADIR%%/web/v2/6218.26fc25279f45fbcf29f7.chunk.js
489
%%DATADIR%%/web/v2/5969.37169a0f6d520991738f.chunk.js
570
%%DATADIR%%/web/v2/6323.425683f5bf71a51caf65.chunk.js
490
%%DATADIR%%/web/v2/597.3654b5141b4008296122.chunk.js
571
%%DATADIR%%/web/v2/6331.89070793921be1288bb5.css
491
%%DATADIR%%/web/v2/6129.47fea30f4f9ea3ebd724.chunk.js
572
%%DATADIR%%/web/v2/6331.ccfaab2b17a28e1b6aa2.chunk.js
492
%%DATADIR%%/web/v2/6290.cf33d7ac6ef66c65cff4.js
573
%%DATADIR%%/web/v2/6760.fe4a9b58186542294e85.chunk.js
493
%%DATADIR%%/web/v2/6290.cf33d7ac6ef66c65cff4.js.LICENSE.txt
574
%%DATADIR%%/web/v2/68%%PYTHON_VER%%5b7a3193b43fd5dbe51.chunk.js
494
%%DATADIR%%/web/v2/6347.a7c6af21385d9781517b.chunk.js
575
%%DATADIR%%/web/v2/683.cc9fa5f3bdc0bf3ab2fc.css
495
%%DATADIR%%/web/v2/6468.43ac066c0c3b826ab74d.js
576
%%DATADIR%%/web/v2/7144.72da82bc4f112d1e6d31.chunk.js
496
%%DATADIR%%/web/v2/6468.43ac066c0c3b826ab74d.js.LICENSE.txt
577
%%DATADIR%%/web/v2/7144.72da82bc4f112d1e6d31.chunk.js.LICENSE.txt
497
%%DATADIR%%/web/v2/6502.cc5959ebeb542dc889d2.chunk.js
578
%%DATADIR%%/web/v2/7146.43b5125ff0b41138f0bc.chunk.js
498
%%DATADIR%%/web/v2/6610.b12a5655a1da4672f61e.chunk.js
579
%%DATADIR%%/web/v2/7208.3c255b9641ab4d451747.chunk.js
499
%%DATADIR%%/web/v2/6723.cc9fa5f3bdc0bf3ab2fc.css
580
%%DATADIR%%/web/v2/7332.8f89f4887946c129ea01.chunk.js
500
%%DATADIR%%/web/v2/6723.da4231b57f79010d75d3.chunk.js
581
%%DATADIR%%/web/v2/7340.c563ddaad6c68dab9088.chunk.js
501
%%DATADIR%%/web/v2/6817.6358ba89c85884375c26.chunk.js
582
%%DATADIR%%/web/v2/7410.cb47519a7a5187208b28.chunk.js
502
%%DATADIR%%/web/v2/6876.fb5c84caac7a946b1bb7.chunk.js
583
%%DATADIR%%/web/v2/7436.6d4c25c5ff7d2e65734c.chunk.js
503
%%DATADIR%%/web/v2/6942.99ffa6276d630cf3047e.chunk.js
584
%%DATADIR%%/web/v2/7471.d61aa69f317a13bd1b86.chunk.js
504
%%DATADIR%%/web/v2/7154.0d38ad88861f68430a3a.chunk.js
585
%%DATADIR%%/web/v2/749.8ce93b3d6d67d600e8c8.chunk.js
505
%%DATADIR%%/web/v2/7241.808d72135676635ffd24.chunk.js
586
%%DATADIR%%/web/v2/749.8ce93b3d6d67d600e8c8.chunk.js.LICENSE.txt
506
%%DATADIR%%/web/v2/7514.93b82b0baf2c22f3ed7d.chunk.js
587
%%DATADIR%%/web/v2/7519.8a99c6b9370779196847.chunk.js
507
%%DATADIR%%/web/v2/7514.93b82b0baf2c22f3ed7d.chunk.js.LICENSE.txt
588
%%DATADIR%%/web/v2/7529.75d71f48d8d6ea454b6d.chunk.js
508
%%DATADIR%%/web/v2/7836.1195e21ca88bf9f090cc.chunk.js
589
%%DATADIR%%/web/v2/7789.89070793921be1288bb5.css
509
%%DATADIR%%/web/v2/7900.13b92a37296376bcf7e1.js
590
%%DATADIR%%/web/v2/7789.f00b7764a97a7dadff97.chunk.js
510
%%DATADIR%%/web/v2/7900.13b92a37296376bcf7e1.js.LICENSE.txt
591
%%DATADIR%%/web/v2/7840.e1af907905ff10afb069.chunk.js
511
%%DATADIR%%/web/v2/8102.c1e94de5881098796566.chunk.js
592
%%DATADIR%%/web/v2/785.c45abbb1e2a4915d85df.chunk.js
512
%%DATADIR%%/web/v2/8447.3c3c673c052aabcb6e9c.chunk.js
593
%%DATADIR%%/web/v2/7857.0d6fb5e4a2c2b8996e0f.chunk.js
513
%%DATADIR%%/web/v2/8584.7f6aa04c757c2087ecfc.chunk.js
594
%%DATADIR%%/web/v2/7959.3995671185f9720b5454.chunk.js
514
%%DATADIR%%/web/v2/8663.8cd30325da0af9a3c5b0.chunk.js
595
%%DATADIR%%/web/v2/8011.3f8282bb427ea06e9408.chunk.js
515
%%DATADIR%%/web/v2/8977.84a89e306af31fd5596f.chunk.js
596
%%DATADIR%%/web/v2/8059.c88ad65e1926faee2379.chunk.js
516
%%DATADIR%%/web/v2/9020.041e0c5fb9d96288da9b.chunk.js
597
%%DATADIR%%/web/v2/8323.61daef62d0036dd19dbf.chunk.js
517
%%DATADIR%%/web/v2/9201.ff32cff2cdc7f61b39cf.chunk.js
598
%%DATADIR%%/web/v2/8323.61daef62d0036dd19dbf.chunk.js.LICENSE.txt
518
%%DATADIR%%/web/v2/9305.56da2f7766ea1deb188c.chunk.js
599
%%DATADIR%%/web/v2/8323.e22de33686bb2f34063c.css
519
%%DATADIR%%/web/v2/9305.56da2f7766ea1deb188c.chunk.js.LICENSE.txt
600
%%DATADIR%%/web/v2/8473.757c1686b1578c6813c8.chunk.js
520
%%DATADIR%%/web/v2/9305.576da4e194a7e4007f03.css
601
%%DATADIR%%/web/v2/8505.b10bf3549c213fe15d55.chunk.js
521
%%DATADIR%%/web/v2/9360.9f035cf1aaa98e9caa0b.chunk.js
602
%%DATADIR%%/web/v2/8507.89070793921be1288bb5.css
522
%%DATADIR%%/web/v2/9510.9aa1de249888b20cec95.chunk.js
603
%%DATADIR%%/web/v2/8507.e30db778518756ef63fa.chunk.js
523
%%DATADIR%%/web/v2/9550.e58effe1f38c221170f1.chunk.js
604
%%DATADIR%%/web/v2/86.167efe55b22f02c3155a.chunk.js
524
%%DATADIR%%/web/v2/9587.e2aeb1fdce3a378ece08.js
605
%%DATADIR%%/web/v2/8676.a3d687b3b339a72ab66e.chunk.js
525
%%DATADIR%%/web/v2/9587.e2aeb1fdce3a378ece08.js.LICENSE.txt
606
%%DATADIR%%/web/v2/8784.c51d36fede97c85313e9.chunk.js
526
%%DATADIR%%/web/v2/9768.0553ad301231b99a0a13.chunk.js
607
%%DATADIR%%/web/v2/9297.394c9cbf0a1e402384a6.chunk.js
527
%%DATADIR%%/web/v2/9895.40d30586251f83efeb39.chunk.js
608
%%DATADIR%%/web/v2/934.aadd4297c0cd646a1038.chunk.js
528
%%DATADIR%%/web/v2/9975.d167614e305f367e24b3.chunk.js
609
%%DATADIR%%/web/v2/9473.3693c06a873280f11bd6.chunk.js
610
%%DATADIR%%/web/v2/9510.58c95eb5f0290291b5a9.chunk.js
611
%%DATADIR%%/web/v2/966.89070793921be1288bb5.css
612
%%DATADIR%%/web/v2/966.8f0a484a79552c192bc1.chunk.js
613
%%DATADIR%%/web/v2/9818.ca4131b4d88d20e88f72.chunk.js
614
%%DATADIR%%/web/v2/9843.75b313f97c4d363a4959.chunk.js
615
%%DATADIR%%/web/v2/9912.b952e26497a284ac37b2.chunk.js
529
%%DATADIR%%/web/v2/LICENSE.md
616
%%DATADIR%%/web/v2/LICENSE.md
530
%%DATADIR%%/web/v2/agent.html
617
%%DATADIR%%/web/v2/agent.html
531
%%DATADIR%%/web/v2/allFiles.6.52.2.json
618
%%DATADIR%%/web/v2/allFiles.6.104.1.json
532
%%DATADIR%%/web/v2/allFiles.6.json
619
%%DATADIR%%/web/v2/allFiles.6.json
533
%%DATADIR%%/web/v2/app.0917ff2bf5d3b8b0678d.css
620
%%DATADIR%%/web/v2/app.7443b231e52789baa643.js
534
%%DATADIR%%/web/v2/app.760cd1565f79a70b5270.js
621
%%DATADIR%%/web/v2/app.cb2e9f9a81cf9533384e.css
535
%%DATADIR%%/web/v2/apple-app-site-association
622
%%DATADIR%%/web/v2/apple-app-site-association
536
%%DATADIR%%/web/v2/bundlesManifest.6.json
623
%%DATADIR%%/web/v2/bundlesManifest.6.json
537
%%DATADIR%%/web/v2/editor.cb9de08df72d187d1c0f.chunk.js
538
%%DATADIR%%/web/v2/favicon.ico
624
%%DATADIR%%/web/v2/favicon.ico
539
%%DATADIR%%/web/v2/index.html
625
%%DATADIR%%/web/v2/index.html
540
%%DATADIR%%/web/v2/local-agent.html
626
%%DATADIR%%/web/v2/local-agent.html
541
%%DATADIR%%/web/v2/npm.react.dom.d27ef591a7ba746e4e99.js
627
%%DATADIR%%/web/v2/netdata.charts.f0b9e2b96837688d2aab.js
542
%%DATADIR%%/web/v2/npm.react.dom.d27ef591a7ba746e4e99.js.LICENSE.txt
628
%%DATADIR%%/web/v2/netdata.ui.f50ab375c8daf7a2a547.js
629
%%DATADIR%%/web/v2/netdata.ui.f50ab375c8daf7a2a547.js.LICENSE.txt
630
%%DATADIR%%/web/v2/npm.react.dom.b2a6a30db3d683abdb32.js
631
%%DATADIR%%/web/v2/npm.react.dom.b2a6a30db3d683abdb32.js.LICENSE.txt
543
%%DATADIR%%/web/v2/registry-access.html
632
%%DATADIR%%/web/v2/registry-access.html
544
%%DATADIR%%/web/v2/registry-alert-redirect.html
633
%%DATADIR%%/web/v2/registry-alert-redirect.html
545
%%DATADIR%%/web/v2/registry-hello.html
634
%%DATADIR%%/web/v2/registry-hello.html
546
%%DATADIR%%/web/v2/runtime.827ebf3cc42c8e809cd9.js
635
%%DATADIR%%/web/v2/runtime.30ce76c6e7acf60ebf83.js
547
%%DATADIR%%/web/v2/static/apple-app-site-association
636
%%DATADIR%%/web/v2/static/apple-app-site-association
548
%%DATADIR%%/web/v2/static/email/img/clea_badge.png
637
%%DATADIR%%/web/v2/static/email/img/clea_badge.png
549
%%DATADIR%%/web/v2/static/email/img/clea_siren.png
638
%%DATADIR%%/web/v2/static/email/img/clea_siren.png
Lines 719-724 sbin/netdatacli Link Here
719
%%DATADIR%%/web/v2/static/img/mail/isotype.svg
808
%%DATADIR%%/web/v2/static/img/mail/isotype.svg
720
%%DATADIR%%/web/v2/static/img/mail/logotype.png
809
%%DATADIR%%/web/v2/static/img/mail/logotype.png
721
%%DATADIR%%/web/v2/static/img/mail/logotype.svg
810
%%DATADIR%%/web/v2/static/img/mail/logotype.svg
811
%%DATADIR%%/web/v2/static/img/new-dashboard.svg
722
%%DATADIR%%/web/v2/static/img/no-filter-results.png
812
%%DATADIR%%/web/v2/static/img/no-filter-results.png
723
%%DATADIR%%/web/v2/static/img/no-nodes-room.svg
813
%%DATADIR%%/web/v2/static/img/no-nodes-room.svg
724
%%DATADIR%%/web/v2/static/img/rack.png
814
%%DATADIR%%/web/v2/static/img/rack.png
Lines 730-736 sbin/netdatacli Link Here
730
%%DATADIR%%/web/v2/static/site/pages/holding-page-503/reset.svg
820
%%DATADIR%%/web/v2/static/site/pages/holding-page-503/reset.svg
731
%%DATADIR%%/web/v2/static/splash.css
821
%%DATADIR%%/web/v2/static/splash.css
732
%%DATADIR%%/web/v2/sw.js
822
%%DATADIR%%/web/v2/sw.js
733
%%DATADIR%%/web/version.txt
734
@mode
823
@mode
735
@owner
824
@owner
736
@group
825
@group
Lines 739-747 sbin/netdatacli Link Here
739
@dir(netdata,netdata,0750) %%ETCDIR%%/ebpf.d
828
@dir(netdata,netdata,0750) %%ETCDIR%%/ebpf.d
740
@dir(netdata,netdata,0750) %%ETCDIR%%/go.d
829
@dir(netdata,netdata,0750) %%ETCDIR%%/go.d
741
@dir(netdata,netdata,0750) %%ETCDIR%%/health.d
830
@dir(netdata,netdata,0750) %%ETCDIR%%/health.d
831
@dir(netdata,netdata,0750) %%ETCDIR%%/logsmanagement.d
742
@dir(netdata,netdata,0750) %%ETCDIR%%/python.d
832
@dir(netdata,netdata,0750) %%ETCDIR%%/python.d
743
@dir(netdata,netdata,0750) %%ETCDIR%%/ssl
833
@dir(netdata,netdata,0750) %%ETCDIR%%/ssl
744
@dir(netdata,netdata,0750) %%ETCDIR%%/statsd.d
834
@dir(netdata,netdata,0750) %%ETCDIR%%/statsd.d
745
@dir(netdata,netdata,0750) %%NETDATA_CACHE%%
835
@dir(netdata,netdata,0750) %%NETDATA_CACHE%%
746
@dir(netdata,netdata,0750) %%NETDATA_PERST%%
836
@dir(netdata,netdata,0750) %%NETDATA_PERST%%
837
@dir(netdata,netdata,0750) %%NETDATA_PERST%%/registery
838
%%CLOUD%%@dir(netdata,netdata,0750) %%NETDATA_PERST%%/cloud.d
747
@dir(netdata,netdata,0750) %%NETDATA_LOG%%
839
@dir(netdata,netdata,0750) %%NETDATA_LOG%%
748
- 

Return to bug 275792