summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extra/nfs-utils-server/.footprint.i6865
-rw-r--r--extra/nfs-utils-server/.footprint.x86_645
-rw-r--r--extra/nfs-utils-server/.md5sum.i6862
-rw-r--r--extra/nfs-utils-server/.md5sum.x86_642
-rwxr-xr-xextra/nfs-utils-server/Pkgfile14
5 files changed, 10 insertions, 18 deletions
diff --git a/extra/nfs-utils-server/.footprint.i686 b/extra/nfs-utils-server/.footprint.i686
index ce21ef5b5..02aff602a 100644
--- a/extra/nfs-utils-server/.footprint.i686
+++ b/extra/nfs-utils-server/.footprint.i686
@@ -26,15 +26,10 @@ drwxr-xr-x root/root usr/share/man/man7/
-rw-r--r-- root/root usr/share/man/man7/nfsd.7.gz
drwxr-xr-x root/root usr/share/man/man8/
-rw-r--r-- root/root usr/share/man/man8/exportfs.8.gz
--rw-r--r-- root/root usr/share/man/man8/idmapd.8.gz
-rw-r--r-- root/root usr/share/man/man8/mount.nfs.8.gz
-rw-r--r-- root/root usr/share/man/man8/mountd.8.gz
--rw-r--r-- root/root usr/share/man/man8/mountstats.8.gz
-rw-r--r-- root/root usr/share/man/man8/nfsd.8.gz
--rw-r--r-- root/root usr/share/man/man8/nfsidmap.8.gz
--rw-r--r-- root/root usr/share/man/man8/nfsiostat.8.gz
-rw-r--r-- root/root usr/share/man/man8/nfsstat.8.gz
-lrwxrwxrwx root/root usr/share/man/man8/rpc.idmapd.8.gz -> idmapd.8.gz
lrwxrwxrwx root/root usr/share/man/man8/rpc.mountd.8.gz -> mountd.8.gz
lrwxrwxrwx root/root usr/share/man/man8/rpc.nfsd.8.gz -> nfsd.8.gz
lrwxrwxrwx root/root usr/share/man/man8/rpc.sm-notify.8.gz -> sm-notify.8.gz
diff --git a/extra/nfs-utils-server/.footprint.x86_64 b/extra/nfs-utils-server/.footprint.x86_64
index ce21ef5b5..02aff602a 100644
--- a/extra/nfs-utils-server/.footprint.x86_64
+++ b/extra/nfs-utils-server/.footprint.x86_64
@@ -26,15 +26,10 @@ drwxr-xr-x root/root usr/share/man/man7/
-rw-r--r-- root/root usr/share/man/man7/nfsd.7.gz
drwxr-xr-x root/root usr/share/man/man8/
-rw-r--r-- root/root usr/share/man/man8/exportfs.8.gz
--rw-r--r-- root/root usr/share/man/man8/idmapd.8.gz
-rw-r--r-- root/root usr/share/man/man8/mount.nfs.8.gz
-rw-r--r-- root/root usr/share/man/man8/mountd.8.gz
--rw-r--r-- root/root usr/share/man/man8/mountstats.8.gz
-rw-r--r-- root/root usr/share/man/man8/nfsd.8.gz
--rw-r--r-- root/root usr/share/man/man8/nfsidmap.8.gz
--rw-r--r-- root/root usr/share/man/man8/nfsiostat.8.gz
-rw-r--r-- root/root usr/share/man/man8/nfsstat.8.gz
-lrwxrwxrwx root/root usr/share/man/man8/rpc.idmapd.8.gz -> idmapd.8.gz
lrwxrwxrwx root/root usr/share/man/man8/rpc.mountd.8.gz -> mountd.8.gz
lrwxrwxrwx root/root usr/share/man/man8/rpc.nfsd.8.gz -> nfsd.8.gz
lrwxrwxrwx root/root usr/share/man/man8/rpc.sm-notify.8.gz -> sm-notify.8.gz
diff --git a/extra/nfs-utils-server/.md5sum.i686 b/extra/nfs-utils-server/.md5sum.i686
index c6517e543..6197c9a76 100644
--- a/extra/nfs-utils-server/.md5sum.i686
+++ b/extra/nfs-utils-server/.md5sum.i686
@@ -1,2 +1,2 @@
da9a8cfaba0905f0de06eada1edceffc nfs-server
-02f52d567e6b3a8b93e70a65ea776a75 nfs-utils-1.2.4.tar.gz
+4ab250f35979794de3d185e3c864e4d0 nfs-utils-1.2.0.tar.gz
diff --git a/extra/nfs-utils-server/.md5sum.x86_64 b/extra/nfs-utils-server/.md5sum.x86_64
index c6517e543..6197c9a76 100644
--- a/extra/nfs-utils-server/.md5sum.x86_64
+++ b/extra/nfs-utils-server/.md5sum.x86_64
@@ -1,2 +1,2 @@
da9a8cfaba0905f0de06eada1edceffc nfs-server
-02f52d567e6b3a8b93e70a65ea776a75 nfs-utils-1.2.4.tar.gz
+4ab250f35979794de3d185e3c864e4d0 nfs-utils-1.2.0.tar.gz
diff --git a/extra/nfs-utils-server/Pkgfile b/extra/nfs-utils-server/Pkgfile
index 1485a7423..012eca1cc 100755
--- a/extra/nfs-utils-server/Pkgfile
+++ b/extra/nfs-utils-server/Pkgfile
@@ -6,8 +6,8 @@
# Run on: nfs-utils
name=nfs-utils-server
-version=1.2.4
-release=1
+version=1.2.0
+release=3
source=(http://ftp.kernel.org/pub/linux/utils/nfs/nfs-utils-$version.tar.gz\
nfs-server )
build() {
@@ -17,23 +17,25 @@ 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 \
- --enable-nfsv4 \
- --disable-gss \
- --with-statedir=/var/lib/nfs
+ --disable-nfsv4 \
+ --disable-gss
unset LDFLAGS
make
make DESTDIR=$PKG install
cd ../$scripts-$scriptsversion
make DESTDIR=$PKG install-nfs-server
-
mkdir -p $PKG/etc/sysconfig
install -m 644 ../nfs-server $PKG/etc/sysconfig/
rm -r $PKG/{sbin,usr/{sbin,share/man/man5}}