[arch-commits] Commit in nss_ldap/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Thu Jun 7 07:35:54 UTC 2018
Date: Thursday, June 7, 2018 @ 07:35:54
Author: arojas
Revision: 326178
archrelease: copy trunk to extra-x86_64
Added:
nss_ldap/repos/extra-x86_64/PKGBUILD
(from rev 326177, nss_ldap/trunk/PKGBUILD)
Deleted:
nss_ldap/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 93 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 47 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-07 07:35:31 UTC (rev 326177)
+++ PKGBUILD 2018-06-07 07:35:54 UTC (rev 326178)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer:
-# Contributor: Comete <la_comete at tiscali.fr>
-
-pkgname=nss_ldap
-pkgver=265
-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"
- "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 \
- --with-ldap=openldap \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --enable-schema-mapping \
- --enable-rfc2307bis \
- --enable-configurable-krb5-ccname-gssapi
- env PATH=`pwd`:"$PATH" make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- # buildsystem is trying to be clever and hardcodes symlinks in /usr$(libdir)
- rm -rf "${pkgdir}/usr/usr"
-}
Copied: nss_ldap/repos/extra-x86_64/PKGBUILD (from rev 326177, nss_ldap/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-06-07 07:35:54 UTC (rev 326178)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer:
+# Contributor: Comete <la_comete at tiscali.fr>
+
+pkgname=nss_ldap
+pkgver=265
+pkgrel=7
+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=('x86_64')
+url="http://www.padl.com/OSS/nss_ldap.html"
+license=('LGPL')
+depends=('libldap' 'krb5')
+backup=("etc/nss_ldap.conf")
+source=("https://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
+
+ export PERL5LIB="$PWD"
+ ./configure \
+ --prefix=/usr \
+ --with-ldap-conf-file=/etc/nss_ldap.conf \
+ --with-ldap=openldap \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --enable-schema-mapping \
+ --enable-rfc2307bis \
+ --enable-configurable-krb5-ccname-gssapi
+ env PATH=`pwd`:"$PATH" make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ # buildsystem is trying to be clever and hardcodes symlinks in /usr$(libdir)
+ rm -rf "${pkgdir}/usr/usr"
+}
More information about the arch-commits
mailing list