netdata.spec.in 34 KB

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