diff options
author | James Meyer <james.meyer@operamail.com> | 2010-09-08 07:33:44 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-09-08 07:33:44 (GMT) |
commit | 525753e4a1a139e088d8ac120b19fbab6c0aaaa6 (patch) | |
tree | 35cef28abb613da4f58e83f6abbe4bd4cfa244bf /abs/core-testing/libldap/PKGBUILD | |
parent | 592e3cad43ef12c53f523145d0fd981b54f2a049 (diff) | |
parent | b172f79fadb565ecfbcec9508f9377d8618a4f4c (diff) | |
download | linhes_pkgbuild-525753e4a1a139e088d8ac120b19fbab6c0aaaa6.zip linhes_pkgbuild-525753e4a1a139e088d8ac120b19fbab6c0aaaa6.tar.gz linhes_pkgbuild-525753e4a1a139e088d8ac120b19fbab6c0aaaa6.tar.bz2 |
Merge branch 'HEAD' of ssh://jams@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/core-testing/libldap/PKGBUILD')
-rw-r--r-- | abs/core-testing/libldap/PKGBUILD | 74 |
1 files changed, 43 insertions, 31 deletions
diff --git a/abs/core-testing/libldap/PKGBUILD b/abs/core-testing/libldap/PKGBUILD index 616e6a3..06babfd 100644 --- a/abs/core-testing/libldap/PKGBUILD +++ b/abs/core-testing/libldap/PKGBUILD @@ -1,62 +1,74 @@ -# $Id: PKGBUILD 1627 2008-05-14 03:02:30Z eric $ -# Maintainer: Judd Vinet <jvinet@zeroflux.org> +# $Id: PKGBUILD 83737 2010-06-22 18:32:52Z andrea $ +# Maintainer: +# Contributor: Judd Vinet <jvinet@zeroflux.org> + pkgname=libldap -pkgver=2.4.11 +pkgver=2.4.22 pkgrel=1 -pkgdesc="LDAP client libraries" -arch=(i686 x86_64) +pkgdesc="Lightweight Directory Access Protocol (LDAP) client libraries" +arch=('i686' 'x86_64') license=('custom') url="http://www.openldap.org/" backup=(etc/openldap/ldap.conf) -depends=('libsasl' 'openssl>=0.9.8f') -options=('!libtool' '!makeflags') +depends=('libsasl' 'openssl') makedepends=('tcp_wrappers') -source=(ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-${pkgver}.tgz - ntlm.patch - peercred.patch) +options=('!libtool') +source=("ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-${pkgver}.tgz" + 'ntlm.patch') +md5sums=('ef01b52255ce8e3fbf8aa34f6fe7598b' + 'dfa9eb6f2fd9d0a3dab0e1860923489e') build() { - cd ${startdir}/src/openldap-${pkgver} -# patch -Np0 -i ${startdir}/src/ntlm.patch || return 1 - patch -Np0 -i ${startdir}/src/peercred.patch || return 1 + cd ${srcdir}/openldap-${pkgver} + + patch -Np1 -i ${srcdir}/ntlm.patch ./configure --prefix=/usr \ --libexecdir=/usr/sbin \ --sysconfdir=/etc \ + --mandir=/usr/share/man \ --localstatedir=/var/lib/openldap \ --enable-crypt --enable-dynamic \ --with-threads --enable-wrappers \ --enable-spasswd --with-cyrus-sasl \ --disable-bdb --disable-hdb + cd include - make || return 1 - make DESTDIR=${startdir}/pkg install + make cd ../libraries make depend - make || return 1 - - make DESTDIR=${startdir}/pkg install + make cd ../doc/man/man3 make - make DESTDIR=${startdir}/pkg install + + cd ../man5 + make +} + +package() { + cd ${srcdir}/openldap-${pkgver} + + cd include + make DESTDIR=${pkgdir} install + + cd ../libraries + make DESTDIR=${pkgdir} install + + cd ../doc/man/man3 + make DESTDIR=${pkgdir} install cd ../man5 - make - mkdir -p ${startdir}/pkg/usr/man/man5 - install -m644 ldap.conf.5.tmp ${startdir}/pkg/usr/man/man5/ldap.conf.5 + install -Dm644 ldap.conf.5.tmp \ + ${pkgdir}/usr/share/man/man5/ldap.conf.5 # get rid of duplicate default conf files - rm ${startdir}/pkg/etc/openldap/*.default + rm ${pkgdir}/etc/openldap/*.default - ln -sf liblber.so ${startdir}/pkg/usr/lib/liblber.so.2 - ln -sf libldap.so ${startdir}/pkg/usr/lib/libldap.so.2 + ln -sf liblber.so ${pkgdir}/usr/lib/liblber.so.2 + ln -sf libldap.so ${pkgdir}/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/ + install -Dm644 ${srcdir}/openldap-${pkgver}/LICENSE \ + ${pkgdir}/usr/share/licenses/$pkgname/LICENSE } -md5sums=('920fedbbb5bc61c2ca52c56edeef770a' - '64c539d5f01f46f329b9d5c1324be4e9' - 'acc4112845522a6a1a517064c216f781') |