packages: openldap/openldap-ldapc++.patch, openldap/openldap.spec - up to 2...

baggins baggins at pld-linux.org
Tue May 26 14:26:35 CEST 2009


Author: baggins                      Date: Tue May 26 12:26:35 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 2.4.16

---- Files affected:
packages/openldap:
   openldap-ldapc++.patch (1.3 -> 1.4) , openldap.spec (1.301 -> 1.302) 

---- Diffs:

================================================================
Index: packages/openldap/openldap-ldapc++.patch
diff -u packages/openldap/openldap-ldapc++.patch:1.3 packages/openldap/openldap-ldapc++.patch:1.4
--- packages/openldap/openldap-ldapc++.patch:1.3	Mon Aug 25 23:12:40 2008
+++ packages/openldap/openldap-ldapc++.patch	Tue May 26 14:26:29 2009
@@ -11,3 +11,13 @@
  			LDAPAttribute.h \
  			LDAPAttributeList.h \
  			LDAPAttrType.h \
+--- openldap-2.4.16/contrib/ldapc++/src/SaslInteractionHandler.cpp~	2008-04-15 01:09:26.000000000 +0200
++++ openldap-2.4.16/contrib/ldapc++/src/SaslInteractionHandler.cpp	2009-05-25 16:47:09.488348393 +0200
+@@ -7,6 +7,7 @@
+ #include <iostream>
+ #include <iomanip>
+ #include <limits>
++#include <cstdio>
+ #include "config.h"
+ 
+ #ifdef HAVE_TERMIOS_H

================================================================
Index: packages/openldap/openldap.spec
diff -u packages/openldap/openldap.spec:1.301 packages/openldap/openldap.spec:1.302
--- packages/openldap/openldap.spec:1.301	Fri Feb 27 00:12:17 2009
+++ packages/openldap/openldap.spec	Tue May 26 14:26:29 2009
@@ -8,6 +8,7 @@
 # Conditional build:
 %bcond_without	exchange	# hacked version of library for Evolution Exchange support
 %bcond_without	odbc		# disable sql backend
+%bcond_with	ndb		# enable MySQL NDB Cluster backend
 %bcond_without	perl		# disable perl backend
 %bcond_without	sasl 		# don't build cyrus sasl support
 %bcond_without	slp		# disable SLP support
@@ -28,12 +29,12 @@
 Summary(ru.UTF-8):	Образцы клиентов LDAP
 Summary(uk.UTF-8):	Зразки клієнтів LDAP
 Name:		openldap
-Version:	2.4.15
-Release:	1
+Version:	2.4.16
+Release:	0.1
 License:	OpenLDAP Public License
 Group:		Networking/Daemons
 Source0:	ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/%{name}-%{version}.tgz
-# Source0-md5:	6f97d2793a4c7e4b33839569b2fee2db
+# Source0-md5:	ed5b86e9d2b372d10edfe3bb59fee165
 Source1:	http://download.oracle.com/berkeley-db/db-%{db_version}.tar.gz
 # Source1-md5:	718082e7e35fc48478a2334b0bc4cd11
 Source2:	ldap.init
@@ -70,10 +71,12 @@
 %{?with_system_db:BuildRequires:	db-devel >= 4.2}
 BuildRequires:	gcc >= 5:3.4
 BuildRequires:	groff
+BuildRequires:	krb5-devel
 BuildRequires:	libltdl-devel
 BuildRequires:	libstdc++-devel
 BuildRequires:	libtool >= 2:2.2
 BuildRequires:	libwrap-devel
+%{?with_ndb:BuildRequires:	mysql-devel}
 %{?with_slp:BuildRequires:	openslp-devel}
 BuildRequires:	openssl-devel >= 0.9.7d
 %{?with_perl:BuildRequires:	perl-devel}
@@ -343,6 +346,19 @@
 %description backend-monitor -l pl.UTF-8
 Backend Meta do slapd - serwera OpenLDAP.
 
+%package backend-ndb
+Summary:	MySQL NDB Cluster backend to OpenLDAP server
+Summary(pl.UTF-8):	Backend MySQL NDB Cluster do serwera OpenLDAP
+Group:		Networking/Daemons
+Requires(post,preun):	sed >= 4.0
+Requires:	%{name}-servers = %{version}-%{release}
+
+%description backend-ndb
+MySQL NDB Cluster backend to slapd, the OpenLDAP server.
+
+%description backend-ndb -l pl.UTF-8
+Backend MySQL NDB Cluster do slapd do serwera OpenLDAP.
+
 %package backend-passwd
 Summary:	/etc/passwd backend to OpenLDAP server
 Summary(pl.UTF-8):	Backend /etc/passwd do serwera OpenLDAP
@@ -938,12 +954,14 @@
 	--enable-ipv6 \
 	--enable-local \
 	--enable-slapd \
+	--enable-dynacl \
 	--enable-aci \
 	--enable-crypt \
 	--enable-lmpasswd \
 	--enable-modules \
 	--enable-rewrite \
 	--enable-rlookups \
+	--enable-slapi \
 %if %{with sasl}
 	--with-cyrus-sasl \
 	--enable-spasswd \
@@ -962,6 +980,9 @@
 	--enable-ldap=mod \
 	--enable-meta=mod \
 	--enable-monitor=mod \
+%if %{with ndb}
+	--enable-ndb=mod \
+%endif
 	--enable-null \
 	--enable-passwd=mod \
 %if %{with perl}
@@ -978,6 +999,7 @@
 	--with-threads \
 	--with-tls \
 	--with-yielding-select \
+	--with-gssapi \
 	--with-mp=longlong
 
 %{__make} -j1 depend
@@ -1021,12 +1043,14 @@
 	--enable-syslog \
 	--enable-ipv6 \
 	--enable-local \
+	--enable-dynacl \
 	--enable-aci \
 	--enable-crypt \
 	--enable-lmpasswd \
 	--enable-modules \
 	--enable-rewrite \
 	--enable-rlookups \
+	--enable-slapi \
 %if %{with sasl}
 	--with-cyrus-sasl \
 	--enable-spasswd \
@@ -1047,6 +1071,7 @@
 	--with-threads \
 	--with-tls \
 	--with-yielding-select \
+	--with-gssapi \
 	--with-mp=longlong
 
 %{__make} -j1 depend
@@ -1209,6 +1234,12 @@
 %preun backend-monitor
 %ldap_module_remove back_monitor.la
 
+%post backend-ndb
+%ldap_module_add back_ndb.la
+
+%preun backend-ndb
+%ldap_module_remove back_ndb.la
+
 %post backend-passwd
 %ldap_module_add back_passwd.la
 
@@ -1392,18 +1423,22 @@
 %attr(755,root,root) %{_libdir}/liblber-2.4.so.*.*.*
 %attr(755,root,root) %{_libdir}/libldap-2.4.so.*.*.*
 %attr(755,root,root) %{_libdir}/libldap_r-2.4.so.*.*.*
+%attr(755,root,root) %{_libdir}/libslapi-2.4.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/liblber-2.4.so.2
 %attr(755,root,root) %ghost %{_libdir}/libldap-2.4.so.2
 %attr(755,root,root) %ghost %{_libdir}/libldap_r-2.4.so.2
+%attr(755,root,root) %ghost %{_libdir}/libslapi-2.4.so.2
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/liblber.so
 %attr(755,root,root) %{_libdir}/libldap.so
 %attr(755,root,root) %{_libdir}/libldap_r.so
+%attr(755,root,root) %{_libdir}/libslapi.so
 %{_libdir}/liblber.la
 %{_libdir}/libldap.la
 %{_libdir}/libldap_r.la
+%{_libdir}/libslapi.la
 %{_includedir}/*.h
 %{_mandir}/man3/*
 
@@ -1412,6 +1447,7 @@
 %{_libdir}/liblber.a
 %{_libdir}/libldap.a
 %{_libdir}/libldap_r.a
+%{_libdir}/libslapi.a
 
 %if %{with exchange}
 %files evolution-devel
@@ -1477,6 +1513,15 @@
 %{_libdir}/openldap/back_monitor.la
 %{_mandir}/man5/slapd-monitor.5*
 
+%if %{with ndb}
+%files backend-ndb
+%defattr(644,root,root,755)
+%doc %{name}-%{version}/servers/slapd/back-ndb/README
+%attr(755,root,root) %{_libdir}/openldap/back_ndb*.so*
+%{_libdir}/openldap/back_ndb.la
+%{_mandir}/man5/slapd-ndb.5*
+%endif
+
 %files backend-passwd
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/openldap/back_passwd*.so*
@@ -1672,6 +1717,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.302  2009/05/26 12:26:29  baggins
+- up to 2.4.16
+
 Revision 1.301  2009/02/26 23:12:17  adamg
 - updated to 2.4.15
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/openldap/openldap-ldapc++.patch?r1=1.3&r2=1.4&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/openldap/openldap.spec?r1=1.301&r2=1.302&f=u



More information about the pld-cvs-commit mailing list