netdata.spec.in 35 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087
  1. # SPDX-License-Identifier: GPL-3.0-or-later
  2. %global contentdir %{_datadir}/netdata
  3. %global version @PACKAGE_VERSION@
  4. # XXX: We are using automatic `Requires:` generation for libraries
  5. # whenever possible, DO NOT LIST LIBRARY DEPENDENCIES UNLESS THE RESULTANT
  6. # PACKAGE IS BROKEN WITHOUT THEM.
  7. AutoReqProv: yes
  8. # This is temporary and should eventually be resolved. This bypasses
  9. # the default rhel __os_install_post which throws a python compile
  10. # error.
  11. %global __os_install_post %{nil}
  12. # This is needed to support proper handling of Go code without requiring
  13. # external linking or GCCGO, because even recent versions of rpmbuild do
  14. # not properly support the build IDs generated by the upstream Go toolchain.
  15. %global _missing_build_ids_terminate_build 0
  16. # Use our custom CMake version from our package builders if we can’t find cmake.
  17. %if 0%{?centos_ver} == 7
  18. %global __cmake /cmake/bin/cmake
  19. %global __cmake_builddir .
  20. %global cmake %{__cmake}
  21. %global cmake_build %{__cmake} --build %{__cmake_builddir} --verbose --parallel $(nproc)
  22. %global cmake_install DESTDIR="%{buildroot}" %{__cmake} --install %{__cmake_builddir}
  23. %global _have_ml 0
  24. %endif
  25. %if 0%{?amazon_linux} == 2
  26. %global __cmake /cmake/bin/cmake
  27. %global __cmake_builddir .
  28. %global cmake %{__cmake}
  29. %global cmake_build %{__cmake} --build %{__cmake_builddir} --verbose --parallel $(nproc)
  30. %global cmake_install DESTDIR="%{buildroot}" %{__cmake} --install %{__cmake_builddir}
  31. %global _have_ml 0
  32. %endif
  33. # openSUSE requires us to explicity ask for ninja for builds.
  34. # We also need to specify the build directory since they do not.
  35. %if 0%{?suse_version}
  36. %global __builder ninja
  37. %global __cmake_builddir %{__builddir}
  38. %endif
  39. # Disable eBPF for architectures other than x86
  40. %ifarch x86_64 i386
  41. %global _have_ebpf 1
  42. %else
  43. %global _have_ebpf 0
  44. %endif
  45. # Mitigate the cross-distro mayhem by strictly defining the libexec destination
  46. %define _prefix /usr
  47. %define _sysconfdir /etc
  48. %define _localstatedir /var
  49. %define _libexecdir /usr/libexec
  50. %define _libdir /usr/lib
  51. # Fedora doesn’t define this, but other distros do
  52. %{!?_presetdir:%global _presetdir %{_libdir}/systemd/system-preset}
  53. # Redefine centos_ver to standardize on a single macro
  54. %{?rhel:%global centos_ver %rhel}
  55. # Disable FreeIPMI on Amazon Linux 2023 and newer
  56. %if 0%{?amzn} >= 2023
  57. %global _have_freeipmi 0
  58. %else
  59. %global _have_freeipmi 1
  60. %endif
  61. # Disable CUPS on old RHEL systems.
  62. %if 0%{?centos_ver} != 6 && 0%{?centos_ver} != 7 && 0%{?amazon_linux} != 2
  63. %global _have_cups 1
  64. %else
  65. %global _have_cups 0
  66. %endif
  67. # Disable NFACCT for RHEL equivalents and Amazon Linux
  68. %if 0%{?centos_ver} || 0%{?amzn}
  69. %global _have_nfacct 0
  70. %else
  71. %global _have_nfacct 1
  72. %endif
  73. # Disable xenstat if we’re not on Fedora or openSUSE
  74. %if 0%{?suse_version} || 0%{?fedora}
  75. %if 0%{!?amzm:1}
  76. %global _have_xenstat 0
  77. %else
  78. %global _have_xenstat 1
  79. %endif
  80. %else
  81. %global _have_xenstat 0
  82. %endif
  83. # Skip MongoDB exporter on known problem platforms
  84. %if 0%{?oraclelinux} || 0%{?suse_version} || 0%{?amzn}
  85. %global _have_mongo_exporter 0
  86. %else
  87. %global _have_mongo_exporter 1
  88. %endif
  89. # If ML hasn’t been explicitly disabled or enabled yet, enable it now.
  90. %if 0%{!?_have_ml:1}
  91. %global _have_ml 1
  92. %endif
  93. # Filter known bogus deps that would be caught by AutoReqProv.
  94. %global __requires_exclude_from ^%{_libdir}/%{name}/system/.*$
  95. Summary: Real-time performance monitoring, done right!
  96. Name: netdata
  97. Version: %{version}
  98. Release: 1%{?dist}
  99. License: GPLv3+
  100. Group: Applications/System
  101. Source0: https://github.com/%{name}/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
  102. URL: http://my-%{name}.io
  103. # Remove conflicting EPEL packages
  104. Obsoletes: %{name}-conf
  105. Obsoletes: %{name}-data
  106. # #####################################################################
  107. # Core build/install/runtime dependencies
  108. # #####################################################################
  109. # Build dependencies
  110. #
  111. BuildRequires: gcc
  112. BuildRequires: gcc-c++
  113. BuildRequires: make
  114. BuildRequires: git-core
  115. BuildRequires: cmake
  116. %if 0%{!?suse_version:1}
  117. BuildRequires: ninja-build
  118. %else
  119. BuildRequires: ninja
  120. %endif
  121. BuildRequires: pkgconfig
  122. BuildRequires: curl
  123. BuildRequires: findutils
  124. BuildRequires: pkgconfig(zlib)
  125. BuildRequires: pkgconfig(uuid)
  126. BuildRequires: pkgconfig(libuv)
  127. BuildRequires: pkgconfig(openssl)
  128. BuildRequires: pkgconfig(libcurl)
  129. BuildRequires: pkgconfig(liblz4)
  130. BuildRequires: pkgconfig(yaml-0.1)
  131. BuildRequires: pkgconfig(json-c)
  132. %if 0%{?suse_version}
  133. # log2journal is not available on these systems
  134. %else
  135. BuildRequires: pkgconfig(libpcre2-8)
  136. %endif
  137. %if 0%{?suse_version}
  138. BuildRequires: protobuf-devel
  139. BuildRequires: libprotobuf-c-devel
  140. %else
  141. %if 0%{?fedora}
  142. BuildRequires: protobuf-devel
  143. BuildRequires: protobuf-c-devel
  144. %else
  145. %if 0%{?centos_ver} >= 8
  146. BuildRequires: protobuf-devel
  147. BuildRequires: protobuf-c-devel
  148. %endif
  149. %endif
  150. %endif
  151. # Core build requirements for service install
  152. %if 0%{?suse_version}
  153. BuildRequires: systemd-rpm-macros
  154. %else
  155. BuildRequires: systemd
  156. %endif
  157. # Core requirements for the install to succeed
  158. Requires(pre): /usr/sbin/groupadd
  159. Requires(pre): /usr/sbin/useradd
  160. # #####################################################################
  161. # External plugin package dependencies
  162. # #####################################################################
  163. # CentOS prior to CentOS 8 does not have a new enough version of RPM
  164. # to support weak dependencies. Explicitly requiring our default plugins
  165. # makes it impossible to properly test the packages prior to upload,
  166. # so we just skip depending on them on CentOS 7.
  167. %if 0%{?_have_ebpf}
  168. Requires: %{name}-plugin-ebpf = %{version}
  169. %endif
  170. Requires: %{name}-plugin-apps = %{version}
  171. Requires: %{name}-plugin-pythond = %{version}
  172. Requires: %{name}-plugin-go = %{version}
  173. Requires: %{name}-plugin-debugfs = %{version}
  174. Requires: %{name}-plugin-chartsd = %{version}
  175. Requires: %{name}-plugin-slabinfo = %{version}
  176. Requires: %{name}-plugin-perf = %{version}
  177. %if %{_have_nfacct}
  178. Requires: %{name}-plugin-nfacct = %{version}
  179. %endif
  180. %if %{_have_xenstat}
  181. Suggests: %{name}-plugin-xenstat = %{version}
  182. %endif
  183. %if %{_have_freeipmi} && 0%{?centos_ver} != 6 && 0%{?centos_ver} != 7 && 0%{?amazon_linux} != 2
  184. Suggests: %{name}-plugin-freeipmi = %{version}
  185. %endif
  186. %if 0%{?centos_ver} != 7 && 0%{?amazon_linux} != 2
  187. %if %{_have_cups}
  188. Suggests: %{name}-plugin-cups = %{version}
  189. %endif
  190. Recommends: %{name}-plugin-systemd-journal = %{version}
  191. Recommends: %{name}-plugin-network-viewer = %{version}
  192. Recommends: %{name}-plugin-logs-management = %{version}
  193. %else
  194. Requires: %{name}-plugin-systemd-journal = %{version}
  195. Requires: %{name}-plugin-network-viewer = %{version}
  196. %endif
  197. # #####################################################################
  198. # Functionality-dependent package dependencies
  199. # #####################################################################
  200. # Note: Some or all of the Packages may be found in the EPEL repo,
  201. # rather than the standard ones
  202. # epbf plugin dependencies
  203. %if %{_have_ebpf}
  204. BuildRequires: pkgconfig(libelf)
  205. %endif
  206. # end ebpf plugin dependencies
  207. # nfacct plugin dependencies
  208. %if %{_have_nfacct}
  209. BuildRequires: pkgconfig(libmnl)
  210. BuildRequires: pkgconfig(libnetfilter_acct)
  211. %endif
  212. # end nfacct plugin dependencies
  213. # freeipmi plugin dependencies
  214. %if %{_have_freeipmi}
  215. BuildRequires: pkgconfig(libipmimonitoring)
  216. %endif
  217. # end - freeipmi plugin dependencies
  218. # CUPS plugin dependencies
  219. %if %{_have_cups}
  220. BuildRequires: cups-devel
  221. %endif
  222. # end - cups plugin dependencies
  223. # go.d.plugin dependencies
  224. #
  225. # The conditional here is checking for a macro we define in our package
  226. # builders. If it’s defined, then we’ve injected an upstream copy of
  227. # the Go toolchain, so we don’t need the package installed (which
  228. # is needed because Go’s development model is at odds with enterprise
  229. # distro handling of versioning).
  230. %if %{?_upstream_go_toolchain:0}%{!?_upstream_go_toolchain:1}
  231. %if 0%{?suse_version}
  232. BuildRequires: go >= 1.21
  233. %else
  234. BuildRequires: golang >= 1.21
  235. %endif
  236. %endif
  237. # end - go.d.plugin plugin dependencies
  238. # systemd-journal dependencies
  239. BuildRequires: pkgconfig(libsystemd)
  240. # end - systemd-journal dependencies
  241. # Prometheus remote write dependencies
  242. %if 0%{?suse_version}
  243. BuildRequires: snappy-devel
  244. %else
  245. %if 0%{?centos_ver} != 7
  246. BuildRequires: pkgconfig(snappy)
  247. %else
  248. BuildRequires: snappy-devel
  249. %endif
  250. %endif
  251. # end - prometheus remote write dependencies
  252. # Xenstat dependencies
  253. %if %{_have_xenstat}
  254. BuildRequires: pkgconfig(xenstat)
  255. BuildRequires: pkgconfig(xenlight)
  256. %endif
  257. # end - xenstat dependencies
  258. # MongoDB exporter dependencies
  259. %if %{_have_mongo_exporter}
  260. BuildRequires: pkgconfig(libmongoc-1.0)
  261. %endif
  262. # end - mongodb expoerter dependencies
  263. # logs-management dependencies
  264. BuildRequires: bison
  265. BuildRequires: flex
  266. # end - logs-management dependencies
  267. # #####################################################################
  268. # End of dependency management configuration
  269. # #####################################################################
  270. %description
  271. netdata is the fastest way to visualize metrics. It is a resource
  272. efficient, highly optimized system for collecting and visualizing any
  273. type of realtime timeseries data, from CPU usage, disk activity, SQL
  274. queries, API calls, web site visitors, etc.
  275. netdata tries to visualize the truth of now, in its greatest detail,
  276. so that you can get insights of what is happening now and what just
  277. happened, on your systems and applications.
  278. %prep
  279. %setup -q -n "%{name}-%{version}"
  280. # Only bundle protobuf on CentOS 7 or earlier
  281. %if 0%{?centos_ver:1}
  282. %if %{centos_ver} < 8
  283. export CFLAGS="${CFLAGS} -fPIC" && ${RPM_BUILD_DIR}/%{name}-%{version}/packaging/bundle-protobuf.sh ${RPM_BUILD_DIR}/%{name}-%{version}
  284. %endif
  285. %endif
  286. %if 0%{?_have_ebpf}
  287. %if 0%{?centos_ver:1}
  288. %if %{centos_ver} < 8
  289. export CFLAGS="${CFLAGS} -fPIC" && ${RPM_BUILD_DIR}/%{name}-%{version}/packaging/bundle-libbpf.sh ${RPM_BUILD_DIR}/%{name}-%{version} centos7
  290. export CFLAGS="${CFLAGS} -fPIC" && ${RPM_BUILD_DIR}/%{name}-%{version}/packaging/bundle-ebpf-co-re.sh ${RPM_BUILD_DIR}/%{name}-%{version}
  291. %else
  292. export CFLAGS="${CFLAGS} -fPIC" && ${RPM_BUILD_DIR}/%{name}-%{version}/packaging/bundle-libbpf.sh ${RPM_BUILD_DIR}/%{name}-%{version} centos8
  293. export CFLAGS="${CFLAGS} -fPIC" && ${RPM_BUILD_DIR}/%{name}-%{version}/packaging/bundle-ebpf-co-re.sh ${RPM_BUILD_DIR}/%{name}-%{version}
  294. %endif
  295. %else
  296. export CFLAGS="${CFLAGS} -fPIC" && ${RPM_BUILD_DIR}/%{name}-%{version}/packaging/bundle-libbpf.sh ${RPM_BUILD_DIR}/%{name}-%{version} other
  297. export CFLAGS="${CFLAGS} -fPIC" && ${RPM_BUILD_DIR}/%{name}-%{version}/packaging/bundle-ebpf-co-re.sh ${RPM_BUILD_DIR}/%{name}-%{version}
  298. %endif
  299. %endif
  300. %build
  301. # Conf step
  302. %cmake -G Ninja \
  303. -DCMAKE_INSTALL_PREFIX=/ \
  304. %if 0%{?centos_ver:1}
  305. %if %{centos_ver} < 8
  306. -DUSE_CXX_11=On \
  307. %endif
  308. %endif
  309. %if %{_have_cups}
  310. -DENABLE_PLUGIN_CUPS=On \
  311. %else
  312. -DENABLE_PLUGIN_CUPS=Off \
  313. %endif
  314. %if %{_have_ebpf}
  315. -DENABLE_PLUGIN_EBPF=On \
  316. %else
  317. -DENABLE_PLUGIN_EBPF=Off \
  318. %endif
  319. %if %{_have_freeipmi}
  320. -DENABLE_PLUGIN_FREEIPMI=On \
  321. %else
  322. -DENABLE_PLUGIN_FREEIPMI=Off \
  323. %endif
  324. %if %{_have_nfacct}
  325. -DENABLE_PLUGIN_NFACCT=On \
  326. %else
  327. -DENABLE_PLUGIN_NFACCT=Off \
  328. %endif
  329. %if %{_have_xenstat}
  330. -DENABLE_PLUGIN_XENSTAT=On \
  331. %else
  332. -DENABLE_PLUGIN_XENSTAT=Off \
  333. %endif
  334. %if 0%{?centos_ver:1}
  335. %if %{centos_ver} < 8
  336. -DENABLE_BUNDLED_PROTOBUF=On \
  337. %else
  338. -DENABLE_BUNDLED_PROTOBUF=Off \
  339. %endif
  340. %else
  341. -DENABLE_BUNDLED_PROTOBUF=Off \
  342. %endif
  343. %if %{_have_ml}
  344. -DENABLE_ML=On \
  345. %else
  346. -DENABLE_ML=Off \
  347. %endif
  348. %if %{_have_mongo_exporter}
  349. -DENABLE_EXPORTER_MONGODB=On \
  350. %else
  351. -DENABLE_EXPORTER_MONGODB=Off \
  352. %endif
  353. -DENABLE_ACLK=On \
  354. -DENABLE_CLOUD=On \
  355. -DENABLE_DBENGINE=On \
  356. -DENABLE_H2O=On \
  357. -DENABLE_PLUGIN_APPS=On \
  358. -DENABLE_PLUGIN_CGROUP_NETWORK=On \
  359. -DENABLE_PLUGIN_DEBUGFS=On \
  360. -DENABLE_PLUGIN_GO=On \
  361. -DENABLE_PLUGIN_LOCAL_LISTENERS=On \
  362. -DENABLE_PLUGIN_PERF=On \
  363. -DENABLE_PLUGIN_SLABINFO=On \
  364. -DENABLE_PLUGIN_SYSTEMD_JOURNAL=On \
  365. -DENABLE_PLUGIN_LOGS_MANAGEMENT=On \
  366. -DENABLE_EXPORTER_PROMETHEUS_REMOTE_WRITE=On \
  367. -DENABLE_BUNDLED_JSONC=Off \
  368. -DENABLE_BUNDLED_YAML=Off
  369. # Build step
  370. %{cmake_build}
  371. %install
  372. # ###########################################################
  373. # Clear the directory, if already exists and install
  374. rm -rf "${RPM_BUILD_ROOT}"
  375. %{cmake_install}
  376. install -m 644 -p "system/%{name}.conf" "${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}"
  377. # ###########################################################
  378. # Install updater script
  379. install -m 755 -p packaging/installer/%{name}-updater.sh "${RPM_BUILD_ROOT}%{_libexecdir}/%{name}/%{name}-updater.sh"
  380. # ###########################################################
  381. # logrotate settings
  382. install -m 755 -d "${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d"
  383. install -m 644 -p "%{__cmake_builddir}/system/logrotate/%{name}" "${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d/%{name}"
  384. # ###########################################################
  385. # Install cache and log directories
  386. install -m 755 -d "${RPM_BUILD_ROOT}%{_localstatedir}/cache/%{name}"
  387. install -m 755 -d "${RPM_BUILD_ROOT}%{_localstatedir}/log/%{name}"
  388. # ###########################################################
  389. # Install registry directory
  390. install -m 755 -d "${RPM_BUILD_ROOT}%{_localstatedir}/lib/%{name}/registry"
  391. # ###########################################################
  392. # Install uninstaller script
  393. install -m 750 -p packaging/installer/%{name}-uninstaller.sh \
  394. "${RPM_BUILD_ROOT}%{_libexecdir}/%{name}/%{name}-uninstaller.sh"
  395. # ###########################################################
  396. # Install netdata service
  397. install -m 755 -d "${RPM_BUILD_ROOT}%{_unitdir}"
  398. %if 0%{?centos_ver} != 7 && 0%{?amazon_linux} != 2
  399. install -m 644 -p "%{__cmake_builddir}/system/systemd/%{name}.service" "${RPM_BUILD_ROOT}%{_unitdir}/%{name}.service"
  400. %else
  401. install -m 644 -p "%{__cmake_builddir}/system/systemd/%{name}.service.v235" "${RPM_BUILD_ROOT}%{_unitdir}/%{name}.service"
  402. %endif
  403. install -m 755 -d "${RPM_BUILD_ROOT}%{_presetdir}"
  404. install -m 644 -p "system/systemd/50-%{name}.preset" "${RPM_BUILD_ROOT}%{_presetdir}/50-%{name}.preset"
  405. %if 0%{?_have_ebpf}
  406. ${RPM_BUILD_DIR}/%{name}-%{version}/packaging/bundle-ebpf.sh ${RPM_BUILD_DIR}/%{name}-%{version} \
  407. ${RPM_BUILD_ROOT}%{_libexecdir}/%{name}/plugins.d
  408. %endif
  409. %pre
  410. if ! getent group %{name} > /dev/null; then
  411. groupadd --system %{name}
  412. fi
  413. if ! getent passwd %{name} > /dev/null; then
  414. useradd --system -g %{name} --home %{contentdir} --no-create-home -s /sbin/nologin -c "Netdata pseudo user" %{name}
  415. fi
  416. # I am not sure that the corresponding group names are exactly the same as in Debian, but we should start somewhere, shouldn't we?
  417. for item in docker nginx varnish haproxy adm nsd proxy squid ceph nobody I2C; do
  418. if getent group $item > /dev/null 2>&1; then
  419. usermod -a -G ${item} %{name}
  420. fi
  421. done
  422. %post
  423. %if 0%{?suse_version}
  424. %service_add_post %{name}.service
  425. %else
  426. %systemd_post %{name}.service
  427. %endif
  428. %preun
  429. %if 0%{?suse_version}
  430. %service_del_preun %{name}.service
  431. %else
  432. %systemd_preun %{name}.service
  433. %endif
  434. %postun
  435. %if 0%{?suse_version}
  436. %service_del_postun %{name}.service
  437. %else
  438. %systemd_postun_with_restart %{name}.service
  439. %endif
  440. %clean
  441. rm -rf "${RPM_BUILD_ROOT}"
  442. %files
  443. %doc README.md
  444. %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
  445. %config(noreplace) %{_sysconfdir}/%{name}/%{name}-updater.conf
  446. %attr(0755,root,netdata) %{_sysconfdir}/%{name}/edit-config
  447. %attr(0644,root,netdata) %{_sysconfdir}/%{name}/.install-type
  448. %dir %{_sysconfdir}/%{name}/health.d
  449. %dir %{_sysconfdir}/%{name}/statsd.d
  450. %config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
  451. %{_libdir}/%{name}
  452. %{_sbindir}/%{name}
  453. %{_sbindir}/netdatacli
  454. %if 0%{?suse_version}
  455. # log2journal is not available on these systems
  456. %else
  457. %{_sbindir}/log2journal
  458. %endif
  459. %{_sbindir}/systemd-cat-native
  460. %{_sbindir}/%{name}-claim.sh
  461. %{_unitdir}/%{name}.service
  462. %{_presetdir}/50-%{name}.preset
  463. %dir %{_libexecdir}/%{name}
  464. %dir %{_libexecdir}/%{name}/plugins.d
  465. %defattr(0750,root,netdata,0750)
  466. %{_libexecdir}/%{name}/install-service.sh
  467. %{_libexecdir}/%{name}/%{name}-updater.sh
  468. %{_libexecdir}/%{name}/%{name}-uninstaller.sh
  469. %{_libexecdir}/%{name}/plugins.d/acl.sh
  470. %{_libexecdir}/%{name}/plugins.d/alarm.sh
  471. %{_libexecdir}/%{name}/plugins.d/alarm-email.sh
  472. %{_libexecdir}/%{name}/plugins.d/alarm-notify.sh
  473. %{_libexecdir}/%{name}/plugins.d/alarm-test.sh
  474. %{_libexecdir}/%{name}/plugins.d/anonymous-statistics.sh
  475. %{_libexecdir}/%{name}/plugins.d/cgroup-name.sh
  476. %{_libexecdir}/%{name}/plugins.d/get-kubernetes-labels.sh
  477. %{_libexecdir}/%{name}/plugins.d/health-cmdapi-test.sh
  478. %{_libexecdir}/%{name}/plugins.d/ioping.plugin
  479. %{_libexecdir}/%{name}/plugins.d/loopsleepms.sh.inc
  480. %{_libexecdir}/%{name}/plugins.d/request.sh
  481. %{_libexecdir}/%{name}/plugins.d/system-info.sh
  482. %{_libexecdir}/%{name}/plugins.d/tc-qos-helper.sh
  483. %{_libexecdir}/%{name}/plugins.d/template_dim.sh
  484. %{_libexecdir}/%{name}/plugins.d/ebpf_thread_function.sh
  485. # cgroup-network detects the network interfaces of CGROUPs
  486. # it must be able to use setns() and run cgroup-network-helper.sh as root
  487. # the helper script reads /proc/PID/fdinfo/* files, runs virsh, etc.
  488. %attr(4750,root,netdata) %{_libexecdir}/%{name}/plugins.d/cgroup-network
  489. %attr(0750,root,netdata) %{_libexecdir}/%{name}/plugins.d/cgroup-network-helper.sh
  490. # local-listeners detects the local processes that are listening for connections
  491. %attr(4750,root,netdata) %{_libexecdir}/%{name}/plugins.d/local-listeners
  492. # network-viewer.plugin, detects all system sockets and classifies them
  493. %attr(4750,root,netdata) %{_libexecdir}/%{name}/plugins.d/network-viewer.plugin
  494. # ndsudo a helper to run privileged commands
  495. %attr(4750,root,netdata) %{_libexecdir}/%{name}/plugins.d/ndsudo
  496. # Enforce 0644 for files and 0755 for directories
  497. # for the netdata web directory
  498. %defattr(0644,root,root,0755)
  499. %{_datadir}/%{name}/web
  500. # Enforce 0660 for files and 0770 for directories
  501. # for the netdata lib, cache and log dirs
  502. %defattr(0660,root,netdata,0770)
  503. %attr(0770,netdata,netdata) %dir %{_localstatedir}/cache/%{name}
  504. %attr(0755,netdata,root) %dir %{_localstatedir}/log/%{name}
  505. %attr(0770,netdata,netdata) %dir %{_localstatedir}/lib/%{name}
  506. %attr(0770,netdata,netdata) %dir %{_localstatedir}/lib/%{name}/registry
  507. %attr(0770,netdata,netdata) %dir %{_localstatedir}/lib/%{name}/cloud.d
  508. # Free IPMI belongs to a different sub-package
  509. %if %{_have_freeipmi}
  510. %exclude %{_libexecdir}/%{name}/plugins.d/freeipmi.plugin
  511. %endif
  512. # NFACCT belongs to a different sub-package
  513. %if %{_have_nfacct}
  514. %exclude %{_libexecdir}/%{name}/plugins.d/nfacct.plugin
  515. %endif
  516. # Charts.d belongs to a different sub-package
  517. %exclude %{_libexecdir}/%{name}/plugins.d/charts.d.plugin
  518. %exclude %{_libexecdir}/%{name}/plugins.d/charts.d.dryrun-helper.sh
  519. %exclude %{_libexecdir}/%{name}/charts.d/
  520. %exclude %{_libdir}/%{name}/conf.d/charts.d.conf
  521. %exclude %{_libdir}/%{name}/conf.d/charts.d/
  522. # eBPF belongs to a different sub-package
  523. %if %{_have_ebpf}
  524. %exclude %{_libexecdir}/%{name}/plugins.d/ebpf.plugin
  525. %exclude %{_libdir}/%{name}/conf.d/ebpf.d.conf
  526. %exclude %{_libdir}/%{name}/conf.d/ebpf.d
  527. %exclude %{_libexecdir}/%{name}/plugins.d/ebpf.d
  528. %endif
  529. # Python.d belongs to a different sub-package
  530. %exclude %{_libexecdir}/%{name}/plugins.d/python.d.plugin
  531. %exclude %{_libexecdir}/%{name}/python.d
  532. %exclude %{_libdir}/%{name}/conf.d/python.d.conf
  533. %exclude %{_libdir}/%{name}/conf.d/python.d
  534. # Go.d belongs to a different sub-package
  535. %exclude %{_libexecdir}/%{name}/plugins.d/go.d.plugin
  536. %exclude %{_libdir}/%{name}/conf.d/go.d.conf
  537. %exclude %{_libdir}/%{name}/conf.d/go.d
  538. # apps belongs to a different sub-package
  539. %exclude %{_libexecdir}/%{name}/plugins.d/apps.plugin
  540. %exclude %{_libdir}/%{name}/conf.d/apps_groups.conf
  541. # slabinfo belongs to a different sub-package
  542. %exclude %{_libexecdir}/%{name}/plugins.d/slabinfo.plugin
  543. # perf belongs to a different sub-package
  544. %exclude %{_libexecdir}/%{name}/plugins.d/perf.plugin
  545. # systemd-journal belongs to a different sub-package
  546. %exclude %{_libexecdir}/%{name}/plugins.d/systemd-journal.plugin
  547. # xenstat belongs to a different sub-package
  548. %exclude %{_libexecdir}/%{name}/plugins.d/xenstat.plugin
  549. # logs management belongs to a different sub-package
  550. %exclude %{_libexecdir}/%{name}/plugins.d/logs-management.plugin
  551. %exclude %{_libdir}/%{name}/conf.d/logsmanagement.d.conf
  552. %exclude %{_libdir}/%{name}/conf.d/logsmanagement.d
  553. # Network viewer belongs to a different sub-package
  554. %exclude %{_libexecdir}/%{name}/plugins.d/network-viewer.plugin
  555. # CUPS belongs to a different sub package
  556. %if %{_have_cups}
  557. %exclude %{_libexecdir}/%{name}/plugins.d/cups.plugin
  558. %package plugin-cups
  559. Summary: The CUPS metrics collection plugin for the Netdata Agent
  560. Group: Applications/System
  561. Requires: %{name} = %{version}
  562. %description plugin-cups
  563. This plugin allows the Netdata Agent to collect metrics from the Common UNIX Printing System.
  564. %pre plugin-cups
  565. if ! getent group %{name} > /dev/null; then
  566. groupadd --system %{name}
  567. fi
  568. %files plugin-cups
  569. %attr(0750,root,netdata) %{_libexecdir}/%{name}/plugins.d/cups.plugin
  570. %endif
  571. %if 0%{?_have_freeipmi}
  572. %package plugin-freeipmi
  573. Summary: The FreeIPMI metrics collection plugin for the Netdata Agent
  574. Group: Applications/System
  575. Requires: freeipmi
  576. Requires: %{name} = %{version}
  577. %description plugin-freeipmi
  578. This plugin allows the Netdata Agent to collect metrics from hardware using FreeIPMI.
  579. %pre plugin-freeipmi
  580. if ! getent group %{name} > /dev/null; then
  581. groupadd --system %{name}
  582. fi
  583. %files plugin-freeipmi
  584. %attr(4750,root,netdata) %{_libexecdir}/%{name}/plugins.d/freeipmi.plugin
  585. %endif
  586. %if %{_have_nfacct}
  587. %package plugin-nfacct
  588. Summary: The NFACCT metrics collection plugin for the Netdata Agent
  589. Group: Applications/System
  590. Requires: %{name} = %{version}
  591. Conflicts: %{name} < %{version}
  592. %description plugin-nfacct
  593. This plugin allows the Netdata Agent to collect metrics from the firewall using NFACCT objects.
  594. %pre plugin-nfacct
  595. if ! getent group %{name} > /dev/null; then
  596. groupadd --system %{name}
  597. fi
  598. %files plugin-nfacct
  599. %attr(4750,root,netdata) %{_libexecdir}/%{name}/plugins.d/nfacct.plugin
  600. %endif
  601. %package plugin-chartsd
  602. Summary: The charts.d metrics collection plugin for the Netdata Agent
  603. Group: Applications/System
  604. Requires: bash
  605. Requires: %{name} = %{version}
  606. Conflicts: %{name} < %{version}
  607. %if 0%{?centos_ver} != 7
  608. Suggests: apcupsd
  609. Suggests: iw
  610. Suggests: sudo
  611. %endif
  612. %description plugin-chartsd
  613. This plugin adds a selection of additional collectors written in shell script to the Netdata Agent.
  614. It includes collectors for APCUPSD, LibreSWAN, OpenSIPS, and Wireless access point statistics.
  615. %pre plugin-chartsd
  616. if ! getent group %{name} > /dev/null; then
  617. groupadd --system %{name}
  618. fi
  619. %files plugin-chartsd
  620. %defattr(0750,root,netdata,0750)
  621. %{_libexecdir}/%{name}/plugins.d/charts.d.plugin
  622. %{_libexecdir}/%{name}/plugins.d/charts.d.dryrun-helper.sh
  623. %{_libexecdir}/%{name}/charts.d/
  624. %defattr(0644,root,netdata,0755)
  625. %{_libdir}/%{name}/conf.d/charts.d.conf
  626. %{_libdir}/%{name}/conf.d/charts.d/
  627. %if 0%{?_have_ebpf}
  628. %package plugin-ebpf
  629. Summary: The eBPF metrics collection plugin for the Netdata Agent
  630. Group: Applications/System
  631. Requires: %{name} = %{version}
  632. Conflicts: %{name} < %{version}
  633. %if 0%{?centos_ver} != 7
  634. Recommends: %{name}-plugin-apps = %{version}
  635. Recommends: %{name}-ebpf-legacy-code >= %{version}
  636. %else
  637. Requires: %{name}-plugin-apps = %{version}
  638. Requires: %{name}-ebpf-legacy-code >= %{version}
  639. %endif
  640. %description plugin-ebpf
  641. This plugin allows the Netdata Agent to use eBPF code to collect more detailed kernel-level metrics for the system.
  642. %pre plugin-ebpf
  643. if ! getent group %{name} > /dev/null; then
  644. groupadd --system %{name}
  645. fi
  646. %files plugin-ebpf
  647. %defattr(4750,root,netdata,4750)
  648. %{_libexecdir}/%{name}/plugins.d/ebpf.plugin
  649. %defattr(0644,root,netdata,0755)
  650. %{_libdir}/%{name}/conf.d/ebpf.d.conf
  651. %{_libdir}/%{name}/conf.d/ebpf.d
  652. %package ebpf-legacy-code
  653. Summary: Compiled eBPF legacy code for the Netdata eBPF plugin
  654. Group: Applications/System
  655. Requires: %{name}-plugin-ebpf = %{version}
  656. Conflicts: %{name} < %{version}
  657. %description ebpf-legacy-code
  658. This package provides the pre-compiled eBPF legacy code for use by the Netdata eBPF plugin.
  659. This code is only needed when using the eBPF plugin with kernel versions before 5.10.
  660. %pre ebpf-legacy-code
  661. if ! getent group %{name} > /dev/null; then
  662. groupadd --system %{name}
  663. fi
  664. %files ebpf-legacy-code
  665. %defattr(0640,root,netdata,0640)
  666. %{_libexecdir}/%{name}/plugins.d/ebpf.d/*.o
  667. %endif
  668. %package plugin-pythond
  669. Summary: The python.d metrics collection plugin for the Netdata Agent
  670. Group: Applications/System
  671. Requires: %{name} = %{version}
  672. Conflicts: %{name} < %{version}
  673. %if 0%{?centos_ver} == 7 || 0%{?centos_ver} == 6
  674. Requires: python
  675. %else
  676. Requires: python3
  677. %endif
  678. %if 0%{?centos_ver} != 7
  679. Suggests: sudo
  680. %endif
  681. %description plugin-pythond
  682. This plugin adds a selection of additional collectors written in Python to the Netdata Agent.
  683. Many of the collectors provided by this package are also available in netdata-plugin-go. In msot cases, you probably
  684. want to use those versions instead of the Python versions.
  685. %pre plugin-pythond
  686. if ! getent group %{name} > /dev/null; then
  687. groupadd --system %{name}
  688. fi
  689. %files plugin-pythond
  690. %defattr(0750,root,netdata,0750)
  691. %{_libexecdir}/%{name}/plugins.d/python.d.plugin
  692. %{_libexecdir}/%{name}/python.d
  693. %defattr(0644,root,netdata,0755)
  694. %{_libdir}/%{name}/conf.d/python.d.conf
  695. %{_libdir}/%{name}/conf.d/python.d
  696. %package plugin-go
  697. Summary: The go.d metrics collection plugin for the Netdata Agent
  698. Group: Applications/System
  699. Requires: %{name} = %{version}
  700. Conflicts: %{name} < %{version}
  701. %if 0%{?centos_ver} != 7
  702. Suggests: nvme-cli
  703. Suggests: sudo
  704. %endif
  705. %description plugin-go
  706. This plugin adds a selection of additional collectors written in Go to the Netdata Agent
  707. A significant percentage of the application specific collectors provided by Netdata are part of this plugin,
  708. so most users will want it installed.
  709. %pre plugin-go
  710. if ! getent group %{name} > /dev/null; then
  711. groupadd --system %{name}
  712. fi
  713. %files plugin-go
  714. %defattr(0750,root,netdata,0750)
  715. # CAP_NET_ADMIN needed for WireGuard collector
  716. # CAP_NET_RAW needed for ping collector
  717. %caps(cap_dac_read_search,cap_net_admin,cap_net_raw=eip) %{_libexecdir}/%{name}/plugins.d/go.d.plugin
  718. %defattr(0644,root,netdata,0755)
  719. %{_libdir}/%{name}/conf.d/go.d.conf
  720. %{_libdir}/%{name}/conf.d/go.d
  721. %package plugin-apps
  722. Summary: The per-application metrics collection plugin for the Netdata Agent
  723. Group: Applications/System
  724. Requires: %{name} = %{version}
  725. Conflicts: %{name} < %{version}
  726. %description plugin-apps
  727. This plugin allows the Netdata Agent to collect per-application and per-user metrics without using cgroups.
  728. %pre plugin-apps
  729. if ! getent group %{name} > /dev/null; then
  730. groupadd --system %{name}
  731. fi
  732. %files plugin-apps
  733. %defattr(0750,root,netdata,0750)
  734. # CAP_DAC_READ_SEARCH and CAP_SYS_PTRACE needed for data collection by the plugin.
  735. %caps(cap_dac_read_search,cap_sys_ptrace=ep) %{_libexecdir}/%{name}/plugins.d/apps.plugin
  736. %defattr(0644,root,netdata,0755)
  737. %{_libdir}/%{name}/conf.d/apps_groups.conf
  738. %package plugin-slabinfo
  739. Summary: The slabinfo metrics collector for the Netdata Agent
  740. Group: Applications/System
  741. Requires: %{name} = %{version}
  742. Conflicts: %{name} < %{version}
  743. %description plugin-slabinfo
  744. This plugin allows the Netdata Agent to collect perfromance and utilization metrics for the Linux kernel’s SLAB allocator.
  745. %pre plugin-slabinfo
  746. if ! getent group %{name} > /dev/null; then
  747. groupadd --system %{name}
  748. fi
  749. %files plugin-slabinfo
  750. %defattr(0750,root,netdata,0750)
  751. # CAP_DAC_READ_SEARCH needed to access the files the plugin reads to collect data.
  752. %caps(cap_dac_read_search=ep) %{_libexecdir}/%{name}/plugins.d/slabinfo.plugin
  753. %package plugin-perf
  754. Summary: The perf metrics collector for the Netdata Agent
  755. Group: Applications/System
  756. Requires: %{name} = %{version}
  757. Conflicts: %{name} < %{version}
  758. %description plugin-perf
  759. This plugin allows the Netdata to collect metrics from the Linux perf subsystem.
  760. %pre plugin-perf
  761. if ! getent group %{name} > /dev/null; then
  762. groupadd --system %{name}
  763. fi
  764. %files plugin-perf
  765. %defattr(0750,root,netdata,0750)
  766. # Either CAP_SYS_ADMIN or CAP_PERFMON needed for data collection
  767. # PERFMON is newer, so only try to use it on platforms which support it.
  768. %if 0%{?centos_ver} >= 9 || 0%{?fedora} >= 36
  769. %caps(cap_perfmon=ep) %{_libexecdir}/%{name}/plugins.d/perf.plugin
  770. %else
  771. %caps(cap_sys_admin=ep) %{_libexecdir}/%{name}/plugins.d/perf.plugin
  772. %endif
  773. %package plugin-debugfs
  774. Summary: The debugfs metrics collector for the Netdata Agent
  775. Group: Applications/System
  776. Requires: %{name} = %{version}
  777. Conflicts: %{name} < %{version}
  778. %description plugin-debugfs
  779. This plugin allows the Netdata Agent to collect Linux kernel metrics exposed through debugfs.
  780. %pre plugin-debugfs
  781. if ! getent group %{name} > /dev/null; then
  782. groupadd --system %{name}
  783. fi
  784. %files plugin-debugfs
  785. %defattr(0750,root,netdata,0750)
  786. # CAP_DAC_READ_SEARCH required for data collection.
  787. %caps(cap_dac_read_search=ep) %attr(0750,root,netdata) %{_libexecdir}/%{name}/plugins.d/debugfs.plugin
  788. %package plugin-systemd-journal
  789. Summary: The systemd-journal plugin for the Netdata Agent
  790. Group: Applications/System
  791. Requires: %{name} = %{version}
  792. Conflicts: %{name} < %{version}
  793. %description plugin-systemd-journal
  794. This plugin allows the Netdata Agent to present entries from the systemd
  795. journal on Netdata Cloud or the local Agent Dashboard.
  796. %pre plugin-systemd-journal
  797. if ! getent group %{name} > /dev/null; then
  798. groupadd --system %{name}
  799. fi
  800. %files plugin-systemd-journal
  801. %defattr(0750,root,netdata,0750)
  802. # CAP_DAC_READ_SEARCH required for data collection.
  803. %caps(cap_dac_read_search=ep) %attr(0750,root,netdata) %{_libexecdir}/%{name}/plugins.d/systemd-journal.plugin
  804. %if %{_have_xenstat}
  805. %package plugin-xenstat
  806. Summary: The xenstat plugin for the Netdata Agent
  807. Group: Applications/System
  808. Requires: %{name} = %{version}
  809. Conflicts: %{name} < %{version}
  810. %description plugin-xenstat
  811. This plugin allows Netdata to collect metrics from the Xen Hypervisor.
  812. %pre plugin-xenstat
  813. if ! getent group %{name} > /dev/null; then
  814. groupadd --system %{name}
  815. fi
  816. %files plugin-xenstat
  817. %defattr(0750,root,netdata,0750)
  818. # SUID needed for data collection
  819. %attr(4750,root,netdata) %{_libexecdir}/%{name}/plugins.d/xenstat.plugin
  820. %endif
  821. %package plugin-logs-management
  822. Summary: The logs-management plugin for the Netdata Agent
  823. Group: Applications/System
  824. Requires: %{name} = %{version}
  825. Conflicts: %{name} < %{version}
  826. %description plugin-logs-management
  827. This plugin allows the Netdata Agent to collect logs from the system
  828. and parse them to extract metrics.
  829. %pre plugin-logs-management
  830. if ! getent group %{name} > /dev/null; then
  831. groupadd --system %{name}
  832. fi
  833. %files plugin-logs-management
  834. %defattr(0644,root,netdata,0755)
  835. %{_libdir}/%{name}/conf.d/logsmanagement.d.conf
  836. %{_libdir}/%{name}/conf.d/logsmanagement.d
  837. %defattr(0750,root,netdata,0750)
  838. # CAP_DAC_READ_SEARCH and CAP_SYSLOG needed for data collection.
  839. %caps(cap_dac_read_search,cap_syslog=ep) %attr(0750,root,netdata) %{_libexecdir}/%{name}/plugins.d/logs-management.plugin
  840. %package plugin-network-viewer
  841. Summary: The network viewer plugin for the Netdata Agent
  842. Group: Applications/System
  843. Requires: %{name} = %{version}
  844. Conflicts: %{name} < %{version}
  845. %if 0%{?_have_ebpf}
  846. %if 0%{?centos_ver} != 7
  847. Recommends: %{name}-plugin-ebpf = %{version}
  848. %else
  849. Requires: %{name}-plugin-ebpf = %{version}
  850. %endif
  851. %endif
  852. %description plugin-network-viewer
  853. This plugin allows the Netdata Agent to provide network connection
  854. mapping functionality for use in netdata Cloud.
  855. %pre plugin-network-viewer
  856. if ! getent group %{name} > /dev/null; then
  857. groupadd --system %{name}
  858. fi
  859. %files plugin-network-viewer
  860. %defattr(0750,root,netdata,0750)
  861. # CAP_SYS_ADMIN, CAP_SYS_PTRACE and CAP_DAC_READ_SEARCH needed for data collection.
  862. %caps(cap_sys_admin,cap_sys_ptrace,cap_dac_read_search=ep) %attr(0750,root,netdata) %{_libexecdir}/%{name}/plugins.d/network-viewer.plugin
  863. %changelog
  864. * Tue Feb 06 2024 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-25
  865. - Add package for network-viewer plugin
  866. * Thu Oct 26 2023 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-24
  867. - Add package for logs-management plugin
  868. * Tue Sep 19 2023 Austin hemmelgarn <austin@netdata.cloud> 0.0.0-24
  869. - Switch to using cmake for builds.
  870. * Mon Aug 28 2023 Konstantin Shalygin <k0ste@k0ste.ru> 0.0.0-23
  871. - Build go.d.plugin natively for CentOS Stream distro
  872. * Mon Aug 21 2023 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-22
  873. - Explicitly depend on version-matched plugins in native packages
  874. * Thu Aug 03 2023 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-21
  875. - Added systemd-journal plugin handling
  876. * Wed Jun 14 2023 Konstantin Shalygin <k0ste@k0ste.ru> 0.0.0-20
  877. - Added eBPF build dependency (again)
  878. * Fri Apr 07 2023 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-19
  879. - Split additional plugins out in their own packages.
  880. * Tue Mar 21 2023 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-18
  881. - Fix systemd handling to follow BCP.
  882. - Drop pre-systemd init support.
  883. * Thu Feb 16 2023 Konstantin Shalygin <k0ste@k0ste.ru> 0.0.0-17
  884. - Added eBPF build dependency
  885. * Thu Feb 03 2022 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-16
  886. - Bundle updater script in native packages.
  887. * Mon Oct 11 2021 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-15
  888. - Remove support code for legacy ACLK implementation.
  889. * Wed Sep 16 2020 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-14
  890. - Convert to using 'AutoReq: yes' for library dependencies.
  891. * Thu Feb 13 2020 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-13
  892. - Add handling for custom libmosquitto fork
  893. * Wed Jan 01 2020 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-12
  894. - Add explicit installation of log and cache directories
  895. - Clean up build dependencies.
  896. * Thu Dec 19 2019 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-11
  897. - Fix remaining ownership and permissions issues.
  898. * Mon Nov 04 2019 Konstantinos Natsakis <konstantinos.natsakis@gmail.com> 0.0.0-10
  899. - Fix /etc/netdata permissions
  900. * Mon Sep 23 2019 Konstantinos Natsakis <konstantinos.natsakis@gmail.com> 0.0.0-9
  901. - Do not build CUPS plugin subpackage on CentOS 6 and CentOS 7
  902. * Tue Aug 20 2019 Pavlos Emm. Katsoulakis <paul@netdat.acloud> - 0.0.0-8
  903. - Split CUPS functionality on separate package
  904. * Fri Jun 28 2019 Pavlos Emm. Katsoulakis <paul@netdata.cloud> - 0.0.0-7
  905. - Raise the path overrides to the spec file level, not just the configure.
  906. - Adjust tighter permissions on some folders, based on what we did on our installer
  907. - Introduce go.d plugin download and install, to include it on the package (Temporarily, to become separate package on next iteration)
  908. * Tue Jun 25 2019 Pavlos Emm. Katsoulakis <paul@netdata.cloud> - 0.0.0-6
  909. - Adjust dependency list: Some packages are missing on some distros, adopt to build successfully
  910. * Mon Jun 24 2019 Pavlos Emm. Katsoulakis <paul@netdata.cloud> - 0.0.0-5
  911. Another pass on cleaning up pre/post installation steps
  912. - Sync permission and ownership on files and directories
  913. * Sun Jun 16 2019 Pavlos Emm. Katsoulakis <paul@netdata.cloud> - 0.0.0-4
  914. First draft refactor on package dependencies section
  915. - Remove freeipmi/nfacct plugin flags. We auto-detect all plugins by decision
  916. - Start refactor of package dependencies
  917. - Add missing dependencies, with respect to distro peculiarities
  918. - Adjust existing dependencies, so that distro-specific package names is applied
  919. * Wed Jan 02 2019 Pawel Krupa <pkrupa@redhat.com> - 0.0.0-3
  920. - Temporary set version statically
  921. - Fix changelog ordering
  922. - Comment-out node.d configuration directory
  923. * Wed Jan 02 2019 Pawel Krupa <pkrupa@redhat.com> - 0.0.0-2
  924. - Fix permissions for log files
  925. * Sun Nov 15 2015 Alon Bar-Lev <alonbl@redhat.com> - 0.0.0-1
  926. - Initial add.