core/nfs-utils to 1.2.6-1

This commit is contained in:
Kevin Mihelich 2012-05-29 12:47:36 -04:00
parent 7b8d9c604a
commit ff4b33c7e7
3 changed files with 21 additions and 6 deletions

View file

@ -11,8 +11,8 @@
plugrel=1
pkgname=nfs-utils
pkgver=1.2.5
pkgrel=4
pkgver=1.2.6
pkgrel=1
pkgdesc="Support programs for Network File Systems"
arch=('i686' 'x86_64')
url='http://nfs.sourceforge.net'
@ -40,9 +40,10 @@ source=(http://downloads.sourceforge.net/project/nfs/${pkgname}/${pkgver}/${pkgn
nfsd.service
var-lib-nfs-rpc_pipefs.mount
proc-fs-nfsd.mount
blkmapd.service
nfs-utils.conf)
install=nfs-utils.install
md5sums=('8395ac770720b83c5c469f88306d7765'
md5sums=('8be543ca270c2234ff18f8c8d35e0d37'
'1a56922af585f4cc3ec4e7504f00c3a2'
'dd0d65fc6e8f422fa12520813098264b'
'f73f197a16b02c3e248488ec35c4cf43'
@ -55,13 +56,14 @@ md5sums=('8395ac770720b83c5c469f88306d7765'
'7674106eaaa4c149bccd4f05fe3604e9'
'4f4827dfc93008dfadd0a530ad0872b2'
'38855936dc55a5afe37d84edc0f11066'
'8d888de677a217c5e5f7244a2e3a2d3a'
'965311784d49a7d126d512cadbe91deb'
'e05705d9ccccaeaeb1ecaee20adc05bc'
'd7df7bc311fd95c5b80017dd1741570d'
'2e72ee082cba5d3ec6f51d2a105664da'
'5d33d2e754fd37280365b287603bac90'
'1cd65909fa0983047f3f06a3ab352401'
'02a34835aa077146a90eb7d191e612d0'
'8ffc2ebe932d29efe17d6f3f23d5b975'
'8ac484023d786766d287ccbe878ae4ba')
build() {
@ -84,6 +86,8 @@ build() {
package() {
cd $srcdir/${pkgname}-${pkgver}
# fix make install
mkdir -p $pkgdir/sbin
make DESTDIR=$pkgdir install
# support python2 (FS#25120)
@ -101,7 +105,7 @@ package() {
install -D -m 644 utils/mount/nfsmount.conf "$pkgdir/"etc/nfsmount.conf
# systemd files
for i in ${srcdir}/*.{service,mount}; do
install -D -m 644 $i "$pkgdir/"usr/lib/systemd/system/$(basename $i)
install -D -m 644 $i "$pkgdir/usr/lib/systemd/system/${i##*/}"
done
install -D -m 644 ../nfs-utils.conf "$pkgdir/"usr/lib/modules-load.d/nfs-utils.conf
# directories

View file

@ -0,0 +1,11 @@
[Unit]
Description=pNFS block layout mapping daemon
After=var-lib-nfs-rpc_pipefs.mount nfsd.service
Requires=var-lib-nfs-rpc_pipefs.mount
[Service]
Type=forking
ExecStart=/usr/sbin/blkmapd
[Install]
WantedBy=multi-user.target

View file

@ -1,5 +1,5 @@
[Unit]
Description=NFSv2/3 Mount Daemon
Description=NFS Mount Daemon
After=rpcbind.service nfsd.service
Requires=rpcbind.service nfsd.service