diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-02-10 23:02:28 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-02-16 17:35:02 +0000 |
commit | 667333b8e8a76a68791c84877cfb0a51f3743730 (patch) | |
tree | 58a34fdc67f8e0bcda121a8ac1058816f9cf608a | |
parent | 4d52c762ffa26f23827e576534a02fc5e018d77b (diff) | |
download | aports-667333b8e8a76a68791c84877cfb0a51f3743730.tar.bz2 aports-667333b8e8a76a68791c84877cfb0a51f3743730.tar.xz |
main/libnfsidmap: mark no tests, modernise, fix license
-rw-r--r-- | main/libnfsidmap/APKBUILD | 32 |
1 files changed, 11 insertions, 21 deletions
diff --git a/main/libnfsidmap/APKBUILD b/main/libnfsidmap/APKBUILD index 05df8b2cba..cd7a0bed90 100644 --- a/main/libnfsidmap/APKBUILD +++ b/main/libnfsidmap/APKBUILD @@ -2,11 +2,12 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libnfsidmap pkgver=0.25 -pkgrel=1 +pkgrel=2 pkgdesc="NFSv4 User and Group ID Mapping Library" url="http://www.citi.umich.edu/projects/nfsv4/linux/" arch="all" -license="BSD" +options="!check" # No test suite. +license="BSD-3-Clause" depends="" makedepends="openldap-dev" install="" @@ -15,32 +16,25 @@ source="http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/libnfsidmap-$ musl-fix-includes.patch " -_builddir="$srcdir"/libnfsidmap-$pkgver prepare() { - local i - cd "$_builddir" - update_config_sub || return 1 - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done + cd "$builddir" + update_config_sub + default_prepare } build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ - --disable-static \ - || return 1 - make || return 1 + --disable-static + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install install -D -m644 idmapd.conf "$pkgdir"/etc/idmapd.conf } @@ -50,9 +44,5 @@ ldap() { mv "$pkgdir"/usr/lib/$pkgname/*ldap* "$subpkgdir"/usr/lib/$pkgname/ } -md5sums="2ac4893c92716add1a1447ae01df77ab libnfsidmap-0.25.tar.gz -24db67c9da3a050a807efda5590a71c9 musl-fix-includes.patch" -sha256sums="656d245d84400e1030f8f40a5a27da76370690c4a932baf249110f047fe7efcf libnfsidmap-0.25.tar.gz -7c0163dbc14b48829f7bced592c1e01a8224283213790e0a7c1e2f76663720fd musl-fix-includes.patch" sha512sums="8acf30790cdd19341c75cb8a4f7ee4dbc9f688c8514258046e55c8f4245df213709ccb7d5327a11b146b0e3b7266d3d4da018699c6be47fbedcc4cd384b54557 libnfsidmap-0.25.tar.gz 25f913813955af964f29c8e90c6a58e15321bf8a22335328c9d29abe6a3656d2aa832ecdb763c80043454af6e6637b35eef6137c99fb6442ad823fcc0f7f1233 musl-fix-includes.patch" |