[arch-commits] Commit in openldap/trunk (PKGBUILD)

Andrea Scarpino andrea at archlinux.org
Tue Jun 22 14:36:26 EDT 2010


    Date: Tuesday, June 22, 2010 @ 14:36:26
  Author: andrea
Revision: 83740

upgpkg: openldap 2.4.22-1
upstream release

Modified:
  openldap/trunk/PKGBUILD

----------+
 PKGBUILD |   42 ++++++++++++++++++++++++++++--------------
 1 file changed, 28 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-06-22 18:36:07 UTC (rev 83739)
+++ PKGBUILD	2010-06-22 18:36:26 UTC (rev 83740)
@@ -1,22 +1,22 @@
 # $Id$
-# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Maintainer:
 # Contributor: Judd Vinet <jvinet at zeroflux.org>
 
 pkgname=openldap
-pkgver=2.4.21
-pkgrel=2
+pkgver=2.4.22
+pkgrel=1
 pkgdesc="LDAP Server"
 arch=('i686' 'x86_64')
 license=('custom')
 url="http://www.openldap.org/"
 backup=(etc/openldap/slapd.conf etc/default/slapd)
-depends=("libldap>=${pkgver}" 'db>=4.8.26' 'tcp_wrappers' 'libfetch' 'util-linux-ng')
+depends=("libldap>=${pkgver}" 'db' 'tcp_wrappers' 'libfetch' 'util-linux-ng')
 provides=('openldap-clients')
 replaces=('openldap-clients')
-source=(ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/${pkgname}-${pkgver}.tgz
+source=("ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/${pkgname}-${pkgver}.tgz"
 	'slapd'
 	'slapd.default')
-md5sums=('e7128c57b2bacd940e8906057c94ff26'
+md5sums=('ef01b52255ce8e3fbf8aa34f6fe7598b'
          'a9c9d906b2132ee3cb3d100ef1c068ae'
          '95f50ebf185b1caf299fa4e3970d8ec2')
 options=('!emptydirs')
@@ -42,30 +42,44 @@
 	    -i {} \;
 
   cd include
-  make || return 1
+  make
 
   cd ../libraries
   for dir in liblutil librewrite liblunicode; do
     pushd ${dir}
-    make depend || return 1
-    make || return 1
+    make depend
+    make
     popd
   done
 
   cd ../servers
-  make depend || return 1
-  make || return 1
+  make depend
+  make
+
+  cd ../clients
+  make depend
+  make
+
+  cd ../doc/man
+  for dir in man{1,5,8}; do
+    pushd ${dir}
+    make
+    popd
+  done
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  
+  cd servers
   make DESTDIR=${pkgdir} install
 
   cd ../clients
-  make depend || return 1
-  make || return 1
   make DESTDIR=${pkgdir} install
 
   cd ../doc/man
   for dir in man{1,5,8}; do
     pushd ${dir}
-    make || return 1
     make DESTDIR=${pkgdir} install
     popd
   done



More information about the arch-commits mailing list