nfs-utils: update to 1.2.6.

This commit is contained in:
Juan RP 2012-05-24 11:13:02 +02:00
parent e0d161eaaf
commit b5b34b7e72
2 changed files with 22 additions and 7 deletions

View file

@ -0,0 +1,11 @@
[Unit]
Description=NFS 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,25 +1,24 @@
# Template file for 'nfs-utils' # Template file for 'nfs-utils'
pkgname=nfs-utils pkgname=nfs-utils
version=1.2.5 version=1.2.6
homepage="http://nfs.sourceforge.net" homepage="http://nfs.sourceforge.net"
distfiles="http://downloads.sf.net/nfs/$pkgname-$version.tar.bz2" distfiles="http://downloads.sf.net/nfs/$pkgname-$version.tar.bz2"
build_style=gnu-configure build_style=gnu-configure
configure_args="--with-statduser=nobody --enable-gss --enable-nfsv4 configure_args="--with-statduser=nobody --enable-gss --enable-nfsv4
--with-statedir=/var/lib/nfs --enable-libmount-mount --with-statedir=/var/lib/nfs --enable-libmount-mount
--without-tcp-wrappers --enable-ipv6" --without-tcp-wrappers --enable-ipv6 --sbindir=/usr/sbin"
conf_files="/etc/exports /etc/idmapd.conf"
depends="rpcbind" depends="rpcbind"
makedepends="pkg-config libblkid-devel libmount-devel libtirpc-devel librpcsecgss-devel libnfsidmap-devel libevent-devel device-mapper-devel libcap-devel mit-krb5-devel" makedepends="pkg-config libblkid-devel libmount-devel libtirpc-devel librpcsecgss-devel libnfsidmap-devel libevent-devel device-mapper-devel libcap-devel mit-krb5-devel"
short_desc="Network File System utilities" short_desc="Network File System utilities"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2" license="GPL-2"
checksum=3595ed4f6ee5c13514540861ad5e89907aa4fd6897bfa99577515233e4745a9b checksum=70267288500408495085b7c54a667c4e8cfde5882f3193da095fc7dad2da0b83
long_desc=" long_desc="
The $pkgname package provides a daemon for the kernel NFS server and The $pkgname package provides a daemon for the kernel NFS server and
related tools, which provides a much higher level of performance than the related tools, which provides a much higher level of performance than the
traditional Linux NFS server used by most users." traditional Linux NFS server used by most users."
conf_files="/etc/exports /etc/idmapd.conf"
# systemd services # systemd services
systemd_services=" systemd_services="
exportfs.service on exportfs.service on
@ -28,11 +27,16 @@ rpc-gssd.service on
rpc-idmapd.service on rpc-idmapd.service on
rpc-mountd.service on rpc-mountd.service on
rpc-statd.service on rpc-statd.service on
rpc-svcgssd.service on" rpc-svcgssd.service on
blkmapd.service on"
pre_install() {
# Makefile doesn't seem to create it!
vmkdir sbin
}
post_install() { post_install() {
vmove "sbin/*" usr/sbin
# conffiles # conffiles
vinstall ${FILESDIR}/exports 644 etc vinstall ${FILESDIR}/exports 644 etc
vinstall ${FILESDIR}/idmapd.conf 644 etc vinstall ${FILESDIR}/idmapd.conf 644 etc