[Pkg-nagios-changes] [pkg-nagios-plugins] 108/413: make use of old libldap API

Jan Wagner waja at moszumanska.debian.org
Tue Nov 26 23:13:11 UTC 2013


This is an automated email from the git hooks/post-receive script.

waja pushed a commit to branch master
in repository pkg-nagios-plugins.

commit b59a29946be8a07417082419b07317f387e209b4
Author: Jan Wagner <waja at cyconet.org>
Date:   Thu Mar 6 10:00:15 2008 +0000

    make use of old libldap API
---
 debian/changelog                            |  2 ++
 debian/patches/00list                       |  1 +
 debian/patches/32_check_ldap_pointer.dpatch | 18 ++++++++++++++++++
 3 files changed, 21 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 5671808..661ed5f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ nagios-plugins (1.4.11-2) UNRELEASED; urgency=low
    (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
 
diff --git a/debian/patches/00list b/debian/patches/00list
index b1d7c79..d438f80 100644
--- a/debian/patches/00list
+++ b/debian/patches/00list
@@ -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
diff --git a/debian/patches/32_check_ldap_pointer.dpatch b/debian/patches/32_check_ldap_pointer.dpatch
new file mode 100644
index 0000000..7c60d29
--- /dev/null
+++ b/debian/patches/32_check_ldap_pointer.dpatch
@@ -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 {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-nagios-plugins.git



More information about the Pkg-nagios-changes mailing list