From 01b7df73c2a07336a6213ed805ba1c5f583be751 Mon Sep 17 00:00:00 2001 From: Davide Madrisan Date: Sat, 6 Jan 2024 07:31:08 +0100 Subject: [PATCH] update to 2.0.1 [release 2.0.1-1mamba;Sun May 11 2014] --- nagios-plugins.spec | 32 +++++++++----------------------- 1 file changed, 9 insertions(+), 23 deletions(-) diff --git a/nagios-plugins.spec b/nagios-plugins.spec index f96e011..7603bfa 100644 --- a/nagios-plugins.spec +++ b/nagios-plugins.spec @@ -1,13 +1,13 @@ Name: nagios-plugins -Version: 1.4.16 -Release: 2mamba +Version: 2.0.1 +Release: 1mamba Summary: Host/service/network monitoring program plugins for Nagios Group: Network/Monitoring Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://nagiosplugins.org/ -Source0: http://downloads.sourceforge.net/sourceforge/nagiosplug/%{name}-%{version}.tar.gz +Source0: http://www.nagios-plugins.org/download/%{name}-%{version}.tar.gz Patch0: %{name}-1.4.16-undef_gets.patch License: GPL ## AUTOBUILDREQ-BEGIN @@ -38,17 +38,8 @@ This package contains the basic plugins necessary for use with the Nagios packag %prep %setup -q -#-D -T -#: << CBLOCK -%patch0 -p1 - -# fix strange perms -find . -type d -perm 0700 -exec chmod 755 {} \; -find . -type f -perm 0555 -exec chmod 755 {} \; -find . -type f -perm 0444 -exec chmod 644 {} \; %build -#: << CBLOCK export PATH="/usr/sbin:$PATH" %configure \ PATH_TO_FPING=%{_sbindir}/fping \ @@ -69,20 +60,12 @@ export PATH="/usr/sbin:$PATH" %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -pushd contrib -find . -type f -exec /usr/bin/perl \ - -e 's/^#!\/usr\/local\/bin\/perl/#!\/usr\/bin\/perl/gi' -p -i \{\} \; -find . -type f -exec /usr/bin/perl \ - -e 's/^#!\/nyet\/bin\/perl/#!\/usr\/bin\/perl/gi' -p -i \{\} \; -find . -type f -exec /usr/bin/perl \ - -e 's/^#!\/bin\/perl/#!\/usr\/bin\/perl/gi' -p -i \{\} \; -popd +%makeinstall -make install \ - AM_INSTALL_PROGRAM_FLAGS="" DESTDIR=%{buildroot} INSTALL=/bin/install +# remove unpackaged plugins +rm -f %{buildroot}/%{_libdir}/nagios/plugins/check_uptime chmod 644 %{buildroot}/%{_libdir}/nagios/plugins/utils.pm - %find_lang %{name} %clean @@ -100,6 +83,9 @@ chmod 644 %{buildroot}/%{_libdir}/nagios/plugins/utils.pm #CODING FAQ README REQUIREMENTS SUPPORT ChangeLog command.cfg %changelog +* Sun May 11 2014 Davide Madrisan 2.0.1-1mamba +- update to 2.0.1 + * Wed May 07 2014 Silvan Calarco 1.4.16-2mamba - don't require nagios to allow nrpe only installations