netdata.spec.in 35 KB

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