summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2020-09-29 02:22:18 (GMT)
committerBritney Fransen <brfransen@gmail.com>2020-09-29 02:22:18 (GMT)
commit0546c5286cb6dbb72066dce20036571c7d3f7f18 (patch)
tree579084896c8c86b3e6a3f3f2b1a9553784192d2a /abs
parent54846dcfb0ea5e68353a6fea0c773645ab494ea7 (diff)
downloadlinhes_pkgbuild-0546c5286cb6dbb72066dce20036571c7d3f7f18.zip
linhes_pkgbuild-0546c5286cb6dbb72066dce20036571c7d3f7f18.tar.gz
linhes_pkgbuild-0546c5286cb6dbb72066dce20036571c7d3f7f18.tar.bz2
openldap: update to 2.4.53
Diffstat (limited to 'abs')
-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}