Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
nagios-nsca
nagios-nsca.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nagios-nsca.spec of Package nagios-nsca
# # spec file for package nagios-nsca (Version 2.7.2) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: nagios-nsca BuildRequires: libmcrypt-devel tcpd-devel Summary: The Nagios Service Check Acceptor Version: 2.7.2 Release: 7 URL: http://www.nagios.org/ License: GPL v2 or later Group: System/Monitoring Autoreqprov: on Requires: nagios >= 2.5 Provides: netsaint-nsca Obsoletes: netsaint-nsca <= %version Source0: http://prdownloads.sourceforge.net/nagios/nsca-%{version}.tar.bz2 Source1: rcnsca Patch1: nagios-nsca.abuild.patch Patch2: nagios-nsca.xinetd.patch Patch3: nagios-nsca.spooldir.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The purpose of this add-on is to allow the execution of NetSaint and Nagios plug-ins on a remote host in a manner that is as transparent as possible. This is the server part including the daemon without the client program. Authors: -------- Ethan Galstad <nagios@nagios.org> %package client Group: System/Monitoring Summary: The Nagios Service Check Acceptor Client %description client The purpose of this add-on is to allow the execution of NetSaint and Nagios plug-ins on a remote host in a manner that is as transparent as possible. This package includes only the client program. Authors: -------- Ethan Galstad <nagios@nagios.org> %prep %setup -n nsca-%{version} %patch1 %patch2 %patch3 %build %{?suse_update_config:%{suse_update_config}} export CFLAGS="$RPM_OPT_FLAGS" %if %suse_version > 1000 export CFLAGS="$CFLAGS -fstack-protector" %endif ./configure \ --prefix=%{_prefix} \ --sysconfdir=%{_sysconfdir}/nagios \ --localstatedir=/var/spool/nagios \ --with-nsca-user=nagios \ --with-nsca-grp=nagios \ --with-nsca-port=5667 make all %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_bindir} mkdir -p $RPM_BUILD_ROOT%{_sbindir} mkdir -p $RPM_BUILD_ROOT/etc/nagios/ mkdir -p $RPM_BUILD_ROOT/etc/init.d/ mkdir -p $RPM_BUILD_ROOT/etc/xinetd.d/ install -m 755 src/nsca $RPM_BUILD_ROOT/usr/bin/ install -m 755 src/send_nsca $RPM_BUILD_ROOT/usr/bin/ install -m 644 sample-config/nsca.cfg $RPM_BUILD_ROOT/etc/nagios/ install -m 644 sample-config/send_nsca.cfg $RPM_BUILD_ROOT/etc/nagios/ install -m 644 sample-config/nsca.xinetd $RPM_BUILD_ROOT/etc/xinetd.d/nsca install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/etc/init.d/nsca ln -sf ../../etc/init.d/nsca $RPM_BUILD_ROOT/usr/sbin/rcnsca %preun %stop_on_removal nsca %postun %restart_on_update nsca %insserv_cleanup %clean rm -rf $RPM_BUILD_ROOT; %files %defattr(-,root,root) %{_bindir}/nsca /etc/init.d/nsca %{_sbindir}/rcnsca %config(noreplace) /etc/nagios/nsca.cfg %config(noreplace) /etc/xinetd.d/nsca %doc Changelog README SECURITY LEGAL %files client %defattr(-,root,root) %{_bindir}/send_nsca %dir /etc/nagios %config(noreplace) /etc/nagios/send_nsca.cfg %changelog * Fri Aug 31 2007 - tsieden@suse.de - cleanup spec file (removed unneeded %%dir entry) * Mon Aug 13 2007 - tsieden@suse.de - update to version 2.7.2 * fixed bug with NSCA daemon eating CPU if child process couldn't accept a connection in multi-process mode (Chris Wilson) * Fri Feb 09 2007 - tsieden@suse.de - update to version 2.7.1 * Fixed bug that prevented single mode daemon from working properly * Added sample scripts for testing functionality to nsca_tests/ (Ton Voon/Altinity) * Mon Jan 29 2007 - tsieden@suse.de - update to version 2.7 * Fixed crash from malformed command line (therefore removed removed nagios-nsca.send_nsca.formatstring.patch) * Updated to config.sub and config.guess to latest from GNU Savannah * changed default user and group to nagios nagios (#236135) * Thu Dec 07 2006 - tsieden@suse.de - package split: nagios-nsca for the server and nagios-nsca-client for the remote host - removed unneeded BuildRequires (nagios) * Fri Dec 01 2006 - tsieden@suse.de - update to version 2.6 * spec file fix * segfault fix in encryption library cleanup * daemon now exits with an error if it can't drop privileges * added chroot support (Sean Finney) * added support for writing a PID file * added support for reloading config files with SIGHUP * removed obsolete patches which are included in upstream now - fix NscaBin location in init script * Tue Oct 10 2006 - olh@suse.de - fix send_nsca segfault with -c and -d options * Thu Feb 02 2006 - stark@suse.de - fixed crash while encrypt_cleanup() * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Sun Jan 22 2006 - stark@suse.de - update to version 2.5 - added init-script - added xinetd configuration - use -fstack-protector - use tcp-wrapper * Wed Oct 12 2005 - stark@suse.de - fixed uninitialized variable and missing return-codes * Sun Jan 11 2004 - adrian@suse.de - add %%defattr * Thu Jul 24 2003 - stark@suse.de - update to 2.4 * Better support for u_int32_t detection * Minor bug fixes * Thu Jun 19 2003 - stark@suse.de - added nagios to neededforbuild (fixing directory ownership) * Wed Feb 05 2003 - stark@suse.de - update to 2.3 * Minor changes to daemon init code * Minor Makefile fixes * Wed Jan 29 2003 - ro@suse.de - fix compile for gcc-3.3 (wrong code ...) * Mon Jan 13 2003 - stark@suse.de - update to 2.2 * Syntax changes for command line arguments * Added support for passive host checks (supported only in Nagios 2.x and later) * Added sample xinetd config file (nsca.xinetd) * Minor mods and bug fixes * Fri Aug 16 2002 - kukuk@suse.de - Remove libmcrypt-devel from requires, libmcrypt.la is now in main libmcrypt package. * Wed Jun 12 2002 - stark@suse.de - update to 2.1 * Tue May 28 2002 - stark@suse.de - changed conf-dir to /etc/nagios * Mon Apr 29 2002 - stark@suse.de - switch to Nagios NSCA (which is only another name) * update to version 2.0 * Thu Mar 21 2002 - stark@suse.de - finally updated to 1.2.0 * Thu Feb 14 2002 - stark@suse.de - modified patch to write to an alternative "command" file if the NetSaint command-file doesn't exist (backport from 1.2.0) * Mon Feb 04 2002 - stark@suse.de - update to 1.2.0b8 - added a patch to NOT create the commandfile as regular file if it doesn't exist * Mon Jul 16 2001 - stark@suse.de - added libmcrypt-devel to requires * Mon Jul 16 2001 - stark@suse.de - update to 1.1.1 (configure-fixes for mcrypt) * Tue Apr 24 2001 - stark@suse.de - initial package (linked against mcrypt)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor