forked from pool/openldap2
Accepting request 95567 from home:rhafer:branches:network:ldap
update to 2.4.28 OBS-URL: https://build.opensuse.org/request/show/95567 OBS-URL: https://build.opensuse.org/package/show/network:ldap/openldap2?expand=0&rev=76
This commit is contained in:
committed by
Git OBS Bridge
parent
0f87dd1131
commit
5d47a20f54
@@ -24,10 +24,10 @@ BuildRequires: cyrus-sasl-devel libopenssl-devel libtool
|
||||
%if %sles_version == 9 || %sles_version == 10
|
||||
BuildRequires: -libopenssl-devel -pwdutils openssl-devel
|
||||
%endif
|
||||
Version: 2.4.26
|
||||
Version: 2.4.28
|
||||
Release: 1
|
||||
Url: http://www.openldap.org
|
||||
License: BSD3c(or similar) ; openldap 2.8
|
||||
License: OpenLDAP 2.8
|
||||
%if "%{name}" == "openldap2"
|
||||
BuildRequires: db-devel openslp-devel tcpd-devel unixODBC-devel
|
||||
%if %sles_version == 9 || %sles_version == 10
|
||||
@@ -44,7 +44,6 @@ Conflicts: openldap-client
|
||||
Requires: libldap-2_4-2 = %{version}
|
||||
Summary: The OpenLDAP commandline client tools
|
||||
%endif
|
||||
AutoReqProv: on
|
||||
Source: openldap-%{version}.tgz
|
||||
Source1: openldap-rc.tgz
|
||||
Source2: addonschema.tar.gz
|
||||
@@ -59,15 +58,8 @@ Patch2: 0002-slapd.conf.dif
|
||||
Patch3: 0003-LDAPI-socket-location.dif
|
||||
Patch4: 0004-libldap-use-gethostbyname_r.dif
|
||||
Patch5: 0005-pie-compile.dif
|
||||
Patch6: 0006-assorted-fixes-for-back-config-DELETE-support.dif
|
||||
Patch7: 0007-No-Build-date-and-time-in-binaries.dif
|
||||
Patch8: 0008-Recover-on-DB-version-change.dif
|
||||
Patch9: 0009-unregister_supported_control-backport.dif
|
||||
Patch10: 0010-Fix-exposure-of-SSS-VLV-controls-ITS-6647.dif
|
||||
Patch11: 0011-config-delete-overlay-fixes.dif
|
||||
Patch12: 0012-backport-ConfigLDAPdel-callback-from-current-master.dif
|
||||
Patch13: 0013-UTF8StringNormalize-overrun-on-zero-length-string-ITS-.dif
|
||||
Patch14: 0014-ITS-7066-reworked-default-deny-ACL-for-cn-config.dif
|
||||
Patch6: 0006-No-Build-date-and-time-in-binaries.dif
|
||||
Patch7: 0007-Recover-on-DB-version-change.dif
|
||||
Patch100: openldap-2.3.37.dif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if "%{name}" == "openldap2"
|
||||
@@ -79,10 +71,8 @@ access a stand-alone LDAP directory service or to access a directory
|
||||
service that has an X.500 back-end.
|
||||
|
||||
%package -n openldap2-back-perl
|
||||
License: BSD3c(or similar) ; openldap 2.8
|
||||
Summary: OpenLDAP Perl Back-End
|
||||
Requires: openldap2 = %{version} perl = %{perl_version}
|
||||
AutoReqProv: on
|
||||
Group: Productivity/Networking/LDAP/Servers
|
||||
|
||||
%description -n openldap2-back-perl
|
||||
@@ -90,10 +80,8 @@ The OpenLDAP Perl back-end allows you to execute Perl code specific to
|
||||
different LDAP operations.
|
||||
|
||||
%package -n openldap2-back-meta
|
||||
License: BSD3c(or similar) ; openldap 2.8
|
||||
Summary: OpenLDAP Meta Back-End
|
||||
Requires: openldap2 = %{version}
|
||||
AutoReqProv: on
|
||||
Group: Productivity/Networking/LDAP/Servers
|
||||
Provides: openldap2:/usr/share/man/man5/slapd-meta.5.gz
|
||||
|
||||
@@ -104,10 +92,8 @@ these servers can be presented as belonging to a single Directory
|
||||
Information Tree (DIT).
|
||||
|
||||
%package -n openldap2-back-sql
|
||||
License: BSD3c(or similar) ; openldap 2.8
|
||||
Summary: OpenLDAP SQL Back-End
|
||||
Requires: openldap2 = %{version}
|
||||
AutoReqProv: on
|
||||
Group: Productivity/Networking/LDAP/Servers
|
||||
|
||||
%description -n openldap2-back-sql
|
||||
@@ -116,10 +102,8 @@ stored in a Relational (SQL) Database as an LDAP subtree without the need
|
||||
to do any programming.
|
||||
|
||||
%package -n openldap2-doc
|
||||
License: BSD3c(or similar) ; openldap 2.8
|
||||
Summary: OpenLDAP Documentation
|
||||
Group: Documentation/Other
|
||||
AutoReqProv: on
|
||||
Provides: openldap2:/usr/share/doc/packages/openldap2/drafts/README
|
||||
%if 0%{?suse_version} > 1110
|
||||
BuildArch: noarch
|
||||
@@ -134,9 +118,7 @@ The OpenLDAP Admin Guide plus a set of OpenLDAP related IETF internet drafts
|
||||
This package contains the OpenLDAP client utilities.
|
||||
|
||||
%package -n openldap2-devel
|
||||
License: BSD3c(or similar) ; openldap 2.8
|
||||
Summary: Libraries, Header Files and Documentation for OpenLDAP
|
||||
AutoReqProv: on
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
Obsoletes: openldap2-devel-64bit
|
||||
@@ -155,9 +137,7 @@ This package provides the OpenLDAP libraries, header files, and
|
||||
documentation.
|
||||
|
||||
%package -n libldap-2_4-2
|
||||
License: BSD3c(or similar) ; openldap 2.8
|
||||
Summary: OpenLDAP Client Libraries
|
||||
AutoReqProv: on
|
||||
Group: Productivity/Networking/LDAP/Clients
|
||||
|
||||
%description -n libldap-2_4-2
|
||||
@@ -171,18 +151,9 @@ This package contains the OpenLDAP client libraries.
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%if %suse_version > 920
|
||||
%patch5 -p1
|
||||
%endif
|
||||
%patch6 -p1
|
||||
%patch7 -p1
|
||||
%patch8 -p1
|
||||
%patch9 -p1
|
||||
%patch10 -p1
|
||||
%patch11 -p1
|
||||
%patch12 -p1
|
||||
%patch13 -p1
|
||||
%patch14 -p1
|
||||
cp %{SOURCE5} .
|
||||
cp %{SOURCE6} .
|
||||
cd ../openldap-2.3.37
|
||||
@@ -216,6 +187,7 @@ export STRIP=""
|
||||
--enable-monitor=yes \
|
||||
--enable-perl=mod \
|
||||
--enable-sql=mod \
|
||||
--enable-mdb=no \
|
||||
--enable-slp \
|
||||
--enable-overlays=mod \
|
||||
--enable-syncprov=yes \
|
||||
@@ -308,15 +280,17 @@ install -m 644 doc/guide/images/*.gif $RPM_BUILD_ROOT/%{DOCDIR}/images
|
||||
install -m 644 doc/drafts/* $RPM_BUILD_ROOT/%{DOCDIR}/drafts
|
||||
install -m 644 ANNOUNCEMENT \
|
||||
COPYRIGHT \
|
||||
INSTALL \
|
||||
LICENSE \
|
||||
README \
|
||||
CHANGES \
|
||||
%{SOURCE5} \
|
||||
%{SOURCE6} \
|
||||
$RPM_BUILD_ROOT/%{DOCDIR}
|
||||
install -m 644 servers/slapd/slapd.ldif \
|
||||
$RPM_BUILD_ROOT/%{DOCDIR}/slapd.ldif.default
|
||||
rm -f $RPM_BUILD_ROOT/etc/openldap/DB_CONFIG.example
|
||||
rm -f $RPM_BUILD_ROOT/etc/openldap/schema/README
|
||||
rm -f $RPM_BUILD_ROOT/etc/openldap/slapd.ldif*
|
||||
rm -f $RPM_BUILD_ROOT/var/run/slapd/openldap-data/DB_CONFIG.example
|
||||
mv servers/slapd/back-sql/rdbms_depend servers/slapd/back-sql/examples
|
||||
%if %suse_version < 1130
|
||||
@@ -326,6 +300,7 @@ install -m 755 ../openldap-2.3.37/servers/slapd/slapcat $RPM_BUILD_ROOT/usr/sbin
|
||||
%endif
|
||||
rm -f $RPM_BUILD_ROOT/usr/lib/openldap/modules/*.a
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man5/slapd-dnssrv.5
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man5/slapd-mdb.5
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man5/slapd-ndb.5
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man5/slapd-null.5
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/man/man5/slapd-passwd.5
|
||||
@@ -389,10 +364,10 @@ cat >openldap2.filelist <<EOF
|
||||
%dir %{DOCDIR}
|
||||
%doc %{DOCDIR}/ANNOUNCEMENT
|
||||
%doc %{DOCDIR}/COPYRIGHT
|
||||
%doc %{DOCDIR}/INSTALL
|
||||
%doc %{DOCDIR}/LICENSE
|
||||
%doc %{DOCDIR}/README*
|
||||
%doc %{DOCDIR}/CHANGES
|
||||
%doc %{DOCDIR}/slapd.ldif.default
|
||||
EOF
|
||||
%if %suse_version < 1130
|
||||
cat >>openldap2.filelist <<EOF
|
||||
|
Reference in New Issue
Block a user