Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
nagios-check_updates
> check_updates.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File check_updates.spec of Package nagios-check_updates (Revision 25)
Currently displaying revision
25
,
show latest
%define version 1.4.11 %define release 1 %define pname check_updates %define _plugindir /usr/lib/nagios/plugins Summary: A Nagios plugin to check if RedHat or Fedora system is up-to-date Name: nagios-plugins-check_updates Version: %{version} Release: %{release} License: GPL Packager: Matteo Corti <matteo.corti@id.ethz.ch> Group: Applications/System BuildRoot: %{_tmppath}/%{pname}-%{version}-root Source: http://www.id.ethz.ch/people/allid_list/corti/%{pname}-%{version}.tar.gz BuildArch: noarch BuildRequires: perl perl(Nagios::Plugin) perl(Nagios::Plugin::Threshold) perl(Getopt::Long) perl(List::MoreUtils) perl(List::Util) perl(Number::Format) perl(POSIX) perl(Sort::Versions) Requires: perl perl(Nagios::Plugin) perl(Nagios::Plugin::Threshold) perl(Getopt::Long) perl(List::MoreUtils) perl(List::Util) perl(Number::Format) perl(POSIX) perl(Sort::Versions) %description A Nagios plugin to check if RedHat or Fedora system is up-to-date %prep %setup -q -n %{pname}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor \ INSTALLSCRIPT=%{_plugindir} \ INSTALLVENDORSCRIPT=%{_plugindir} %__make #__perl Makefile.PL INSTALLSCRIPT=%{_plugindir} \ # INSTALLSITEMAN3DIR=%{_mandir}/man3 \ # INSTALLSITESCRIPT=%{_plugindir} \ # INSTALLSCRIPT=%{_plugindir} #__make chmod -x AUTHORS Changes NEWS README INSTALL TODO COPYING %install %__make DESTDIR=%{buildroot} install rm -rf %{buildroot}%{_prefix}/lib/perl5 rm -rf %{buildroot}%{_prefix}/%{_lib}/perl5 rm -rf %{buildroot}%{_datadir}/perl5 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %doc AUTHORS Changes NEWS README INSTALL TODO COPYING %dir %dir %{_prefix}/lib/nagios %dir %dir %{_prefix}/lib/nagios/plugins %attr(0755, root, root) %{_plugindir}/%{pname} %attr(0644, root, root) %{_mandir}/man1/%{pname}.1* %changelog * Thu Nov 18 2010 Carsten Schoene <cs@linux-administrator.com> - 1.4.11-1 - update to release 1.4.11 * Mon Nov 01 2010 Carsten Schoene <cs@linux-administrator.com> - 1.4.9-1 - update to release 1.4.9 * Mon Nov 01 2010 Carsten Schoene <cs@linux-administrator.com> - 1.4.8-1 - update to release 1.4.8 * Wed Feb 17 2010 Carsten Schoene <cs@linux-administrator.com> - 1.4.7-1 - update to release 1.4.7 - A bug which caused a wrong count of missing updates on some systems where the 'yum check-updates' output gets wrapped has been fixed * Fri Dec 11 2009 Carsten Schoene <cs@linux-administrator.com> - 1.4.6-1 - update to release 1.4.6 - perl installation fixes * Wed Dec 09 2009 Carsten Schoene <cs@linux-administrator.com> - 1.4.5-1 - update to release 1.4.5 - The OK status message on up2date based systems was fixed. * Mon Dec 07 2009 Carsten Schoene <cs@linux-administrator.com> - 1.4.4-1 - update to release 1.4.4 - A bug in the comparison of SMP kernel versions was fixed. - changes in 1.4.3 - A minor fix was made for the kernel version comparison on PAE systems. - changes in 1.4.2 - Fixes were made to the documentation and to the RPM build specification file. - changes in 1.4.1 - Several minor fixes were made in the RPM packaging, licensing information, and kernel detection on CentOS systems. * Sat Dec 05 2009 Carsten Schoene <cs@linux-administrator.com> - 1.4.0-1 - update to release 1.4.0 - if yum-plugin-security is installed, check_updates now differentiates between security updates (critical) and non-security related updates (warnings). * Wed Nov 11 2009 Carsten Schoene <cs@linux-administrator.com> - 1.3.4-1 - update to release 1.3.4 - A small fix to recognize some particular kernel version strings by RHEL5. - changes in 1.3.3 - This release fixes a bug that prevented the correct detection of the Red Hat system version. * Fri Jul 24 2009 Carsten Schoene <cs@linux-administrator.com> - 1.3.2-1 - update to release 1.3.2 - This release fixes a problem with non-English localizations and the --boot-check option. * Tue Jun 16 2009 Carsten Schoene <cs@linux-administrator.com> - 1.3.1-1 - update to release 1.3.1 - added support for PAE kernels * Tue May 19 2009 Carsten Schoene <cs@linux-administrator.com> - 1.3.0-1 - update to release 1.3.0 - A bug that prevented the correct filtering of the critical and warning levels was fixed. Descriptive text was added, so Nagios 3.0 can understand more than one status line. * Wed Apr 08 2009 Carsten Schoene <cs@linux-administrator.com> - 1.2.3-0 - update to release 1.2.3 - RHEL 5 support added * Mon Nov 17 2008 Carsten Schoene <cs@linux-administrator.com> - 1.1.2-0 - import to BS - added Requires, BuildRequires - changed install paths * Fri Nov 14 2008 Matteo Corti <matteo.corti@id.ethz.ch> - 1.1.2-0 - fixed a bug with up2date and excluded packages * Wed Aug 6 2008 Matteo Corti <matteo.corti@id.ethz.ch> - 1.1.1-0 - fixed a problem with RPM version numbers * Tue Jun 3 2008 Matteo Corti <matteo.corti@id.ethz.ch> - 1.0.2-0 - separated POD because of ePN issues * Thu May 15 2008 Matteo Corti <matteo.corti@id.ethz.ch> - 1.0.1-0 - removing the trailing arch from uname * Thu May 8 2008 root <matteo.corti@id.ethz.ch> - 1.0.0-0 - correct kernel version comparisons * Mon Mar 17 2008 Matteo Corti <matteo.corti@id.ethz.ch> - 0.9.13-0 - bug fix for up2date kernel on CentOS * Fri Mar 7 2008 Matteo Corti <matteo.corti@id.ethz.ch> - 0.9.12-0 - fixed a bug in the reboot notification * Tue Feb 26 2008 Matteo Corti <matteo.corti@id.ethz.ch> - 0.9.11-0 - fixed a bug in the package count * Thu Feb 21 2008 root <matteo.corti@id.ethz.ch> - 0.9.10-0 - fixed kernel check on RH * Thu Feb 21 2008 Matteo Corti <matteo.corti@id.ethz.ch> - 0.9.9-0 - checks if the running kernel is the latest installed * Tue Jan 22 2008 Matteo Corti <matteo.corti@id.ethz.ch> - 0.9.8-0 - Considers CentOS * Thu Dec 13 2007 Matteo Corti <matteo.corti@id.ethz.ch> - 0.9.7-0 - performance data * Thu Nov 29 2007 Matteo Corti <matteo.corti@id.ethz.ch> - 0.9.6-0 - corrected the plugin name * Thu Nov 29 2007 Matteo Corti <matteo.corti@id.ethz.ch> - 0.9.5-0 - checks for root * Thu Nov 29 2007 Matteo Corti <matteo.corti@id.ethz.ch> - 0.9.4-0 - removed sudo * Thu Nov 29 2007 Matteo Corti <matteo.corti@id.ethz.ch> - 0.9.3-0 - New version: up2date requires sudo * Thu Nov 29 2007 Matteo Corti <matteo.corti@id.ethz.ch> - 0.9.2-0 - Initial test package * Thu Nov 29 2007 Matteo Corti <matteo.corti@id.ethz.ch> - 0.9.1-0 - Initial test package