summaryrefslogtreecommitdiffstats
path: root/extra/nfs-utils/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-08-19 00:44:21 +0200
committertnut <tnut at nutyx dot com>2011-08-19 00:44:21 +0200
commitc5bc8a7ca7352d5291f2caf62c8dcf1d6ef16e2b (patch)
tree96536bc13720bd0f47cf151db74c58fdab66c74d /extra/nfs-utils/Pkgfile
parent7701841b718e0772d2794c325594bbe1bd643e90 (diff)
downloadnutyx-extra-c5bc8a7ca7352d5291f2caf62c8dcf1d6ef16e2b.tar.gz
nutyx-extra-c5bc8a7ca7352d5291f2caf62c8dcf1d6ef16e2b.tar.bz2
nutyx-extra-c5bc8a7ca7352d5291f2caf62c8dcf1d6ef16e2b.tar.xz
nutyx-extra-c5bc8a7ca7352d5291f2caf62c8dcf1d6ef16e2b.zip
nfs-utils, retour version 1.2.0
Diffstat (limited to 'extra/nfs-utils/Pkgfile')
-rwxr-xr-xextra/nfs-utils/Pkgfile17
1 files changed, 9 insertions, 8 deletions
diff --git a/extra/nfs-utils/Pkgfile b/extra/nfs-utils/Pkgfile
index da63efea1..efb12fc31 100755
--- a/extra/nfs-utils/Pkgfile
+++ b/extra/nfs-utils/Pkgfile
@@ -2,24 +2,25 @@
# URL: http://nfs.sourceforge.net
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on: libnfsidmap,libevent, keyutils
+# Depends on: libevent
# Run on: portmap
name=nfs-utils
-version=1.2.4
-release=1
+version=1.2.0
+release=3
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 \
- --enable-nfsv4 \
- --enable-nfsv3 \
- --with-tcp-wrappers \
- --disable-gss \
- --with-statedir=/var/lib/nfs
+ --disable-nfsv4 \
+ --disable-gss
make
make DESTDIR=$PKG install
rm -r $PKG/{var,usr/share/man/man{7,8}}