2012-07-07 22:11:10 +02:00
|
|
|
# Template file for 'nfs-utils-server'.
|
|
|
|
#
|
2013-01-02 17:32:39 +01:00
|
|
|
short_desc="Network File System utilities -- Server utilities"
|
2012-07-07 22:11:10 +02:00
|
|
|
|
|
|
|
depends="rpcbind"
|
|
|
|
replaces="nfs-utils<1.2.6_2"
|
|
|
|
conf_files="/etc/exports"
|
2012-10-06 16:18:15 +02:00
|
|
|
|
|
|
|
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"
|
2012-07-07 22:11:10 +02:00
|
|
|
|
|
|
|
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
|
2012-07-07 22:11:10 +02:00
|
|
|
done
|
2012-07-09 22:55:00 +02:00
|
|
|
vmove usr/lib/systemd/system/proc-fs-nfsd.mount usr/lib/systemd/system
|
2012-07-07 22:11:10 +02:00
|
|
|
}
|