diff options
author | Juergen Daubert <jue@jue.li> | 2015-03-18 17:03:13 +0100 |
---|---|---|
committer | Juergen Daubert <jue@jue.li> | 2015-03-18 17:03:13 +0100 |
commit | a34b82d639601a3db0b6d17208eec311a13b061d (patch) | |
tree | 2d004441974775fb3b0973048dfd05913baa0023 /nfs-utils | |
parent | b2fe9626924e49506036d9b609d4789478eb5c43 (diff) | |
download | opt-a34b82d639601a3db0b6d17208eec311a13b061d.tar.gz opt-a34b82d639601a3db0b6d17208eec311a13b061d.tar.xz |
nfs-utils: for better backwords compatibility install nfsmount.conf with Defaultver=4 enabled
Diffstat (limited to 'nfs-utils')
-rw-r--r-- | nfs-utils/.footprint | 1 | ||||
-rw-r--r-- | nfs-utils/Pkgfile | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/nfs-utils/.footprint b/nfs-utils/.footprint index f6e7958ac..6fa9a8611 100644 --- a/nfs-utils/.footprint +++ b/nfs-utils/.footprint @@ -2,6 +2,7 @@ drwxr-xr-x root/root etc/ -rw-r--r-- root/root etc/exports drwxr-xr-x root/root etc/exports.d/ -rw-r--r-- root/root etc/idmapd.conf +-rw-r--r-- root/root etc/nfsmount.conf drwxr-xr-x root/root etc/rc.d/ -rwxr-xr-x root/root etc/rc.d/nfs -rwxr-xr-x root/root etc/rc.d/nfsclient diff --git a/nfs-utils/Pkgfile b/nfs-utils/Pkgfile index 6b4b3b135..77f4ffdc3 100644 --- a/nfs-utils/Pkgfile +++ b/nfs-utils/Pkgfile @@ -5,7 +5,7 @@ name=nfs-utils version=1.3.2 -release=2 +release=3 source=(http://downloads.sourceforge.net/project/nfs/$name/$version/$name-$version.tar.bz2 exports idmapd.conf nfs nfsclient nfsserver rpc.idmapd rpc.statd rpc.mountd rpc.nfsd @@ -32,6 +32,9 @@ build () { install -m 755 $SRC/rpc.* $PKG/etc/rc.d/ install -m 644 $SRC/{exports,idmapd.conf} $PKG/etc/ + install -m 644 utils/mount/nfsmount.conf $PKG/etc/ + sed -i '/Defaultvers=/s/^# *//' $PKG/etc/nfsmount.conf + install -d $PKG/var/lib/nfs/{rpc_pipefs,v4recovery,nfsdcltrack} install -d $PKG/etc/exports.d |