summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/openldap/PKGBUILD19
1 files changed, 8 insertions, 11 deletions
diff --git a/abs/core/openldap/PKGBUILD b/abs/core/openldap/PKGBUILD
index 304224d..4d1ed07 100644
--- a/abs/core/openldap/PKGBUILD
+++ b/abs/core/openldap/PKGBUILD
@@ -1,28 +1,22 @@
-# $Id$
# Maintainer:
pkgbase=openldap
pkgname=('openldap' 'libldap')
-pkgver=2.4.45
-pkgrel=4
+pkgver=2.4.53
+pkgrel=3
arch=('x86_64')
url="https://www.openldap.org/"
license=('custom')
-makedepends=('libltdl' 'libsasl' 'e2fsprogs' 'util-linux' 'chrpath' 'unixodbc')
+makedepends=('libtool' 'libsasl' 'e2fsprogs' 'util-linux' 'chrpath' 'unixodbc')
options=('!makeflags' 'emptydirs')
source=(https://www.openldap.org/software/download/OpenLDAP/openldap-release/${pkgbase}-${pkgver}.tgz
slapd.service openldap.tmpfiles openldap.sysusers openldap-ntlm.patch)
-sha1sums=('c98437385d3eaee80c9e2c09f3f0d4b7c140233d'
+sha1sums=('9a03db5cc02fd8b0afc5bf11fb10f7cd5260bcf0'
'2441815efbfa01ad7a1d39068e5503b53d1d04b0'
'1f68bd85fb50595c4e916db164d8e90e0c6e21ee'
'2bf64351c32b0bf0a70663bd42de22910998b795'
'e4afd9f1c810ef4c4cd8fe1101dfe5887f2b7eef')
-# see http://www.openldap.org/faq/data/cache/756.html
-# there's no proper backend support for anything apart from
-# BerkeleyDB, if we don't want to drop local backend server support
-# we are forced to keep Berkeley DB here
-
prepare() {
cd ${pkgbase}-${pkgver}
patch -p1 -i "${srcdir}"/openldap-ntlm.patch
@@ -41,6 +35,9 @@ build() {
--enable-crypt --enable-spasswd --enable-modules \
--enable-backends --disable-ndb --enable-overlays=mod \
--with-cyrus-sasl --with-threads
+
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
make
make -C contrib/slapd-modules/nssov OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap
@@ -78,7 +75,7 @@ package_libldap() {
package_openldap() {
pkgdesc="Lightweight Directory Access Protocol (LDAP) client and server"
- depends=("libldap>=${pkgver}" 'libltdl' 'unixodbc')
+ depends=("libldap>=${pkgver}" 'libtool' 'unixodbc' 'perl')
backup=('etc/openldap/slapd.conf' 'etc/openldap/slapd.ldif')
cd ${pkgbase}-${pkgver}