diff --git a/server/openldap/actions.py b/server/openldap/actions.py
index ebfd4f5e3a..3e30262c05 100644
--- a/server/openldap/actions.py
+++ b/server/openldap/actions.py
@@ -19,54 +19,45 @@ def setup():
)
pisitools.dosed("servers/slapd/Makefile.in", "(\$\(DESTDIR\))\$\(localstatedir\)(\/run)", r"\1\2")
- pisitools.flags.add("-D_REENTRANT -D_GNU_SOURCE -fPIC -Wl,--as-needed -DLDAP_CONNECTIONLESS")
+ # pisitools.flags.add("-D_REENTRANT -D_GNU_SOURCE -fPIC -Wl,--as-needed -DLDAP_CONNECTIONLESS")
+
+ # shelltools.system("sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif}")
+ shelltools.system("sed -i 's|-m 644 $(LIBRARY)|-m 755 $(LIBRARY)|' libraries/{liblber,libldap}/Makefile.in")
#pisitools.ldflags.add("-pie")
options = "--prefix=/usr \
- --disable-bdb \
- --disable-hdb \
--enable-backends=mod \
--enable-slapd \
--enable-passwd=mod \
--enable-dnssrv=mod \
--enable-ldap \
- --enable-wrappers \
--enable-meta=mod \
- --enable-monitor=mod \
--enable-null=mod \
- --enable-shell=mod \
- --enable-rewrite \
--enable-rlookups \
- --enable-aci \
--enable-modules \
--enable-cleartext \
- --enable-lmpasswd \
- --enable-spasswd \
--enable-slapi \
--enable-dyngroup \
--enable-proxycache \
- --enable-perl \
--enable-syslog \
--enable-dynamic \
--enable-local \
- --enable-proctitle \
--enable-overlays=mod \
- --enable-ndb=no \
--with-pic \
- --with-threads \
- --with-cyrus-sasl \
--without-fetch \
- --without-threads \
+ --disable-wt \
--enable-crypt \
--enable-ipv6 \
--enable-dynacl \
--enable-shared \
- --disable-static \
+ --enable-static=no \
--disable-slp \
--localstatedir=/var/lib"
+ # --enable-aci \
+ # --enable-wrappers \
if get.buildTYPE() == "emul32":
- options = " --prefix=/emul32 \
+ options += " --prefix=/emul32 \
--libdir=/usr/lib32 \
--libexecdir=/emul32/libexec \
--disable-bdb \
@@ -74,9 +65,21 @@ def setup():
--disable-wrappers \
--disable-spasswd \
--disable-perl \
- --without-tls \
+ --with-tls=auto \
+ --disable-ndb \
+ --disable-sql \
--without-cyrus-sasl"
- else: options += " --with-tls=auto"
+
+ else: options += " --enable-wrappers \
+ --enable-spasswd \
+ --enable-perl \
+ --enable-mdb=yes \
+ --with-cyrus-sasl \
+ --enable-bdb=yes \
+ --enable-hdb=yes \
+ --with-gnu-ld \
+ --with-threads \
+ --with-tls=auto"
shelltools.export("AUTOMAKE", "/bin/true")
autotools.autoreconf("-fi")
@@ -90,6 +93,7 @@ def build():
def install():
if get.buildTYPE() == "emul32":
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
+ pisitools.dosym("/usr/lib/libslapi.so.2.0.200", "/usr/lib/libldap-2.4.so.2")
return
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
diff --git a/server/openldap/pspec.xml b/server/openldap/pspec.xml
index 4ea1db35c0..627cbcc17a 100644
--- a/server/openldap/pspec.xml
+++ b/server/openldap/pspec.xml
@@ -11,9 +11,9 @@
OPENLDAP
Open-source suite of LDAP applications and development tools
OpenLDAP is an open-source suite of LDAP (Lightweight Directory Access Protocol) applications and development tools
- ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-2.4.59.tgz
+ ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-2.6.4.tgz
- nss-devel
+
db-devel
openssl-devel
tcp-wrappers-devel
@@ -28,27 +28,10 @@
groff
-
-
-
- openldap-2.4.39-ntlm-1.patch
-
- fedora/openldap-reentrant-gethostby.patch
+
-
-
- fedora/openldap-nss-update-list-of-ciphers.patch
-
-
- fedora/openldap-nss-ignore-certdb-type-prefix.patch
-
- fedora/openldap-nss-pk11-freeslot.patch
fedora/openldap-switch-to-lt_dlopenadvise-to-get-RTLD_GLOBAL-set.patch
-
- fedora/openldap-autoconf-pkgconfig-nss.patch
- fedora/openldap-ai-addrconfig.patch
-
+ fedora/openldap-ai-addrconfig.patch
@@ -58,9 +41,10 @@
app:console
Command-line ldap client commands (ldapsearch, ldapadd etc..)
- nss
- nspr
+
+
openssl
+ libutil-linux
cyrus-sasl
@@ -79,13 +63,14 @@
OpenLDAP server slapd and releated tools
OpenLDAP server slapd, additional backends, configuration files, schema definitions required for operation, and database maintenance tools
- db
+
perl
+ openssl
unixODBC
libutil-linux
tcp-wrappers
libtool-ltdl
- nss
+
cyrus-sasl
openldap-client
@@ -120,7 +105,7 @@
emul32
openssl-32bit
- libtool-ltdl-32bit
+ libtool-ltdl-32bit
openssl-32bit
@@ -132,6 +117,13 @@
+
+ 2023-05-05
+ 2.6.4
+ Version bump.
+ Mustafa Cinasal
+ muscnsl@gmail.com
+
2021-11-06
2.4.59