summaryrefslogtreecommitdiff
path: root/extra/nss_ldap
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-07-04 03:57:35 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-07-04 03:57:35 +0000
commit32fb2c222ff8558d8abdfa411e8487dc9a3c0696 (patch)
tree75539d1ce5e644234d0c1f85faebd3ae17c2377d /extra/nss_ldap
parent92723c41135cfb106d37d4343603e63dc99922ca (diff)
Fri Jul 4 03:52:39 UTC 2014
Diffstat (limited to 'extra/nss_ldap')
-rw-r--r--extra/nss_ldap/PKGBUILD17
1 files changed, 13 insertions, 4 deletions
diff --git a/extra/nss_ldap/PKGBUILD b/extra/nss_ldap/PKGBUILD
index 3f07c65ce..e45deeeae 100644
--- a/extra/nss_ldap/PKGBUILD
+++ b/extra/nss_ldap/PKGBUILD
@@ -1,21 +1,30 @@
-# $Id: PKGBUILD 216157 2014-07-01 17:54:11Z fyan $
+# $Id: PKGBUILD 216417 2014-07-03 16:19:50Z fyan $
# Maintainer:
# Contributor: Comete <la_comete@tiscali.fr>
pkgname=nss_ldap
pkgver=265
-pkgrel=5
+pkgrel=6
pkgdesc="The nss_ldap module provides the means for Linux and Solaris workstations to resolve the entities defined in RFC 2307 from LDAP directories."
arch=('i686' 'x86_64')
url="http://www.padl.com/OSS/nss_ldap.html"
license=('LGPL')
depends=('libldap' 'krb5')
backup=("etc/nss_ldap.conf")
-source=("http://www.padl.com/download/${pkgname}-${pkgver}.tar.gz")
-md5sums=('c1cb02d1a85538cf16bca6f6a562abe4')
+source=("http://www.padl.com/download/${pkgname}-${pkgver}.tar.gz"
+ "https://raw.githubusercontent.com/archlinuxarm/PKGBUILDs/6a27f55c8370f8b49fd3c10d46214de9c9c37932/extra/nss_ldap/nss_ldap-265-glibc-2.16.patch"
+ "https://raw.githubusercontent.com/archlinuxarm/PKGBUILDs/6a27f55c8370f8b49fd3c10d46214de9c9c37932/extra/nss_ldap/nss_ldap-265-pthread.patch")
+md5sums=('c1cb02d1a85538cf16bca6f6a562abe4'
+ '49df78dc482f90f5c3d850a664308216'
+ '38c881edcb8df6b426f8a9d8f269d567')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # FS#41068
+ patch -p0 -i ../nss_ldap-265-glibc-2.16.patch
+ patch -p0 -i ../nss_ldap-265-pthread.patch
+
./configure \
--prefix=/usr \
--with-ldap-conf-file=/etc/nss_ldap.conf \