Date: Thursday, July 3, 2014 @ 18:18:23 Author: fyan Revision: 216416
upgpkg: nss_ldap 265-6 - add patches to fix FS#41068 Modified: nss_ldap/trunk/PKGBUILD ----------+ PKGBUILD | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-07-03 16:15:49 UTC (rev 216415) +++ PKGBUILD 2014-07-03 16:18:23 UTC (rev 216416) @@ -4,7 +4,7 @@ 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" @@ -11,11 +11,20 @@ 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 \