void-packages/srcpkgs/nfs-utils/nfs-utils-server.template

38 lines
1.0 KiB
Plaintext
Raw Normal View History

# Template file for 'nfs-utils-server'.
#
short_desc="Network File System utilities -- Server utilities"
depends="rpcbind"
replaces="nfs-utils<1.2.6_2"
conf_files="/etc/exports"
mutable_files="
/var/lib/nfs/etab
/var/lib/nfs/rmtab
/var/lib/nfs/xtab
/var/lib/nfs/state"
2012-07-14 23:28:07 +02:00
make_dirs="
/var/lib/nfs/v4recovery 0755 root root
/var/lib/nfs/sm 0750 root root
/etc/exports.d 0750 root root"
do_install() {
vmove etc/exports etc
for f in exportfs rpc.mountd rpc.nfsd blkmapd rpc.svcgssd; do
vmove usr/sbin/${f} usr/sbin
[ "$f" = "blkmapd" ] && continue
vmove usr/share/man/man8/${f}.8 usr/share/man/man8
done
for f in mountd nfsd blkmapd svcgssd; do
vmove usr/share/man/man8/${f}.8 usr/share/man/man8
done
vmove usr/share/man/man5 usr/share/man
vmove usr/share/man/man7 usr/share/man
vmove var/lib/nfs var/lib
2012-07-09 09:07:52 +02:00
for f in blkmapd nfsd rpc-mountd rpc-svcgssd; do
2012-07-09 22:55:00 +02:00
vmove usr/lib/systemd/system/${f}.service usr/lib/systemd/system
done
2012-07-09 22:55:00 +02:00
vmove usr/lib/systemd/system/proc-fs-nfsd.mount usr/lib/systemd/system
}