averi pushed to check-mk (el5). "PLUGINSDIR on the check_mk_agent binary file is set to be %%{_datadir}/check-mk-agent/plugins, make sure all the plugins are installed there and not on %%{_datadir}/check_mk/plugins instead."

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Apr 13 09:53:05 UTC 2015


>From 76ebedfe79c2e5f45096386f43c293e746301a68 Mon Sep 17 00:00:00 2001
From: Andrea Veri <av at gnome.org>
Date: Mon, 13 Apr 2015 11:52:33 +0200
Subject: PLUGINSDIR on the check_mk_agent binary file is set to be
 %%{_datadir}/check-mk-agent/plugins, make sure all the plugins are installed
 there and not on %%{_datadir}/check_mk/plugins instead.


diff --git a/check-mk.spec b/check-mk.spec
index a9d769b..8c5c5d0 100644
--- a/check-mk.spec
+++ b/check-mk.spec
@@ -122,10 +122,7 @@ install -m 755 waitmax %{buildroot}%{_bindir}/waitmax
 install -d -m 755 %{buildroot}%{_datadir}/check-mk-agent
 install -d -m 755 %{buildroot}%{_datadir}/check-mk-agent/plugins
 install -d -m 755 %{buildroot}%{_datadir}/check-mk-agent/local
-install -m 644 plugins/mk_logwatch %{buildroot}%{_datadir}/check-mk-agent/plugins
-# The j4p_performance plugin has been deprecated.
-#install -m 644 plugins/j4p_performance %{buildroot}%{_datadir}/check-mk-agent/plugins
-install -m 644 plugins/mk_oracle %{buildroot}%{_datadir}/check-mk-agent/plugins
+mv %{buildroot}%{_datadir}/check_mk/plugins/* %{buildroot}%{_datadir}/check-mk-agent/plugins/
 
 # Create an /etc/check-mk-agent directory for agent's configuration files. Examples
 # will be then available under the /usr/share/check_mk/agents/cfg_examples directory.
@@ -350,6 +347,9 @@ rmdir %{buildroot}%{_prefix}/lib/check_mk
   the patch. (BZ: #1083003)
 - Fix the /usr/bin/pnp shebang from the plugins/unitrends_backup file
   as that is a non-existent binary file, upstream probably meant php.
+- PLUGINSDIR on the check_mk_agent binary file is set to be
+  %%{_datadir}/check-mk-agent/plugins, make sure all the plugins are installed
+  there and not on %%{_datadir}/check_mk/plugins instead.
 
 * Wed Sep 17 2014 Andrea Veri <averi at fedoraproject.org> - 1.2.4p5-1
 - New upstream release. Fixes CVEs:
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/check-mk.git/commit/?h=el5&id=76ebedfe79c2e5f45096386f43c293e746301a68


More information about the scm-commits mailing list