rpms/nsca/EL-5 nsca-increase_max_plugin_output_length.patch, NONE, 1.1 nsca.spec, 1.1, 1.2
Xavier Bachelot
xavierb at fedoraproject.org
Mon Jul 20 20:43:48 UTC 2009
Author: xavierb
Update of /cvs/pkgs/rpms/nsca/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26003
Modified Files:
nsca.spec
Added Files:
nsca-increase_max_plugin_output_length.patch
Log Message:
Increase max plugin output length to match nagios
nsca-increase_max_plugin_output_length.patch:
common.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE nsca-increase_max_plugin_output_length.patch ---
--- include/common.h.orig 2009-07-17 11:38:58.000000000 +0200
+++ include/common.h 2009-07-17 11:40:23.000000000 +0200
@@ -48,7 +48,7 @@
#define MAX_HOSTNAME_LENGTH 64
#define MAX_DESCRIPTION_LENGTH 128
-#define MAX_PLUGINOUTPUT_LENGTH 512
+#define MAX_PLUGINOUTPUT_LENGTH 8192
#define MAX_PASSWORD_LENGTH 512
Index: nsca.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nsca/EL-5/nsca.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- nsca.spec 3 Apr 2008 22:52:28 -0000 1.1
+++ nsca.spec 20 Jul 2009 20:43:18 -0000 1.2
@@ -1,7 +1,7 @@
Summary: Nagios Service Check Acceptor
Name: nsca
Version: 2.7.2
-Release: 6%{?dist}
+Release: 7%{?dist}
License: GPLv2+
Group: Applications/System
URL: http://www.nagios.org/
@@ -10,6 +10,7 @@ BuildRoot: %{_tmppath}/%{name}-%{ve
Patch0: nsca-2.7.2-initscript.patch
Patch1: nsca-2.7.2-confpath.patch
+Patch2: nsca-increase_max_plugin_output_length.patch
BuildRequires: libmcrypt-devel
Requires: nagios
@@ -36,6 +37,7 @@ Client application for sending updates t
%setup -q
%patch0 -p0 -b .initscript
%patch1 -p1 -b .confpath
+%patch2 -p0 -b .max_plugin_output_length
# Change defaults in the config file to match the nagios package
sed -i -e "s|^command_file=.*|command_file=%{_localstatedir}/spool/nagios/cmd/nagios.cmd|" \
-e "s|^alternate_dump_file=.*|alternate_dump_file=%{_localstatedir}/spool/nagios/cmd/nsca.dump|" \
@@ -99,6 +101,10 @@ rm -rf %{buildroot}
%changelog
+* Fri Jul 17 2009 Xavier Bachelot <xavier at bachelot.org> - 2.7.2-7
+- Increase max plugin output length to match nagios
+ (RHBZ#497847, related to RHBZ#469198).
+
* Mon Mar 31 2008 Wart <wart at kobold.org> - 2.7.2-6
- Change license to match sources
More information about the fedora-extras-commits
mailing list