blob: 6333b035bd3af6a026cc2bcba188f243f729eb31 (
plain)
1 # Description: NFS utilities
2 # URL: http://nfs.sourceforge.net/
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4 # Depends on: util-linux-ng tcp_wrappers libcap rpcbind libnfsidmap libevent keyutils
5
6 name=nfs-utils
7 version=1.2.6
8 release=1
9 source=(http://downloads.sourceforge.net/project/nfs/$name/$version/$name-$version.tar.bz2 \
10 exports idmapd.conf nfs nfsserver)
11
12 build () {
13 cd $name-$version
14
15
16 ./configure --prefix=/usr \
17 --mandir=/usr/man \
18 --sysconfdir=/etc \
19 --with-statedir=/var/lib/nfs \
20 --disable-gss \
21 --with-tcp-wrappers
22 make
23 install -d $PKG/sbin
24 make DESTDIR=$PKG install
25
26 install -D -m 755 $SRC/nfs $PKG/etc/rc.d/nfs
27 install -D -m 755 $SRC/nfsserver $PKG/etc/rc.d/nfsserver
28 install -D -m 644 $SRC/exports $PKG/etc/exports
29 install -D -m 644 $SRC/idmapd.conf $PKG/etc/idmapd.conf
30
31 install -d $PKG/var/lib/nfs/{rpc_pipefs,v4recovery}
32 install -d $PKG/etc/exports.d
33
34 # force rpc.statd to run as user nobody
35 chown nobody $PKG/var/lib/nfs
36 }
|