core/nfs-utils to 2.5.2-2

This commit is contained in:
Kevin Mihelich 2020-10-29 13:53:09 +00:00
parent f4d549af26
commit 1bc11e1e62

View file

@ -10,8 +10,8 @@
pkgbase=nfs-utils
pkgname=('nfs-utils' 'nfsidmap')
pkgver=2.5.1
pkgrel=1
pkgver=2.5.2
pkgrel=2
arch=('x86_64')
url='http://nfs.sourceforge.net'
makedepends=('libevent' 'sqlite' 'rpcsvc-proto' 'device-mapper')
@ -19,7 +19,7 @@ makedepends=('libevent' 'sqlite' 'rpcsvc-proto' 'device-mapper')
source=(https://www.kernel.org/pub/linux/utils/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.{xz,sign}
exports)
# https://www.kernel.org/pub/linux/utils/nfs-utils/2.5.1/sha256sums.asc
sha256sums=('0f1c8170e16a07d9836bbf0836d48d0c842b6f0e0e8b18748f099751851d30c4'
sha256sums=('d493b81c9d3ffce5d10af701a63ed2b8a21768c23da4a2eceb4d708aea65d9de'
'SKIP'
'610715ed3daedc43b2536f541c7c57e138fb31eab5d837d9a6187a7403e30154')
validpgpkeys=('E1B71E339E20A10A676F7CB69AFB1D681A125177') # Steve Dickson
@ -45,7 +45,9 @@ build() {
--enable-ipv6 \
--enable-libmount-mount \
--enable-mountconfig \
--with-start-statd=/usr/bin/start-statd
--with-start-statd=/usr/bin/start-statd \
--with-systemd
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
@ -71,9 +73,6 @@ package_nfs-utils() {
install -D -m 644 utils/mount/nfsmount.conf "$pkgdir"/etc/nfsmount.conf
install -D -m 644 nfs.conf "$pkgdir"/etc/nfs.conf
for i in systemd/{*.service,*.mount,*.target}; do
install -D -m 644 $i "$pkgdir"/usr/lib/systemd/system/$(basename $i)
done
install -d -m 755 "$pkgdir"/usr/share/doc/$pkgname
install -D -m 644 systemd/README "$pkgdir"/usr/share/doc/$pkgname/README.systemd