blob: cd7a0bed901b24ac2213343a048babf1d17dc88d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libnfsidmap
pkgver=0.25
pkgrel=2
pkgdesc="NFSv4 User and Group ID Mapping Library"
url="http://www.citi.umich.edu/projects/nfsv4/linux/"
arch="all"
options="!check" # No test suite.
license="BSD-3-Clause"
depends=""
makedepends="openldap-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-ldap"
source="http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/libnfsidmap-$pkgver.tar.gz
musl-fix-includes.patch
"
prepare() {
cd "$builddir"
update_config_sub
default_prepare
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--disable-static
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
install -D -m644 idmapd.conf "$pkgdir"/etc/idmapd.conf
}
ldap() {
pkgdesc="LDAP plugin for $pkgname"
mkdir -p "$subpkgdir"/usr/lib/$pkgname
mv "$pkgdir"/usr/lib/$pkgname/*ldap* "$subpkgdir"/usr/lib/$pkgname/
}
sha512sums="8acf30790cdd19341c75cb8a4f7ee4dbc9f688c8514258046e55c8f4245df213709ccb7d5327a11b146b0e3b7266d3d4da018699c6be47fbedcc4cd384b54557 libnfsidmap-0.25.tar.gz
25f913813955af964f29c8e90c6a58e15321bf8a22335328c9d29abe6a3656d2aa832ecdb763c80043454af6e6637b35eef6137c99fb6442ad823fcc0f7f1233 musl-fix-includes.patch"
|