Mail archive
alpine-aports

[alpine-aports] [PATCH 1/2] main/nfs-utils: upgrade to 2.1.1

From: Sören Tempel <soeren+git_at_soeren-tempel.net>
Date: Thu, 4 May 2017 13:18:09 +0200

---
 main/nfs-utils/APKBUILD | 48 +++++++++---------------------------------------
 1 file changed, 9 insertions(+), 39 deletions(-)
diff --git a/main/nfs-utils/APKBUILD b/main/nfs-utils/APKBUILD
index b24269ef92..80eadaaf09 100644
--- a/main/nfs-utils/APKBUILD
+++ b/main/nfs-utils/APKBUILD
_at_@ -1,9 +1,9 @@
 # Contributor: Carlo Landmeter <clandmeter_at_gmail.com>
 # Maintainer: Natanael Copa <ncopa_at_alpinelinux.org>
 pkgname=nfs-utils
-pkgver=1.3.4
+pkgver=2.1.1
 _basever=$pkgver
-pkgrel=1
+pkgrel=0
 pkgdesc="kernel-mode NFS"
 url="http://nfs.sourceforge.net/"
 arch="all"
_at_@ -35,14 +35,13 @@ source="http://downloads.sourceforge.net/nfs/$pkgname-$_basever.tar.bz2
 builddir="$srcdir/$pkgname-$_basever"
 
 prepare() {
-	default_prepare || return 1
+	default_prepare
 	cd $builddir
-	./autogen.sh || return 1
+	./autogen.sh
 }
 
 build() {
 	cd $builddir
-
 	./configure \
 		--build=$CBUILD \
 		--host=$CHOST \
_at_@ -55,21 +54,18 @@ build() {
 		--enable-nfsv4 \
 		--enable-uuid \
 		--enable-gss \
-		--enable-libmount-mount \
-		|| return 1
-
-	make || return 1
+		--enable-libmount-mount
+	make
 }
 
 package() {
 	cd $builddir
-
 	make -j1 DESTDIR="$pkgdir" install
 
+	local i=
 	for i in nfs rpc.pipefs rpc.svcgssd nfsmount rpc.idmapd rpc.gssd \
 			rpc.statd; do
-		install -m755 -D "$srcdir"/$i.initd "$pkgdir"/etc/init.d/$i \
-			|| return 1
+		install -m755 -D "$srcdir"/$i.initd "$pkgdir"/etc/init.d/$i
 	done
 
 	install -m644 -D "$srcdir"/nfs.confd "$pkgdir"/etc/conf.d/nfs
_at_@ -82,33 +78,7 @@ rpcgen() {
 	install -m755 -D tools/rpcgen/rpcgen "$subpkgdir"/usr/bin/rpcgen
 }
 
-md5sums="2fabdadb8ff415a1eafcfb12ab1bf781  nfs-utils-1.3.4.tar.bz2
-5994a46367486129e2892c73dcdc82c2  0011-exportfs-only-do-glibc-specific-hackery-on-glibc.patch
-2b2d228f9947581c924a691a84664fa1  nfs-utils-mtab-sym.patch
-b2a716619a34194afbf0dc1c2371b478  musl-getservbyport.patch
-ed57597c7b837ff447f476c4864b086e  nfs.initd
-92b6ebdcde5870db4146510a7dfa2de5  nfsmount.initd
-178966f91c4a8cdab083950a9b64f7c3  rpc.gssd.initd
-1d68810f7781913a84cd7cfef5fe271e  rpc.idmapd.initd
-6a0d78db91b27f58bf223f1f256244f3  rpc.pipefs.initd
-62216c2c2391cfdd0d520a8af462b211  rpc.statd.initd
-7820607185d8f6b9b15ad841c8ac02fa  rpc.svcgssd.initd
-09135438d6df50b868bbe5a2260f973c  nfs.confd
-4f1bb7b2412ce5952ecb5ec22d8ed99d  nfs.exports"
-sha256sums="c529c82a82320daae811f3d3a143f83d2714d7e7a43beadd42fcd6022c17d590  nfs-utils-1.3.4.tar.bz2
-0bd62ea53c980369990f04b620db725259fa919a351b8ed44e081a8b7a1c221e  0011-exportfs-only-do-glibc-specific-hackery-on-glibc.patch
-5a1c6875f43ecc93d5db7bcf84b4ceda16c09b6109c28696eb55d05247511706  nfs-utils-mtab-sym.patch
-ae46423ef3383f4a134f578c29a7100d58cde8d8853e88f3ffd66a261d436421  musl-getservbyport.patch
-6e4128e339308ed36107fabb088230fa90362ae9aa0314501e398dd299ef5c89  nfs.initd
-31ac5a0c0e81ddc7d835efc86c82a00084b2b0024ae1a0b63df879b64d956d6f  nfsmount.initd
-598f351545db3656dfd8268983a930cbdcce96f96ee92cfea478e7dcd323fe00  rpc.gssd.initd
-40ac5cea96e8c729d02a95840469afa9880f672885af2e45b7d0b4bf7a47e346  rpc.idmapd.initd
-6c75e9a1b35ae3a1f2b9df4e236eb93ad2fef261fe50f57851c39fbcb37606e3  rpc.pipefs.initd
-78f5101416849972679385d3fb97b6bcfb43f635068647d880792ced6eaf6eef  rpc.statd.initd
-4e819e297b405432685b76c9c542045024a06c704ae5a5c4ec33132e022136ec  rpc.svcgssd.initd
-9ca3b7dfbac5bedd818a3637805380f4e873ef8e809c21c26f410c86ac16e03e  nfs.confd
-f2aaf1c92e07172adeb65f7f2bc0140c533ae453a3477e99be677ef2e05f2d4b  nfs.exports"
-sha512sums="765c0bc55a9a0bdb2c25d8fb7189a9054fb9f2dd51726eda29f44e5d5c423e245b02307dfcfab9239276d8f44869a72732416f6e9ef5a1f80753d9243ba1b38c  nfs-utils-1.3.4.tar.bz2
+sha512sums="ed358280b7e124154632040bf747f6e4c3c6e4156bf90e82ff6915b1488f1c0dd65251a3a0f9b7ca96b9664d64e24b379828da9b524e64a3c769a44f4c930448  nfs-utils-2.1.1.tar.bz2
 9561a979a2313f00c0bbb2ffb3193ca089e5de2f15cf5b6c142e65e04a9401bbc962e490e5b1de026750262a05e5258b286a79781444e7f2ac6bd581b426211a  0011-exportfs-only-do-glibc-specific-hackery-on-glibc.patch
 5fd9039a61a0cdaeb57b5332ea545034101e6f15be200b7cf8fc7d0a3d22836a6fc778e0560656c1825808a4dc09046d9923d81b4d1324a6e526b226c657d064  nfs-utils-mtab-sym.patch
 a14fc747cc75f65bb206b28eb4f838ae85687c917893531318d3991adc3ed9914316b97fc507bf34881855c9978ad9d4617f33e464d1a0d746a65b31177687c1  musl-getservbyport.patch
-- 
2.12.2
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Thu May 04 2017 - 13:18:09 UTC