[Pkg-openldap-devel] Bug#539421: openldap: Enable UDP support (-DLDAP_CONNECTIONLESS)

Mathias Gug smtprelay at mathiaz.net
Fri Jul 31 18:00:03 UTC 2009


Package: openldap
Version: 2.4.17-1
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu karmic ubuntu-patch



In Ubuntu, we've applied the attached patch to achieve the following:

  [ Thierry Carrez ]
  * debian/rules: Enable -DLDAP_CONNECTIONLESS to build CLDAP (UDP) support
    in the openldap library, as required by Likewise-Open (LP: #390579)

We thought you might be interested in doing the same. 

See https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/390579

-- System Information:
Debian Release: lenny/sid
  APT prefers hardy-updates
  APT policy: (500, 'hardy-updates'), (500, 'hardy-security'), (500, 'hardy')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-24-server (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
diff -u openldap-2.4.17/debian/rules openldap-2.4.17/debian/rules
--- openldap-2.4.17/debian/rules
+++ openldap-2.4.17/debian/rules
@@ -7,7 +7,7 @@
 # want the checks for DFSG-freeness.
 #DFSG_NONFREE = 1
 
-CFLAGS = -Wall -g -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
+CFLAGS = -Wall -g -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLDAP_CONNECTIONLESS
 INSTALL = install
 INSTALL_FILE    = $(INSTALL) -p    -o root -g root  -m  644
 INSTALL_PROGRAM = $(INSTALL) -p    -o root -g root  -m  755


More information about the Pkg-openldap-devel mailing list