forked from pool/openldap2
Accepting request 1190628 from network:ldap
- Update to relese 2.6.8 OBS-URL: https://build.opensuse.org/request/show/1190628 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openldap2?expand=0&rev=185
This commit is contained in:
commit
510b36d2e1
4
_scmsync.obsinfo
Normal file
4
_scmsync.obsinfo
Normal file
@ -0,0 +1,4 @@
|
||||
mtime: 1722414979
|
||||
commit: 8f998cd85104beab1c2213b0cf5f7feef907d8925abdcf712f80fea621e003a1
|
||||
url: https://src.opensuse.org/jengelh/openldap2
|
||||
revision: master
|
3
build.specials.obscpio
Normal file
3
build.specials.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:55be6e9703d024074ec67c7f870033c7c063ae4f846bfcc5ca6e07dbb10caab1
|
||||
size 256
|
91
gcc14.patch
91
gcc14.patch
@ -1,91 +0,0 @@
|
||||
From: Jan Engelhardt <jengelh@inai.de>
|
||||
Date: 2024-05-25 09:45:23.081724037 +0200
|
||||
|
||||
Codefixes needed for gcc 14:
|
||||
|
||||
mdb.c:5115:31: error: assignment to "pthread_key_t" {aka "unsigned int"} from
|
||||
"void *" makes integer from pointer without a cast [-Wint-conversion]
|
||||
|
||||
Workarounds for:
|
||||
|
||||
constraint.c:560:43: error: assignment to "constraint **" from incompatible pointer type "void **" [-Wincompatible-pointer-types]
|
||||
for ( app = &on->on_bi.bi_private; *app; app = &(*app)->ap_next )
|
||||
dyngroup.c:114:27: error: assignment to "adpair **" from incompatible pointer type "void **" [-Wincompatible-pointer-types]
|
||||
for ( app = &on->on_bi.bi_private; *app; app = &(*app)->ap_next )
|
||||
valsort.c:204:19: error: assignment to "valsort_info **" from incompatible pointer type "void **" [-Wincompatible-pointer-types]
|
||||
for ( vip = &on->on_bi.bi_private; *vip; vip = &(*vip)->vi_next )
|
||||
cloak.c:245:25: error: implicit declaration of function "attr_clean"; did you mean "entry_clean"? [-Wimplicit-function-declaration]
|
||||
attr_clean( a );
|
||||
|
||||
---
|
||||
contrib/slapd-modules/cloak/cloak.c | 1 +
|
||||
libraries/liblmdb/mdb.c | 2 +-
|
||||
servers/slapd/overlays/constraint.c | 2 +-
|
||||
servers/slapd/overlays/dyngroup.c | 2 +-
|
||||
servers/slapd/overlays/valsort.c | 2 +-
|
||||
5 files changed, 5 insertions(+), 4 deletions(-)
|
||||
|
||||
Index: openldap-2.6.7/contrib/slapd-modules/cloak/cloak.c
|
||||
===================================================================
|
||||
--- openldap-2.6.7.orig/contrib/slapd-modules/cloak/cloak.c
|
||||
+++ openldap-2.6.7/contrib/slapd-modules/cloak/cloak.c
|
||||
@@ -242,6 +242,7 @@ cloak_search_response_cb( Operation *op,
|
||||
else
|
||||
me->e_attrs = a->a_next;
|
||||
|
||||
+ extern void attr_clean(Attribute *);
|
||||
attr_clean( a );
|
||||
}
|
||||
|
||||
Index: openldap-2.6.7/libraries/liblmdb/mdb.c
|
||||
===================================================================
|
||||
--- openldap-2.6.7.orig/libraries/liblmdb/mdb.c
|
||||
+++ openldap-2.6.7/libraries/liblmdb/mdb.c
|
||||
@@ -5161,7 +5161,7 @@ mdb_env_close0(MDB_env *env, int excl)
|
||||
|
||||
// No need to call desctructor anymore, as all pid
|
||||
// values are cleared below.
|
||||
- env->me_txkey = NULL;
|
||||
+ memset(&env->me_txkey, 0, sizeof(env->me_txkey));
|
||||
|
||||
#ifdef _WIN32
|
||||
/* Delete our key from the global list */
|
||||
Index: openldap-2.6.7/servers/slapd/overlays/constraint.c
|
||||
===================================================================
|
||||
--- openldap-2.6.7.orig/servers/slapd/overlays/constraint.c
|
||||
+++ openldap-2.6.7/servers/slapd/overlays/constraint.c
|
||||
@@ -557,7 +557,7 @@ done:;
|
||||
a2->restrict_filter = ap.restrict_filter;
|
||||
a2->restrict_val = ap.restrict_val;
|
||||
|
||||
- for ( app = &on->on_bi.bi_private; *app; app = &(*app)->ap_next )
|
||||
+ for ( app = (constraint **)&on->on_bi.bi_private; *app; app = &(*app)->ap_next )
|
||||
/* Get to the end */ ;
|
||||
|
||||
a2->ap_next = *app;
|
||||
Index: openldap-2.6.7/servers/slapd/overlays/dyngroup.c
|
||||
===================================================================
|
||||
--- openldap-2.6.7.orig/servers/slapd/overlays/dyngroup.c
|
||||
+++ openldap-2.6.7/servers/slapd/overlays/dyngroup.c
|
||||
@@ -111,7 +111,7 @@ static int dgroup_cf( ConfigArgs *c )
|
||||
*/
|
||||
a2 = ch_malloc( sizeof(adpair) );
|
||||
|
||||
- for ( app = &on->on_bi.bi_private; *app; app = &(*app)->ap_next )
|
||||
+ for ( app = (adpair **)&on->on_bi.bi_private; *app; app = &(*app)->ap_next )
|
||||
/* Get to the end */ ;
|
||||
|
||||
a2->ap_mem = ap.ap_mem;
|
||||
Index: openldap-2.6.7/servers/slapd/overlays/valsort.c
|
||||
===================================================================
|
||||
--- openldap-2.6.7.orig/servers/slapd/overlays/valsort.c
|
||||
+++ openldap-2.6.7/servers/slapd/overlays/valsort.c
|
||||
@@ -201,7 +201,7 @@ valsort_cf_func(ConfigArgs *c) {
|
||||
return(1);
|
||||
}
|
||||
|
||||
- for ( vip = &on->on_bi.bi_private; *vip; vip = &(*vip)->vi_next )
|
||||
+ for ( vip = (valsort_info **)&on->on_bi.bi_private; *vip; vip = &(*vip)->vi_next )
|
||||
/* Get to the end */ ;
|
||||
|
||||
vi = ch_malloc( sizeof(valsort_info) );
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cd775f625c944ed78a3da18a03b03b08eea73c8aabc97b41bb336e9a10954930
|
||||
size 6484944
|
@ -1,16 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCgAdFiEEPOJptTmLyLeFZF6Yf2fV/Rzhy84FAmW4AwsACgkQf2fV/Rzh
|
||||
y84CgQ/9GAtC9/jUMEb+PJYnCKCil07gxl6yxwjzUUy6mQZt59hwqXFRRkG/cqKj
|
||||
mie25RGVTyCCzaz9TMo8RplrqvVL2CGZrE3NzorCivh5VNWZws61b+c+7aSHu0qd
|
||||
VSLpn3FMAhOdY3FBqmuPMj1mT0S7iJ5pA181YXYmLhiWlerYl5FyMjmaQddht+OB
|
||||
ctTG3l/9/BDW5vyTxtBZSnY20h70r1gzKn3x8zQ4kJApJZPEiMsJBne7ywOmezzt
|
||||
p1SgqExSVedlVig3AGqia+zlCcROJxVXqDSZenISrzXMQzdIc2WmEwo+q5WF4Kwh
|
||||
aw3w8BVnoO6Jv4B9Ye5fokSTLKJ1hbLFE+f9s1M5lM3+vmtSSl0sU0glDkwe2UFK
|
||||
ZCeMcsrQTRTsFOFaY/JgAqlD5Q66etVCM6Jobqt2fsdGKnregcu5SGvS0P9rRS/h
|
||||
JRdkqPbndE05sZZxt8hBE4Sc1GIMeW9usA2GQaATK1xtq9pAWSF4UJ+y2aKxY6vI
|
||||
sGBRrtJ7zRjrM17k4xGe0kMqP0y4mqKRfm2QYDK/64UplhMgrUzods+NU1NpfHWb
|
||||
FlCOreubgjMeGl8wUpYTFNTO2GU74AjFnnpqU50v+5tHGqQ3rNq0VXwSifxj1ttK
|
||||
0w7DXLD4qVA1rjyK3fBTaIfvOFCc6ukhQiFq0cYUOBS3VDhz7lU=
|
||||
=2j7h
|
||||
-----END PGP SIGNATURE-----
|
BIN
openldap-2.6.8.tgz
(Stored with Git LFS)
Normal file
BIN
openldap-2.6.8.tgz
(Stored with Git LFS)
Normal file
Binary file not shown.
16
openldap-2.6.8.tgz.asc
Normal file
16
openldap-2.6.8.tgz.asc
Normal file
@ -0,0 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCgAdFiEEPOJptTmLyLeFZF6Yf2fV/Rzhy84FAmZM/ZwACgkQf2fV/Rzh
|
||||
y86ZGBAAl9Zlcgdpl5fvnQHx13BlTkRBzwe/55irE4T24QoYUupn69ScDW4HOMdI
|
||||
sqCAVewc86MNoRaX9ss7Ea9IyTMVOHTTNheeYmUJ3f3ZtmJSfTYoCvtCE3ZeM0zi
|
||||
QWYiofMirx//KKFqUP1Ewlb9DNInH5jeBLT3gcEd8BGL223WoepwSrpfyAKh3Tiv
|
||||
6nI+cjosTR2MvcOK6sLpJcXbLlc4Z5vuCeK3nWpdWhmOOZoTWrG7sEly+efGII2b
|
||||
as4c8BtzhKqegwdAsIbmL1q5wFl70wFzUgHpFMwLeill886ku45P9LJ9Ah3M//fN
|
||||
r3o0I1mi280xrKrh8lmAFW1NKLJibF3pA7oU3c032dQpZHjDuqMiMKfPZmAg6+5d
|
||||
KsVfMjC4oLB/Ho2T06ywkMUVVC/kGOfWFS2Z2y9dHWV6Uy8rsxSwMkkib+We4KbP
|
||||
kYyNvMJ+ZlnKNDNmuutpHPHDIYi42fQFBSUiP7JVy26I3xF9XVy479etxz2tLbrk
|
||||
ziPXE3ige3u2GtOk0l2OYbPHv5NtyEThHs0c4q/Po/90ZULyoh+PV8cXnZf1Or+k
|
||||
3Cr9H8xClXCBIRwFt6ISu+4DZVZKx64Sz/cctXqULmvGdBWpdQ1VqR/F3yp9ZgDO
|
||||
bEbgpAknFjQnTKe0YuOY+Kcs+s7SuU81z+WSWqwOTULurWcWmMU=
|
||||
=h0Ft
|
||||
-----END PGP SIGNATURE-----
|
@ -1,3 +1,25 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 31 05:11:48 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to relese 2.6.8
|
||||
* slapd: ability to log directly to a file bypassing syslog
|
||||
* back-ndb has been retired
|
||||
* back-sql and back-perl have been deprecated
|
||||
* lloadd enhancments:
|
||||
* Additional load balancing strategies
|
||||
* Additional options to improve coherence with certain
|
||||
controls and extended operations
|
||||
* Ability to log directly to a file bypassing syslog
|
||||
- Delete gcc14.patch, openldap2-fb9e6a81bbee.patch (merged)
|
||||
- Drop rcslapd symlink
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 29 17:06:34 UTC 2024 - Martin Jambor <mjambor@suse.com>
|
||||
|
||||
- Backported one hunk from upstream commit fb9e6a81bbee as
|
||||
openldap2-fb9e6a81bbee.patch to fix incompatible pointer type being
|
||||
passed to a function which is diagnosed as an error by GCC 14.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 25 07:46:05 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
@ -26,9 +26,9 @@
|
||||
%endif
|
||||
|
||||
Name: openldap2%{name_suffix}
|
||||
Version: 2.6.7
|
||||
Version: 2.6.8
|
||||
Release: 0
|
||||
Summary: An open source implementation of the Lightweight Directory Access Protocol
|
||||
Summary: An implementation of the Lightweight Directory Access Protocol
|
||||
License: OLDAP-2.8
|
||||
Group: Productivity/Networking/LDAP/Servers
|
||||
URL: https://www.openldap.org
|
||||
@ -56,7 +56,6 @@ Patch3: 0003-LDAPI-socket-location.dif
|
||||
Patch5: 0005-pie-compile.dif
|
||||
Patch8: 0008-In-monitor-backend-do-not-return-Connection0-entries.patch
|
||||
Patch16: 0016-Clear-shared-key-only-in-close-function.patch
|
||||
Patch17: gcc14.patch
|
||||
BuildRequires: argon2-devel
|
||||
BuildRequires: cyrus-sasl-devel
|
||||
BuildRequires: db-devel
|
||||
@ -92,7 +91,7 @@ Lightweight Directory Access Protocol v3 (LDAPv3).
|
||||
The server provides several database backends and overlays.
|
||||
|
||||
%package back-perl
|
||||
Summary: OpenLDAP Perl Back-End
|
||||
Summary: OpenLDAP Perl backend
|
||||
Group: Productivity/Networking/LDAP/Servers
|
||||
Requires: openldap2 = %{version}
|
||||
Requires: perl = %{perl_version}
|
||||
@ -102,7 +101,7 @@ The OpenLDAP Perl back-end allows you to execute Perl code specific to
|
||||
different LDAP operations.
|
||||
|
||||
%package back-sock
|
||||
Summary: OpenLDAP Socket Back-End
|
||||
Summary: OpenLDAP Socket backend
|
||||
Group: Productivity/Networking/LDAP/Servers
|
||||
Requires: openldap2 = %{version}
|
||||
Provides: openldap2:/usr/share/man/man5/slapd-sock.5.gz
|
||||
@ -112,7 +111,7 @@ The OpenLDAP socket back-end allows you to handle LDAP requests and
|
||||
results with an external process listening on a Unix domain socket.
|
||||
|
||||
%package back-meta
|
||||
Summary: OpenLDAP Meta Back-End
|
||||
Summary: OpenLDAP Meta backend
|
||||
Group: Productivity/Networking/LDAP/Servers
|
||||
Requires: openldap2 = %{version}
|
||||
Provides: openldap2:/usr/share/man/man5/slapd-meta.5.gz
|
||||
@ -124,7 +123,7 @@ these servers can be presented as belonging to a single Directory
|
||||
Information Tree (DIT).
|
||||
|
||||
%package back-sql
|
||||
Summary: OpenLDAP SQL Back-End
|
||||
Summary: OpenLDAP SQL backend
|
||||
Group: Productivity/Networking/LDAP/Servers
|
||||
Requires: openldap2 = %{version}
|
||||
|
||||
@ -185,12 +184,11 @@ OpenLDAP client utilities such as ldapadd, ldapsearch, ldapmodify.
|
||||
|
||||
%package devel
|
||||
Summary: Libraries, Header Files and Documentation for OpenLDAP
|
||||
# bug437293
|
||||
Group: Development/Libraries/C and C++
|
||||
%ifarch ppc64
|
||||
# bug437293
|
||||
Obsoletes: openldap2-devel-64bit
|
||||
%endif
|
||||
#
|
||||
Conflicts: openldap-devel
|
||||
Requires: libldap2 = %{version}
|
||||
Recommends: cyrus-sasl-devel
|
||||
@ -391,11 +389,8 @@ rm -f %{buildroot}/etc/openldap/schema/README
|
||||
rm -f %{buildroot}/etc/openldap/slapd.ldif*
|
||||
mv servers/slapd/back-sql/rdbms_depend servers/slapd/back-sql/examples
|
||||
|
||||
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcslapd
|
||||
|
||||
rm -f %{buildroot}%{_libdir}/openldap/*.a
|
||||
rm -f %{buildroot}/usr/share/man/man5/slapd-dnssrv.5
|
||||
rm -f %{buildroot}/usr/share/man/man5/slapd-ndb.5
|
||||
rm -f %{buildroot}/usr/share/man/man5/slapd-null.5
|
||||
rm -f %{buildroot}/usr/share/man/man5/slapd-passwd.5
|
||||
rm -f %{buildroot}/usr/share/man/man5/slapd-shell.5
|
||||
@ -455,7 +450,6 @@ ln -fs libldap.so "%{buildroot}%{_libdir}/libldap_r.so"
|
||||
%dir %{_sysconfdir}/openldap/schema
|
||||
%{_fillupdir}/sysconfig.openldap
|
||||
%{_sbindir}/slap*
|
||||
%{_sbindir}/rcslapd
|
||||
%{_libdir}/openldap/back_ldap*
|
||||
%{_libdir}/openldap/back_mdb*
|
||||
%{_libdir}/openldap/back_relay*
|
||||
@ -470,6 +464,7 @@ ln -fs libldap.so "%{buildroot}%{_libdir}/libldap_r.so"
|
||||
%{_libdir}/openldap/dynlist*
|
||||
%{_libdir}/openldap/homedir*
|
||||
%{_libdir}/openldap/memberof*
|
||||
%{_libdir}/openldap/nestgroup*
|
||||
%{_libdir}/openldap/otp*
|
||||
%{_libdir}/openldap/pcache*
|
||||
%{_libdir}/openldap/ppolicy*
|
||||
|
Loading…
Reference in New Issue
Block a user