munin-vl.spec 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832
  1. Name: munin
  2. Version: 2.0.67
  3. Release: 1%{?_dist_release}
  4. Summary: Network-wide graphing framework (grapher/gatherer)
  5. Group: system
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: GPLv2 and Bitstream Vera
  9. URL: https://munin-monitoring.org/
  10. Source0: http://downloads.sourceforge.net/sourceforge/munin/%{name}-%{version}.tar.gz
  11. Source10: http://downloads.sourceforge.net/sourceforge/munin/%{name}-%{version}.tar.gz.sha256sum
  12. Source1: munin-1.2.4-sendmail-config
  13. Source2: munin-1.2.5-hddtemp_smartctl-config
  14. Source3: munin-node.logrotate
  15. Source4: munin.logrotate
  16. Source6: munin-1.2.6-postfix-config
  17. Source7: munin-1.4.5-df-config
  18. Source9: munin.conf
  19. Source12: cpuspeed.in.rev1243
  20. Source13: linux-init.d_munin-asyncd.in
  21. Source17: munin.cron.d
  22. Source18: munin-node.init
  23. Source19: httpd_munin-cgi.conf
  24. Source100: munin-cgi-graph.init
  25. Source101: munin-cgi-html.init
  26. Source102: munin-cgi-graph.sysconfig
  27. Source103: munin-cgi-html.sysconfig
  28. Source104: munin_params
  29. Patch4: munin-2.0.4-Utils-cluck.patch
  30. Patch5: acpi-2.0.5.patch
  31. Patch7: munin-2.0-defect-1213.patch
  32. Patch9: munin-2.0.8-cgitmp.patch
  33. Patch100: munin-cgi-taint.patch
  34. BuildArch: noarch
  35. BuildRequires: net-tools
  36. BuildRequires: perl >= 2:5.34.0
  37. BuildRequires: perl(Module::Build)
  38. BuildRequires: perl(Net::Server)
  39. BuildRequires: perl(Net::SSLeay)
  40. BuildRequires: perl(Net::SNMP)
  41. BuildRequires: perl(Test::Exception)
  42. #BuildRequires: perl(Test::MockModule)
  43. #BuildRequires: perl(Test::MockObject)
  44. #BuildRequires: perl(Test::Perl::Critic) >= 1.096 ## Not packaged
  45. BuildRequires: perl(Test::Pod::Coverage)
  46. BuildRequires: perl(Time::HiRes)
  47. BuildRequires: perl(Net::SSLeay)
  48. BuildRequires: perl(HTML::Template)
  49. #BuildRequires: perl(Log::Log4perl)
  50. Requires: %{name}-common = %{version}
  51. Requires: perl-Net-Server
  52. Requires: perl-Net-SNMP
  53. Requires: rrdtool
  54. Requires: logrotate
  55. Requires: /bin/mail
  56. Requires(pre): shadow-utils
  57. Requires: perl >= 2:5.34.0
  58. Requires: TrueType-bitstream-vera
  59. %description
  60. Munin is a highly flexible and powerful solution used to create graphs of
  61. virtually everything imaginable throughout your network, while still
  62. maintaining a rattling ease of installation and configuration.
  63. This package contains the grapher/gatherer. You will only need one instance of
  64. it in your network. It will periodically poll all the nodes in your network
  65. it's aware of for data, which it in turn will use to create graphs and HTML
  66. pages, suitable for viewing with your graphical web browser of choice.
  67. Munin is written in Perl, and relies heavily on Tobi Oetiker's excellent
  68. RRDtool.
  69. %package node
  70. Group: System Environment/Daemons
  71. Summary: Network-wide graphing framework (node)
  72. BuildArchitectures: noarch
  73. Requires: %{name}-common = %{version}
  74. Requires: perl-Net-Server
  75. Requires: procps >= 2.0.7
  76. #Requires: sysstat, /usr/bin/which, hdparm
  77. Requires: /usr/bin/which, hdparm
  78. Requires(pre): shadow-utils
  79. Requires(post): /sbin/chkconfig
  80. Requires(preun): /sbin/chkconfig
  81. Requires(preun): /sbin/service
  82. Requires: perl >= 2:5.34.0
  83. %description node
  84. Munin is a highly flexible and powerful solution used to create graphs of
  85. virtually everything imaginable throughout your network, while still
  86. maintaining a rattling ease of installation and configuration.
  87. This package contains node software. You should install it on all the nodes
  88. in your network. It will know how to extract all sorts of data from the
  89. node it runs on, and will wait for the gatherer to request this data for
  90. further processing.
  91. It includes a range of plugins capable of extracting common values such as
  92. cpu usage, network usage, load average, and so on. Creating your own plugins
  93. which are capable of extracting other system-specific values is very easy,
  94. and is often done in a matter of minutes. You can also create plugins which
  95. relay information from other devices in your network that can't run Munin,
  96. such as a switch or a server running another operating system, by using
  97. SNMP or similar technology.
  98. Munin is written in Perl, and relies heavily on Tobi Oetiker's excellent
  99. RRDtool.
  100. %package async
  101. Group: System Environment/Daemons
  102. Summary: Network-wide graphing framework (asynchronous client tools)
  103. BuildArch: noarch
  104. Requires: %{name}-node = %{version}
  105. %description async
  106. Munin is a highly flexible and powerful solution used to create graphs
  107. of virtually everything imaginable throughout your network, while still
  108. maintaining a rattling ease of installation and configuration.
  109. This package contains the tools necessary for setting up an asynchronous
  110. client / spooling system
  111. %package common
  112. Group: System Environment/Daemons
  113. Summary: Network-wide graphing framework (common files)
  114. BuildArch: noarch
  115. Requires: perl >= 2:5.34.0
  116. %description common
  117. Munin is a highly flexible and powerful solution used to create graphs of
  118. virtually everything imaginable throughout your network, while still
  119. maintaining a rattling ease of installation and configuration.
  120. This package contains common files that are used by both the server (munin)
  121. and node (munin-node) packages.
  122. %package cgi
  123. Group: System Environment/Daemons
  124. Summary: Network-wide graphing framework (cgi files)
  125. BuildArch: noarch
  126. Requires: %{name}-common = %{version}
  127. Requires: spawn-fcgi
  128. Requires: perl-FCGI
  129. %description cgi
  130. Munin package uses cron by default. This package contains the CGI
  131. files that can generate HTML and graphs dynamically. This enables
  132. munin to scale better for a master with many nodes.
  133. See documentation for setup instructions:
  134. http://munin-monitoring.org/wiki/MuninConfigurationMasterCGI
  135. %package cgi-apache2
  136. Group: System Environment/Daemons
  137. Summary: Network-wide graphing framework (configuration for apache)
  138. BuildArch: noarch
  139. Requires: %{name}-cgi = %{version}
  140. Requires: mod_fcgid-apache2
  141. %description cgi-apache2
  142. This package contains a configuration file for apache2 to generate
  143. HTML and graph files dynamically.
  144. See documentation for setup instructions:
  145. http://munin-monitoring.org/wiki/MuninConfigurationMasterCGI
  146. QUICK-HOWTO:
  147. sed -i 's/\(.*\)_strategy.*/\1_strategy cgi/' /etc/munin/munin.conf
  148. cp --backup /etc/sysconfig/spawn-fcgi-munin /etc/sysconfig/spawn-fcgi
  149. for svc in apache2 munin-node spawn-fcgi; do
  150. chkconfig $svc on
  151. service $svc start
  152. done
  153. %package cgi-nginx
  154. Group: System Environment/Daemons
  155. Summary: Network-wide graphing framework (for nginx)
  156. BuildArch: noarch
  157. Requires: %{name}-cgi = %{version}
  158. Requires: nginx
  159. %description cgi-nginx
  160. This package contains a configuration file for nginx to generate
  161. HTML and graph files dynamically.
  162. See documentation for setup instructions:
  163. http://munin-monitoring.org/wiki/MuninConfigurationMasterCGI
  164. %prep
  165. %setup -q
  166. sed -i -e '
  167. s,^CGIDIR = \(.*\),CGIDIR = $(DESTDIR)/var/www/cgi-bin,;
  168. s,^CGITMPDIR = \(.*\),CGITMPDIR = /var/tmp,;
  169. s,^CHGRP := \(.*\),CHGRP := echo Not done: chgrp,;
  170. s,^CHMOD := \(.*\),CHMOD := echo Not done: chmod,;
  171. s,^CHOWN := \(.*\),CHOWN := echo Not done: chown,;
  172. s,^CONFDIR = \(.*\),CONFDIR = $(DESTDIR)/etc/munin,;
  173. s,^DBDIR = \(.*\),DBDIR = $(DESTDIR)/var/lib/munin,;
  174. s,^DBDIRNODE = \(.*\),DBDIRNODE = $(DESTDIR)/var/opt/munin-node,;
  175. s,^DOCDIR = \(.*\),DOCDIR = $(DESTDIR)%{_datadir}/doc/munin-$(VERSION),;
  176. s,^GROUP := \(.*\),GROUP := nobody,;
  177. s,^HOSTNAME = \(.*\),HOSTNAME = localhost.localdomain,;
  178. s,^HTMLDIR = \(.*\),HTMLDIR = $(DESTDIR)/var/www/html/munin,;
  179. s,^LIBDIR = \(.*\),LIBDIR = $(DESTDIR)%{_datadir}/munin,;
  180. s,^LOGDIR = \(.*\),LOGDIR = $(DESTDIR)/var/log/munin,;
  181. s,^PERL := \(.*\),PERL := /usr/bin/perl,;
  182. s,^PERLLIB = \(.*\),PERLLIB = $(DESTDIR)/%{perl_vendorlib},;
  183. s,^PLUGSTATE = \(.*\),PLUGSTATE = $(DBDIR)/plugin-state,;
  184. s,^PREFIX = \(.*\),PREFIX = $(DESTDIR)/usr,;
  185. s,^PYTHON := \(.*\),PYTHON := /usr/bin/python,;
  186. s,^RUBY := \(.*\),RUBY := /usr/bin/ruby,;
  187. s,^USER := \(.*\),USER := nobody,;
  188. ' Makefile.config
  189. install -c %{SOURCE12} ./plugins/node.d.linux/cpuspeed.in
  190. #%patch4 -p0
  191. #%patch5 -p0
  192. #%patch7 -p1
  193. #%patch9 -p1
  194. #%patch100 -p1
  195. install -c %{SOURCE13} ./resources/
  196. %build
  197. make CONFIG=Makefile.config
  198. # Convert to utf-8
  199. for file in Announce-2.0 COPYING ChangeLog Checklist HACKING.pod README RELEASE UPGRADING UPGRADING-1.4; do
  200. iconv -f ISO-8859-1 -t UTF-8 -o $file.new $file && \
  201. touch -r $file $file.new && \
  202. mv $file.new $file
  203. done
  204. # Fix the wrong FSF address
  205. for FILE in plugins/node.d.linux/tcp.in COPYING plugins/node.d.linux/bonding_err_.in; do
  206. sed -i 's|59 Temple Place.*Suite 330, Boston, MA *02111-1307|51 Franklin St, Fifth Floor, Boston, MA 02110-1301|g' $FILE
  207. done
  208. %install
  209. ## Node
  210. make CONFIG=Makefile.config \
  211. PREFIX=%{buildroot}%{_prefix} \
  212. DOCDIR=%{buildroot}%{_docdir}/%{name}-%{version} \
  213. MANDIR=%{buildroot}%{_mandir} \
  214. DESTDIR=%{buildroot} \
  215. install
  216. # Remove fonts
  217. rm %{buildroot}%{_datadir}/munin/DejaVuSans*.ttf
  218. # install logrotate scripts
  219. mkdir -p %{buildroot}/etc/logrotate.d
  220. install -m 0644 %{SOURCE3} %{buildroot}/etc/logrotate.d/munin-node
  221. install -m 0644 %{SOURCE4} %{buildroot}/etc/logrotate.d/munin
  222. # BZ#821912 - Move .htaccess to apache config to allow easier user-access changes.
  223. mkdir -p %{buildroot}%{_sysconfdir}/apache2/conf.d
  224. sed -e 's/# </</g' %{buildroot}/var/www/html/munin/.htaccess > %{buildroot}%{_sysconfdir}/apache2/conf.d/munin.conf
  225. rm %{buildroot}/var/www/html/munin/.htaccess
  226. # install cron script
  227. mkdir -p %{buildroot}/etc/cron.d
  228. install -m 0644 %{SOURCE17} %{buildroot}/etc/cron.d/munin
  229. #
  230. # don't enable munin-node by default.
  231. #
  232. mkdir -p %{buildroot}/etc/rc.d/init.d
  233. cat %{SOURCE18} | sed -e 's/2345/\-/' > %{buildroot}/etc/rc.d/init.d/munin-node
  234. chmod 755 %{buildroot}/etc/rc.d/init.d/munin-node
  235. install -m 0755 %{SOURCE13} %{buildroot}/etc/rc.d/init.d/munin-asyncd
  236. mkdir -p %{buildroot}%{_sysconfdir}/tmpfiles.d
  237. install -m 0644 %{SOURCE9} %{buildroot}%{_sysconfdir}/tmpfiles.d/%{name}.conf
  238. # Fix default config file
  239. sed -i '
  240. s,/etc/munin/munin-conf.d,/etc/munin/conf.d,;
  241. s,#html_strategy.*,html_strategy cron,;
  242. s,#graph_strategy.*,graph_strategy cron,;
  243. ' %{buildroot}/etc/munin/munin.conf
  244. mkdir -p %{buildroot}/etc/munin/conf.d
  245. mkdir -p %{buildroot}/etc/munin/plugin-conf.d
  246. mkdir -p %{buildroot}/etc/munin/node.d
  247. mkdir -p %{buildroot}/etc/munin/plugin-node.d
  248. # install config for sendmail under fedora
  249. install -m 0644 %{SOURCE1} %{buildroot}/etc/munin/plugin-conf.d/sendmail
  250. # install config for hddtemp_smartctl
  251. install -m 0644 %{SOURCE2} %{buildroot}/etc/munin/plugin-conf.d/hddtemp_smartctl
  252. # install logrotate scripts
  253. install -m 0644 %{SOURCE3} %{buildroot}/etc/logrotate.d/munin-node
  254. install -m 0644 %{SOURCE4} %{buildroot}/etc/logrotate.d/munin
  255. sed -i 's/su munin/#su munin/' %{buildroot}/etc/logrotate.d/munin-node
  256. sed -i 's/su munin/#su munin/' %{buildroot}/etc/logrotate.d/munin
  257. # install config for postfix
  258. install -m 0644 %{SOURCE6} %{buildroot}/etc/munin/plugin-conf.d/postfix
  259. # install df config to exclude fses we shouldn't try and monitor
  260. install -m 0644 %{SOURCE7} %{buildroot}/etc/munin/plugin-conf.d/df
  261. # Append for BZ# 746083
  262. cat - >> %{buildroot}/etc/munin/plugin-conf.d/munin-node <<EOT.node
  263. [diskstats]
  264. user munin
  265. [iostat_ios]
  266. user munin
  267. EOT.node
  268. # Preload static html files
  269. mkdir -p %{buildroot}/var/www/html/munin/
  270. cp -r %{buildroot}/etc/munin/static %{buildroot}/var/www/html/munin/
  271. # Remove plugins that are missing deps
  272. rm %{buildroot}/usr/share/munin/plugins/sybase_space
  273. # Create DBDIRNODE
  274. mkdir -p %{buildroot}/var/lib/munin-node/plugin-state
  275. # Fix config file so that it no longer references the build host
  276. sed -i 's/^\[.*/\[localhost\]/' %{buildroot}/etc/munin/munin.conf
  277. # Create sample fcgi config files
  278. mkdir -p %{buildroot}/etc/sysconfig %{buildroot}/etc/apache2/conf.d
  279. cp %{SOURCE19} %{buildroot}/etc/apache2/conf.d/munin-cgi.conf
  280. cat > %{buildroot}/etc/sysconfig/spawn-fcgi-munin <<EOT
  281. # SAMPLE: Rename this file to /etc/sysconfig/spawn-fcgi and edit to fit
  282. # (Without something like this, munin-cgi will not work properly via init script)
  283. SOCKET=/var/run/munin/fcgi-graph.sock
  284. OPTIONS="-U www-data -u www-data -g www-data -s $SOCKET -S -M 0600 -C 32 -F 1 -P /var/run/spawn-fcgi.pid -- /var/www/cgi-bin/munin-cgi-graph"
  285. EOT
  286. # create symlinks to munin-asyncd in %%{_sbindir}
  287. for i in munin-async munin-asyncd
  288. do
  289. ln -sf %{_datadir}/munin/$i %{buildroot}%{_sbindir}/$i
  290. done
  291. install -m 755 %{SOURCE100} %{buildroot}%{_initdir}/munin-cgi-graph
  292. install -m 755 %{SOURCE101} %{buildroot}%{_initdir}/munin-cgi-html
  293. install -m 644 %{SOURCE102} %{buildroot}%{_sysconfdir}/sysconfig/munin-cgi-graph
  294. install -m 644 %{SOURCE103} %{buildroot}%{_sysconfdir}/sysconfig/munin-cgi-html
  295. install -d %{buildroot}%{_sysconfdir}/nginx
  296. install -m 644 %{SOURCE104} %{buildroot}%{_sysconfdir}/nginx/munin_params
  297. install -d %{buildroot}%{_localstatedir}/lib/%{name}/cgi-tmp
  298. # drop duplicated files
  299. rm -rf %{buildroot}%{perl_sitelib}/*
  300. %clean
  301. rm -rf $RPM_BUILD_ROOT
  302. #
  303. # node package scripts
  304. #
  305. %pre node
  306. getent group munin >/dev/null || groupadd -r munin
  307. getent passwd munin >/dev/null || \
  308. useradd -r -g munin -d /var/lib/munin -s /sbin/nologin \
  309. -c "Munin user" munin
  310. exit 0
  311. %post node
  312. /sbin/chkconfig --add munin-node
  313. # Only run configure on a new install, not an upgrade.
  314. if [ "$1" = "1" ]; then
  315. /usr/sbin/munin-node-configure --shell 2> /dev/null | sh >& /dev/null || :
  316. fi
  317. %preun node
  318. if [ "$1" = 0 ]; then
  319. service munin-node stop &>/dev/null || :
  320. /sbin/chkconfig --del munin-node
  321. fi
  322. %postun node
  323. if [ "$1" = "0" ]; then
  324. [ -d %{_sysconfdir}/munin/plugins ] && \
  325. find %{_sysconfdir}/munin/plugins/ -maxdepth 1 -type l -print0 | \
  326. xargs -0 rm || :
  327. fi
  328. %triggerun node -- munin-node < 1.4.7
  329. cp -a %{_sysconfdir}/munin/plugins %{_sysconfdir}/munin/plugins.bak || :
  330. %triggerpostun node -- munin-node < 1.4.7
  331. mv -f %{_sysconfdir}/munin/plugins.bak/* %{_sysconfdir}/munin/plugins/ || :
  332. #
  333. # async package scripts
  334. #
  335. %post async
  336. /sbin/chkconfig --add munin-asyncd
  337. %preun async
  338. if [ "$1" = 0 ]; then
  339. service munin-asyncd stop &>/dev/null || :
  340. /sbin/chkconfig --del munin-asyncd
  341. fi
  342. #
  343. # cgi package scripts
  344. #
  345. %post cgi
  346. for svc in cgi-html cgi-graph; do
  347. /sbin/chkconfig --add munin-${svc}
  348. done
  349. %preun cgi
  350. if [ "$1" = 0 ]; then
  351. for svc in cgi-html cgi-graph; do
  352. service munin-${svc} stop &>/dev/null || :
  353. /sbin/chkconfig --del munin-${svc}
  354. done
  355. fi
  356. #
  357. # main package scripts
  358. #
  359. %pre
  360. getent group munin >/dev/null || groupadd -r munin
  361. getent passwd munin >/dev/null || \
  362. useradd -r -g munin -d /var/lib/munin -s /sbin/nologin \
  363. -c "Munin user" munin
  364. exit 0
  365. %files
  366. %defattr(-, root, root)
  367. %{_bindir}/munin-cron
  368. %{_bindir}/munindoc
  369. %{_bindir}/munin-check
  370. #{_sbindir}/munin-sched
  371. %dir %{_datadir}/munin
  372. %{_datadir}/munin/munin-graph
  373. %{_datadir}/munin/munin-html
  374. %{_datadir}/munin/munin-limits
  375. %{_datadir}/munin/munin-update
  376. %{_datadir}/munin/munin-datafile2storable
  377. %{_datadir}/munin/munin-storable2datafile
  378. %{perl_vendorlib}/Munin/Master
  379. %dir /etc/munin/templates
  380. %dir /etc/munin
  381. %dir /etc/munin/conf.d
  382. %config(noreplace) /etc/munin/templates/*
  383. %config(noreplace) /etc/munin/static/*
  384. %config(noreplace) /etc/cron.d/munin
  385. %config(noreplace) /etc/munin/munin.conf
  386. %config(noreplace) /etc/logrotate.d/munin
  387. %config(noreplace) /etc/apache2/conf.d/munin.conf
  388. %attr(-, munin, munin) %dir /var/lib/munin
  389. %attr(-, munin, munin) %dir /var/lib/munin/plugin-state
  390. %attr(-, munin, munin) %dir /var/run/munin
  391. %attr(-, munin, munin) %dir /var/log/munin
  392. %attr(-, munin, munin) /var/www/html/munin
  393. %doc %{_mandir}/man1/munindoc*
  394. #%doc %{_mandir}/man1/munin-sched*
  395. %doc %{_mandir}/man3/Munin::Master*
  396. %doc %{_mandir}/man5/munin.conf*
  397. %doc %{_mandir}/man8/munin*
  398. %files node
  399. %defattr(-, root, root)
  400. %config(noreplace) /etc/munin/munin-node.conf
  401. %dir /etc/munin/plugin-conf.d
  402. %dir /etc/munin/node.d
  403. %config(noreplace) /etc/munin/plugin-conf.d/munin-node
  404. %config(noreplace) /etc/munin/plugin-conf.d/sendmail
  405. %config(noreplace) /etc/munin/plugin-conf.d/hddtemp_smartctl
  406. %config(noreplace) /etc/munin/plugin-conf.d/postfix
  407. %config(noreplace) /etc/munin/plugin-conf.d/df
  408. %config(noreplace) /etc/logrotate.d/munin-node
  409. /etc/rc.d/init.d/munin-node
  410. %{_bindir}/munin-get
  411. %{_sbindir}/munin-run
  412. %{_sbindir}/munin-node
  413. %{_sbindir}/munin-node-configure
  414. %attr(-, munin, munin) %dir /var/log/munin
  415. %dir %{_datadir}/munin
  416. %dir /etc/munin/plugins
  417. %dir /etc/munin
  418. %attr(-, munin, munin) %dir /var/lib/munin
  419. %dir %attr(-, munin, munin) /var/lib/munin/plugin-state
  420. %{_datadir}/munin/plugins/
  421. %doc %{_mandir}/man5/munin-node*
  422. %doc %{_mandir}/man3/Munin::Common*
  423. %doc %{_mandir}/man3/Munin::Node*
  424. %doc %{_mandir}/man3/Munin::Plugin*
  425. %doc %{_mandir}/man1/munin-get*
  426. %doc %{_mandir}/man1/munin-node*
  427. %doc %{_mandir}/man1/munin-run*
  428. %{perl_vendorlib}/Munin/Node
  429. %{perl_vendorlib}/Munin/Plugin*
  430. %files async
  431. %defattr(-,root,root)
  432. %{_sbindir}/munin-async*
  433. %{_datadir}/munin/munin-async*
  434. %{_sysconfdir}/rc.d/init.d/munin-asyncd
  435. %files common
  436. %defattr(-, root, root)
  437. %doc Announce-2.0 ChangeLog COPYING HACKING.pod perltidyrc README RELEASE UPGRADING
  438. %dir %{perl_vendorlib}/Munin
  439. %{perl_vendorlib}/Munin/Common
  440. %config(noreplace) %{_sysconfdir}/tmpfiles.d/%{name}.conf
  441. %files cgi
  442. %defattr(-,root,root)
  443. %attr(0755,root,munin) /var/www/cgi-bin/munin-cgi-graph
  444. %attr(0755,root,munin) /var/www/cgi-bin/munin-cgi-html
  445. %attr(0755,www-data,www-data) %dir %{_localstatedir}/lib/%{name}/cgi-tmp
  446. %{_initdir}/munin-cgi-graph
  447. %{_initdir}/munin-cgi-html
  448. %config(noreplace) %{_sysconfdir}/sysconfig/munin-cgi-graph
  449. %config(noreplace) %{_sysconfdir}/sysconfig/munin-cgi-html
  450. %config(noreplace) %{_sysconfdir}/sysconfig/spawn-fcgi-munin
  451. %files cgi-apache2
  452. %defattr(-,root,root)
  453. %config(noreplace) %{_sysconfdir}/apache2/conf.d/munin-cgi.conf
  454. %files cgi-nginx
  455. %defattr(-,root,root)
  456. %config(noreplace) %{_sysconfdir}/nginx/munin_params
  457. %changelog
  458. * Sun Nov 21 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.67-1
  459. - new upstream release.
  460. - built with perl-5.34.0.
  461. * Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.49-1
  462. - new upstream release.
  463. - rebuilt with perl-5.26.
  464. * Tue Jul 29 2014 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.0.21-2
  465. - fix VineLinux:0002793(http://mantis.vinelinux.org/view.php?id=2793)
  466. * Tue Jul 1 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.21-1
  467. - new upstream release.
  468. * Sat Nov 23 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.17-1
  469. - new upstream release.
  470. - added sub packages "cgi-apache2" and "cgi-nginx".
  471. * Tue Dec 04 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.8-1
  472. - update to munin-2.0.8
  473. - add async/cgi sub package
  474. * Thu Mar 22 2012 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.4.6-1
  475. - Initial build for Vine Linux.
  476. * Wed Feb 22 2012 Kevin Fenzi <kevin@scrye.com> 1.4.6-8
  477. - Build against java-1.7.0 now. Fixes bug #796345
  478. * Tue Jan 31 2012 D. Johnson <fenris02@fedoraproject.org> - 1.4.6-7
  479. - Create state file for yum-plugin. Fixes BZ #786030.
  480. * Fri Jan 20 2012 Kevin Fenzi <kevin@scrye.com> - 1.4.6-6
  481. - Add PrivateTmp=true to systemd unit file. Fixes bug #782512
  482. - Change logrotate to use munin user. Fixes bug #771017
  483. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.6-5.3
  484. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  485. * Mon Oct 17 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4.6-4.3
  486. - Rebuild for java 1.6.0 downgrade (fesco ticket 663)
  487. * Sat Aug 27 2011 Kevin Fenzi <kevin@scrye.com> - 1.4.6-4.1
  488. - Add patch to run restorecon in the sysvinit script.
  489. - This doesn't matter on f16+
  490. * Sat Aug 20 2011 D. Johnson <fenris02@fedoraproject.org> - 1.4.6-4
  491. - fix tmpfiles.d file for f15 (BZ# 731181)
  492. * Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 1.4.6-3
  493. - Perl mass rebuild
  494. * Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 1.4.6-2
  495. - Perl mass rebuild
  496. * Fri Jul 8 2011 D. Johnson <fenris02@fedoraproject.org> - 1.4.6-1
  497. - update to 1.4.6
  498. * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.4.5-13
  499. - Perl mass rebuild
  500. * Wed Jun 15 2011 D. Johnson <fenris02@fedoraproject.org> - 1.4.5-12
  501. - Use tmpfiles.d instead of ExecStartPre
  502. - Add patch for noSuchObject errors (BZ# 712245)
  503. * Fri Jun 10 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.4.5-11
  504. - Perl 5.14 mass rebuild
  505. * Wed Jun 1 2011 D. Johnson <fenris02@fedoraproject.org> - 1.4.5-10
  506. - Fixes http://munin-monitoring.org/ticket/887
  507. * Mon May 30 2011 D. Johnson <fenris02@fedoraproject.org> - 1.4.5-9
  508. - Native systemd service file for munin-node (BZ# 699275)
  509. * Tue Feb 08 2011 Kevin Fenzi <kevin@tummy.com> - 1.4.5-8
  510. - Fix issue with uppercase node names returning no data. Fixes #673263
  511. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.5-7
  512. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  513. * Sun Dec 05 2010 Kevin Fenzi <kevin@tummy.com> - 1.4.5-6
  514. - Adjust the df fix to include all the right fses
  515. * Thu Nov 25 2010 Kevin Fenzi <kevin@tummy.com> - 1.4.5-5
  516. - Exclude some fses from df plugin. fixes #601410
  517. * Wed Aug 11 2010 Todd Zullinger <tmz@pobox.com> - 1.4.5-4.1
  518. - Move jmx_ plugin to java-plugins package
  519. * Wed Jul 07 2010 Kevin Fenzi <kevin@tummy.com> - 1.4.5-4
  520. - Move docs to common subpackage to make sure COPYING is installed.
  521. * Sat Jul 03 2010 Kevin Fenzi <kevin@tummy.com> - 1.4.5-3
  522. - Add /etc/munin/node.d dir
  523. * Sat Jun 12 2010 Kevin Fenzi <kevin@tummy.com> - 1.4.5-2
  524. - Add /etc/munin/conf.d/ dir
  525. * Sat Jun 05 2010 Kevin Fenzi <kevin@tummy.com> - 1.4.5-1
  526. - Update to 1.4.5
  527. * Tue Jun 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.4.4-2
  528. - Mass rebuild with perl-5.12.0
  529. * Mon Mar 01 2010 Kevin Fenzi <kevin@tummy.com> - 1.4.4-1
  530. - Update to 1.4.4
  531. - Add more doc files. Fixes bug #563824
  532. - fw_forwarded_local fixed upstream in 1.4.4. Fixes bug #568500
  533. * Sun Jan 17 2010 Kevin Fenzi <kevin@tummy.com> - 1.4.3-2
  534. - Fix owner on state files.
  535. - Add some BuildRequires.
  536. - Make munin-node-configure only run on install, not upgrade. bug 540687
  537. * Thu Dec 31 2009 Kevin Fenzi <kevin@tummy.com> - 1.4.3-1
  538. - Update to 1.4.3
  539. * Thu Dec 17 2009 Ingvar Hagelund <ingvar@linpro.no> - 1.4.2-1
  540. - New upstream release
  541. - Removed upstream packaged fonts
  542. - Added a patch that makes rrdtool use the system bitstream vera fonts on
  543. rhel < 6 and fedora < 11
  544. * Fri Dec 11 2009 Ingvar Hagelund <ingvar@linpro.no> - 1.4.1-3
  545. - More correct fedora and el versions for previous font path fix
  546. - Added a patch that fixes a quoting bug in GraphOld.pm, fixing fonts on el4
  547. * Wed Dec 09 2009 Ingvar Hagelund <ingvar@linpro.no> - 1.4.1-2
  548. - Remove jmx plugins when not supported (like on el4 and older fedora)
  549. - Correct font path on older distros like el5, el4 and fedora<11
  550. * Fri Dec 04 2009 Kevin Fenzi <kevin@tummy.com> - 1.4.1-1
  551. - Update to 1.4.1
  552. * Sat Nov 28 2009 Kevin Fenzi <kevin@tummy.com> - 1.4.0-1
  553. - Update to final 1.4.0 version
  554. * Sat Nov 21 2009 Kevin Fenzi <kevin@tummy.com> - 1.4.0-0.1.beta
  555. - Update to beta 1.4.0 version.
  556. - Add common subpackage for common files.
  557. * Sun Nov 08 2009 Kevin Fenzi <kevin@tummy.com> - 1.4.0-0.1.alpha
  558. - Initial alpha version of 1.4.0
  559. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.6-10
  560. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  561. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.6-9
  562. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  563. * Sat Jan 24 2009 Andreas Thienemann <andreas@bawue.net> - 1.2.6-8
  564. - Updated dependencies to better reflect plugin requirements
  565. - Added hddtemp_smartctl patch to only scan for standby state on /dev/[sh]d? devices.
  566. * Sat Jan 17 2009 Kevin Fenzi <kevin@tummy.com> - 1.2.6-7
  567. - Adjust font requires for new dejavu-sans-mono-fonts name (fixes #480463)
  568. * Mon Jan 12 2009 Kevin Fenzi <kevin@tummy.com> - 1.2.6-6
  569. - Fix to require the correct font
  570. * Sun Jan 11 2009 Kevin Fenzi <kevin@tummy.com> - 1.2.6-5
  571. - Switch to using dejavu-fonts instead of bitstream-vera
  572. * Sun Jan 04 2009 Kevin Fenzi <kevin@tummy.com> - 1.2.6-4
  573. - Require bitstream-vera-fonts-sans-mono for Font (fixes #477428)
  574. * Mon Aug 11 2008 Kevin Fenzi <kevin@tummy.com> - 1.2.6-3
  575. - Move Munin/Plugin.pm to the node subpackage (fixes #457403)
  576. * Sat Jul 12 2008 Kevin Fenzi <kevin@tummy.com> - 1.2.6-2
  577. - Apply postfix patch (fixes #454159)
  578. - Add perl version dep and remove unneeded perl-HTML-Template (fixes #453923)
  579. * Fri Jun 20 2008 Kevin Fenzi <kevin@tummy.com> - 1.2.6-1
  580. - Upgrade to 1.2.6
  581. * Tue May 20 2008 Kevin Fenzi <kevin@tummy.com> - 1.2.5-5
  582. - Rebuild for new perl
  583. * Wed Dec 26 2007 Kevin Fenzi <kevin@tummy.com> - 1.2.5-4
  584. - Add patch to fix ampersand and degrees in plugins (fixes #376441)
  585. * Fri Nov 30 2007 Kevin Fenzi <kevin@tummy.com> - 1.2.5-3
  586. - Removed unnneeded plugins.conf file (fixes #288541)
  587. - Fix license tag.
  588. - Fix ip_conntrack monitoring (fixes #253192)
  589. - Switch to new useradd guidelines.
  590. * Tue Mar 27 2007 Kevin Fenzi <kevin@tummy.com> - 1.2.5-2
  591. - Fix directory ownership (fixes #233886)
  592. * Tue Oct 17 2006 Kevin Fenzi <kevin@tummy.com> - 1.2.5-1
  593. - Update to 1.2.5
  594. - Fix HD stats (fixes #205042)
  595. - Add in logrotate scripts that seem to have been dropped upstream
  596. * Sun Aug 27 2006 Kevin Fenzi <kevin@tummy.com> - 1.2.4-10
  597. - Rebuild for fc6
  598. * Tue Jun 27 2006 Kevin Fenzi <kevin@tummy.com> - 1.2.4-9
  599. - Re-enable snmp plugins now that perl-Net-SNMP is available (fixes 196588)
  600. - Thanks to Herbert Straub <herbert@linuxhacker.at> for patch.
  601. - Fix sendmail plugins to look in the right place for the queue
  602. * Sat Apr 22 2006 Kevin Fenzi <kevin@tummy.com> - 1.2.4-8
  603. - add patch to remove unneeded munin-nagios in cron.
  604. - add patch to remove buildhostname in munin.conf (fixes #188928)
  605. - clean up prep section of spec.
  606. * Fri Feb 24 2006 Kevin Fenzi <kevin@scrye.com> - 1.2.4-7
  607. - Remove bogus Provides for perl RRDs (fixes #182702)
  608. * Thu Feb 16 2006 Kevin Fenzi <kevin@tummy.com> - 1.2.4-6
  609. - Readded old changelog entries per request
  610. - Rebuilt for fc5
  611. * Sat Dec 24 2005 Kevin Fenzi <kevin@tummy.com> - 1.2.4-5
  612. - Fixed ownership for /var/log/munin in node subpackage (fixes 176529)
  613. * Wed Dec 14 2005 Kevin Fenzi <kevin@tummy.com> - 1.2.4-4
  614. - Fixed ownership for /var/lib/munin in node subpackage
  615. * Wed Dec 14 2005 Kevin Fenzi <kevin@tummy.com> - 1.2.4-3
  616. - Fixed libdir messup to allow builds on x86_64
  617. * Mon Dec 12 2005 Kevin Fenzi <kevin@tummy.com> - 1.2.4-2
  618. - Removed plugins that require Net-SNMP and Sybase
  619. * Tue Dec 6 2005 Kevin Fenzi <kevin@tummy.com> - 1.2.4-1
  620. - Inital cleanup for fedora-extras
  621. * Thu Apr 21 2005 Ingvar Hagelund <ingvar@linpro.no> - 1.2.3-4
  622. - Fixed a bug in the iostat plugin
  623. * Wed Apr 20 2005 Ingvar Hagelund <ingvar@linpro.no> - 1.2.3-3
  624. - Added the missing /var/run/munin
  625. * Tue Apr 19 2005 Ingvar Hagelund <ingvar@linpro.no> - 1.2.3-2
  626. - Removed a lot of unecessary perl dependencies
  627. * Mon Apr 18 2005 Ingvar Hagelund <ingvar@linpro.no> - 1.2.3-1
  628. - Sync with svn
  629. * Tue Mar 22 2005 Ingvar Hagelund <ingvar@linpro.no> - 1.2.2-5
  630. - Sync with release of 1.2.2
  631. - Add some nice text from the suse specfile
  632. - Minimal changes in the header
  633. - Som ecosmetic changes
  634. - Added logrotate scripts (stolen from debian package)
  635. * Sun Feb 01 2004 Ingvar Hagelund <ingvar@linpro.no>
  636. - Sync with CVS. Version 1.0.0pre2
  637. * Sun Jan 18 2004 Ingvar Hagelund <ingvar@linpro.no>
  638. - Sync with CVS. Change names to munin.
  639. * Fri Oct 31 2003 Ingvar Hagelund <ingvar@linpro.no>
  640. - Lot of small fixes. Now builds on more RPM distros
  641. * Wed May 21 2003 Ingvar Hagelund <ingvar@linpro.no>
  642. - Sync with CVS
  643. - 0.9.5-1
  644. * Tue Apr 1 2003 Ingvar Hagelund <ingvar@linpro.no>
  645. - Sync with CVS
  646. - Makefile-based install of core files
  647. - Build doc (only pod2man)
  648. * Thu Jan 9 2003 Ingvar Hagelund <ingvar@linpro.no>
  649. - Sync with CVS, auto rpmbuild
  650. * Thu Jan 2 2003 Ingvar Hagelund <ingvar@linpro.no>
  651. - Fix spec file for RedHat 8.0 and new version of lrrd
  652. * Wed Sep 4 2002 Ingvar Hagelund <ingvar@linpro.no>
  653. - Small bugfixes in the rpm package
  654. * Tue Jun 18 2002 Kjetil Torgrim Homme <kjetilho@linpro.no>
  655. - new package