1
0
forked from pool/openldap2
OBS User unknown 2009-06-19 23:13:14 +00:00 committed by Git OBS Bridge
parent e2297fe130
commit 774d0f624b
5 changed files with 53 additions and 17 deletions

View File

@ -343,3 +343,18 @@ Index: include/ldap_pvt_thread.h
#endif #endif
#endif /* !LDAP_PVT_THREAD_H_DONE */ #endif /* !LDAP_PVT_THREAD_H_DONE */
Index: libraries/liblutil/getpeereid.c
===================================================================
--- libraries/liblutil/getpeereid.c.orig
+++ libraries/liblutil/getpeereid.c
@@ -13,7 +13,9 @@
* top-level directory of the distribution or, alternatively, at
* <http://www.OpenLDAP.org/license.html>.
*/
-
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE 1 /* Needed for glibc struct ucred */
+#endif
#include "portable.h"
#ifndef HAVE_GETPEEREID

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jun 15 12:12:17 CEST 2009 - rhafer@novell.com
- Fixed complilation with newer glibc (2.3.X release needs
GNU_SOURCE defined as well in getpeerid.c)
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Apr 29 17:07:33 CEST 2009 - rhafer@novell.com Wed Apr 29 17:07:33 CEST 2009 - rhafer@novell.com

View File

@ -27,21 +27,21 @@ BuildRequires: -db-devel -libopenssl-devel -pwdutils libdb-4_5-devel openssl-de
BuildRequires: -db-devel -libopenssl-devel -pwdutils libdb-4_5-devel openssl-devel BuildRequires: -db-devel -libopenssl-devel -pwdutils libdb-4_5-devel openssl-devel
%endif %endif
Version: 2.4.16 Version: 2.4.16
Release: 2 Release: 3
Url: http://www.openldap.org Url: http://www.openldap.org
License: BSD 3-Clause License: BSD 3-clause (or similar) ; openldap 2.8
%if "%{name}" == "openldap2" %if "%{name}" == "openldap2"
Group: Productivity/Networking/LDAP/Clients Group: Productivity/Networking/LDAP/Servers
Provides: ldap2 openldap2-back-ldap openldap2-back-monitor Provides: ldap2 openldap2-back-ldap openldap2-back-monitor
Obsoletes: openldap2-back-ldap openldap2-back-monitor Obsoletes: openldap2-back-ldap openldap2-back-monitor
Conflicts: openldap Conflicts: openldap
Requires: libldap-2_4-2 = %{version} Requires: libldap-2_4-2 = %{version}
PreReq: %insserv_prereq %fillup_prereq /usr/sbin/useradd /usr/sbin/groupadd /usr/bin/grep PreReq: %insserv_prereq %fillup_prereq /usr/sbin/useradd /usr/sbin/groupadd /usr/bin/grep
Summary: OpenLDAP Client Utilities Summary: The OpenLDAP Server
%else %else
Group: Productivity/Networking/LDAP/Clients Group: Productivity/Networking/LDAP/Servers
Conflicts: openldap-client Conflicts: openldap-client
Summary: OpenLDAP Client Utilities Summary: The OpenLDAP Server
%endif %endif
AutoReqProv: on AutoReqProv: on
Source: openldap-%{version}.tar.bz2 Source: openldap-%{version}.tar.bz2
@ -65,7 +65,10 @@ Patch200: slapd_getaddrinfo_dupl.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
This package contains the OpenLDAP client utilities. The Lightweight Directory Access Protocol (LDAP) is used to access
online directory services. It runs directly over TCP and can be used to
access a stand-alone LDAP directory service or to access a directory
service that has an X.500 back-end.
@ -76,7 +79,7 @@ Authors:
%if "%{name}" == "openldap2" %if "%{name}" == "openldap2"
%package -n openldap2-back-perl %package -n openldap2-back-perl
License: BSD 3-Clause License: BSD 3-clause (or similar)
Summary: OpenLDAP Perl Back-End Summary: OpenLDAP Perl Back-End
Requires: openldap2 = %{version} perl = %{perl_version} Requires: openldap2 = %{version} perl = %{perl_version}
AutoReqProv: on AutoReqProv: on
@ -93,7 +96,7 @@ Authors:
The OpenLDAP Project <project@openldap.org> The OpenLDAP Project <project@openldap.org>
%package -n openldap2-back-meta %package -n openldap2-back-meta
License: BSD 3-Clause License: BSD 3-clause (or similar)
Summary: OpenLDAP Meta Back-End Summary: OpenLDAP Meta Back-End
Requires: openldap2 = %{version} Requires: openldap2 = %{version}
AutoReqProv: on AutoReqProv: on
@ -115,7 +118,7 @@ Authors:
%else %else
%package -n openldap2-devel %package -n openldap2-devel
License: BSD 3-Clause; openldap 2.8 License: BSD 3-clause (or similar) ; openldap 2.8
Summary: Libraries, Header Files and Documentation for OpenLDAP Summary: Libraries, Header Files and Documentation for OpenLDAP
AutoReqProv: on AutoReqProv: on
# bug437293 # bug437293
@ -142,7 +145,7 @@ Authors:
The OpenLDAP Project <project@openldap.org> The OpenLDAP Project <project@openldap.org>
%package -n libldap-2_4-2 %package -n libldap-2_4-2
License: BSD 3-Clause; openldap 2.8 License: BSD 3-clause (or similar) ; openldap 2.8
Summary: OpenLDAP Client Libraries Summary: OpenLDAP Client Libraries
AutoReqProv: on AutoReqProv: on
Group: Productivity/Networking/LDAP/Clients Group: Productivity/Networking/LDAP/Clients
@ -536,6 +539,9 @@ fi
%endif %endif
%changelog %changelog
* Mon Jun 15 2009 rhafer@novell.com
- Fixed complilation with newer glibc (2.3.X release needs
GNU_SOURCE defined as well in getpeerid.c)
* Wed Apr 29 2009 rhafer@novell.com * Wed Apr 29 2009 rhafer@novell.com
- gcc 4.4 fixes - gcc 4.4 fixes
* Mon Apr 06 2009 rhafer@suse.de * Mon Apr 06 2009 rhafer@suse.de

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jun 15 12:12:17 CEST 2009 - rhafer@novell.com
- Fixed complilation with newer glibc (2.3.X release needs
GNU_SOURCE defined as well in getpeerid.c)
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Apr 29 17:07:33 CEST 2009 - rhafer@novell.com Wed Apr 29 17:07:33 CEST 2009 - rhafer@novell.com

View File

@ -27,9 +27,9 @@ BuildRequires: -db-devel -libopenssl-devel -pwdutils libdb-4_5-devel openssl-de
BuildRequires: -db-devel -libopenssl-devel -pwdutils libdb-4_5-devel openssl-devel BuildRequires: -db-devel -libopenssl-devel -pwdutils libdb-4_5-devel openssl-devel
%endif %endif
Version: 2.4.16 Version: 2.4.16
Release: 2 Release: 3
Url: http://www.openldap.org Url: http://www.openldap.org
License: BSD 3-Clause; openldap 2.8 License: BSD 3-clause (or similar) ; openldap 2.8
%if "%{name}" == "openldap2" %if "%{name}" == "openldap2"
Group: Productivity/Networking/LDAP/Servers Group: Productivity/Networking/LDAP/Servers
Provides: ldap2 openldap2-back-ldap openldap2-back-monitor Provides: ldap2 openldap2-back-ldap openldap2-back-monitor
@ -79,7 +79,7 @@ Authors:
%if "%{name}" == "openldap2" %if "%{name}" == "openldap2"
%package -n openldap2-back-perl %package -n openldap2-back-perl
License: BSD 3-Clause License: BSD 3-clause (or similar)
Summary: OpenLDAP Perl Back-End Summary: OpenLDAP Perl Back-End
Requires: openldap2 = %{version} perl = %{perl_version} Requires: openldap2 = %{version} perl = %{perl_version}
AutoReqProv: on AutoReqProv: on
@ -96,7 +96,7 @@ Authors:
The OpenLDAP Project <project@openldap.org> The OpenLDAP Project <project@openldap.org>
%package -n openldap2-back-meta %package -n openldap2-back-meta
License: BSD 3-Clause License: BSD 3-clause (or similar)
Summary: OpenLDAP Meta Back-End Summary: OpenLDAP Meta Back-End
Requires: openldap2 = %{version} Requires: openldap2 = %{version}
AutoReqProv: on AutoReqProv: on
@ -118,7 +118,7 @@ Authors:
%else %else
%package -n openldap2-devel %package -n openldap2-devel
License: BSD 3-Clause; openldap 2.8 License: BSD 3-clause (or similar) ; openldap 2.8
Summary: Libraries, Header Files and Documentation for OpenLDAP Summary: Libraries, Header Files and Documentation for OpenLDAP
AutoReqProv: on AutoReqProv: on
# bug437293 # bug437293
@ -145,7 +145,7 @@ Authors:
The OpenLDAP Project <project@openldap.org> The OpenLDAP Project <project@openldap.org>
%package -n libldap-2_4-2 %package -n libldap-2_4-2
License: BSD 3-Clause; openldap 2.8 License: BSD 3-clause (or similar) ; openldap 2.8
Summary: OpenLDAP Client Libraries Summary: OpenLDAP Client Libraries
AutoReqProv: on AutoReqProv: on
Group: Productivity/Networking/LDAP/Clients Group: Productivity/Networking/LDAP/Clients
@ -539,6 +539,9 @@ fi
%endif %endif
%changelog %changelog
* Mon Jun 15 2009 rhafer@novell.com
- Fixed complilation with newer glibc (2.3.X release needs
GNU_SOURCE defined as well in getpeerid.c)
* Wed Apr 29 2009 rhafer@novell.com * Wed Apr 29 2009 rhafer@novell.com
- gcc 4.4 fixes - gcc 4.4 fixes
* Mon Apr 06 2009 rhafer@suse.de * Mon Apr 06 2009 rhafer@suse.de