summaryrefslogtreecommitdiffstats
path: root/extra/nfs-utils-server
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-01-12 13:19:08 +0100
committersibel <lesibel@free.fr>2011-01-12 13:19:08 +0100
commitf46c8acb8d16ba152c48ef8c4058b807babeae08 (patch)
treeeb92c117a5f8ecb4fbe17112a60eedb275da8765 /extra/nfs-utils-server
parent610b74d67e1ea2fefbb6af0b3e06e80302561f20 (diff)
downloadnutyx-pakxe-f46c8acb8d16ba152c48ef8c4058b807babeae08.tar.gz
nutyx-pakxe-f46c8acb8d16ba152c48ef8c4058b807babeae08.tar.bz2
nutyx-pakxe-f46c8acb8d16ba152c48ef8c4058b807babeae08.tar.xz
nutyx-pakxe-f46c8acb8d16ba152c48ef8c4058b807babeae08.zip
nfs-utils-server#1.2.0-2, correction port
Diffstat (limited to 'extra/nfs-utils-server')
-rwxr-xr-xextra/nfs-utils-server/Pkgfile13
1 files changed, 11 insertions, 2 deletions
diff --git a/extra/nfs-utils-server/Pkgfile b/extra/nfs-utils-server/Pkgfile
index 77374a79e..3d9d3b334 100755
--- a/extra/nfs-utils-server/Pkgfile
+++ b/extra/nfs-utils-server/Pkgfile
@@ -2,11 +2,11 @@
# URL: http://nfs.sourceforge.net
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on: nfs-utils
+# Depends on: nfs-utils, libevent
name=nfs-utils-server
version=1.2.0
-release=1
+release=2
source=(http://ftp.kernel.org/pub/linux/utils/nfs/nfs-utils-$version.tar.gz\
nfs-server nfs-server.sh)
build() {
@@ -16,13 +16,22 @@ http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.
tar xvf $scripts-$scriptsversion.tar.bz2
# build package
cd nfs-utils-$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-nfsv3 \
--disable-nfsv4 \
--disable-gss
+
+unset LDFLAGS
make
make DESTDIR=$PKG install
cd ../$scripts-$scriptsversion