Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
>
nagios-plugins
> nagios-plugins.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File nagios-plugins.spec of Package nagios-plugins (Revision 3)
Currently displaying revision
3
,
show latest
Name: nagios-plugins Version: 1.4.9 Release: 2.1 Summary: Host/service/network monitoring program plugins for Nagios Group: Applications/System License: GPL URL: http://nagiosplug.sourceforge.net/ Source0: http://dl.sf.net/sourceforge/nagiosplug/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Prefix: %{_prefix}/lib/nagios/plugins Packager: Karl DeBisschop <kdebisschop@users.sourceforge.net> Vendor: Nagios Plugin Development Group Provides: nagios-plugins %{!?custom:%global custom 0} Obsoletes: nagios-plugins-custom nagios-plugins-extras # Requires %if 0%{?sles_version} == 10 BuildRequires: mysql-client %endif %if 0%{?suse_version} == 1030 BuildRequires: freeradius-client freeradius-client-devel %endif %if 0%{?suse_version} BuildRequires: tcpd-devel libsmbclient libsmbclient-devel openldap2-devel radiusclient perl-Net-SNMP fping %endif %if 0%{?fedora_version} || 0%{centos_version} BuildRequires: tcp_wrappers openldap-devel freeradius samba-common openldap-devel net-snmp-perl %endif BuildRequires: openssl-devel postgresql-devel mysql-devel zlib-devel glibc-devel libgcc gcc gcc-c++ net-snmp net-snmp-devel openssh qstat iputils samba-client Requires: qstat iputils samba-client %description Nagios is a program that will monitor hosts and services on your network, and to email or page you when a problem arises or is resolved. Nagios runs on a unix server as a background or daemon process, intermittently running checks on various services that you specify. The actual service checks are performed by separate "plugin" programs which return the status of the checks to Nagios. This package contains those plugins. %prep %setup -q %build ./configure \ --prefix=%{_prefix} \ --exec-prefix=%{_exec_prefix} \ --libexecdir=%{_exec_prefix}/lib/nagios/plugins \ --sysconfdir=%{_sysconfdir}/nagios \ --datadir=%{_datadir} \ --with-cgiurl=/nagios/cgi-bin make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make AM_INSTALL_PROGRAM_FLAGS="" DESTDIR=${RPM_BUILD_ROOT} install install -d ${RPM_BUILD_ROOT}/etc/nagios install -m 664 command.cfg ${RPM_BUILD_ROOT}/etc/nagios %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root) %config(missingok,noreplace) /etc/nagios/command.cfg %doc CODING COPYING FAQ INSTALL LEGAL README REQUIREMENTS SUPPORT THANKS %doc ChangeLog command.cfg %defattr(775,root,root) %dir %{_exec_prefix}/lib/nagios/plugins %{_datadir}/locale/de/LC_MESSAGES/nagios-plugins.mo %{_datadir}/locale/fr/LC_MESSAGES/nagios-plugins.mo %{_exec_prefix}/lib/nagios/plugins %changelog * Fri Jun 15 2007 Carsten Schoene <cs@linux-administrator.com> - changes in version 1.4.9 include: - Inclusion of contrib/check_cluster2 as check_cluster with some improvements - New/improved -E/--skip-stderr and -S/--skip-stdout options for check_by_ssh - check_snmp now supports Counter64 - Fix compilation of check_ldap, check_radius and check_pgsql - check_load can optionally divide by number of cpus - Fix check_time returning wrong OK when time is before the epoch on some arch - Make check_http output more consistent - Fix possible check_http segfaults when following HTTP redirects - check_snmp don't warn anymore if something is printed on stderr - Fix check_tcp segfault when multiple expect strings are given - New option for check_tcp: -A/--all to test if all given expect strings match * Thu Nov 23 2006 Carsten Schoene <cs@linux-administrator.com> - ported this spec to SuSE 10.1 * Mon May 23 2005 Sean Finney <seanius@seanius.net> - cvs head - just include the nagios plugins directory, which will automatically include all generated plugins (which keeps the build from failing on systems that don't have all build-dependencies for every plugin) * Tue Mar 04 2004 Karl DeBisschop <karl[AT]debisschop.net> - 1.4.0alpha1 - extensive rewrite to facilitate processing into various distro-compatible specs * Tue Mar 04 2004 Karl DeBisschop <karl[AT]debisschop.net> - 1.4.0alpha1 - extensive rewrite to facilitate processing into various distro-compatible specs