diff options
author | James Meyer <james.meyer@operamail.com> | 2010-10-23 18:17:40 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-10-23 18:19:39 (GMT) |
commit | adbcf19958300e9b6598990184c8815b945ba0ee (patch) | |
tree | f4283c850ac0ac202c17e78a637ee7ca8147621b /abs/core/libldap/PKGBUILD | |
parent | 61a68250df10d29b624650948484898334ff22d0 (diff) | |
download | linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.zip linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.gz linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.bz2 |
Removed old core and extra from repo. Renamed -testing to core/extra. This will setup the base for the testing branch.
Diffstat (limited to 'abs/core/libldap/PKGBUILD')
-rw-r--r-- | abs/core/libldap/PKGBUILD | 74 |
1 files changed, 43 insertions, 31 deletions
diff --git a/abs/core/libldap/PKGBUILD b/abs/core/libldap/PKGBUILD index 616e6a3..06babfd 100644 --- a/abs/core/libldap/PKGBUILD +++ b/abs/core/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') |