[Pkg-nagios-changes] [pkg-nagios] r705 - in nagios-plugins/trunk/debian: . patches

Sean Finney seanius at costa.debian.org
Sat Feb 18 13:08:33 UTC 2006


Author: seanius
Date: 2006-02-18 13:08:32 +0000 (Sat, 18 Feb 2006)
New Revision: 705

Added:
   nagios-plugins/trunk/debian/patches/24_check_procs_localefix.dpatch
Modified:
   nagios-plugins/trunk/debian/changelog
   nagios-plugins/trunk/debian/patches/00list
Log:
LC_NUMERIC fix for check_procs


Modified: nagios-plugins/trunk/debian/changelog
===================================================================
--- nagios-plugins/trunk/debian/changelog	2006-02-18 12:48:46 UTC (rev 704)
+++ nagios-plugins/trunk/debian/changelog	2006-02-18 13:08:32 UTC (rev 705)
@@ -1,10 +1,13 @@
-nagios-plugins (1.4.2-7) unstable; urgency=high
+nagios-plugins (1.4.2-7) unstable; urgency=medium
 
   [sean finney]
   * update build dependencies to build against libmysqlclient15-dev.
-    fixes (now) rc bug, urgency thus set to high.
+    fixes (now) rc bug, urgency bumped (closes: #343785).
+  * properly set LC_NUMERIC in check_procs.  fix also committed for
+    next upstream release.  thanks to Hadmut Danisch for
+    catching this (closes: #353201).
 
- -- sean finney <seanius at debian.org>  Sat, 18 Feb 2006 13:47:54 +0100
+ -- sean finney <seanius at debian.org>  Sat, 18 Feb 2006 13:56:25 +0100
 
 nagios-plugins (1.4.2-6) unstable; urgency=low
 

Modified: nagios-plugins/trunk/debian/patches/00list
===================================================================
--- nagios-plugins/trunk/debian/patches/00list	2006-02-18 12:48:46 UTC (rev 704)
+++ nagios-plugins/trunk/debian/patches/00list	2006-02-18 13:08:32 UTC (rev 705)
@@ -13,3 +13,4 @@
 21_de.po_fixes.dpatch
 22_check_smb_hostaddress.dpatch
 23_check_axis.dpatch
+24_check_procs_localefix.dpatch

Added: nagios-plugins/trunk/debian/patches/24_check_procs_localefix.dpatch
===================================================================
--- nagios-plugins/trunk/debian/patches/24_check_procs_localefix.dpatch	2006-02-18 12:48:46 UTC (rev 704)
+++ nagios-plugins/trunk/debian/patches/24_check_procs_localefix.dpatch	2006-02-18 13:08:32 UTC (rev 705)
@@ -0,0 +1,17 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 24_check_procs_localefix.dpatch by  <seanius at debian.org>
+##
+## DP: make sure LC_NUMERIC is properly set because the plugin parses output
+
+ at DPATCH@
+diff -urNad nagios-plugins-1.4.2~/plugins/check_procs.c nagios-plugins-1.4.2/plugins/check_procs.c
+--- nagios-plugins-1.4.2~/plugins/check_procs.c	2005-09-15 10:27:58.000000000 +0200
++++ nagios-plugins-1.4.2/plugins/check_procs.c	2006-02-18 13:52:13.000000000 +0100
+@@ -116,6 +116,7 @@
+ 	setlocale (LC_ALL, "");
+ 	bindtextdomain (PACKAGE, LOCALEDIR);
+ 	textdomain (PACKAGE);
++	setlocale (LC_NUMERIC, "POSIX");
+ 
+ 	input_buffer = malloc (MAX_INPUT_BUFFER);
+ 	procprog = malloc (MAX_INPUT_BUFFER);


Property changes on: nagios-plugins/trunk/debian/patches/24_check_procs_localefix.dpatch
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-nagios-changes mailing list