netdata.spec.in 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579
  1. # SPDX-License-Identifier: GPL-3.0-or-later
  2. %global contentdir %{_datadir}/netdata
  3. %global version @PACKAGE_VERSION@
  4. #TODO: Temporary fix for the build-id error during go.d plugin set up
  5. %global _missing_build_ids_terminate_build 0
  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. %if "@HAVE_LIBBPF@" == "1"
  11. %global have_bpf 1
  12. %else
  13. %global have_bpf 0
  14. %endif
  15. # This is temporary and should eventually be resolved. This bypasses
  16. # the default rhel __os_install_post which throws a python compile
  17. # error.
  18. %global __os_install_post %{nil}
  19. # Mitigate the cross-distro mayhem by strictly defining the libexec destination
  20. %define _prefix /usr
  21. %define _sysconfdir /etc
  22. %define _localstatedir /var
  23. %define _libexecdir /usr/libexec
  24. %define _libdir /usr/lib
  25. # Redefine centos_ver to standardize on a single macro
  26. %{?rhel:%global centos_ver %rhel}
  27. #
  28. # Conditional build:
  29. %bcond_without systemd # systemd
  30. %bcond_with netns # build with netns support (cgroup-network)
  31. %if 0%{?fedora} || 0%{?rhel} >= 7 || 0%{?suse_version} >= 1140
  32. %else
  33. %undefine with_systemd
  34. %undefine with_netns
  35. %endif
  36. %if %{with systemd}
  37. %if 0%{?suse_version}
  38. %global netdata_initd_buildrequires \
  39. BuildRequires: systemd-rpm-macros \
  40. %{nil}
  41. %global netdata_initd_requires \
  42. %{?systemd_requires} \
  43. %{nil}
  44. %global netdata_init_post %service_add_post netdata.service \
  45. /sbin/service netdata restart > /dev/null 2>&1 \
  46. %{nil}
  47. %global netdata_init_preun %service_del_preun netdata.service \
  48. /sbin/service netdata stop > /dev/null 2>&1 \
  49. %{nil}
  50. %global netdata_init_postun %service_del_postun netdata.service
  51. %else
  52. %global netdata_initd_buildrequires \
  53. BuildRequires: systemd
  54. %global netdata_initd_requires \
  55. Requires(preun): systemd-units \
  56. Requires(postun): systemd-units \
  57. Requires(post): systemd-units \
  58. %{nil}
  59. %global netdata_init_post %systemd_post netdata.service \
  60. /usr/bin/systemctl enable netdata.service \
  61. /usr/bin/systemctl daemon-reload \
  62. /usr/bin/systemctl restart netdata.service \
  63. %{nil}
  64. %global netdata_init_preun %systemd_preun netdata.service
  65. %global netdata_init_postun %systemd_postun_with_restart netdata.service
  66. %endif
  67. %else
  68. %global netdata_initd_buildrequires %{nil}
  69. %global netdata_initd_requires \
  70. Requires(post): chkconfig \
  71. %{nil}
  72. %global netdata_init_post \
  73. /sbin/chkconfig --add netdata \
  74. /sbin/service netdata restart > /dev/null 2>&1 \
  75. %{nil}
  76. %global netdata_init_preun %{nil} \
  77. if [ $1 = 0 ]; then \
  78. /sbin/service netdata stop > /dev/null 2>&1 \
  79. /sbin/chkconfig --del netdata \
  80. fi \
  81. %{nil}
  82. %global netdata_init_postun %{nil} \
  83. if [ $1 != 0 ]; then \
  84. /sbin/service netdata condrestart 2>&1 > /dev/null \
  85. fi \
  86. %{nil}
  87. %endif
  88. Summary: Real-time performance monitoring, done right!
  89. Name: netdata
  90. Version: %{version}
  91. Release: 1%{?dist}
  92. License: GPLv3+
  93. Group: Applications/System
  94. Source0: https://github.com/netdata/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
  95. URL: http://my-netdata.io
  96. # Remove conflicting EPEL packages
  97. Obsoletes: %{name}-conf
  98. Obsoletes: %{name}-data
  99. # #####################################################################
  100. # Core build/install/runtime dependencies
  101. # #####################################################################
  102. # Build dependencies
  103. #
  104. BuildRequires: gcc
  105. BuildRequires: gcc-c++
  106. BuildRequires: make
  107. BuildRequires: git-core
  108. BuildRequires: autoconf
  109. %if 0%{?fedora} || 0%{?rhel} >= 7 || 0%{?suse_version} >= 1140
  110. BuildRequires: autoconf-archive
  111. BuildRequires: autogen
  112. %endif
  113. BuildRequires: automake
  114. BuildRequires: cmake
  115. BuildRequires: pkgconfig
  116. BuildRequires: curl
  117. BuildRequires: findutils
  118. BuildRequires: zlib-devel
  119. BuildRequires: libuuid-devel
  120. BuildRequires: libuv-devel >= 1
  121. BuildRequires: openssl-devel
  122. %if 0%{?centos_ver} >= 8 || 0%{?fedora}
  123. BuildRequires: libwebsockets-devel >= 3.2
  124. %endif
  125. %if 0%{?suse_version}
  126. BuildRequires: judy-devel
  127. BuildRequires: liblz4-devel
  128. BuildRequires: libjson-c-devel
  129. %else
  130. %if 0%{?fedora}
  131. BuildRequires: Judy-devel
  132. BuildRequires: lz4-devel
  133. BuildRequires: json-c-devel
  134. %else
  135. BuildRequires: lz4-devel
  136. BuildRequires: json-c-devel
  137. %endif
  138. %endif
  139. # Core build requirements for service install
  140. %{netdata_initd_buildrequires}
  141. # Runtime dependencies
  142. #
  143. %if 0%{?centos_ver} == 7 || 0%{?centos_ver} == 6
  144. Requires: python
  145. %else
  146. %if 0%{?centos_ver} == 8
  147. Requires: python38
  148. %else
  149. Requires: python3
  150. %endif
  151. %endif
  152. # Core requirements for the install to succeed
  153. Requires(pre): /usr/sbin/groupadd
  154. Requires(pre): /usr/sbin/useradd
  155. %{netdata_initd_requires}
  156. # #####################################################################
  157. # Functionality-dependent package dependencies
  158. # #####################################################################
  159. # Note: Some or all of the Packages may be found in the EPEL repo,
  160. # rather than the standard ones
  161. # nfacct plugin dependencies
  162. BuildRequires: libmnl-devel
  163. %if 0%{?fedora} || 0%{?suse_version} >= 1140
  164. BuildRequires: libnetfilter_acct-devel
  165. %endif
  166. # end nfacct plugin dependencies
  167. # freeipmi plugin dependencies
  168. BuildRequires: freeipmi-devel
  169. # end - freeipmi plugin dependencies
  170. # CUPS plugin dependencies
  171. %if 0%{?centos_ver} != 6 && 0%{?centos_ver} != 7
  172. BuildRequires: cups-devel >= 1.7
  173. %endif
  174. # end - cups plugin dependencies
  175. # Prometheus remote write dependencies
  176. BuildRequires: snappy-devel
  177. BuildRequires: protobuf-devel
  178. %if 0%{?suse_version}
  179. BuildRequires: libprotobuf-c-devel
  180. %else
  181. BuildRequires: protobuf-c-devel
  182. %endif
  183. # end - prometheus remote write dependencies
  184. # #####################################################################
  185. # End of dependency management configuration
  186. # #####################################################################
  187. %description
  188. netdata is the fastest way to visualize metrics. It is a resource
  189. efficient, highly optimized system for collecting and visualizing any
  190. type of realtime timeseries data, from CPU usage, disk activity, SQL
  191. queries, API calls, web site visitors, etc.
  192. netdata tries to visualize the truth of now, in its greatest detail,
  193. so that you can get insights of what is happening now and what just
  194. happened, on your systems and applications.
  195. %prep
  196. %setup -q -n %{name}-%{version}
  197. export CFLAGS="${CFLAGS} -fPIC" && ${RPM_BUILD_DIR}/%{name}-%{version}/packaging/bundle-mosquitto.sh ${RPM_BUILD_DIR}/%{name}-%{version}
  198. %if 0%{?centos_ver} < 8 || 0%{!?fedora:1}
  199. export CFLAGS="${CFLAGS} -fPIC" && ${RPM_BUILD_DIR}/%{name}-%{version}/packaging/bundle-lws.sh ${RPM_BUILD_DIR}/%{name}-%{version}
  200. %endif
  201. # Only bundle libJudy if this isn't Fedora or SUSE
  202. %if 0%{!?fedora:1} && 0%{!?suse_version:1}
  203. export CFLAGS="${CFLAGS} -fPIC" && ${RPM_BUILD_DIR}/%{name}-%{version}/packaging/bundle-judy.sh ${RPM_BUILD_DIR}/%{name}-%{version}
  204. %endif
  205. %if 0%{?have_bpf}
  206. export CFLAGS="${CFLAGS} -fPIC" && ${RPM_BUILD_DIR}/%{name}-%{version}/packaging/bundle-libbpf.sh ${RPM_BUILD_DIR}/%{name}-%{version}
  207. %endif
  208. %build
  209. # Conf step
  210. autoreconf -ivf
  211. %configure \
  212. %if 0%{!?fedora:1} && 0%{!?suse_version:1}
  213. --with-libJudy=externaldeps/libJudy \
  214. %endif
  215. %if 0%{?centos_ver} < 8 || 0%{!?fedora:1}
  216. --with-bundled-lws=externaldeps/libwebsockets \
  217. %endif
  218. --prefix="%{_prefix}" \
  219. --sysconfdir="%{_sysconfdir}" \
  220. --localstatedir="%{_localstatedir}" \
  221. --libexecdir="%{_libexecdir}" \
  222. --libdir="%{_libdir}" \
  223. --with-zlib \
  224. --with-math \
  225. --with-user=netdata
  226. # Build step
  227. %{__make} %{?_smp_mflags}
  228. %install
  229. # ###########################################################
  230. # Clear the directory, if already exists and install
  231. rm -rf "${RPM_BUILD_ROOT}"
  232. %{__make} %{?_smp_mflags} DESTDIR="${RPM_BUILD_ROOT}" install
  233. install -m 644 -p system/netdata.conf "${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}"
  234. # ###########################################################
  235. # logrotate settings
  236. install -m 755 -d "${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d"
  237. install -m 644 -p system/netdata.logrotate "${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d/%{name}"
  238. # ###########################################################
  239. # Install freeipmi
  240. install -m 4750 -p freeipmi.plugin "${RPM_BUILD_ROOT}%{_libexecdir}/%{name}/plugins.d/freeipmi.plugin"
  241. # ###########################################################
  242. # Install apps.plugin
  243. install -m 4750 -p apps.plugin "${RPM_BUILD_ROOT}%{_libexecdir}/%{name}/plugins.d/apps.plugin"
  244. # ###########################################################
  245. # Install perf.plugin
  246. install -m 4750 -p perf.plugin "${RPM_BUILD_ROOT}%{_libexecdir}/%{name}/plugins.d/perf.plugin"
  247. # ###########################################################
  248. # Install ebpf.plugin
  249. %if 0%{?have_bpf}
  250. install -m 4750 -p ebpf.plugin "${RPM_BUILD_ROOT}%{_libexecdir}/%{name}/plugins.d/ebpf.plugin"
  251. %endif
  252. # ###########################################################
  253. # Install cups.plugin
  254. %if 0%{?centos_ver} != 6 && 0%{?centos_ver} != 7
  255. install -m 0750 -p cups.plugin "${RPM_BUILD_ROOT}%{_libexecdir}/%{name}/plugins.d/cups.plugin"
  256. %endif
  257. # ###########################################################
  258. # Install slabinfo.plugin
  259. install -m 4750 -p slabinfo.plugin "${RPM_BUILD_ROOT}%{_libexecdir}/%{name}/plugins.d/slabinfo.plugin"
  260. # ###########################################################
  261. # Install cache and log directories
  262. install -m 755 -d "${RPM_BUILD_ROOT}%{_localstatedir}/cache/%{name}"
  263. install -m 755 -d "${RPM_BUILD_ROOT}%{_localstatedir}/log/%{name}"
  264. # ###########################################################
  265. # Install registry directory
  266. install -m 755 -d "${RPM_BUILD_ROOT}%{_localstatedir}/lib/%{name}/registry"
  267. # ###########################################################
  268. # Install netdata service
  269. %if %{with systemd}
  270. install -m 755 -d "${RPM_BUILD_ROOT}%{_unitdir}"
  271. install -m 644 -p system/netdata.service "${RPM_BUILD_ROOT}%{_unitdir}/netdata.service"
  272. %else
  273. # install SYSV init stuff
  274. install -d "${RPM_BUILD_ROOT}/etc/rc.d/init.d"
  275. install -m 755 system/netdata-init-d \
  276. "${RPM_BUILD_ROOT}/etc/rc.d/init.d/netdata"
  277. %endif
  278. # ############################################################
  279. # Package Go within netdata (TBD: Package it separately)
  280. safe_sha256sum() {
  281. # Within the context of the installer, we only use -c option that is common between the two commands
  282. # We will have to reconsider if we start non-common options
  283. if command -v sha256sum >/dev/null 2>&1; then
  284. sha256sum $@
  285. elif command -v shasum >/dev/null 2>&1; then
  286. shasum -a 256 $@
  287. else
  288. fatal "I could not find a suitable checksum binary to use"
  289. fi
  290. }
  291. download_go() {
  292. url="${1}"
  293. dest="${2}"
  294. if command -v curl >/dev/null 2>&1; then
  295. curl -sSL --connect-timeout 10 --retry 3 "${url}" > "${dest}"
  296. elif command -v wget >/dev/null 2>&1; then
  297. wget -T 15 -O - "${url}" > "${dest}"
  298. else
  299. echo >&2
  300. echo >&2 "Downloading go.d plugin from '${url}' failed because of missing mandatory packages."
  301. echo >&2 "Either add packages or disable it by issuing '--disable-go' in the installer"
  302. echo >&2
  303. exit 1
  304. fi
  305. }
  306. install_go() {
  307. # When updating this value, ensure correct checksums in packaging/go.d.checksums
  308. GO_PACKAGE_VERSION="$(cat packaging/go.d.version)"
  309. ARCH_MAP=(
  310. 'i386::386'
  311. 'i686::386'
  312. 'x86_64::amd64'
  313. 'aarch64::arm64'
  314. 'armv64::arm64'
  315. 'armv6l::arm'
  316. 'armv7l::arm'
  317. 'armv5tel::arm'
  318. )
  319. if [ -z "${NETDATA_DISABLE_GO+x}" ]; then
  320. echo >&2 "Install go.d.plugin"
  321. ARCH=$(uname -m)
  322. OS=$(uname -s | tr '[:upper:]' '[:lower:]')
  323. for index in "${ARCH_MAP[@]}" ; do
  324. KEY="${index%%::*}"
  325. VALUE="${index##*::}"
  326. if [ "$KEY" = "$ARCH" ]; then
  327. ARCH="${VALUE}"
  328. break
  329. fi
  330. done
  331. tmp=$(mktemp -d /tmp/netdata-go-XXXXXX)
  332. GO_PACKAGE_BASENAME="go.d.plugin-${GO_PACKAGE_VERSION}.${OS}-${ARCH}.tar.gz"
  333. download_go "https://github.com/netdata/go.d.plugin/releases/download/${GO_PACKAGE_VERSION}/${GO_PACKAGE_BASENAME}" "${tmp}/${GO_PACKAGE_BASENAME}"
  334. download_go "https://github.com/netdata/go.d.plugin/releases/download/${GO_PACKAGE_VERSION}/config.tar.gz" "${tmp}/config.tar.gz"
  335. if [ ! -f "${tmp}/${GO_PACKAGE_BASENAME}" ] || [ ! -f "${tmp}/config.tar.gz" ] || [ ! -s "${tmp}/config.tar.gz" ] || [ ! -s "${tmp}/${GO_PACKAGE_BASENAME}" ]; then
  336. echo >&2 "Either check the error or consider disabling it by issuing '--disable-go' in the installer"
  337. echo >&2
  338. return 1
  339. fi
  340. grep "${GO_PACKAGE_BASENAME}\$" "packaging/go.d.checksums" > "${tmp}/sha256sums.txt" 2>/dev/null
  341. grep "config.tar.gz" "packaging/go.d.checksums" >> "${tmp}/sha256sums.txt" 2>/dev/null
  342. # Checksum validation
  343. if ! (cd "${tmp}" && safe_sha256sum -c "sha256sums.txt"); then
  344. echo >&2 "go.d plugin checksum validation failure."
  345. echo >&2 "Either check the error or consider disabling it by issuing '--disable-go' in the installer"
  346. echo >&2
  347. echo "go.d.plugin package files checksum validation failed."
  348. exit 1
  349. fi
  350. # Install files
  351. tar -xf "${tmp}/config.tar.gz" -C "${RPM_BUILD_ROOT}%{_libdir}/%{name}/conf.d/"
  352. tar xf "${tmp}/${GO_PACKAGE_BASENAME}"
  353. mv "${GO_PACKAGE_BASENAME/\.tar\.gz/}" "go.d.plugin"
  354. rm -rf "${tmp}"
  355. fi
  356. return 0
  357. }
  358. install_go
  359. install -m 0640 -p go.d.plugin "${RPM_BUILD_ROOT}%{_libexecdir}/%{name}/plugins.d/go.d.plugin"
  360. ${RPM_BUILD_DIR}/%{name}-%{version}/packaging/bundle-dashboard.sh ${RPM_BUILD_DIR}/%{name}-%{version} ${RPM_BUILD_ROOT}%{_datadir}/%{name}/web
  361. %if 0%{?have_bpf}
  362. ${RPM_BUILD_DIR}/%{name}-%{version}/packaging/bundle-ebpf.sh ${RPM_BUILD_DIR}/%{name}-%{version} ${RPM_BUILD_ROOT}%{_libexecdir}/%{name}/plugins.d
  363. %endif
  364. %pre
  365. # User/Group creations, as needed
  366. getent group netdata >/dev/null || groupadd -r netdata
  367. getent group docker >/dev/null || groupadd -r docker
  368. getent passwd netdata >/dev/null || \
  369. useradd -r -g netdata -G docker -s /sbin/nologin \
  370. -d %{contentdir} -c "netdata" netdata
  371. %post
  372. %{netdata_init_post}
  373. %preun
  374. %{netdata_init_preun}
  375. %postun
  376. %{netdata_init_postun}
  377. %clean
  378. rm -rf "${RPM_BUILD_ROOT}"
  379. %files
  380. %doc README.md
  381. %{_sysconfdir}/%{name}
  382. %config(noreplace) %{_sysconfdir}/%{name}/netdata.conf
  383. %config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
  384. %dir %{_libdir}/%{name}
  385. %dir %{_datadir}/%{name}
  386. %{_libdir}/%{name}
  387. %{_libdir}/%{name}/conf.d/
  388. %{_libexecdir}/%{name}
  389. %{_sbindir}/%{name}
  390. %{_sbindir}/netdatacli
  391. %{_sbindir}/netdata-claim.sh
  392. %if %{with systemd}
  393. %{_unitdir}/netdata.service
  394. %else
  395. %{_sysconfdir}/rc.d/init.d/netdata
  396. %endif
  397. %defattr(0750,root,netdata,0750)
  398. %dir %{_libexecdir}/%{name}/python.d
  399. %dir %{_libexecdir}/%{name}/charts.d
  400. %dir %{_libexecdir}/%{name}/plugins.d
  401. %dir %{_libexecdir}/%{name}/node.d
  402. %{_libexecdir}/%{name}/python.d
  403. %{_libexecdir}/%{name}/plugins.d
  404. %{_libexecdir}/%{name}/node.d
  405. %caps(cap_dac_read_search,cap_sys_ptrace=ep) %attr(0750,root,netdata) %{_libexecdir}/%{name}/plugins.d/apps.plugin
  406. %if %{with netns}
  407. # cgroup-network detects the network interfaces of CGROUPs
  408. # it must be able to use setns() and run cgroup-network-helper.sh as root
  409. # the helper script reads /proc/PID/fdinfo/* files, runs virsh, etc.
  410. %attr(4750,root,netdata) %{_libexecdir}/%{name}/plugins.d/cgroup-network
  411. %attr(0750,root,netdata) %{_libexecdir}/%{name}/plugins.d/cgroup-network-helper.sh
  412. %endif
  413. # perf plugin
  414. # This should be CAP_PERFMON once RPM finally learns about it, but needs to be CAP_SYS_ADMIN for now.
  415. # %caps(cap_perfmon=ep) %attr(0750,root,netdata) %{_libexecdir}/%{name}/plugins.d/perf.plugin
  416. %caps(cap_sys_admin=ep) %attr(0750,root,netdata) %{_libexecdir}/%{name}/plugins.d/perf.plugin
  417. # perf plugin
  418. %caps(cap_dac_read_search=ep) %attr(0750,root,netdata) %{_libexecdir}/%{name}/plugins.d/slabinfo.plugin
  419. # freeipmi files
  420. %attr(4750,root,netdata) %{_libexecdir}/%{name}/plugins.d/freeipmi.plugin
  421. # Enforce 0644 for files and 0755 for directories
  422. # for the netdata web directory
  423. %defattr(0644,root,netdata,0755)
  424. %{_datadir}/%{name}/web
  425. # Enforce 0660 for files and 0770 for directories
  426. # for the netdata lib, cache and log dirs
  427. %defattr(0660,root,netdata,0770)
  428. %attr(0770,netdata,netdata) %dir %{_localstatedir}/cache/%{name}
  429. %attr(0755,netdata,root) %dir %{_localstatedir}/log/%{name}
  430. %attr(0770,netdata,netdata) %dir %{_localstatedir}/lib/%{name}
  431. %attr(0770,netdata,netdata) %dir %{_localstatedir}/lib/%{name}/registry
  432. # Free IPMI belongs to a different sub-package
  433. %exclude %{_libexecdir}/%{name}/plugins.d/freeipmi.plugin
  434. # CUPS belongs to a different sub package
  435. %if 0%{?centos_ver} != 6 && 0%{?centos_ver} != 7
  436. %exclude %{_libexecdir}/%{name}/plugins.d/cups.plugin
  437. %package plugin-cups
  438. Summary: The Common Unix Printing System plugin for netdata
  439. Group: Applications/System
  440. Requires: cups >= 1.7
  441. Requires: netdata = %{version}
  442. %description plugin-cups
  443. This is the Common Unix Printing System plugin for the netdata daemon.
  444. Use this plugin to enable metrics collection from cupsd, the daemon running when CUPS is enabled on the system
  445. %files plugin-cups
  446. %attr(0750,root,netdata) %{_libexecdir}/%{name}/plugins.d/cups.plugin
  447. %endif
  448. %package plugin-freeipmi
  449. Summary: FreeIPMI - The Intelligent Platform Management System
  450. Group: Applications/System
  451. Requires: freeipmi
  452. Requires: netdata = %{version}
  453. %description plugin-freeipmi
  454. The IPMI specification defines a set of interfaces for platform management.
  455. It is implemented by a number vendors for system management. The features of IPMI that most users will be interested in
  456. are sensor monitoring, system event monitoring, power control, and serial-over-LAN (SOL).
  457. %files plugin-freeipmi
  458. %attr(4750,root,netdata) %{_libexecdir}/%{name}/plugins.d/freeipmi.plugin
  459. %changelog
  460. * Wed Sep 16 2020 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-14
  461. - Convert to using 'AutoReq: yes' for library dependencies.
  462. * Thu Feb 13 2020 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-13
  463. - Add handling for custom libmosquitto fork
  464. * Wed Jan 01 2020 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-12
  465. - Add explicit installation of log and cache directories
  466. - Clean up build dependencies.
  467. * Thu Dec 19 2019 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-11
  468. - Fix remaining ownership and permissions issues.
  469. * Mon Nov 04 2019 Konstantinos Natsakis <konstantinos.natsakis@gmail.com> 0.0.0-10
  470. - Fix /etc/netdata permissions
  471. * Mon Sep 23 2019 Konstantinos Natsakis <konstantinos.natsakis@gmail.com> 0.0.0-9
  472. - Do not build CUPS plugin subpackage on CentOS 6 and CentOS 7
  473. * Tue Aug 20 2019 Pavlos Emm. Katsoulakis <paul@netdat.acloud> - 0.0.0-8
  474. - Split CUPS functionality on separate package
  475. * Fri Jun 28 2019 Pavlos Emm. Katsoulakis <paul@netdata.cloud> - 0.0.0-7
  476. - Raise the path overrides to the spec file level, not just the configure.
  477. - Adjust tighter permissions on some folders, based on what we did on our installer
  478. - Introduce go.d plugin download and install, to include it on the package (Temporarily, to become separate package on next iteration)
  479. * Tue Jun 25 2019 Pavlos Emm. Katsoulakis <paul@netdata.cloud> - 0.0.0-6
  480. - Adjust dependency list: Some packages are missing on some distros, adopt to build successfully
  481. * Mon Jun 24 2019 Pavlos Emm. Katsoulakis <paul@netdata.cloud> - 0.0.0-5
  482. Another pass on cleaning up pre/post installation steps
  483. - Sync permission and ownership on files and directories
  484. * Sun Jun 16 2019 Pavlos Emm. Katsoulakis <paul@netdata.cloud> - 0.0.0-4
  485. First draft refactor on package dependencies section
  486. - Remove freeipmi/nfacct plugin flags. We auto-detect all plugins by decision
  487. - Start refactor of package dependencies
  488. - Add missing dependencies, with respect to distro peculiarities
  489. - Adjust existing dependencies, so that distro-specific package names is applied
  490. * Wed Jan 02 2019 Pawel Krupa <pkrupa@redhat.com> - 0.0.0-3
  491. - Temporary set version statically
  492. - Fix changelog ordering
  493. - Comment-out node.d configuration directory
  494. * Wed Jan 02 2019 Pawel Krupa <pkrupa@redhat.com> - 0.0.0-2
  495. - Fix permissions for log files
  496. * Sun Nov 15 2015 Alon Bar-Lev <alonbl@redhat.com> - 0.0.0-1
  497. - Initial add.