summaryrefslogtreecommitdiffstats
path: root/extra/nfs-utils/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/nfs-utils/Pkgfile')
-rwxr-xr-xextra/nfs-utils/Pkgfile19
1 files changed, 9 insertions, 10 deletions
diff --git a/extra/nfs-utils/Pkgfile b/extra/nfs-utils/Pkgfile
index a4b220d1b..8a7d0c62c 100755
--- a/extra/nfs-utils/Pkgfile
+++ b/extra/nfs-utils/Pkgfile
@@ -2,25 +2,24 @@
# URL: http://nfs.sourceforge.net
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on: portmap
-# Run on: portmap
+# Depends on: libnfsidmap,libevent, keyutils
+# Run on: libnfsidmap,libevent,keyutils
name=nfs-utils
-version=1.2.0
-release=3
+version=1.2.4
+release=1
source=(http://ftp.kernel.org/pub/linux/utils/nfs/$name-$version.tar.gz)
build() {
cd $name-$version
-sed -i "1i\#include <sys/stat.h>\n" utils/exportfs/exportfs.c
-sed -i "1i\#include <sys/stat.h>\n" utils/mount/mount.c
-sed -i "1i\#include <sys/stat.h>\n" utils/mount/network.c
-sed -i 's/getkversion//' tools/Makefile.in
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --disable-nfsv4 \
- --disable-gss
+ --enable-nfsv4 \
+ --enable-nfsv3 \
+ --with-tcp-wrappers \
+ --disable-gss \
+ --with-statedir=/var/lib/nfs
make
make DESTDIR=$PKG install
rm -r $PKG/{var,usr/share/man/man{7,8}}