Hello community, here is the log from the commit of package nagios-nsca.1448 for openSUSE:12.1:Update checked in at 2013-03-19 11:05:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:12.1:Update/nagios-nsca.1448 (Old) and /work/SRC/openSUSE:12.1:Update/.nagios-nsca.1448.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nagios-nsca.1448", Maintainer is "" Changes: -------- New Changes file: --- /dev/null 2013-02-26 18:15:11.936010755 +0100 +++ /work/SRC/openSUSE:12.1:Update/.nagios-nsca.1448.new/nagios-nsca.changes 2013-03-19 11:05:41.000000000 +0100 @@ -0,0 +1,179 @@ +------------------------------------------------------------------- +Wed Mar 13 14:32:15 UTC 2013 - l...@linux-schulserver.de + +- added man pages for nsca and send_nsca (fixes bnc#804614) + +------------------------------------------------------------------- +Fri Aug 31 11:16:58 CEST 2007 - tsie...@suse.de + +- cleanup spec file (removed unneeded %dir entry) + +------------------------------------------------------------------- +Mon Aug 13 07:25:49 CEST 2007 - tsie...@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 9 11:46:40 CET 2007 - tsie...@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 15:11:00 CET 2007 - tsie...@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 7 17:18:24 CET 2006 - tsie...@suse.de + +- package split: nagios-nsca for the server and + nagios-nsca-client for the remote host +- removed unneeded BuildRequires (nagios) + +------------------------------------------------------------------- +Fri Dec 1 12:59:22 CET 2006 - tsie...@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 11:57:22 CEST 2006 - o...@suse.de + +- fix send_nsca segfault with -c and -d options + +------------------------------------------------------------------- +Thu Feb 2 21:19:30 CET 2006 - st...@suse.de + +- fixed crash while encrypt_cleanup() + +------------------------------------------------------------------- +Wed Jan 25 21:38:33 CET 2006 - m...@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Sun Jan 22 13:17:48 CET 2006 - st...@suse.de + +- update to version 2.5 +- added init-script +- added xinetd configuration +- use -fstack-protector +- use tcp-wrapper + +------------------------------------------------------------------- +Wed Oct 12 06:42:06 CEST 2005 - st...@suse.de + +- fixed uninitialized variable and missing return-codes + +------------------------------------------------------------------- +Sun Jan 11 11:38:03 CET 2004 - adr...@suse.de + +- add %defattr + +------------------------------------------------------------------- +Thu Jul 24 07:49:12 CEST 2003 - st...@suse.de + +- update to 2.4 + * Better support for u_int32_t detection + * Minor bug fixes + +------------------------------------------------------------------- +Thu Jun 19 13:33:09 CEST 2003 - st...@suse.de + +- added nagios to neededforbuild (fixing directory ownership) + +------------------------------------------------------------------- +Wed Feb 5 13:25:38 CET 2003 - st...@suse.de + +- update to 2.3 + * Minor changes to daemon init code + * Minor Makefile fixes + +------------------------------------------------------------------- +Wed Jan 29 02:03:27 CET 2003 - r...@suse.de + +- fix compile for gcc-3.3 (wrong code ...) + +------------------------------------------------------------------- +Mon Jan 13 08:02:01 CET 2003 - st...@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 11:32:24 CEST 2002 - ku...@suse.de + +- Remove libmcrypt-devel from requires, libmcrypt.la is now in + main libmcrypt package. + +------------------------------------------------------------------- +Wed Jun 12 07:11:57 CEST 2002 - st...@suse.de + +- update to 2.1 + +------------------------------------------------------------------- +Tue May 28 06:57:56 CEST 2002 - st...@suse.de + +- changed conf-dir to /etc/nagios + +------------------------------------------------------------------- +Mon Apr 29 10:00:48 CEST 2002 - st...@suse.de + +- switch to Nagios NSCA (which is only another name) + * update to version 2.0 + +------------------------------------------------------------------- +Thu Mar 21 07:31:42 CET 2002 - st...@suse.de + +- finally updated to 1.2.0 + +------------------------------------------------------------------- +Thu Feb 14 11:00:03 CET 2002 - st...@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 4 07:20:16 CET 2002 - st...@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 11:21:21 CEST 2001 - st...@suse.de + +- added libmcrypt-devel to requires + +------------------------------------------------------------------- +Mon Jul 16 09:33:35 CEST 2001 - st...@suse.de + +- update to 1.1.1 (configure-fixes for mcrypt) + +------------------------------------------------------------------- +Tue Apr 24 12:15:08 CEST 2001 - st...@suse.de + +- initial package (linked against mcrypt) + New: ---- nagios-nsca.abuild.patch nagios-nsca.changes nagios-nsca.spec nagios-nsca.spooldir.patch nagios-nsca.xinetd.patch nsca-2.7.2.tar.bz2 nsca.1 rcnsca send_nsca.1 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nagios-nsca.spec ++++++ # # spec file for package nagios-nsca # # Copyright (c) 2013 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: nagios-nsca BuildRequires: libmcrypt-devel BuildRequires: tcpd-devel Summary: The Nagios Service Check Acceptor License: GPL-2.0+ Group: System/Monitoring Version: 2.7.2 Release: 0 Url: http://www.nagios.org/ Requires: nagios >= 2.5 Provides: netsaint-nsca Obsoletes: netsaint-nsca <= %version Source0: http://prdownloads.sourceforge.net/nagios/nsca-%{version}.tar.bz2 Source1: rcnsca Source2: nsca.1 Source3: send_nsca.1 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 <nag...@nagios.org> %package client Summary: The Nagios Service Check Acceptor Client Group: System/Monitoring %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 <nag...@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 install -D -m 644 %{SOURCE2} $RPM_BUILD_ROOT/%{_mandir}/man1/nsca.1 install -D -m 644 %{SOURCE3} $RPM_BUILD_ROOT/%{_mandir}/man1/send_nsca.1 %preun %stop_on_removal nsca %postun %restart_on_update nsca %insserv_cleanup %clean rm -rf $RPM_BUILD_ROOT; %files %defattr(-,root,root) %{_bindir}/nsca %{_mandir}/man1/nsca.1* /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 %{_mandir}/man1/send_nsca.1* %dir /etc/nagios %config(noreplace) /etc/nagios/send_nsca.cfg %changelog ++++++ nagios-nsca.abuild.patch ++++++ --- src/nsca.c 2006-04-06 23:19:30.000000000 +0200 +++ src/nsca.c 2006-12-01 12:24:18.000000000 +0100 @@ -601,6 +601,7 @@ /* we couldn't find the read handler */ syslog(LOG_ERR, "Handler stack corrupt - aborting"); do_exit(STATE_CRITICAL); + return 0; /* not reached */ } @@ -617,6 +618,7 @@ /* we couldn't find the write handler */ syslog(LOG_ERR, "Handler stack corrupt - aborting"); do_exit(STATE_CRITICAL); + return 0; /* not reached */ } ++++++ nagios-nsca.spooldir.patch ++++++ --- sample-config/nsca.cfg.in 2006-04-06 23:19:30.000000000 +0200 +++ sample-config/nsca.cfg.in 2006-12-01 12:31:39.000000000 +0100 @@ -61,7 +61,7 @@ # NOTE: if you specify this option, the command file will be opened # relative to this directory. -#nsca_chroot=/var/run/nagios/rw +#nsca_chroot=/var/run/nagios @@ -78,7 +78,7 @@ # This is the location of the Nagios command file that the daemon # should write all service check results that it receives. -command_file=@localstatedir@/rw/nagios.cmd +command_file=@localstatedir@/nagios.cmd # ALTERNATE DUMP FILE @@ -91,7 +91,7 @@ # it starts Nagios. Or you may simply choose to ignore any # check results received while Nagios was not running... -alternate_dump_file=@localstatedir@/rw/nsca.dump +alternate_dump_file=@localstatedir@/nsca.dump ++++++ nagios-nsca.xinetd.patch ++++++ --- sample-config/nsca.xinetd.in 2003-10-16 01:17:46.000000000 +0200 +++ sample-config/nsca.xinetd.in 2006-12-01 12:39:20.000000000 +0100 @@ -1,15 +1,17 @@ -# default: on +# default: off # description: NSCA (Nagios Service Check Acceptor) service nsca { flags = REUSE socket_type = stream + type = UNLISTED + port = @nsca_port@ wait = no user = @nsca_user@ group = @nsca_grp@ server = @bindir@/nsca server_args = -c @sysconfdir@/nsca.cfg --inetd log_on_failure += USERID - disable = no - only_from = 127.0.0.1 + disable = yes +# only_from = 127.0.0.1 } ++++++ nsca.1 ++++++ .TH nsca "1" "December 2005" "nsca" .SH NAME nsca \- Nagios Service Check Acceptor .SH SYNOPSIS .B nsca \-c <config_file> [\-f] [--inetd|--daemon|--single] .br .SH DESCRIPTION .B nsca This program is designed to accept passive check results from remote hosts that use the send_nsca(1) utility. It can run as a service under inetd or xinetd (read the docs for info on this), or as a standalone daemon. .SH OPTIONS .TP config_file Name of config file to use .TP \-f run in the foreground (do not fork) .TP \-\-inetd Run as a service under inetd or xinetd .TP \-\-daemon Run as a standalone multi\-process daemon .TP \-\-single Run as a standalone single\-process daemon .SH SEE ALSO .TP nsca(1) .SH FILES .TP /etc/nsca.cfg nsca server configuration .TP /etc/send_nsca.cfg send_nsca configuration .SH AUTHOR NSCA was written by Ethan Galstad <nag...@nagios.org>. This manpage was written by sean finney <sean...@debian.org> for Debian (but it may be freely used by others). ++++++ rcnsca ++++++ #!/bin/sh # # Copyright (c) 2006 SUSE Linux Products GmbH # # Contributors: # Stephan Lauffer <lauf...@ph-freiburg.de> # Wolfgang Rosenauer # ### BEGIN INIT INFO # Provides: nagios-nsca # Required-Start: $remote_fs $syslog $network nagios # Required-Stop: $remote_fs $syslog # Default-Start: 3 5 # Default-Stop: 0 1 2 6 # Short-Description: NSCA Nagios Service Check Acceptor # Description: NSCA is a daemon for accepting service check result from applications # running on other hosts. ### END INIT INFO NscaBin=/usr/bin/nsca test -x $NscaBin || { echo "$NscaBin not installed"; if [ "$1" = "stop" ]; then exit 0; else exit 5; fi; } NscaCfg=/etc/nagios/nsca.cfg test -r $NscaCfg || { echo "$NscaCfg not existing"; if [ "$1" = "stop" ]; then exit 0; else exit 6; fi; } . /etc/rc.status rc_reset case "$1" in start) echo -n "Starting Nagios NSCA " /sbin/startproc $NscaBin -s -c $NscaCfg rc_status -v ;; stop) echo -n "Shutting down Nagios NSCA " /sbin/killproc -TERM $NscaBin rc_status -v ;; try-restart|condrestart) if test "$1" = "condrestart"; then echo "${attn} Use try-restart ${done}(LSB)${attn} rather than condrestart ${warn}(RH)${norm}" fi $0 status if test $? = 0; then $0 restart else rc_reset fi rc_status ;; restart) $0 stop $0 start rc_status ;; reload|force-reload) echo -n "Reload service Nagios NSCA " /sbin/killproc -HUP $NscaBin rc_status -v ;; status) echo -n "Checking for service Nagios NSCA " /sbin/checkproc $NscaBin rc_status -v ;; probe) test $NscaCfg -nt /var/run/nsca.pid && echo reload ;; *) echo "Usage: $0 {start|stop|status|try-restart|restart|force-reload|reload|probe}" exit 1 ;; esac rc_exit ++++++ send_nsca.1 ++++++ .TH send_nsca "1" "December 2005" "nsca" .SH NAME send_nsca \- send passive check results to an NSCA daemon .SH SYNOPSIS .B send_nsca \-H <host_address> [\-p port] [\-to to_sec] [\-d delim] [ \-c config_file] .br .SH DESCRIPTION .B send_nsca This utility is used to send passive check results to the NSCA daemon. Host and Service check data that is to be sent to the NSCA daemon is read from standard input. Input should be provided in the following format (tab\-delimited unless overriden with \-d command line argument, one entry per line): .TP Service Checks <host>\\t<svc_description>\\t<return_code>\\t<plugin_output>\\n .TP Host Checks: <host>\\t<return_code>\\t<plugin_output>\\n .SH OPTIONS .TP host_address The IP address of the host running the NSCA daemon .TP port The port on which the daemon is running \- default is 5667 .TP to_sec Number of seconds before connection attempt times out. (default timeout is 10 seconds) .TP delim Delimiter to use when parsing input (defaults to a tab) .TP config_file Name of config file to use .SH SEE ALSO .TP nsca(1) .SH FILES .TP /etc/nsca.cfg nsca server configuration .TP /etc/send_nsca.cfg send_nsca configuration .SH AUTHOR NSCA was written by Ethan Galstad <nag...@nagios.org>. This manpage was written by sean finney <sean...@debian.org> for Debian (but it may be freely used, modified, and redistributed by others). -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org