commit monitoring-plugins-mailstat for openSUSE:Factory
Hello community, here is the log from the commit of package monitoring-plugins-mailstat for openSUSE:Factory checked in at 2020-06-30 21:56:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/monitoring-plugins-mailstat (Old) and /work/SRC/openSUSE:Factory/.monitoring-plugins-mailstat.new.3060 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "monitoring-plugins-mailstat" Tue Jun 30 21:56:26 2020 rev:2 rq:816225 version:0.9.1 Changes: -------- --- /work/SRC/openSUSE:Factory/monitoring-plugins-mailstat/monitoring-plugins-mailstat.changes 2016-02-11 12:36:37.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.monitoring-plugins-mailstat.new.3060/monitoring-plugins-mailstat.changes 2020-06-30 21:56:32.002771523 +0200 @@ -1,0 +2,8 @@ +Sun Jun 21 09:51:12 UTC 2020 - lars@linux-schulserver.de - 0.9.1 + +- require perl(RRDs) for the images and mailgraph for the stats +- add an example check_mailstat.cfg NRPE definition +- added gpl-3.0.txt license file +- ran spec-cleaner + +------------------------------------------------------------------- New: ---- check_mailstat.cfg gpl-3.0.txt ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ monitoring-plugins-mailstat.spec ++++++ --- /var/tmp/diff_new_pack.fbo3X4/_old 2020-06-30 21:56:32.738773800 +0200 +++ /var/tmp/diff_new_pack.fbo3X4/_new 2020-06-30 21:56:32.738773800 +0200 @@ -1,7 +1,7 @@ # # spec file for package monitoring-plugins-mailstat # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,34 +12,36 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: monitoring-plugins-mailstat Version: 0.9.1 -Release: 100 +Release: 0 Summary: Monitoring mail server statistics -License: GPL-3.0+ +License: GPL-3.0-or-later Group: System/Monitoring -Url: http://linuxplayer.org/2010/12/check_mailstat-pl-a-nagios-plugin-for-monitor... +URL: http://linuxplayer.org/2010/12/check_mailstat-pl-a-nagios-plugin-for-monitor... Source0: check_mailstat_plugin_v%{version}.zip Source1: monitoring-plugins-mailstat-rpmlintrc +Source2: check_mailstat.cfg +Source3: gpl-3.0.txt # PATCH-FIX-UPSTREAM -- allow to configure the path name of the statistics file via -s option Patch1: check_mailstat_plugin_v0.9.1-stat_file.patch # PATCH-FIX-UPSTREAM -- write out the initial values if there is no old file instead of all zero (confuses people) Patch2: check_mailstat_plugin_v0.9.1-initial_values.patch -%if 0%{?suse_version} > 1010 -# nagios can execute the script with embedded perl -Recommends: perl -%endif BuildRequires: nagios-rpm-macros BuildRequires: unzip +Requires: mailgraph +Requires: monitoring-plugins-common +Requires: perl(RRDs) Provides: nagios-plugins-mailstat = %{version}-%{release} Obsoletes: nagios-plugins-mailstat < %{version}-%{release} -Requires: monitoring-plugins-common -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch +# nagios can execute the script with embedded perl +Recommends: perl +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This plugin includes a patch for mailgraph so that it will also output its @@ -53,6 +55,7 @@ %patch1 -p1 %patch2 -p1 sed -i "s| ||g" README.txt +install -m0644 %{SOURCE3} . %build @@ -60,19 +63,20 @@ install -D -m755 check_mailstat.pl %{buildroot}/%{nagios_plugindir}/check_mailstat ln -s %{nagios_plugindir}/check_mailstat %{buildroot}/%{nagios_plugindir}/check_mailstat.pl install -D -m644 extra/check_mailstat.php %{buildroot}/%{pnp4nagios_templatedir}/check_mailstat.php - -%clean -rm -rf %{buildroot} +install -D -m644 %{SOURCE2} %{buildroot}%{nrpe_sysconfdir}/check_mailstat.cfg %files %defattr(-,root,root) %doc README.txt +%license gpl-3.0.txt # avoid build dependecy of nagios - own the dirs %dir %{nagios_libdir} %dir %{nagios_plugindir} +%dir %{nrpe_sysconfdir} %{nagios_plugindir}/check_mailstat* %dir %{pnp4nagios_datarootdir} %dir %{pnp4nagios_templatedir} %config(noreplace) %{pnp4nagios_templatedir}/check_mailstat.php +%config(noreplace) %{nrpe_sysconfdir}/check_mailstat.cfg %changelog ++++++ check_mailstat.cfg ++++++ # the following check requires an additional command option # for the running mailgraph process: # -s /var/log/mailgraph/mailgraph.stats # Please make sure that the file and a file with the # same name but ending .old exist and are writable by # the user executing the check below. Example: # touch /var/log/mailgraph/mailgraph.stats{,old} # chown nagios: /var/log/mailgraph/mailgraph.stats{,old} command[check_mailstat]=/usr/lib/nagios/plugins/check_mailstat -w 1000:0:0:0:0:10 -c 2000:0:0:0:0:30 -s /var/log/mailgraph/mailgraph.statsi ++++++ gpl-3.0.txt ++++++ ++++ 674 lines (skipped)
participants (1)
-
root