diff options
author | tnut <tnut at nutyx dot com> | 2011-08-19 00:44:32 +0200 |
---|---|---|
committer | tnut <tnut at nutyx dot com> | 2011-08-19 00:44:32 +0200 |
commit | ffe0e1a3f388089035e020e63a7155d0abd48886 (patch) | |
tree | 19c8ed98a6ccfb3ac092f4b44b20c13a80bd63c5 /extra/nfs-utils-server/Pkgfile | |
parent | c5bc8a7ca7352d5291f2caf62c8dcf1d6ef16e2b (diff) | |
download | nutyx-extra-ffe0e1a3f388089035e020e63a7155d0abd48886.tar.gz nutyx-extra-ffe0e1a3f388089035e020e63a7155d0abd48886.tar.bz2 nutyx-extra-ffe0e1a3f388089035e020e63a7155d0abd48886.tar.xz nutyx-extra-ffe0e1a3f388089035e020e63a7155d0abd48886.zip |
nfs-utils-server, retour version 1.2.0
Diffstat (limited to 'extra/nfs-utils-server/Pkgfile')
-rwxr-xr-x | extra/nfs-utils-server/Pkgfile | 14 |
1 files changed, 8 insertions, 6 deletions
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}} |