openldap won't build with libdb >= 6 because of an incompatible
license change of libdb. Hence we have to use an older version
from compat-db.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
###############################################################################
name = openldap
-version = 2.4.40
-release = 2
+version = 2.4.44
+release = 1
groups = System/Daemons
url = http://www.openldap.org/
automake
cyrus-sasl-devel
groff
- libdb-devel
+ # Cannot be built with libdb 6 and above
+ # because of an incompatibility with AGPL
+ libdb-devel < 6
libtool
libtool-devel
openssl-devel
configure_options += \
--libexecdir=%{libdir} \
- --sysconfdir=/etc \
- --localstatedir=/var \
--with-threads=posix \
--disable-perl \
--enable-dynamic \
prepare_cmds
%{create_user}
-
- # for aarch64
- for i in $(find . -name config.guess -or -name config.sub); do
- cp -vf %{datadir}/automake-*/config.{guess,sub} $(dirname ${i})
- done
end
install_cmds