[arch-commits] CVS update of arch/build/lib/libldap (PKGBUILD)

Jan de Groot jgc at archlinux.org
Wed May 2 20:46:22 UTC 2007


    Date: Wednesday, May 2, 2007 @ 16:46:22
  Author: jgc
    Path: /home/cvs-arch/arch/build/lib/libldap

Modified: PKGBUILD (1.7 -> 1.8)

upgpkg: libldap 2.3.35-1
Remove db from depends, libldap does not link to it. Add license, this one will be the base package with license information for all other openldap packages built from this source


----------+
 PKGBUILD |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)


Index: arch/build/lib/libldap/PKGBUILD
diff -u arch/build/lib/libldap/PKGBUILD:1.7 arch/build/lib/libldap/PKGBUILD:1.8
--- arch/build/lib/libldap/PKGBUILD:1.7	Sat Apr 28 18:34:02 2007
+++ arch/build/lib/libldap/PKGBUILD	Wed May  2 16:46:22 2007
@@ -1,13 +1,14 @@
-# $Id: PKGBUILD,v 1.7 2007/04/28 22:34:02 andyrtr Exp $
+# $Id: PKGBUILD,v 1.8 2007/05/02 20:46:22 jgc Exp $
 # Maintainer: Judd Vinet <jvinet at zeroflux.org>
 pkgname=libldap
 pkgver=2.3.35
 pkgrel=1
 pkgdesc="LDAP client libraries"
 arch=(i686 x86_64)
+license=('custom')
 url="http://www.openldap.org/"
 backup=(etc/openldap/ldap.conf)
-depends=('db>=4.5' 'libsasl' 'openssl>=0.9.8d')
+depends=('libsasl' 'openssl>=0.9.8e')
 options=('nolibtool')
 source=(ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-${pkgver}.tgz
 	ntlm.patch)
@@ -48,4 +49,8 @@
 
   ln -sf liblber.so ${startdir}/pkg/usr/lib/liblber.so.2
   ln -sf libldap.so ${startdir}/pkg/usr/lib/libldap.so.2
+
+  mkdir -p ${startdir}/pkg/usr/share/licenses/openldap
+  install -m644 ${startdir}/src/openldap-${pkgver}/LICENSE \
+    ${startdir}/pkg/usr/share/licenses/openldap/
 }




More information about the arch-commits mailing list