nfs-utils: update to 2.5.2

This commit is contained in:
Juergen Daubert 2020-10-22 14:27:56 +02:00
parent c79cd8e7fa
commit 92f63642ef
3 changed files with 6 additions and 47 deletions

View File

@ -1,8 +1,8 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/QF/LNLstnwt2fh8UXm87Rj79PMcJO3wd7kLXPpqWLjbY4tyWGMO2FbqdiCA1pNJH69x5gyU56di1LQyAkGUIgI=
SHA256 (Pkgfile) = d98cd14e1f306d9d68027eb27cce73b098177c1de9952e4916c3cd985db377e5
RWSE3ohX2g5d/ZnOEKlc3RzpToywS+RJXioWeyedJPWwcX+B6FvamKkfeXinapYNPeRAs/AaHotS9cgWKWsoWcUoHf+39c5uHQY=
SHA256 (Pkgfile) = f16441ce730bad67725214dc3e3102ab43d38e692496e779dd27b2f7160f8568
SHA256 (.footprint) = 08bee52c264923d52794306fc37e29919a58e306901e482c727dc021e908797d
SHA256 (nfs-utils-2.5.1.tar.xz) = 0f1c8170e16a07d9836bbf0836d48d0c842b6f0e0e8b18748f099751851d30c4
SHA256 (nfs-utils-2.5.2.tar.xz) = d493b81c9d3ffce5d10af701a63ed2b8a21768c23da4a2eceb4d708aea65d9de
SHA256 (exports) = 9556615724e66fbe6e7a2bfd740db4c5399a6abafab8cce868975f6926548eec
SHA256 (idmapd.conf) = 2759ea36eff3397c39b534ee34752e02f60976160d66570ae19dbbbb5c00ee53
SHA256 (nfs) = 3ab2824ff5cbe4498faf6cbbbea19793d96bd80c48b9c18c0939938b18ab0217
@ -13,4 +13,3 @@ SHA256 (rpc.statd) = 764b99273b59839d44a7e05c20d863206df06f5e7e5cb5cedf9da1db624
SHA256 (rpc.mountd) = a6aaaadc054df03a9e6500fdf8b2fc6669d78825daff2c68e52e4d9eb2e0509c
SHA256 (rpc.nfsd) = 12d0936472011db6928e5c0526ac510217a0601863a012e8a1ea565e3c1721de
SHA256 (nfsdcld) = ed10dc56f97a1d6a1045b2a422d41bf120d3227356ff30464d2ca6c25961351c
SHA256 (python3.patch) = cc24ab7eec8d7edc3df63549e7805d51e2cda59182acfc69042369206ce60d24

View File

@ -4,18 +4,15 @@
# Depends on: libdevmapper util-linux libcap rpcbind libevent keyutils sqlite3 python3
name=nfs-utils
version=2.5.1
release=2
version=2.5.2
release=1
source=(https://www.kernel.org/pub/linux/utils/$name/$version/$name-$version.tar.xz
exports idmapd.conf
nfs nfsclient nfsserver rpc.idmapd rpc.statd rpc.mountd rpc.nfsd nfsdcld
python3.patch)
nfs nfsclient nfsserver rpc.idmapd rpc.statd rpc.mountd rpc.nfsd nfsdcld)
build () {
cd $name-$version
patch -p1 -i $SRC/python3.patch
CONFIG_SHELL=/bin/bash \
./configure --prefix=/usr \
--sysconfdir=/etc \

View File

@ -1,37 +0,0 @@
commit d1683f356bd920d93f2db007902b2c46f97a2e49
Author: Signed-off-by: NeilBrown <neilb@suse.de>
Date: Mon Aug 31 10:48:04 2020 -0400
Convert remaining python scripts to python3
nfs-utils contains 4 python scripts, two request
/usr/bin/python3
in their shebang line, two request
/usr/bin/python
Those latter two run perfectly well with python3 and as python2 is on the
way out, change them so they requrest /usr/bin/python3.
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Steve Dickson <steved@redhat.com>
diff --git a/tools/mountstats/mountstats.py b/tools/mountstats/mountstats.py
index 1054f698..00adc96b 100755
--- a/tools/mountstats/mountstats.py
+++ b/tools/mountstats/mountstats.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
# -*- python-mode -*-
"""Parse /proc/self/mountstats and display it in human readable form
"""
diff --git a/tools/nfs-iostat/nfs-iostat.py b/tools/nfs-iostat/nfs-iostat.py
index 50fd6a92..4f5e8a66 100755
--- a/tools/nfs-iostat/nfs-iostat.py
+++ b/tools/nfs-iostat/nfs-iostat.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
# -*- python-mode -*-
"""Emulate iostat for NFS mount points using /proc/self/mountstats
"""