netdata.spec.in 35 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081
  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. %if 0%{?_have_ebpf}
  281. %if 0%{?centos_ver:1}
  282. %if %{centos_ver} < 8
  283. export CFLAGS="${CFLAGS} -fPIC" && ${RPM_BUILD_DIR}/%{name}-%{version}/packaging/bundle-libbpf.sh ${RPM_BUILD_DIR}/%{name}-%{version} centos7
  284. export CFLAGS="${CFLAGS} -fPIC" && ${RPM_BUILD_DIR}/%{name}-%{version}/packaging/bundle-ebpf-co-re.sh ${RPM_BUILD_DIR}/%{name}-%{version}
  285. %else
  286. export CFLAGS="${CFLAGS} -fPIC" && ${RPM_BUILD_DIR}/%{name}-%{version}/packaging/bundle-libbpf.sh ${RPM_BUILD_DIR}/%{name}-%{version} centos8
  287. export CFLAGS="${CFLAGS} -fPIC" && ${RPM_BUILD_DIR}/%{name}-%{version}/packaging/bundle-ebpf-co-re.sh ${RPM_BUILD_DIR}/%{name}-%{version}
  288. %endif
  289. %else
  290. export CFLAGS="${CFLAGS} -fPIC" && ${RPM_BUILD_DIR}/%{name}-%{version}/packaging/bundle-libbpf.sh ${RPM_BUILD_DIR}/%{name}-%{version} other
  291. export CFLAGS="${CFLAGS} -fPIC" && ${RPM_BUILD_DIR}/%{name}-%{version}/packaging/bundle-ebpf-co-re.sh ${RPM_BUILD_DIR}/%{name}-%{version}
  292. %endif
  293. %endif
  294. %build
  295. # Conf step
  296. %cmake -G Ninja \
  297. -DCMAKE_INSTALL_PREFIX=/ \
  298. %if 0%{?centos_ver:1}
  299. %if %{centos_ver} < 8
  300. -DUSE_CXX_11=On \
  301. %endif
  302. %endif
  303. %if %{_have_cups}
  304. -DENABLE_PLUGIN_CUPS=On \
  305. %else
  306. -DENABLE_PLUGIN_CUPS=Off \
  307. %endif
  308. %if %{_have_ebpf}
  309. -DENABLE_PLUGIN_EBPF=On \
  310. %else
  311. -DENABLE_PLUGIN_EBPF=Off \
  312. %endif
  313. %if %{_have_freeipmi}
  314. -DENABLE_PLUGIN_FREEIPMI=On \
  315. %else
  316. -DENABLE_PLUGIN_FREEIPMI=Off \
  317. %endif
  318. %if %{_have_nfacct}
  319. -DENABLE_PLUGIN_NFACCT=On \
  320. %else
  321. -DENABLE_PLUGIN_NFACCT=Off \
  322. %endif
  323. %if %{_have_xenstat}
  324. -DENABLE_PLUGIN_XENSTAT=On \
  325. %else
  326. -DENABLE_PLUGIN_XENSTAT=Off \
  327. %endif
  328. %if 0%{?centos_ver:1}
  329. %if %{centos_ver} < 8
  330. -DENABLE_BUNDLED_PROTOBUF=On \
  331. %else
  332. -DENABLE_BUNDLED_PROTOBUF=Off \
  333. %endif
  334. %else
  335. -DENABLE_BUNDLED_PROTOBUF=Off \
  336. %endif
  337. %if %{_have_ml}
  338. -DENABLE_ML=On \
  339. %else
  340. -DENABLE_ML=Off \
  341. %endif
  342. %if %{_have_mongo_exporter}
  343. -DENABLE_EXPORTER_MONGODB=On \
  344. %else
  345. -DENABLE_EXPORTER_MONGODB=Off \
  346. %endif
  347. -DENABLE_ACLK=On \
  348. -DENABLE_CLOUD=On \
  349. -DENABLE_DBENGINE=On \
  350. -DENABLE_H2O=On \
  351. -DENABLE_PLUGIN_APPS=On \
  352. -DENABLE_PLUGIN_CGROUP_NETWORK=On \
  353. -DENABLE_PLUGIN_DEBUGFS=On \
  354. -DENABLE_PLUGIN_GO=On \
  355. -DENABLE_PLUGIN_LOCAL_LISTENERS=On \
  356. -DENABLE_PLUGIN_PERF=On \
  357. -DENABLE_PLUGIN_SLABINFO=On \
  358. -DENABLE_PLUGIN_SYSTEMD_JOURNAL=On \
  359. -DENABLE_PLUGIN_LOGS_MANAGEMENT=On \
  360. -DENABLE_EXPORTER_PROMETHEUS_REMOTE_WRITE=On \
  361. -DENABLE_BUNDLED_JSONC=Off \
  362. -DENABLE_BUNDLED_YAML=Off
  363. # Build step
  364. %{cmake_build}
  365. %install
  366. # ###########################################################
  367. # Clear the directory, if already exists and install
  368. rm -rf "${RPM_BUILD_ROOT}"
  369. %{cmake_install}
  370. install -m 644 -p "system/%{name}.conf" "${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}"
  371. # ###########################################################
  372. # Install updater script
  373. install -m 755 -p packaging/installer/%{name}-updater.sh "${RPM_BUILD_ROOT}%{_libexecdir}/%{name}/%{name}-updater.sh"
  374. # ###########################################################
  375. # logrotate settings
  376. install -m 755 -d "${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d"
  377. install -m 644 -p "%{__cmake_builddir}/system/logrotate/%{name}" "${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d/%{name}"
  378. # ###########################################################
  379. # Install cache and log directories
  380. install -m 755 -d "${RPM_BUILD_ROOT}%{_localstatedir}/cache/%{name}"
  381. install -m 755 -d "${RPM_BUILD_ROOT}%{_localstatedir}/log/%{name}"
  382. # ###########################################################
  383. # Install registry directory
  384. install -m 755 -d "${RPM_BUILD_ROOT}%{_localstatedir}/lib/%{name}/registry"
  385. # ###########################################################
  386. # Install uninstaller script
  387. install -m 750 -p packaging/installer/%{name}-uninstaller.sh \
  388. "${RPM_BUILD_ROOT}%{_libexecdir}/%{name}/%{name}-uninstaller.sh"
  389. # ###########################################################
  390. # Install netdata service
  391. install -m 755 -d "${RPM_BUILD_ROOT}%{_unitdir}"
  392. %if 0%{?centos_ver} != 7 && 0%{?amazon_linux} != 2
  393. install -m 644 -p "%{__cmake_builddir}/system/systemd/%{name}.service" "${RPM_BUILD_ROOT}%{_unitdir}/%{name}.service"
  394. %else
  395. install -m 644 -p "%{__cmake_builddir}/system/systemd/%{name}.service.v235" "${RPM_BUILD_ROOT}%{_unitdir}/%{name}.service"
  396. %endif
  397. install -m 755 -d "${RPM_BUILD_ROOT}%{_presetdir}"
  398. install -m 644 -p "system/systemd/50-%{name}.preset" "${RPM_BUILD_ROOT}%{_presetdir}/50-%{name}.preset"
  399. %if 0%{?_have_ebpf}
  400. ${RPM_BUILD_DIR}/%{name}-%{version}/packaging/bundle-ebpf.sh ${RPM_BUILD_DIR}/%{name}-%{version} \
  401. ${RPM_BUILD_ROOT}%{_libexecdir}/%{name}/plugins.d
  402. %endif
  403. %pre
  404. if ! getent group %{name} > /dev/null; then
  405. groupadd --system %{name}
  406. fi
  407. if ! getent passwd %{name} > /dev/null; then
  408. useradd --system -g %{name} --home %{contentdir} --no-create-home -s /sbin/nologin -c "Netdata pseudo user" %{name}
  409. fi
  410. # I am not sure that the corresponding group names are exactly the same as in Debian, but we should start somewhere, shouldn't we?
  411. for item in docker nginx varnish haproxy adm nsd proxy squid ceph nobody I2C; do
  412. if getent group $item > /dev/null 2>&1; then
  413. usermod -a -G ${item} %{name}
  414. fi
  415. done
  416. %post
  417. %if 0%{?suse_version}
  418. %service_add_post %{name}.service
  419. %else
  420. %systemd_post %{name}.service
  421. %endif
  422. %preun
  423. %if 0%{?suse_version}
  424. %service_del_preun %{name}.service
  425. %else
  426. %systemd_preun %{name}.service
  427. %endif
  428. %postun
  429. %if 0%{?suse_version}
  430. %service_del_postun %{name}.service
  431. %else
  432. %systemd_postun_with_restart %{name}.service
  433. %endif
  434. %clean
  435. rm -rf "${RPM_BUILD_ROOT}"
  436. %files
  437. %doc README.md
  438. %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
  439. %config(noreplace) %{_sysconfdir}/%{name}/%{name}-updater.conf
  440. %attr(0755,root,netdata) %{_sysconfdir}/%{name}/edit-config
  441. %attr(0644,root,netdata) %{_sysconfdir}/%{name}/.install-type
  442. %dir %{_sysconfdir}/%{name}/health.d
  443. %dir %{_sysconfdir}/%{name}/statsd.d
  444. %config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
  445. %{_libdir}/%{name}
  446. %{_sbindir}/%{name}
  447. %{_sbindir}/netdatacli
  448. %if 0%{?suse_version}
  449. # log2journal is not available on these systems
  450. %else
  451. %{_sbindir}/log2journal
  452. %endif
  453. %{_sbindir}/systemd-cat-native
  454. %{_sbindir}/%{name}-claim.sh
  455. %{_unitdir}/%{name}.service
  456. %{_presetdir}/50-%{name}.preset
  457. %dir %{_libexecdir}/%{name}
  458. %dir %{_libexecdir}/%{name}/plugins.d
  459. %defattr(0750,root,netdata,0750)
  460. %{_libexecdir}/%{name}/install-service.sh
  461. %{_libexecdir}/%{name}/%{name}-updater.sh
  462. %{_libexecdir}/%{name}/%{name}-uninstaller.sh
  463. %{_libexecdir}/%{name}/plugins.d/acl.sh
  464. %{_libexecdir}/%{name}/plugins.d/alarm.sh
  465. %{_libexecdir}/%{name}/plugins.d/alarm-email.sh
  466. %{_libexecdir}/%{name}/plugins.d/alarm-notify.sh
  467. %{_libexecdir}/%{name}/plugins.d/alarm-test.sh
  468. %{_libexecdir}/%{name}/plugins.d/anonymous-statistics.sh
  469. %{_libexecdir}/%{name}/plugins.d/cgroup-name.sh
  470. %{_libexecdir}/%{name}/plugins.d/get-kubernetes-labels.sh
  471. %{_libexecdir}/%{name}/plugins.d/health-cmdapi-test.sh
  472. %{_libexecdir}/%{name}/plugins.d/ioping.plugin
  473. %{_libexecdir}/%{name}/plugins.d/loopsleepms.sh.inc
  474. %{_libexecdir}/%{name}/plugins.d/request.sh
  475. %{_libexecdir}/%{name}/plugins.d/system-info.sh
  476. %{_libexecdir}/%{name}/plugins.d/tc-qos-helper.sh
  477. %{_libexecdir}/%{name}/plugins.d/template_dim.sh
  478. %{_libexecdir}/%{name}/plugins.d/ebpf_thread_function.sh
  479. # cgroup-network detects the network interfaces of CGROUPs
  480. # it must be able to use setns() and run cgroup-network-helper.sh as root
  481. # the helper script reads /proc/PID/fdinfo/* files, runs virsh, etc.
  482. %attr(4750,root,netdata) %{_libexecdir}/%{name}/plugins.d/cgroup-network
  483. %attr(0750,root,netdata) %{_libexecdir}/%{name}/plugins.d/cgroup-network-helper.sh
  484. # local-listeners detects the local processes that are listening for connections
  485. %attr(4750,root,netdata) %{_libexecdir}/%{name}/plugins.d/local-listeners
  486. # network-viewer.plugin, detects all system sockets and classifies them
  487. %attr(4750,root,netdata) %{_libexecdir}/%{name}/plugins.d/network-viewer.plugin
  488. # ndsudo a helper to run privileged commands
  489. %attr(4750,root,netdata) %{_libexecdir}/%{name}/plugins.d/ndsudo
  490. # Enforce 0644 for files and 0755 for directories
  491. # for the netdata web directory
  492. %defattr(0644,root,root,0755)
  493. %{_datadir}/%{name}/web
  494. # Enforce 0660 for files and 0770 for directories
  495. # for the netdata lib, cache and log dirs
  496. %defattr(0660,root,netdata,0770)
  497. %attr(0770,netdata,netdata) %dir %{_localstatedir}/cache/%{name}
  498. %attr(0755,netdata,root) %dir %{_localstatedir}/log/%{name}
  499. %attr(0770,netdata,netdata) %dir %{_localstatedir}/lib/%{name}
  500. %attr(0770,netdata,netdata) %dir %{_localstatedir}/lib/%{name}/registry
  501. %attr(0770,netdata,netdata) %dir %{_localstatedir}/lib/%{name}/cloud.d
  502. # Free IPMI belongs to a different sub-package
  503. %if %{_have_freeipmi}
  504. %exclude %{_libexecdir}/%{name}/plugins.d/freeipmi.plugin
  505. %endif
  506. # NFACCT belongs to a different sub-package
  507. %if %{_have_nfacct}
  508. %exclude %{_libexecdir}/%{name}/plugins.d/nfacct.plugin
  509. %endif
  510. # Charts.d belongs to a different sub-package
  511. %exclude %{_libexecdir}/%{name}/plugins.d/charts.d.plugin
  512. %exclude %{_libexecdir}/%{name}/plugins.d/charts.d.dryrun-helper.sh
  513. %exclude %{_libexecdir}/%{name}/charts.d/
  514. %exclude %{_libdir}/%{name}/conf.d/charts.d.conf
  515. %exclude %{_libdir}/%{name}/conf.d/charts.d/
  516. # eBPF belongs to a different sub-package
  517. %if %{_have_ebpf}
  518. %exclude %{_libexecdir}/%{name}/plugins.d/ebpf.plugin
  519. %exclude %{_libdir}/%{name}/conf.d/ebpf.d.conf
  520. %exclude %{_libdir}/%{name}/conf.d/ebpf.d
  521. %exclude %{_libexecdir}/%{name}/plugins.d/ebpf.d
  522. %endif
  523. # Python.d belongs to a different sub-package
  524. %exclude %{_libexecdir}/%{name}/plugins.d/python.d.plugin
  525. %exclude %{_libexecdir}/%{name}/python.d
  526. %exclude %{_libdir}/%{name}/conf.d/python.d.conf
  527. %exclude %{_libdir}/%{name}/conf.d/python.d
  528. # Go.d belongs to a different sub-package
  529. %exclude %{_libexecdir}/%{name}/plugins.d/go.d.plugin
  530. %exclude %{_libdir}/%{name}/conf.d/go.d.conf
  531. %exclude %{_libdir}/%{name}/conf.d/go.d
  532. # apps belongs to a different sub-package
  533. %exclude %{_libexecdir}/%{name}/plugins.d/apps.plugin
  534. %exclude %{_libdir}/%{name}/conf.d/apps_groups.conf
  535. # slabinfo belongs to a different sub-package
  536. %exclude %{_libexecdir}/%{name}/plugins.d/slabinfo.plugin
  537. # perf belongs to a different sub-package
  538. %exclude %{_libexecdir}/%{name}/plugins.d/perf.plugin
  539. # systemd-journal belongs to a different sub-package
  540. %exclude %{_libexecdir}/%{name}/plugins.d/systemd-journal.plugin
  541. # xenstat belongs to a different sub-package
  542. %exclude %{_libexecdir}/%{name}/plugins.d/xenstat.plugin
  543. # logs management belongs to a different sub-package
  544. %exclude %{_libexecdir}/%{name}/plugins.d/logs-management.plugin
  545. %exclude %{_libdir}/%{name}/conf.d/logsmanagement.d.conf
  546. %exclude %{_libdir}/%{name}/conf.d/logsmanagement.d
  547. # Network viewer belongs to a different sub-package
  548. %exclude %{_libexecdir}/%{name}/plugins.d/network-viewer.plugin
  549. # CUPS belongs to a different sub package
  550. %if %{_have_cups}
  551. %exclude %{_libexecdir}/%{name}/plugins.d/cups.plugin
  552. %package plugin-cups
  553. Summary: The CUPS metrics collection plugin for the Netdata Agent
  554. Group: Applications/System
  555. Requires: %{name} = %{version}
  556. %description plugin-cups
  557. This plugin allows the Netdata Agent to collect metrics from the Common UNIX Printing System.
  558. %pre plugin-cups
  559. if ! getent group %{name} > /dev/null; then
  560. groupadd --system %{name}
  561. fi
  562. %files plugin-cups
  563. %attr(0750,root,netdata) %{_libexecdir}/%{name}/plugins.d/cups.plugin
  564. %endif
  565. %if 0%{?_have_freeipmi}
  566. %package plugin-freeipmi
  567. Summary: The FreeIPMI metrics collection plugin for the Netdata Agent
  568. Group: Applications/System
  569. Requires: freeipmi
  570. Requires: %{name} = %{version}
  571. %description plugin-freeipmi
  572. This plugin allows the Netdata Agent to collect metrics from hardware using FreeIPMI.
  573. %pre plugin-freeipmi
  574. if ! getent group %{name} > /dev/null; then
  575. groupadd --system %{name}
  576. fi
  577. %files plugin-freeipmi
  578. %attr(4750,root,netdata) %{_libexecdir}/%{name}/plugins.d/freeipmi.plugin
  579. %endif
  580. %if %{_have_nfacct}
  581. %package plugin-nfacct
  582. Summary: The NFACCT metrics collection plugin for the Netdata Agent
  583. Group: Applications/System
  584. Requires: %{name} = %{version}
  585. Conflicts: %{name} < %{version}
  586. %description plugin-nfacct
  587. This plugin allows the Netdata Agent to collect metrics from the firewall using NFACCT objects.
  588. %pre plugin-nfacct
  589. if ! getent group %{name} > /dev/null; then
  590. groupadd --system %{name}
  591. fi
  592. %files plugin-nfacct
  593. %attr(4750,root,netdata) %{_libexecdir}/%{name}/plugins.d/nfacct.plugin
  594. %endif
  595. %package plugin-chartsd
  596. Summary: The charts.d metrics collection plugin for the Netdata Agent
  597. Group: Applications/System
  598. Requires: bash
  599. Requires: %{name} = %{version}
  600. Conflicts: %{name} < %{version}
  601. %if 0%{?centos_ver} != 7
  602. Suggests: apcupsd
  603. Suggests: iw
  604. Suggests: sudo
  605. %endif
  606. %description plugin-chartsd
  607. This plugin adds a selection of additional collectors written in shell script to the Netdata Agent.
  608. It includes collectors for APCUPSD, LibreSWAN, OpenSIPS, and Wireless access point statistics.
  609. %pre plugin-chartsd
  610. if ! getent group %{name} > /dev/null; then
  611. groupadd --system %{name}
  612. fi
  613. %files plugin-chartsd
  614. %defattr(0750,root,netdata,0750)
  615. %{_libexecdir}/%{name}/plugins.d/charts.d.plugin
  616. %{_libexecdir}/%{name}/plugins.d/charts.d.dryrun-helper.sh
  617. %{_libexecdir}/%{name}/charts.d/
  618. %defattr(0644,root,netdata,0755)
  619. %{_libdir}/%{name}/conf.d/charts.d.conf
  620. %{_libdir}/%{name}/conf.d/charts.d/
  621. %if 0%{?_have_ebpf}
  622. %package plugin-ebpf
  623. Summary: The eBPF metrics collection plugin for the Netdata Agent
  624. Group: Applications/System
  625. Requires: %{name} = %{version}
  626. Conflicts: %{name} < %{version}
  627. %if 0%{?centos_ver} != 7
  628. Recommends: %{name}-plugin-apps = %{version}
  629. Recommends: %{name}-ebpf-legacy-code >= %{version}
  630. %else
  631. Requires: %{name}-plugin-apps = %{version}
  632. Requires: %{name}-ebpf-legacy-code >= %{version}
  633. %endif
  634. %description plugin-ebpf
  635. This plugin allows the Netdata Agent to use eBPF code to collect more detailed kernel-level metrics for the system.
  636. %pre plugin-ebpf
  637. if ! getent group %{name} > /dev/null; then
  638. groupadd --system %{name}
  639. fi
  640. %files plugin-ebpf
  641. %defattr(4750,root,netdata,4750)
  642. %{_libexecdir}/%{name}/plugins.d/ebpf.plugin
  643. %defattr(0644,root,netdata,0755)
  644. %{_libdir}/%{name}/conf.d/ebpf.d.conf
  645. %{_libdir}/%{name}/conf.d/ebpf.d
  646. %package ebpf-legacy-code
  647. Summary: Compiled eBPF legacy code for the Netdata eBPF plugin
  648. Group: Applications/System
  649. Requires: %{name}-plugin-ebpf = %{version}
  650. Conflicts: %{name} < %{version}
  651. %description ebpf-legacy-code
  652. This package provides the pre-compiled eBPF legacy code for use by the Netdata eBPF plugin.
  653. This code is only needed when using the eBPF plugin with kernel versions before 5.10.
  654. %pre ebpf-legacy-code
  655. if ! getent group %{name} > /dev/null; then
  656. groupadd --system %{name}
  657. fi
  658. %files ebpf-legacy-code
  659. %defattr(0640,root,netdata,0640)
  660. %{_libexecdir}/%{name}/plugins.d/ebpf.d/*.o
  661. %endif
  662. %package plugin-pythond
  663. Summary: The python.d metrics collection plugin for the Netdata Agent
  664. Group: Applications/System
  665. Requires: %{name} = %{version}
  666. Conflicts: %{name} < %{version}
  667. %if 0%{?centos_ver} == 7 || 0%{?centos_ver} == 6
  668. Requires: python
  669. %else
  670. Requires: python3
  671. %endif
  672. %if 0%{?centos_ver} != 7
  673. Suggests: sudo
  674. %endif
  675. %description plugin-pythond
  676. This plugin adds a selection of additional collectors written in Python to the Netdata Agent.
  677. Many of the collectors provided by this package are also available in netdata-plugin-go. In msot cases, you probably
  678. want to use those versions instead of the Python versions.
  679. %pre plugin-pythond
  680. if ! getent group %{name} > /dev/null; then
  681. groupadd --system %{name}
  682. fi
  683. %files plugin-pythond
  684. %defattr(0750,root,netdata,0750)
  685. %{_libexecdir}/%{name}/plugins.d/python.d.plugin
  686. %{_libexecdir}/%{name}/python.d
  687. %defattr(0644,root,netdata,0755)
  688. %{_libdir}/%{name}/conf.d/python.d.conf
  689. %{_libdir}/%{name}/conf.d/python.d
  690. %package plugin-go
  691. Summary: The go.d metrics collection plugin for the Netdata Agent
  692. Group: Applications/System
  693. Requires: %{name} = %{version}
  694. Conflicts: %{name} < %{version}
  695. %if 0%{?centos_ver} != 7
  696. Suggests: nvme-cli
  697. Suggests: sudo
  698. %endif
  699. %description plugin-go
  700. This plugin adds a selection of additional collectors written in Go to the Netdata Agent
  701. A significant percentage of the application specific collectors provided by Netdata are part of this plugin,
  702. so most users will want it installed.
  703. %pre plugin-go
  704. if ! getent group %{name} > /dev/null; then
  705. groupadd --system %{name}
  706. fi
  707. %files plugin-go
  708. %defattr(0750,root,netdata,0750)
  709. # CAP_NET_ADMIN needed for WireGuard collector
  710. # CAP_NET_RAW needed for ping collector
  711. %caps(cap_dac_read_search,cap_net_admin,cap_net_raw=eip) %{_libexecdir}/%{name}/plugins.d/go.d.plugin
  712. %defattr(0644,root,netdata,0755)
  713. %{_libdir}/%{name}/conf.d/go.d.conf
  714. %{_libdir}/%{name}/conf.d/go.d
  715. %package plugin-apps
  716. Summary: The per-application metrics collection plugin for the Netdata Agent
  717. Group: Applications/System
  718. Requires: %{name} = %{version}
  719. Conflicts: %{name} < %{version}
  720. %description plugin-apps
  721. This plugin allows the Netdata Agent to collect per-application and per-user metrics without using cgroups.
  722. %pre plugin-apps
  723. if ! getent group %{name} > /dev/null; then
  724. groupadd --system %{name}
  725. fi
  726. %files plugin-apps
  727. %defattr(0750,root,netdata,0750)
  728. # CAP_DAC_READ_SEARCH and CAP_SYS_PTRACE needed for data collection by the plugin.
  729. %caps(cap_dac_read_search,cap_sys_ptrace=ep) %{_libexecdir}/%{name}/plugins.d/apps.plugin
  730. %defattr(0644,root,netdata,0755)
  731. %{_libdir}/%{name}/conf.d/apps_groups.conf
  732. %package plugin-slabinfo
  733. Summary: The slabinfo metrics collector for the Netdata Agent
  734. Group: Applications/System
  735. Requires: %{name} = %{version}
  736. Conflicts: %{name} < %{version}
  737. %description plugin-slabinfo
  738. This plugin allows the Netdata Agent to collect perfromance and utilization metrics for the Linux kernel’s SLAB allocator.
  739. %pre plugin-slabinfo
  740. if ! getent group %{name} > /dev/null; then
  741. groupadd --system %{name}
  742. fi
  743. %files plugin-slabinfo
  744. %defattr(0750,root,netdata,0750)
  745. # CAP_DAC_READ_SEARCH needed to access the files the plugin reads to collect data.
  746. %caps(cap_dac_read_search=ep) %{_libexecdir}/%{name}/plugins.d/slabinfo.plugin
  747. %package plugin-perf
  748. Summary: The perf metrics collector for the Netdata Agent
  749. Group: Applications/System
  750. Requires: %{name} = %{version}
  751. Conflicts: %{name} < %{version}
  752. %description plugin-perf
  753. This plugin allows the Netdata to collect metrics from the Linux perf subsystem.
  754. %pre plugin-perf
  755. if ! getent group %{name} > /dev/null; then
  756. groupadd --system %{name}
  757. fi
  758. %files plugin-perf
  759. %defattr(0750,root,netdata,0750)
  760. # Either CAP_SYS_ADMIN or CAP_PERFMON needed for data collection
  761. # PERFMON is newer, so only try to use it on platforms which support it.
  762. %if 0%{?centos_ver} >= 9 || 0%{?fedora} >= 36
  763. %caps(cap_perfmon=ep) %{_libexecdir}/%{name}/plugins.d/perf.plugin
  764. %else
  765. %caps(cap_sys_admin=ep) %{_libexecdir}/%{name}/plugins.d/perf.plugin
  766. %endif
  767. %package plugin-debugfs
  768. Summary: The debugfs metrics collector for the Netdata Agent
  769. Group: Applications/System
  770. Requires: %{name} = %{version}
  771. Conflicts: %{name} < %{version}
  772. %description plugin-debugfs
  773. This plugin allows the Netdata Agent to collect Linux kernel metrics exposed through debugfs.
  774. %pre plugin-debugfs
  775. if ! getent group %{name} > /dev/null; then
  776. groupadd --system %{name}
  777. fi
  778. %files plugin-debugfs
  779. %defattr(0750,root,netdata,0750)
  780. # CAP_DAC_READ_SEARCH required for data collection.
  781. %caps(cap_dac_read_search=ep) %attr(0750,root,netdata) %{_libexecdir}/%{name}/plugins.d/debugfs.plugin
  782. %package plugin-systemd-journal
  783. Summary: The systemd-journal plugin for the Netdata Agent
  784. Group: Applications/System
  785. Requires: %{name} = %{version}
  786. Conflicts: %{name} < %{version}
  787. %description plugin-systemd-journal
  788. This plugin allows the Netdata Agent to present entries from the systemd
  789. journal on Netdata Cloud or the local Agent Dashboard.
  790. %pre plugin-systemd-journal
  791. if ! getent group %{name} > /dev/null; then
  792. groupadd --system %{name}
  793. fi
  794. %files plugin-systemd-journal
  795. %defattr(0750,root,netdata,0750)
  796. # CAP_DAC_READ_SEARCH required for data collection.
  797. %caps(cap_dac_read_search=ep) %attr(0750,root,netdata) %{_libexecdir}/%{name}/plugins.d/systemd-journal.plugin
  798. %if %{_have_xenstat}
  799. %package plugin-xenstat
  800. Summary: The xenstat plugin for the Netdata Agent
  801. Group: Applications/System
  802. Requires: %{name} = %{version}
  803. Conflicts: %{name} < %{version}
  804. %description plugin-xenstat
  805. This plugin allows Netdata to collect metrics from the Xen Hypervisor.
  806. %pre plugin-xenstat
  807. if ! getent group %{name} > /dev/null; then
  808. groupadd --system %{name}
  809. fi
  810. %files plugin-xenstat
  811. %defattr(0750,root,netdata,0750)
  812. # SUID needed for data collection
  813. %attr(4750,root,netdata) %{_libexecdir}/%{name}/plugins.d/xenstat.plugin
  814. %endif
  815. %package plugin-logs-management
  816. Summary: The logs-management plugin for the Netdata Agent
  817. Group: Applications/System
  818. Requires: %{name} = %{version}
  819. Conflicts: %{name} < %{version}
  820. %description plugin-logs-management
  821. This plugin allows the Netdata Agent to collect logs from the system
  822. and parse them to extract metrics.
  823. %pre plugin-logs-management
  824. if ! getent group %{name} > /dev/null; then
  825. groupadd --system %{name}
  826. fi
  827. %files plugin-logs-management
  828. %defattr(0644,root,netdata,0755)
  829. %{_libdir}/%{name}/conf.d/logsmanagement.d.conf
  830. %{_libdir}/%{name}/conf.d/logsmanagement.d
  831. %defattr(0750,root,netdata,0750)
  832. # CAP_DAC_READ_SEARCH and CAP_SYSLOG needed for data collection.
  833. %caps(cap_dac_read_search,cap_syslog=ep) %attr(0750,root,netdata) %{_libexecdir}/%{name}/plugins.d/logs-management.plugin
  834. %package plugin-network-viewer
  835. Summary: The network viewer plugin for the Netdata Agent
  836. Group: Applications/System
  837. Requires: %{name} = %{version}
  838. Conflicts: %{name} < %{version}
  839. %if 0%{?_have_ebpf}
  840. %if 0%{?centos_ver} != 7
  841. Recommends: %{name}-plugin-ebpf = %{version}
  842. %else
  843. Requires: %{name}-plugin-ebpf = %{version}
  844. %endif
  845. %endif
  846. %description plugin-network-viewer
  847. This plugin allows the Netdata Agent to provide network connection
  848. mapping functionality for use in netdata Cloud.
  849. %pre plugin-network-viewer
  850. if ! getent group %{name} > /dev/null; then
  851. groupadd --system %{name}
  852. fi
  853. %files plugin-network-viewer
  854. %defattr(0750,root,netdata,0750)
  855. # CAP_SYS_ADMIN, CAP_SYS_PTRACE and CAP_DAC_READ_SEARCH needed for data collection.
  856. %caps(cap_sys_admin,cap_sys_ptrace,cap_dac_read_search=ep) %attr(0750,root,netdata) %{_libexecdir}/%{name}/plugins.d/network-viewer.plugin
  857. %changelog
  858. * Tue Feb 06 2024 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-25
  859. - Add package for network-viewer plugin
  860. * Thu Oct 26 2023 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-24
  861. - Add package for logs-management plugin
  862. * Tue Sep 19 2023 Austin hemmelgarn <austin@netdata.cloud> 0.0.0-24
  863. - Switch to using cmake for builds.
  864. * Mon Aug 28 2023 Konstantin Shalygin <k0ste@k0ste.ru> 0.0.0-23
  865. - Build go.d.plugin natively for CentOS Stream distro
  866. * Mon Aug 21 2023 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-22
  867. - Explicitly depend on version-matched plugins in native packages
  868. * Thu Aug 03 2023 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-21
  869. - Added systemd-journal plugin handling
  870. * Wed Jun 14 2023 Konstantin Shalygin <k0ste@k0ste.ru> 0.0.0-20
  871. - Added eBPF build dependency (again)
  872. * Fri Apr 07 2023 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-19
  873. - Split additional plugins out in their own packages.
  874. * Tue Mar 21 2023 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-18
  875. - Fix systemd handling to follow BCP.
  876. - Drop pre-systemd init support.
  877. * Thu Feb 16 2023 Konstantin Shalygin <k0ste@k0ste.ru> 0.0.0-17
  878. - Added eBPF build dependency
  879. * Thu Feb 03 2022 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-16
  880. - Bundle updater script in native packages.
  881. * Mon Oct 11 2021 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-15
  882. - Remove support code for legacy ACLK implementation.
  883. * Wed Sep 16 2020 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-14
  884. - Convert to using 'AutoReq: yes' for library dependencies.
  885. * Thu Feb 13 2020 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-13
  886. - Add handling for custom libmosquitto fork
  887. * Wed Jan 01 2020 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-12
  888. - Add explicit installation of log and cache directories
  889. - Clean up build dependencies.
  890. * Thu Dec 19 2019 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-11
  891. - Fix remaining ownership and permissions issues.
  892. * Mon Nov 04 2019 Konstantinos Natsakis <konstantinos.natsakis@gmail.com> 0.0.0-10
  893. - Fix /etc/netdata permissions
  894. * Mon Sep 23 2019 Konstantinos Natsakis <konstantinos.natsakis@gmail.com> 0.0.0-9
  895. - Do not build CUPS plugin subpackage on CentOS 6 and CentOS 7
  896. * Tue Aug 20 2019 Pavlos Emm. Katsoulakis <paul@netdat.acloud> - 0.0.0-8
  897. - Split CUPS functionality on separate package
  898. * Fri Jun 28 2019 Pavlos Emm. Katsoulakis <paul@netdata.cloud> - 0.0.0-7
  899. - Raise the path overrides to the spec file level, not just the configure.
  900. - Adjust tighter permissions on some folders, based on what we did on our installer
  901. - Introduce go.d plugin download and install, to include it on the package (Temporarily, to become separate package on next iteration)
  902. * Tue Jun 25 2019 Pavlos Emm. Katsoulakis <paul@netdata.cloud> - 0.0.0-6
  903. - Adjust dependency list: Some packages are missing on some distros, adopt to build successfully
  904. * Mon Jun 24 2019 Pavlos Emm. Katsoulakis <paul@netdata.cloud> - 0.0.0-5
  905. Another pass on cleaning up pre/post installation steps
  906. - Sync permission and ownership on files and directories
  907. * Sun Jun 16 2019 Pavlos Emm. Katsoulakis <paul@netdata.cloud> - 0.0.0-4
  908. First draft refactor on package dependencies section
  909. - Remove freeipmi/nfacct plugin flags. We auto-detect all plugins by decision
  910. - Start refactor of package dependencies
  911. - Add missing dependencies, with respect to distro peculiarities
  912. - Adjust existing dependencies, so that distro-specific package names is applied
  913. * Wed Jan 02 2019 Pawel Krupa <pkrupa@redhat.com> - 0.0.0-3
  914. - Temporary set version statically
  915. - Fix changelog ordering
  916. - Comment-out node.d configuration directory
  917. * Wed Jan 02 2019 Pawel Krupa <pkrupa@redhat.com> - 0.0.0-2
  918. - Fix permissions for log files
  919. * Sun Nov 15 2015 Alon Bar-Lev <alonbl@redhat.com> - 0.0.0-1
  920. - Initial add.