netdata.spec.in 34 KB

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