[Pkg-openldap-devel] [openldap] 04/11: make libldap a symlink to libldap_r

Timo Aaltonen tjaalton-guest at alioth.debian.org
Thu Oct 10 05:36:12 UTC 2013


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

tjaalton-guest pushed a commit to annotated tag 2.2.23-6
in repository openldap.

commit d87215a95d3b2142bdd537eabb1e339471ee6a27
Author: Steve Langasek <vorlon at debian.org>
Date:   Mon May 9 00:07:35 2005 +0000

    make libldap a symlink to libldap_r
---
 debian/changelog  |    5 ++++-
 debian/move_files |    5 +++++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 8e62d19..75caca7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,8 +7,11 @@ openldap2.2 (2.2.23-6) unstable; urgency=low
   Steve Langasek <vorlon at debian.org>:
   * libraries/libldap_r/Makefile.in: make sure the ximian-connector ntlm
     patch is applied to libldap_r, not just to libldap
+  * debian/move_files: make libldap a symlink to libldap_r, as carrying
+    two versions of this library around is more trouble than it's worth,
+    and can cause glorious segfaults down the line
 
- --
+ -- 
 
 openldap2.2 (2.2.23-5) unstable; urgency=low
 
diff --git a/debian/move_files b/debian/move_files
index d89c489..9bc0413 100644
--- a/debian/move_files
+++ b/debian/move_files
@@ -89,9 +89,14 @@ set_target libldap-2.2-7
 # install_stuff etc/ldap/ldap*.conf
 rm debian/tmp/etc/ldap/ldap*.conf
 rm debian/tmp/usr/share/man/man5/ldap.conf*
+( cd debian/tmp/usr/lib; \
+  ln -sf libldap_r-2.2.so.? libldap-2.2.so.?;
+  ln -sf libldap_r-2.2.so.?.?.?? libldap-2.2.so.?.?.??
+)
 install_stuff usr/lib/*.so.*
 
 set_target libldap2.2-dev
+ln -sf libldap_r.a debian/tmp/usr/lib/libldap.a
 install_stuff usr/include
 install_stuff usr/lib/*.so usr/lib/*.a
 install_stuff usr/share/man/man3

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



More information about the Pkg-openldap-devel mailing list