diff options
Diffstat (limited to 'extra/nfs-utils-server/Pkgfile')
-rwxr-xr-x | extra/nfs-utils-server/Pkgfile | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/extra/nfs-utils-server/Pkgfile b/extra/nfs-utils-server/Pkgfile index f70153372..1485a7423 100755 --- a/extra/nfs-utils-server/Pkgfile +++ b/extra/nfs-utils-server/Pkgfile @@ -6,10 +6,10 @@ # Run on: nfs-utils name=nfs-utils-server -version=1.2.0 -release=2 +version=1.2.4 +release=1 source=(http://ftp.kernel.org/pub/linux/utils/nfs/nfs-utils-$version.tar.gz\ - nfs-server nfs-server.sh) + nfs-server ) build() { source /etc/blfs-bootscripts wget \ @@ -18,26 +18,22 @@ 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 + --enable-nfsv4 \ + --disable-gss \ + --with-statedir=/var/lib/nfs unset LDFLAGS make make DESTDIR=$PKG install cd ../$scripts-$scriptsversion make DESTDIR=$PKG install-nfs-server -install -m 754 ../nfs-server.sh $PKG/etc/rc.d/init.d/nfs-server + mkdir -p $PKG/etc/sysconfig install -m 644 ../nfs-server $PKG/etc/sysconfig/ rm -r $PKG/{sbin,usr/{sbin,share/man/man5}} |