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

Jan Wagner waja-guest at alioth.debian.org
Thu Mar 6 10:00:16 UTC 2008


tags 463322 pending
thanks

Author: waja-guest
Date: 2008-03-06 10:00:15 +0000 (Thu, 06 Mar 2008)
New Revision: 1361

Added:
   nagios-plugins/trunk/debian/patches/32_check_ldap_pointer.dpatch
Modified:
   nagios-plugins/trunk/debian/changelog
   nagios-plugins/trunk/debian/patches/00list
Log:
make use of old libldap API

Modified: nagios-plugins/trunk/debian/changelog
===================================================================
--- nagios-plugins/trunk/debian/changelog	2008-03-01 23:11:50 UTC (rev 1360)
+++ nagios-plugins/trunk/debian/changelog	2008-03-06 10:00:15 UTC (rev 1361)
@@ -5,6 +5,8 @@
    (Closes: #429778)
   * fix check_disk --local by adding 31_check_disk_local_option.dpatch
    (Closes: #405537)
+  * define LDAP_DEPRECATED in check_ldap.c to make use of old API by adding
+    32_check_ldap_pointer.dpatch (Closes: #463322)
 
  -- sean finney <seanius at debian.org>  Sat, 26 Jan 2008 15:08:03 +0100
 

Modified: nagios-plugins/trunk/debian/patches/00list
===================================================================
--- nagios-plugins/trunk/debian/patches/00list	2008-03-01 23:11:50 UTC (rev 1360)
+++ nagios-plugins/trunk/debian/patches/00list	2008-03-06 10:00:15 UTC (rev 1361)
@@ -9,4 +9,5 @@
 29_check_ntp_fixsefault_deprecate.dpatch
 30_fix_check_ntp_options.dpatch
 31_check_disk_local_option.dpatch
+32_check_ldap_pointer.dpatch
 50_misc_typos.dpatch

Added: nagios-plugins/trunk/debian/patches/32_check_ldap_pointer.dpatch
===================================================================
--- nagios-plugins/trunk/debian/patches/32_check_ldap_pointer.dpatch	                        (rev 0)
+++ nagios-plugins/trunk/debian/patches/32_check_ldap_pointer.dpatch	2008-03-06 10:00:15 UTC (rev 1361)
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 32_check_ldap_pointer.dpatch by Jan Wagner <waja at cyconet.org>
+## patch provided by dann frazier <dannf at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Using deprecated interfaces of libldap API
+
+ at DPATCH@
+--- nagios-plugins-1.4.11.orig/plugins/check_ldap.c	2007-07-07 16:20:40.000000000 -0600
++++ nagios-plugins-1.4.11/plugins/check_ldap.c	2008-01-30 15:14:14.000000000 -0700
+@@ -42,6 +42,7 @@
+ #include "utils.h"
+ 
+ #include <lber.h>
++#define LDAP_DEPRECATED 1
+ #include <ldap.h>
+ 
+ enum {




More information about the Pkg-nagios-changes mailing list