aboutsummaryrefslogtreecommitdiffstats
path: root/main/libtirpc/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/libtirpc/APKBUILD')
-rw-r--r--main/libtirpc/APKBUILD24
1 files changed, 16 insertions, 8 deletions
diff --git a/main/libtirpc/APKBUILD b/main/libtirpc/APKBUILD
index 98f736a962..daac9e032b 100644
--- a/main/libtirpc/APKBUILD
+++ b/main/libtirpc/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libtirpc
pkgver=0.2.3
-pkgrel=0
+pkgrel=1
pkgdesc="Transport Independent RPC library (SunRPC replacement)"
url="http://libtirpc.sourceforge.net/"
arch="all"
@@ -14,10 +14,18 @@ source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.t
nis.h
gssglue.patch
libtirpc-no-des.patch
- automake.patch"
+ automake.patch
+ fix-cdefs.patch
+ "
prepare() {
cd "$srcdir"/$pkgname-$pkgver
+ update_config_sub || return 1
+
+ # uclibc does not provide nis.h so provide our own
+ mkdir src/rpcsvc
+ cp "$srcdir"/nis.h src/rpcsvc/
+
for i in $source; do
case $i in
*.patch)
@@ -26,9 +34,6 @@ prepare() {
;;
esac
done
- # uclibc does not provide nis.h so provide our own
- mkdir src/rpcsvc
- cp "$srcdir"/nis.h src/rpcsvc/
libtoolize --force && aclocal -I m4 && autoconf \
&& automake --add-missing || return 1
@@ -55,14 +60,17 @@ md5sums="b70e6c12a369a91e69fcc3b9feb23d61 libtirpc-0.2.3.tar.bz2
082dff1bc78bdcbac6d305c1534fe3c0 nis.h
7c50e2381f103cc9b84a86fad9b8eac5 gssglue.patch
80e8f54aab0f5bed37e58ad79fe4ff2b libtirpc-no-des.patch
-5cac96c765922f33de61a215aa264a7f automake.patch"
+5cac96c765922f33de61a215aa264a7f automake.patch
+5a5f63b42c2c10845584eaa6d5da61ba fix-cdefs.patch"
sha256sums="4f29ea0491b4ca4c29f95f3c34191b857757873bbbf4b069f9dd4da01a6a923c libtirpc-0.2.3.tar.bz2
7149d53da167168cbad9e75cbab302768f659e59e208763b1bf5df2a6ff3bfdb nis.h
02658756777563dccb3904a00e87fa562eddeab0fe15ef0c6c21893b2d8619aa gssglue.patch
5b7c8f6d19f17541902dfd1b1132f2b07e4cc0987152d4e8007243e776d4d47f libtirpc-no-des.patch
-6188b7236b1f9088ad09749eed6407bd7b75fe37d1569a19977f44d15ec6a10c automake.patch"
+6188b7236b1f9088ad09749eed6407bd7b75fe37d1569a19977f44d15ec6a10c automake.patch
+802d2bad879c3554496414d9b882d8a68a2c00acc9bff5d4c6fbb07b0d756a27 fix-cdefs.patch"
sha512sums="dd480fcb6feda4a2bba7e5a5dc9b1f523697a39ddaa44a5742405f66d202996d99a562a31dbf6daf06e9b7ce5d82dfd1cce7b76a34466b92f84176e77498163d libtirpc-0.2.3.tar.bz2
15edac1e30cc1aa65ca495bae14c6c7455d65ca539b7e5c865c3fbd5a51c76966b37dd34e9a6483aadcaea3602aefb0b48cdb46f877dae1c65dfa6840dfd8c54 nis.h
3dd3d4a082b1b9bb82c358a5b74e6c5f23fdd522ea2875fc27a7b1035e04b14aeec30db08aa3ce5c0168df325e540799bf6f55c3a67226e05cf52de11968ad86 gssglue.patch
9a984a7741deb943f92cd8a9f23d1a0e09a01e91aa88268456ccbb7998b24f50ad431e26400def3a8ba9d6cd345e5abccf5acf9c59708ce8f0653275c2ea5d61 libtirpc-no-des.patch
-dcbc55ed5551703799e6a690e65dbdbd9cc0293c0392a1a3c2d52bc9e91e8b0e18b89fa146f78fea8476c04409b766b6cdbde38a5f226d32043987ca1471634c automake.patch"
+dcbc55ed5551703799e6a690e65dbdbd9cc0293c0392a1a3c2d52bc9e91e8b0e18b89fa146f78fea8476c04409b766b6cdbde38a5f226d32043987ca1471634c automake.patch
+f1c95df18a97a633d49fca4698c090c138b18bb4c330a59be48849065c6ecbf7be06254fd4a145884cf1c3fdd05946a962bdfb7452bf31e5261f49edfab0f11b fix-cdefs.patch"