From cabf39cf52d07fcfdfbe2c2dcce9a94949f45a6c4cf3bff32a4850f60d60daa8 Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Wed, 30 Jul 2014 10:16:37 +0000 Subject: [PATCH] - renamed the package to monitoring-plugins-rsync - added monitoring-plugins-rsync-hidden_modules.patch to allow hidden rsync modules to be tested - use nagios-rpm-macros in specfile - Fix license: it's GPL 2 or newer - add a patch to use the timeouts present in rsync itself ( monitoring-plugins-rsync-timeout.patch ) - licenses package is no more and upstream wants GPLv3, so adding COPYING - require licenses package (solves bnc #449756) - update to 1.02: + Kill rsync process on ALRM timeouts (Avoids leaving stale rsync processes behind) + More verbose Rsync errors + Commas in the password field should work - initial version 1.01 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-rsync?expand=0&rev=2 --- ...=> monitoring-plugins-rsync-hidden_modules.patch | 0 ....patch => monitoring-plugins-rsync-timeout.patch | 0 ...sync.changes => monitoring-plugins-rsync.changes | 9 +++++++-- ...gins-rsync.spec => monitoring-plugins-rsync.spec | 13 ++++++++----- 4 files changed, 15 insertions(+), 7 deletions(-) rename nagios-plugins-rsync-hidden_modules.patch => monitoring-plugins-rsync-hidden_modules.patch (100%) rename nagios-plugins-rsync-timeout.patch => monitoring-plugins-rsync-timeout.patch (100%) rename nagios-plugins-rsync.changes => monitoring-plugins-rsync.changes (80%) rename nagios-plugins-rsync.spec => monitoring-plugins-rsync.spec (82%) diff --git a/nagios-plugins-rsync-hidden_modules.patch b/monitoring-plugins-rsync-hidden_modules.patch similarity index 100% rename from nagios-plugins-rsync-hidden_modules.patch rename to monitoring-plugins-rsync-hidden_modules.patch diff --git a/nagios-plugins-rsync-timeout.patch b/monitoring-plugins-rsync-timeout.patch similarity index 100% rename from nagios-plugins-rsync-timeout.patch rename to monitoring-plugins-rsync-timeout.patch diff --git a/nagios-plugins-rsync.changes b/monitoring-plugins-rsync.changes similarity index 80% rename from nagios-plugins-rsync.changes rename to monitoring-plugins-rsync.changes index b5c2dca..bf824e6 100644 --- a/nagios-plugins-rsync.changes +++ b/monitoring-plugins-rsync.changes @@ -1,7 +1,12 @@ +------------------------------------------------------------------- +Wed Jul 30 10:16:18 UTC 2014 - lars@linux-schulserver.de + +- renamed the package to monitoring-plugins-rsync + ------------------------------------------------------------------- Mon Jul 2 15:23:22 UTC 2012 - lars@linux-schulserver.de -- added nagios-plugins-rsync-hidden_modules.patch to allow hidden +- added monitoring-plugins-rsync-hidden_modules.patch to allow hidden rsync modules to be tested - use nagios-rpm-macros in specfile - Fix license: it's GPL 2 or newer @@ -10,7 +15,7 @@ Mon Jul 2 15:23:22 UTC 2012 - lars@linux-schulserver.de Tue May 3 10:44:06 UTC 2011 - lars@linux-schulserver.de - add a patch to use the timeouts present in rsync itself - ( nagios-plugins-rsync-timeout.patch ) + ( monitoring-plugins-rsync-timeout.patch ) ------------------------------------------------------------------- Fri Apr 1 05:24:22 UTC 2011 - coolo@novell.com diff --git a/nagios-plugins-rsync.spec b/monitoring-plugins-rsync.spec similarity index 82% rename from nagios-plugins-rsync.spec rename to monitoring-plugins-rsync.spec index 2219407..5cabb25 100644 --- a/nagios-plugins-rsync.spec +++ b/monitoring-plugins-rsync.spec @@ -1,7 +1,7 @@ # -# spec file for package nagios-plugins-rsync +# spec file for package monitoring-plugins-rsync # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012-2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,7 @@ # -Name: nagios-plugins-rsync +Name: monitoring-plugins-rsync Summary: Check rsync servers availability License: GPL-2.0+ Group: System/Monitoring @@ -25,14 +25,17 @@ Release: 0 Url: https://www.monitoringexchange.org/inventory/Check-Plugins/Network/check_rsync Source0: check_rsync Source1: COPYING -Patch1: nagios-plugins-rsync-timeout.patch -Patch2: nagios-plugins-rsync-hidden_modules.patch +Patch1: monitoring-plugins-rsync-timeout.patch +Patch2: monitoring-plugins-rsync-hidden_modules.patch BuildRequires: nagios-rpm-macros %if 0%{?suse_version} > 1010 # nagios can execute the script with embedded perl Recommends: perl %endif Requires: rsync +Requires: perl(Getopt::Long) +Provides: nagios-plugins-rsync = %{version}-%{release} +Obsoletes: nagios-plugins-rsync <= %{version} BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build