2006-12-19 00:17:14 +01:00
|
|
|
#
|
2022-03-30 12:18:15 +02:00
|
|
|
# spec file
|
2006-12-19 00:17:14 +01:00
|
|
|
#
|
2022-03-30 12:18:15 +02:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2006-12-19 00:17:14 +01:00
|
|
|
#
|
2008-08-11 23:19:12 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-11-22 17:52:58 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2006-12-19 00:17:14 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2012-04-23 09:05:54 +02:00
|
|
|
%define run_test_suite 0
|
2022-05-25 12:53:16 +02:00
|
|
|
%define version_main 2.6.2
|
2020-08-21 09:12:10 +02:00
|
|
|
%define slapdrundir %{_rundir}/slapd
|
2022-03-30 12:18:15 +02:00
|
|
|
%define flavor @BUILD_FLAVOR@%{nil}
|
|
|
|
%if "%flavor" == "contrib"
|
|
|
|
%define name_suffix -%{flavor}-src
|
|
|
|
%else
|
|
|
|
%define name_suffix %{nil}
|
|
|
|
%endif
|
2016-02-18 16:54:30 +01:00
|
|
|
|
2022-03-30 12:18:15 +02:00
|
|
|
Name: openldap2%{name_suffix}
|
2016-02-09 15:32:56 +01:00
|
|
|
Summary: An open source implementation of the Lightweight Directory Access Protocol
|
2012-04-23 09:18:42 +02:00
|
|
|
License: OLDAP-2.8
|
2016-02-09 15:32:56 +01:00
|
|
|
Group: Productivity/Networking/LDAP/Servers
|
2016-01-21 14:36:42 +01:00
|
|
|
Version: %{version_main}
|
2012-04-23 09:18:42 +02:00
|
|
|
Release: 0
|
2020-06-07 15:53:40 +02:00
|
|
|
URL: https://www.openldap.org
|
2020-12-17 05:23:59 +01:00
|
|
|
Source0: https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-%{version_main}.tgz
|
|
|
|
Source1: https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-%{version_main}.tgz.asc
|
|
|
|
Source2: openldap2.keyring
|
2007-12-19 14:52:01 +01:00
|
|
|
Source4: sasl-slapd.conf
|
2016-01-21 14:36:42 +01:00
|
|
|
Source5: README.module-loading
|
2015-10-15 09:10:44 +02:00
|
|
|
Source6: schema2ldif
|
|
|
|
Source7: baselibs.conf
|
2016-06-16 13:24:20 +02:00
|
|
|
Source9: addonschema.tar.gz
|
2016-01-21 14:36:42 +01:00
|
|
|
Source12: slapd.conf.example
|
|
|
|
Source13: start
|
|
|
|
Source14: slapd.service
|
|
|
|
Source16: sysconfig.openldap
|
2018-11-08 18:42:38 +01:00
|
|
|
Source18: openldap2.conf
|
2020-08-21 09:12:10 +02:00
|
|
|
Source19: ldap-user.conf
|
2020-10-27 02:14:55 +01:00
|
|
|
Source20: fixup-modulepath.sh
|
|
|
|
Source21: slapd-ldif-update-crc.sh
|
|
|
|
Source22: update-crc.sh
|
2020-12-17 05:23:59 +01:00
|
|
|
Source23: slapd.conf
|
|
|
|
Source24: slapd.conf.olctemplate
|
2010-08-27 21:45:34 +02:00
|
|
|
Patch3: 0003-LDAPI-socket-location.dif
|
|
|
|
Patch5: 0005-pie-compile.dif
|
2016-01-25 14:05:16 +01:00
|
|
|
Patch8: 0008-In-monitor-backend-do-not-return-Connection0-entries.patch
|
2018-08-17 13:01:21 +02:00
|
|
|
Patch16: 0016-Clear-shared-key-only-in-close-function.patch
|
2022-05-22 02:07:21 +02:00
|
|
|
Patch17: 0017-Resolve-error-handling-in-new-ctx-when-global.patch
|
2016-02-18 16:54:30 +01:00
|
|
|
|
2006-12-19 00:17:14 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2022-04-11 23:25:05 +02:00
|
|
|
BuildRequires: argon2-devel
|
2014-12-24 17:13:00 +01:00
|
|
|
BuildRequires: cyrus-sasl-devel
|
2016-02-09 15:32:56 +01:00
|
|
|
BuildRequires: db-devel
|
2014-12-24 17:13:00 +01:00
|
|
|
BuildRequires: groff
|
|
|
|
BuildRequires: libopenssl-devel
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: openslp-devel
|
2020-08-21 09:12:10 +02:00
|
|
|
BuildRequires: sysuser-tools
|
2014-12-24 17:13:00 +01:00
|
|
|
BuildRequires: unixODBC-devel
|
|
|
|
# avoid cycle with krb5
|
2020-01-01 18:19:14 +01:00
|
|
|
BuildRequires: pkgconfig(krb5)
|
2014-12-24 17:13:00 +01:00
|
|
|
BuildRequires: pkgconfig(systemd)
|
2022-03-30 12:18:15 +02:00
|
|
|
%if "%flavor" == "contrib"
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: openldap2-devel
|
|
|
|
%endif
|
2018-05-24 13:27:29 +02:00
|
|
|
%if %{suse_version} < 1500
|
2014-12-24 17:13:00 +01:00
|
|
|
%{?systemd_requires}
|
|
|
|
%endif
|
2020-11-11 13:14:04 +01:00
|
|
|
Requires: /usr/bin/awk
|
2022-04-11 22:23:11 +02:00
|
|
|
Requires: libldap2 = %{version_main}
|
2016-02-09 15:32:56 +01:00
|
|
|
Recommends: cyrus-sasl
|
|
|
|
Conflicts: openldap
|
2020-08-21 09:12:10 +02:00
|
|
|
PreReq: %fillup_prereq
|
|
|
|
%sysusers_requires
|
2014-12-24 17:13:00 +01:00
|
|
|
|
2006-12-19 00:17:14 +01:00
|
|
|
%description
|
2016-01-21 14:36:42 +01:00
|
|
|
OpenLDAP is a client and server reference implementation of the
|
|
|
|
Lightweight Directory Access Protocol v3 (LDAPv3).
|
|
|
|
|
|
|
|
The server provides several database backends and overlays.
|
2006-12-19 00:17:14 +01:00
|
|
|
|
2016-02-18 14:35:22 +01:00
|
|
|
%package back-perl
|
2006-12-19 00:17:14 +01:00
|
|
|
Summary: OpenLDAP Perl Back-End
|
|
|
|
Group: Productivity/Networking/LDAP/Servers
|
2014-02-11 13:31:42 +01:00
|
|
|
Requires: openldap2 = %{version_main}
|
2012-04-23 09:18:42 +02:00
|
|
|
Requires: perl = %{perl_version}
|
2006-12-19 00:17:14 +01:00
|
|
|
|
2016-02-18 14:35:22 +01:00
|
|
|
%description back-perl
|
2006-12-19 00:17:14 +01:00
|
|
|
The OpenLDAP Perl back-end allows you to execute Perl code specific to
|
|
|
|
different LDAP operations.
|
|
|
|
|
2016-02-18 14:35:22 +01:00
|
|
|
%package back-sock
|
2016-01-21 14:36:42 +01:00
|
|
|
Summary: OpenLDAP Socket Back-End
|
|
|
|
Group: Productivity/Networking/LDAP/Servers
|
|
|
|
Requires: openldap2 = %{version_main}
|
|
|
|
Provides: openldap2:/usr/share/man/man5/slapd-sock.5.gz
|
|
|
|
|
2016-02-18 14:35:22 +01:00
|
|
|
%description back-sock
|
2016-01-21 14:36:42 +01:00
|
|
|
The OpenLDAP socket back-end allows you to handle LDAP requests and
|
|
|
|
results with an external process listening on a Unix domain socket.
|
|
|
|
|
2016-02-18 14:35:22 +01:00
|
|
|
%package back-meta
|
2006-12-19 00:17:14 +01:00
|
|
|
Summary: OpenLDAP Meta Back-End
|
|
|
|
Group: Productivity/Networking/LDAP/Servers
|
2014-02-11 13:31:42 +01:00
|
|
|
Requires: openldap2 = %{version_main}
|
2006-12-19 00:17:14 +01:00
|
|
|
Provides: openldap2:/usr/share/man/man5/slapd-meta.5.gz
|
|
|
|
|
2016-02-18 14:35:22 +01:00
|
|
|
%description back-meta
|
2006-12-19 00:17:14 +01:00
|
|
|
The OpenLDAP Meta back-end is able to perform basic LDAP proxying with
|
|
|
|
respect to a set of remote LDAP servers. The information contained in
|
|
|
|
these servers can be presented as belonging to a single Directory
|
|
|
|
Information Tree (DIT).
|
|
|
|
|
2016-02-18 14:35:22 +01:00
|
|
|
%package back-sql
|
2010-08-27 21:45:34 +02:00
|
|
|
Summary: OpenLDAP SQL Back-End
|
|
|
|
Group: Productivity/Networking/LDAP/Servers
|
2014-02-11 13:31:42 +01:00
|
|
|
Requires: openldap2 = %{version_main}
|
2010-08-27 21:45:34 +02:00
|
|
|
|
2016-02-18 14:35:22 +01:00
|
|
|
%description back-sql
|
2010-08-27 21:45:34 +02:00
|
|
|
The primary purpose of this OpenLDAP backend is to present information
|
|
|
|
stored in a Relational (SQL) Database as an LDAP subtree without the need
|
|
|
|
to do any programming.
|
|
|
|
|
2016-02-25 13:10:13 +01:00
|
|
|
%package -n libldap-data
|
2016-07-25 09:56:24 +02:00
|
|
|
Summary: Configuration file for system-wide defaults for all uses of libldap
|
2017-10-02 16:37:04 +02:00
|
|
|
Group: Productivity/Networking/LDAP/Clients
|
2016-02-23 10:47:44 +01:00
|
|
|
BuildArch: noarch
|
|
|
|
|
2016-02-25 13:10:13 +01:00
|
|
|
%description -n libldap-data
|
|
|
|
The subpackage contains a configuration file used to set system-wide defaults
|
|
|
|
to be applied with all usages of libldap.
|
2016-02-23 10:47:44 +01:00
|
|
|
|
2016-02-18 14:35:22 +01:00
|
|
|
%package contrib
|
2016-01-21 14:36:42 +01:00
|
|
|
Summary: OpenLDAP Contrib Modules
|
|
|
|
Group: Productivity/Networking/LDAP/Servers
|
|
|
|
Requires: openldap2 = %{version_main}
|
|
|
|
|
2016-02-18 14:35:22 +01:00
|
|
|
%description contrib
|
2016-01-21 14:36:42 +01:00
|
|
|
Various overlays found in contrib/:
|
2017-04-29 11:21:48 +02:00
|
|
|
addpartial Intercepts ADD requests, applies changes to existing entries
|
2016-02-18 14:35:22 +01:00
|
|
|
allop
|
2016-01-21 14:36:42 +01:00
|
|
|
allowed Generates attributes indicating access rights
|
2016-02-18 14:35:22 +01:00
|
|
|
autogroup
|
2022-04-11 23:25:05 +02:00
|
|
|
authzid implements RFC 3829 support
|
2016-02-18 14:35:22 +01:00
|
|
|
cloak
|
2022-04-11 23:25:05 +02:00
|
|
|
datamorph store enumerated values and fixed size integers
|
2016-02-18 14:35:22 +01:00
|
|
|
denyop
|
2016-01-21 14:36:42 +01:00
|
|
|
lastbind writes last bind timestamp to entry
|
|
|
|
noopsrch handles no-op search control
|
|
|
|
pw-sha2 generates/validates SHA-2 password hashes
|
|
|
|
pw-pbkdf2 generates/validates PBKDF2 password hashes
|
|
|
|
smbk5pwd generates Samba3 password hashes (heimdal krb disabled)
|
2017-07-20 16:49:37 +02:00
|
|
|
trace traces overlay invocation
|
2022-04-11 23:25:05 +02:00
|
|
|
variant allows attributes/values to be shared between several entries
|
|
|
|
vc implements the verify credentials extended operation
|
2016-01-21 14:36:42 +01:00
|
|
|
|
2016-02-18 14:35:22 +01:00
|
|
|
%package doc
|
2010-11-09 16:13:38 +01:00
|
|
|
Summary: OpenLDAP Documentation
|
|
|
|
Group: Documentation/Other
|
|
|
|
Provides: openldap2:/usr/share/doc/packages/openldap2/drafts/README
|
|
|
|
BuildArch: noarch
|
2016-07-25 09:56:24 +02:00
|
|
|
|
2016-02-18 14:35:22 +01:00
|
|
|
%description doc
|
2016-02-09 15:32:56 +01:00
|
|
|
The OpenLDAP Admin Guide plus a set of OpenLDAP related IETF internet drafts.
|
2016-01-21 14:36:42 +01:00
|
|
|
|
2016-02-18 14:35:22 +01:00
|
|
|
%package client
|
2016-02-09 15:32:56 +01:00
|
|
|
Summary: OpenLDAP client utilities
|
|
|
|
Group: Productivity/Networking/LDAP/Clients
|
2022-04-11 22:23:11 +02:00
|
|
|
Requires: libldap2 = %{version_main}
|
2016-02-09 15:32:56 +01:00
|
|
|
|
2016-02-18 14:35:22 +01:00
|
|
|
%description client
|
2016-02-09 15:32:56 +01:00
|
|
|
OpenLDAP client utilities such as ldapadd, ldapsearch, ldapmodify.
|
2009-08-06 18:21:51 +02:00
|
|
|
|
2016-02-18 14:35:22 +01:00
|
|
|
%package devel
|
2008-02-25 17:35:54 +01:00
|
|
|
Summary: Libraries, Header Files and Documentation for OpenLDAP
|
2017-07-17 21:02:36 +02:00
|
|
|
# bug437293
|
2017-10-02 20:38:04 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2009-01-09 01:42:38 +01:00
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: openldap2-devel-64bit
|
|
|
|
%endif
|
|
|
|
#
|
2008-06-25 18:32:44 +02:00
|
|
|
Conflicts: openldap-devel
|
2022-04-11 22:23:11 +02:00
|
|
|
Requires: libldap2 = %{version_main}
|
2016-01-21 14:36:42 +01:00
|
|
|
Recommends: cyrus-sasl-devel
|
2013-06-14 08:43:36 +02:00
|
|
|
|
2016-02-18 14:35:22 +01:00
|
|
|
%description devel
|
2013-06-14 08:43:36 +02:00
|
|
|
This package provides the OpenLDAP libraries, header files, and
|
|
|
|
documentation.
|
|
|
|
|
2016-02-18 14:35:22 +01:00
|
|
|
%package devel-static
|
2013-06-14 08:43:36 +02:00
|
|
|
Summary: Static libraries for the OpenLDAP libraries
|
|
|
|
Group: Development/Libraries/C and C++
|
2012-04-23 09:18:42 +02:00
|
|
|
Requires: cyrus-sasl-devel
|
2014-12-24 17:13:00 +01:00
|
|
|
Requires: libopenssl-devel
|
|
|
|
Requires: openldap2-devel = %version
|
2006-12-19 00:17:14 +01:00
|
|
|
|
2016-02-18 14:35:22 +01:00
|
|
|
%description devel-static
|
2013-06-14 08:43:36 +02:00
|
|
|
This package provides the static versions of the OpenLDAP libraries
|
|
|
|
for development.
|
2006-12-19 00:17:14 +01:00
|
|
|
|
2022-04-11 22:23:11 +02:00
|
|
|
%package -n libldap2
|
2008-06-25 18:32:44 +02:00
|
|
|
Summary: OpenLDAP Client Libraries
|
|
|
|
Group: Productivity/Networking/LDAP/Clients
|
2016-02-25 13:10:13 +01:00
|
|
|
Recommends: libldap-data >= %{version_main}
|
2008-06-25 18:32:44 +02:00
|
|
|
|
2022-04-11 22:23:11 +02:00
|
|
|
%description -n libldap2
|
2008-06-25 18:32:44 +02:00
|
|
|
This package contains the OpenLDAP client libraries.
|
|
|
|
|
2022-03-30 12:18:15 +02:00
|
|
|
%package -n libldapcpp-devel
|
|
|
|
Summary: C++ wrapper around openLDAP API
|
|
|
|
Group: Development/Libraries/C and C++
|
2022-04-11 22:23:11 +02:00
|
|
|
Requires: libldapcpp0 = %{version_main}
|
2022-03-30 12:18:15 +02:00
|
|
|
Requires: openldap2-devel
|
|
|
|
|
|
|
|
%description -n libldapcpp-devel
|
|
|
|
This package contains files needed for development with the LDAP C++
|
|
|
|
library.
|
|
|
|
|
|
|
|
%package -n libldapcpp0
|
|
|
|
Summary: C++ wrapper around openLDAP API
|
|
|
|
Group: Development/Libraries/C and C++
|
2022-04-11 22:23:11 +02:00
|
|
|
Provides: ldapcpplib = %{version_main}
|
2022-03-30 12:18:15 +02:00
|
|
|
Obsoletes: ldapcpplib <= 0.0.5
|
|
|
|
|
|
|
|
%description -n libldapcpp0
|
|
|
|
This package provides a C++ library for accessing LDAP (Version 3)
|
|
|
|
Servers
|
|
|
|
|
2006-12-19 00:17:14 +01:00
|
|
|
%prep
|
2016-06-16 13:24:20 +02:00
|
|
|
%setup -q -a 9 -n openldap-%{version_main}
|
2010-08-27 21:45:34 +02:00
|
|
|
%patch3 -p1
|
|
|
|
%patch5 -p1
|
2016-01-25 14:05:16 +01:00
|
|
|
%patch8 -p1
|
2018-08-17 13:01:21 +02:00
|
|
|
%patch16 -p1
|
2022-05-22 02:07:21 +02:00
|
|
|
%patch17 -p1
|
2009-04-23 23:12:13 +02:00
|
|
|
cp %{SOURCE5} .
|
2006-12-19 00:17:14 +01:00
|
|
|
|
|
|
|
%build
|
2022-03-30 12:18:15 +02:00
|
|
|
%if "%flavor" == "contrib"
|
|
|
|
cd contrib/ldapc++
|
|
|
|
%configure --disable-static
|
2022-04-11 22:23:11 +02:00
|
|
|
%make_build
|
2022-03-30 12:18:15 +02:00
|
|
|
%else
|
2019-08-13 10:20:19 +02:00
|
|
|
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
2016-05-17 10:42:16 +02:00
|
|
|
export CFLAGS="%{optflags} -Wno-format-extra-args -fno-strict-aliasing -DNDEBUG -DSLAP_CONFIG_DELETE -DSLAP_SCHEMA_EXPOSE -DLDAP_COLLECTIVE_ATTRIBUTES -DLDAP_USE_NON_BLOCKING_TLS"
|
2010-08-27 21:45:34 +02:00
|
|
|
export STRIP=""
|
2016-01-21 14:36:42 +01:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--sysconfdir=%{_sysconfdir} \
|
|
|
|
--libdir=%{_libdir} \
|
2020-06-08 15:44:06 +02:00
|
|
|
--libexecdir=%{_libdir} \
|
2020-08-21 09:12:10 +02:00
|
|
|
--localstatedir=%{slapdrundir} \
|
2016-01-21 14:36:42 +01:00
|
|
|
--enable-wrappers=no \
|
2006-12-19 00:17:14 +01:00
|
|
|
--enable-spasswd \
|
|
|
|
--enable-modules \
|
|
|
|
--enable-shared \
|
|
|
|
--enable-dynamic \
|
2016-01-21 14:36:42 +01:00
|
|
|
--with-tls=openssl \
|
2006-12-19 00:17:14 +01:00
|
|
|
--with-cyrus-sasl \
|
|
|
|
--enable-crypt \
|
|
|
|
--enable-ipv6=yes \
|
2021-08-26 22:16:29 +02:00
|
|
|
--enable-dynacl \
|
2006-12-19 00:17:14 +01:00
|
|
|
--enable-aci \
|
2016-01-21 14:36:42 +01:00
|
|
|
--enable-ldap=mod \
|
2006-12-19 00:17:14 +01:00
|
|
|
--enable-meta=mod \
|
|
|
|
--enable-perl=mod \
|
2016-01-21 14:36:42 +01:00
|
|
|
--enable-sock=mod \
|
2010-08-27 21:45:34 +02:00
|
|
|
--enable-sql=mod \
|
2016-01-21 14:36:42 +01:00
|
|
|
--enable-mdb=mod \
|
|
|
|
--enable-relay=mod \
|
2006-12-19 00:17:14 +01:00
|
|
|
--enable-slp \
|
2010-11-10 16:39:43 +01:00
|
|
|
--enable-overlays=mod \
|
2016-01-21 14:36:42 +01:00
|
|
|
--enable-syncprov=mod \
|
|
|
|
--enable-ppolicy=mod \
|
|
|
|
--with-yielding-select \
|
2022-04-11 23:25:05 +02:00
|
|
|
--with-argon2=libargon2 \
|
2016-01-21 14:36:42 +01:00
|
|
|
|| cat config.log
|
2006-12-19 00:17:14 +01:00
|
|
|
make depend
|
2022-04-11 22:23:11 +02:00
|
|
|
%make_build
|
2016-01-21 14:36:42 +01:00
|
|
|
# Build selected contrib overlays
|
2022-04-11 23:25:05 +02:00
|
|
|
for SLAPO_NAME in addpartial allowed allop autogroup authzid datamorph lastbind denyop cloak noopsrch passwd/sha2 passwd/pbkdf2 trace variant vc
|
2016-01-21 14:36:42 +01:00
|
|
|
do
|
2020-06-08 15:44:06 +02:00
|
|
|
make -C contrib/slapd-modules/${SLAPO_NAME} %{?_smp_mflags} "sysconfdir=%{_sysconfdir}/openldap" "libdir=%{_libdir}" "libexecdir=%{_libdir}"
|
2016-01-21 14:36:42 +01:00
|
|
|
done
|
|
|
|
# slapo-smbk5pwd only for Samba password hashes
|
2020-06-08 15:44:06 +02:00
|
|
|
make -C contrib/slapd-modules/smbk5pwd %{?_smp_mflags} "sysconfdir=%{_sysconfdir}/openldap" "libdir=%{_libdir}" "libexecdir=%{_libdir}" DEFS="-DDO_SAMBA" HEIMDAL_LIB=""
|
2007-10-30 01:33:48 +01:00
|
|
|
|
2020-08-21 09:12:10 +02:00
|
|
|
# Create ldap user
|
|
|
|
%sysusers_generate_pre %{SOURCE19} ldap
|
2022-03-30 12:18:15 +02:00
|
|
|
%endif
|
2016-02-18 16:54:30 +01:00
|
|
|
|
2007-10-30 01:33:48 +01:00
|
|
|
%check
|
2009-12-11 13:08:02 +01:00
|
|
|
%if %run_test_suite
|
2006-12-19 00:17:14 +01:00
|
|
|
# calculate the base port to be use in the test-suite
|
|
|
|
SLAPD_BASEPORT=10000
|
|
|
|
if [ -f /.buildenv ] ; then
|
|
|
|
. /.buildenv
|
2008-08-13 17:27:01 +02:00
|
|
|
SLAPD_BASEPORT=$(($SLAPD_BASEPORT + ${BUILD_INCARNATION:-0} * 10))
|
2006-12-19 00:17:14 +01:00
|
|
|
fi
|
|
|
|
export SLAPD_BASEPORT
|
|
|
|
%ifnarch %arm alpha
|
2008-10-06 19:05:59 +02:00
|
|
|
rm -f tests/scripts/test019-syncreplication-cascade
|
2007-12-19 14:52:01 +01:00
|
|
|
rm -f tests/scripts/test022-ppolicy
|
2009-08-06 18:21:51 +02:00
|
|
|
rm -f tests/scripts/test023-refint
|
2008-10-06 19:05:59 +02:00
|
|
|
rm -f tests/scripts/test033-glue-syncrepl
|
2009-08-06 18:21:51 +02:00
|
|
|
#rm -f tests/scripts/test036-meta-concurrency
|
|
|
|
#rm -f tests/scripts/test039-glue-ldap-concurrency
|
2008-10-06 19:05:59 +02:00
|
|
|
rm -f tests/scripts/test043-delta-syncrepl
|
2009-08-06 18:21:51 +02:00
|
|
|
#rm -f tests/scripts/test045-syncreplication-proxied
|
2008-10-06 19:05:59 +02:00
|
|
|
rm -f tests/scripts/test048-syncrepl-multiproxy
|
|
|
|
rm -f tests/scripts/test050-syncrepl-multimaster
|
2009-08-06 18:21:51 +02:00
|
|
|
rm -f tests/scripts/test058-syncrepl-asymmetric
|
2008-09-26 15:06:42 +02:00
|
|
|
make SLAPD_DEBUG=0 test
|
2006-12-19 00:17:14 +01:00
|
|
|
%endif
|
2009-12-11 13:08:02 +01:00
|
|
|
%endif
|
2006-12-19 00:17:14 +01:00
|
|
|
|
|
|
|
%install
|
2022-03-30 12:18:15 +02:00
|
|
|
%if "%flavor" == "contrib"
|
|
|
|
cd contrib/ldapc++
|
|
|
|
%make_install
|
|
|
|
%else
|
2020-06-07 11:35:33 +02:00
|
|
|
mkdir -p %{buildroot}%{_libdir}/openldap
|
2018-11-22 17:52:58 +01:00
|
|
|
mkdir -p %{buildroot}/usr/lib/openldap
|
2020-06-07 15:53:40 +02:00
|
|
|
mkdir -p %{buildroot}%{_sbindir}
|
|
|
|
mkdir -p %{buildroot}%{_unitdir}
|
2020-06-08 15:44:06 +02:00
|
|
|
make STRIP="" DESTDIR="%{buildroot}" "sysconfdir=%{_sysconfdir}/openldap" "libdir=%{_libdir}" "libexecdir=%{_libdir}" install
|
2016-01-21 14:36:42 +01:00
|
|
|
# Additional symbolic link to slapd executable in /usr/sbin/
|
2020-06-08 15:44:06 +02:00
|
|
|
ln -s %{_libdir}/slapd %{buildroot}%{_sbindir}/slapd
|
2016-01-21 14:36:42 +01:00
|
|
|
# Install selected contrib overlays
|
2022-04-11 23:25:05 +02:00
|
|
|
for SLAPO_NAME in addpartial allowed allop autogroup authzid datamorph lastbind denyop cloak noopsrch passwd/sha2 passwd/pbkdf2 trace variant vc
|
2016-01-21 14:36:42 +01:00
|
|
|
do
|
2020-06-08 15:44:06 +02:00
|
|
|
make -C contrib/slapd-modules/${SLAPO_NAME} STRIP="" DESTDIR="%{buildroot}" "mandir=%{_mandir}" "sysconfdir=%{_sysconfdir}/openldap" "libdir=%{_libdir}" "libexecdir=%{_libdir}" install
|
2016-01-21 14:36:42 +01:00
|
|
|
done
|
|
|
|
# slapo-smbk5pwd only for Samba password hashes
|
2021-08-26 22:16:29 +02:00
|
|
|
make -C contrib/slapd-modules/smbk5pwd STRIP="" DESTDIR="%{buildroot}" "mandir=%{_mandir}" "sysconfdir=%{_sysconfdir}/openldap" "libdir=%{_libdir}" "libexecdir=%{_libdir}" install
|
2018-11-22 17:52:58 +01:00
|
|
|
install -m 755 %{SOURCE13} %{buildroot}/usr/lib/openldap/start
|
2020-06-07 11:35:33 +02:00
|
|
|
install -m 644 %{SOURCE14} %{buildroot}%{_unitdir}
|
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/openldap/slapd.d
|
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/sasl2
|
|
|
|
install -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/sasl2/slapd.conf
|
2018-11-22 17:52:58 +01:00
|
|
|
install -m 755 -d %{buildroot}/var/lib/ldap
|
2020-06-07 11:35:33 +02:00
|
|
|
chmod a+x %{buildroot}%{_libdir}/liblber.so*
|
2021-08-26 22:16:29 +02:00
|
|
|
chmod a+x %{buildroot}%{_libdir}/libldap.so*
|
2020-06-07 15:53:40 +02:00
|
|
|
install -m 755 %{SOURCE6} %{buildroot}%{_sbindir}/schema2ldif
|
2020-06-07 11:35:33 +02:00
|
|
|
mkdir -p %{buildroot}%{_tmpfilesdir}/
|
|
|
|
install -m 644 %{SOURCE18} %{buildroot}%{_tmpfilesdir}/
|
2020-08-21 09:12:10 +02:00
|
|
|
mkdir -p %{buildroot}%{_sysusersdir}
|
|
|
|
install -m 644 %{SOURCE19} %{buildroot}%{_sysusersdir}/
|
2016-02-09 15:32:56 +01:00
|
|
|
|
2020-10-27 02:14:55 +01:00
|
|
|
install -m 755 %{SOURCE19} ${RPM_BUILD_ROOT}/usr/lib/openldap/fixup-modulepath
|
|
|
|
install -m 755 %{SOURCE20} ${RPM_BUILD_ROOT}/%{_sbindir}/slapd-ldif-update-crc
|
|
|
|
install -m 755 %{SOURCE21} ${RPM_BUILD_ROOT}/usr/lib/openldap/update-crc
|
|
|
|
|
2020-06-07 11:35:33 +02:00
|
|
|
mkdir -p %{buildroot}%{_fillupdir}
|
|
|
|
install -m 644 %{SOURCE16} %{buildroot}%{_fillupdir}/sysconfig.openldap
|
|
|
|
install -m 644 *.ldif %{buildroot}%{_sysconfdir}/openldap/schema
|
|
|
|
install -m 644 *.schema %{buildroot}%{_sysconfdir}/openldap/schema
|
2016-02-09 15:32:56 +01:00
|
|
|
# Install default and sample configuration files
|
2020-12-17 05:23:59 +01:00
|
|
|
install -m 644 %{SOURCE23} %{buildroot}%{_sysconfdir}/openldap
|
|
|
|
install -m 644 %{SOURCE24} %{buildroot}%{_sysconfdir}/openldap
|
2020-06-07 11:35:33 +02:00
|
|
|
install -m 644 %{SOURCE12} %{buildroot}%{_sysconfdir}/openldap
|
2017-03-28 23:05:07 +02:00
|
|
|
find doc/guide '(' ! -name *.html -a ! -name *.gif -a ! -name *.png -a ! -type d ')' -delete
|
2007-12-19 14:52:01 +01:00
|
|
|
rm -rf doc/guide/release
|
2016-02-09 15:32:56 +01:00
|
|
|
|
|
|
|
%define DOCDIR %{_defaultdocdir}/%{name}
|
2018-11-08 17:36:16 +01:00
|
|
|
# Install default database optimisation
|
2020-06-07 11:35:33 +02:00
|
|
|
install -d %{buildroot}%{DOCDIR}/adminguide \
|
|
|
|
%{buildroot}%{DOCDIR}/images \
|
|
|
|
%{buildroot}%{DOCDIR}/drafts
|
|
|
|
install -m 644 doc/guide/admin/* %{buildroot}%{DOCDIR}/adminguide
|
|
|
|
install -m 644 doc/guide/images/*.gif %{buildroot}%{DOCDIR}/images
|
|
|
|
install -m 644 doc/drafts/* %{buildroot}%{DOCDIR}/drafts
|
2010-11-10 16:39:43 +01:00
|
|
|
install -m 644 ANNOUNCEMENT \
|
|
|
|
COPYRIGHT \
|
|
|
|
README \
|
|
|
|
CHANGES \
|
|
|
|
%{SOURCE5} \
|
2020-06-07 11:35:33 +02:00
|
|
|
%{buildroot}%{DOCDIR}
|
2011-12-06 13:54:38 +01:00
|
|
|
install -m 644 servers/slapd/slapd.ldif \
|
2020-06-07 11:35:33 +02:00
|
|
|
%{buildroot}%{DOCDIR}/slapd.ldif.default
|
2018-11-22 17:52:58 +01:00
|
|
|
rm -f %{buildroot}/etc/openldap/schema/README
|
|
|
|
rm -f %{buildroot}/etc/openldap/slapd.ldif*
|
2010-09-29 11:24:42 +02:00
|
|
|
mv servers/slapd/back-sql/rdbms_depend servers/slapd/back-sql/examples
|
2016-02-09 15:32:56 +01:00
|
|
|
|
2014-02-19 14:45:44 +01:00
|
|
|
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcslapd
|
2016-02-09 15:32:56 +01:00
|
|
|
|
2020-06-07 11:35:33 +02:00
|
|
|
rm -f %{buildroot}%{_libdir}/openldap/*.a
|
2018-11-22 17:52:58 +01:00
|
|
|
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
|
|
|
|
rm -f %{buildroot}/usr/share/man/man5/slapd-tcl.5
|
2006-12-19 00:17:14 +01:00
|
|
|
# Remove *.la files, libtool does not handle this correct
|
2021-08-26 22:16:29 +02:00
|
|
|
# Keep .la files for modules in the openldap subdirectory, which are consumed
|
|
|
|
# in this form.
|
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
2010-08-27 21:45:34 +02:00
|
|
|
|
2021-08-26 22:16:29 +02:00
|
|
|
# Provide a libldap_r for backwards-compatibility with OpenLDAP < 2.5.
|
|
|
|
ln -fs libldap.so "%{buildroot}%{_libdir}/libldap_r.so"
|
2022-03-30 12:18:15 +02:00
|
|
|
%endif
|
2017-10-02 20:38:04 +02:00
|
|
|
|
2020-08-21 09:12:10 +02:00
|
|
|
%pre -f ldap.pre
|
2016-02-09 15:32:56 +01:00
|
|
|
%service_add_pre slapd.service
|
|
|
|
|
|
|
|
%post
|
|
|
|
%{fillup_only -n openldap ldap}
|
2019-05-14 06:53:20 +02:00
|
|
|
%tmpfiles_create %{name}.conf
|
2016-02-09 15:32:56 +01:00
|
|
|
%service_add_post slapd.service
|
|
|
|
|
2022-04-11 22:23:11 +02:00
|
|
|
%post -n libldap2 -p /sbin/ldconfig
|
|
|
|
%postun -n libldap2 -p /sbin/ldconfig
|
2016-02-09 15:32:56 +01:00
|
|
|
|
|
|
|
%preun
|
|
|
|
%service_del_preun slapd.service
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%service_del_postun slapd.service
|
|
|
|
|
2022-03-30 12:18:15 +02:00
|
|
|
%if "%flavor" == "contrib"
|
|
|
|
%files -n libldapcpp-devel
|
|
|
|
%doc contrib/ldapc++/README
|
|
|
|
%_includedir/*.h
|
|
|
|
%_libdir/libldapcpp.la
|
|
|
|
%_libdir/libldapcpp.so
|
|
|
|
|
|
|
|
%files -n libldapcpp0
|
|
|
|
%_libdir/libldapcpp.so.0
|
|
|
|
%_libdir/libldapcpp.so.0.0.0
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
2016-02-09 15:32:56 +01:00
|
|
|
%files
|
|
|
|
%config %{_sysconfdir}/openldap/schema/*.schema
|
|
|
|
%config %{_sysconfdir}/openldap/schema/*.ldif
|
|
|
|
%config(noreplace) /etc/sasl2/slapd.conf
|
|
|
|
%config(noreplace) %attr(640, root, ldap) %{_sysconfdir}/openldap/slapd.conf
|
|
|
|
%config(noreplace) %attr(640, root, ldap) %{_sysconfdir}/openldap/slapd.conf.olctemplate
|
|
|
|
%config %attr(640, root, ldap) %{_sysconfdir}/openldap/slapd.conf.default
|
|
|
|
%config %attr(640, root, ldap) %{_sysconfdir}/openldap/slapd.conf.example
|
|
|
|
%dir %{_libdir}/openldap
|
2020-06-07 11:35:33 +02:00
|
|
|
%dir /usr/lib/openldap
|
2016-02-09 15:32:56 +01:00
|
|
|
%dir %{_sysconfdir}/sasl2
|
|
|
|
%dir %{_sysconfdir}/openldap
|
|
|
|
%dir %attr(0770, ldap, ldap) %{_sysconfdir}/openldap/slapd.d
|
|
|
|
%dir %{_sysconfdir}/openldap/schema
|
2017-11-23 15:51:00 +01:00
|
|
|
%{_fillupdir}/sysconfig.openldap
|
2016-02-09 15:32:56 +01:00
|
|
|
%{_sbindir}/slap*
|
|
|
|
%{_sbindir}/rcslapd
|
2020-06-08 15:44:06 +02:00
|
|
|
%{_libdir}/openldap/back_ldap*
|
|
|
|
%{_libdir}/openldap/back_mdb*
|
|
|
|
%{_libdir}/openldap/back_relay*
|
|
|
|
%{_libdir}/openldap/accesslog*
|
|
|
|
%{_libdir}/openldap/auditlog*
|
2021-08-26 22:16:29 +02:00
|
|
|
%{_libdir}/openldap/autoca*
|
2020-06-08 15:44:06 +02:00
|
|
|
%{_libdir}/openldap/collect*
|
|
|
|
%{_libdir}/openldap/constraint*
|
|
|
|
%{_libdir}/openldap/dds*
|
|
|
|
%{_libdir}/openldap/deref*
|
|
|
|
%{_libdir}/openldap/dyngroup*
|
|
|
|
%{_libdir}/openldap/dynlist*
|
2021-08-26 22:16:29 +02:00
|
|
|
%{_libdir}/openldap/homedir*
|
2020-06-08 15:44:06 +02:00
|
|
|
%{_libdir}/openldap/memberof*
|
2021-08-26 22:16:29 +02:00
|
|
|
%{_libdir}/openldap/otp*
|
2020-06-08 15:44:06 +02:00
|
|
|
%{_libdir}/openldap/pcache*
|
2021-08-26 22:16:29 +02:00
|
|
|
%{_libdir}/openldap/ppolicy*
|
|
|
|
%{_libdir}/openldap/remoteauth*
|
2020-06-08 15:44:06 +02:00
|
|
|
%{_libdir}/openldap/refint*
|
|
|
|
%{_libdir}/openldap/retcode*
|
|
|
|
%{_libdir}/openldap/rwm*
|
|
|
|
%{_libdir}/openldap/seqmod*
|
|
|
|
%{_libdir}/openldap/sssvlv*
|
|
|
|
%{_libdir}/openldap/syncprov*
|
|
|
|
%{_libdir}/openldap/translucent*
|
|
|
|
%{_libdir}/openldap/unique*
|
|
|
|
%{_libdir}/openldap/valsort*
|
|
|
|
%{_libdir}/slapd
|
2020-06-07 11:35:33 +02:00
|
|
|
/usr/lib/openldap/start
|
2020-10-27 02:14:55 +01:00
|
|
|
/usr/lib/openldap/update-crc
|
|
|
|
/usr/lib/openldap/fixup-modulepath
|
2016-01-21 14:36:42 +01:00
|
|
|
%{_unitdir}/slapd.service
|
2020-06-07 11:35:33 +02:00
|
|
|
%{_tmpfilesdir}/%{name}.conf
|
2020-08-21 09:12:10 +02:00
|
|
|
%{_sysusersdir}/ldap-user.conf
|
2020-06-07 11:35:33 +02:00
|
|
|
%dir %attr(0750, ldap, ldap) %{_sharedstatedir}/ldap
|
2020-08-21 09:12:10 +02:00
|
|
|
%ghost %attr(0750, ldap, ldap) %{slapdrundir}
|
2006-12-19 00:17:14 +01:00
|
|
|
%doc %{_mandir}/man8/sl*
|
2021-08-26 22:16:29 +02:00
|
|
|
%doc %{_mandir}/man8/lloadd.*
|
|
|
|
%doc %{_mandir}/man5/lloadd.conf.*
|
2006-12-19 00:17:14 +01:00
|
|
|
%doc %{_mandir}/man5/slapd.*
|
2021-08-26 22:16:29 +02:00
|
|
|
%doc %{_mandir}/man5/slapd-asyncmeta.*
|
2007-12-19 14:52:01 +01:00
|
|
|
%doc %{_mandir}/man5/slapd-config.*
|
2006-12-19 00:17:14 +01:00
|
|
|
%doc %{_mandir}/man5/slapd-ldap.*
|
|
|
|
%doc %{_mandir}/man5/slapd-ldif.*
|
2012-10-26 16:27:11 +02:00
|
|
|
%doc %{_mandir}/man5/slapd-mdb.*
|
2006-12-19 00:17:14 +01:00
|
|
|
%doc %{_mandir}/man5/slapd-monitor.*
|
2021-08-26 22:16:29 +02:00
|
|
|
%doc %{_mandir}/man5/slapd-pw-*
|
2006-12-19 00:17:14 +01:00
|
|
|
%doc %{_mandir}/man5/slapd-relay.*
|
2021-08-26 22:16:29 +02:00
|
|
|
%doc %{_mandir}/man5/slapd-wt.*
|
2006-12-19 00:17:14 +01:00
|
|
|
%doc %{_mandir}/man5/slapo-*
|
2021-08-26 22:16:29 +02:00
|
|
|
%doc %{_mandir}/man5/slappw-argon2.*
|
2010-11-10 16:39:43 +01:00
|
|
|
%dir %{DOCDIR}
|
2010-11-09 16:13:38 +01:00
|
|
|
%doc %{DOCDIR}/ANNOUNCEMENT
|
|
|
|
%doc %{DOCDIR}/COPYRIGHT
|
2018-02-26 10:33:01 +01:00
|
|
|
%license LICENSE
|
2010-11-10 16:39:43 +01:00
|
|
|
%doc %{DOCDIR}/README*
|
2010-11-09 16:13:38 +01:00
|
|
|
%doc %{DOCDIR}/CHANGES
|
2011-12-06 13:54:38 +01:00
|
|
|
%doc %{DOCDIR}/slapd.ldif.default
|
2016-02-09 15:32:56 +01:00
|
|
|
|
2016-02-18 14:35:22 +01:00
|
|
|
%files back-perl
|
2020-06-08 15:44:06 +02:00
|
|
|
%{_libdir}/openldap/back_perl*
|
2006-12-19 00:17:14 +01:00
|
|
|
%doc %{_mandir}/man5/slapd-perl.*
|
2016-02-09 15:32:56 +01:00
|
|
|
|
2016-02-18 14:35:22 +01:00
|
|
|
%files back-sock
|
2020-06-08 15:44:06 +02:00
|
|
|
%{_libdir}/openldap/back_sock*
|
2016-01-21 14:36:42 +01:00
|
|
|
%doc %{_mandir}/man5/slapd-sock.*
|
2016-02-09 15:32:56 +01:00
|
|
|
|
2016-02-18 14:35:22 +01:00
|
|
|
%files back-meta
|
2020-06-08 15:44:06 +02:00
|
|
|
%{_libdir}/openldap/back_meta*
|
2006-12-19 00:17:14 +01:00
|
|
|
%doc %{_mandir}/man5/slapd-meta.*
|
2016-02-09 15:32:56 +01:00
|
|
|
|
2016-02-18 14:35:22 +01:00
|
|
|
%files back-sql
|
2020-06-08 15:44:06 +02:00
|
|
|
%{_libdir}/openldap/back_sql*
|
2010-08-27 21:45:34 +02:00
|
|
|
%doc %{_mandir}/man5/slapd-sql.*
|
2010-09-29 11:24:42 +02:00
|
|
|
%doc servers/slapd/back-sql/examples
|
2010-08-27 21:45:34 +02:00
|
|
|
%doc servers/slapd/back-sql/docs/bugs
|
|
|
|
%doc servers/slapd/back-sql/docs/install
|
2016-02-09 15:32:56 +01:00
|
|
|
|
2016-02-25 13:10:13 +01:00
|
|
|
%files -n libldap-data
|
2016-02-23 10:47:44 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/openldap/ldap.conf
|
|
|
|
%doc %{_mandir}/man5/ldap.conf*
|
|
|
|
%{_sysconfdir}/openldap/ldap.conf.default
|
|
|
|
|
2016-02-18 14:35:22 +01:00
|
|
|
%files doc
|
2016-02-09 15:32:56 +01:00
|
|
|
%dir %{DOCDIR}
|
|
|
|
%doc %{DOCDIR}/drafts
|
|
|
|
%doc %{DOCDIR}/adminguide
|
|
|
|
%doc %{DOCDIR}/images
|
|
|
|
|
2016-02-18 14:35:22 +01:00
|
|
|
%files contrib
|
2020-06-08 15:44:06 +02:00
|
|
|
%{_libdir}/openldap/addpartial.*
|
|
|
|
%{_libdir}/openldap/allop.*
|
2022-04-11 23:25:05 +02:00
|
|
|
%{_libdir}/openldap/allowed.*
|
|
|
|
%{_libdir}/openldap/authzid.*
|
2020-06-08 15:44:06 +02:00
|
|
|
%{_libdir}/openldap/autogroup.*
|
2022-04-11 23:25:05 +02:00
|
|
|
%{_libdir}/openldap/cloak.*
|
|
|
|
%{_libdir}/openldap/datamorph.*
|
|
|
|
%{_libdir}/openldap/denyop.*
|
2020-06-08 15:44:06 +02:00
|
|
|
%{_libdir}/openldap/lastbind.*
|
|
|
|
%{_libdir}/openldap/noopsrch.*
|
|
|
|
%{_libdir}/openldap/pw-pbkdf2.*
|
2022-04-11 23:25:05 +02:00
|
|
|
%{_libdir}/openldap/pw-sha2.*
|
2020-06-08 15:44:06 +02:00
|
|
|
%{_libdir}/openldap/smbk5pwd.*
|
|
|
|
%{_libdir}/openldap/trace.*
|
2022-04-11 23:25:05 +02:00
|
|
|
%{_libdir}/openldap/variant.*
|
|
|
|
%{_libdir}/openldap/vc.*
|
2006-12-19 00:17:14 +01:00
|
|
|
|
2016-02-18 14:35:22 +01:00
|
|
|
%files client
|
2016-02-09 15:32:56 +01:00
|
|
|
%doc %{_mandir}/man1/ldap*
|
|
|
|
%doc %{_mandir}/man5/ldif.*
|
|
|
|
%dir /etc/openldap
|
|
|
|
/usr/sbin/schema2ldif
|
|
|
|
/usr/bin/ldapadd
|
|
|
|
/usr/bin/ldapcompare
|
|
|
|
/usr/bin/ldapdelete
|
|
|
|
/usr/bin/ldapexop
|
|
|
|
/usr/bin/ldapmodify
|
|
|
|
/usr/bin/ldapmodrdn
|
|
|
|
/usr/bin/ldapsearch
|
|
|
|
/usr/bin/ldappasswd
|
|
|
|
/usr/bin/ldapurl
|
2021-08-26 22:16:29 +02:00
|
|
|
/usr/bin/ldapvc
|
2016-02-09 15:32:56 +01:00
|
|
|
/usr/bin/ldapwhoami
|
2006-12-19 00:17:14 +01:00
|
|
|
|
2022-04-11 22:23:11 +02:00
|
|
|
%files -n libldap2
|
|
|
|
%{_libdir}/liblber.so.*
|
|
|
|
%{_libdir}/libldap.so.*
|
2008-06-25 18:32:44 +02:00
|
|
|
|
2016-02-18 14:35:22 +01:00
|
|
|
%files devel
|
2016-02-09 15:32:56 +01:00
|
|
|
%doc %{_mandir}/man3/ber*
|
|
|
|
%doc %{_mandir}/man3/lber*
|
|
|
|
%doc %{_mandir}/man3/ld_errno*
|
|
|
|
%doc %{_mandir}/man3/ldap*
|
|
|
|
%{_includedir}/*.h
|
|
|
|
%{_libdir}/liblber.so
|
|
|
|
%{_libdir}/libldap*.so
|
2021-08-26 22:16:29 +02:00
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2013-06-14 08:43:36 +02:00
|
|
|
|
2016-02-18 14:35:22 +01:00
|
|
|
%files devel-static
|
2016-02-09 15:32:56 +01:00
|
|
|
%_libdir/liblber.a
|
|
|
|
%_libdir/libldap*.a
|
2007-12-19 14:52:01 +01:00
|
|
|
|
2022-03-30 12:18:15 +02:00
|
|
|
%endif # !flavor:contrib
|
|
|
|
|
2007-02-25 23:33:24 +01:00
|
|
|
%changelog
|