mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 18:17:14 +08:00
38 lines
1.0 KiB
Bash
38 lines
1.0 KiB
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas[at]chakra-project[dot]org>
|
|
|
|
pkgname=nss_ldap
|
|
pkgver=265
|
|
pkgrel=5
|
|
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>=2.4.18' 'krb5')
|
|
backup=("etc/nss_ldap.conf")
|
|
source=("http://www.padl.com/download/${pkgname}-${pkgver}.tar.gz")
|
|
md5sums=('c1cb02d1a85538cf16bca6f6a562abe4')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./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
|
|
# issue with /usr/lib move
|
|
rm -rf "${pkgdir}/usr/usr"
|
|
}
|