2016-02-24 01:27:23 +01:00
|
|
|
# Description: Userspace server and client tools necessary to use the kernel's NFS abilities.
|
|
|
|
# URL: http://nfs.sourceforge.net
|
2017-09-25 04:27:47 +02:00
|
|
|
# Packager: milisarge
|
2016-02-24 01:27:23 +01:00
|
|
|
# Depends on: libtirpc rpcbind
|
|
|
|
|
|
|
|
name=nfs-utils
|
|
|
|
version=1.3.3
|
|
|
|
release=1
|
|
|
|
|
2016-03-07 13:45:49 +01:00
|
|
|
source=(http://downloads.sourceforge.net/nfs/$name-$version.tar.bz2)
|
2016-02-24 01:27:23 +01:00
|
|
|
run=(rpcbind)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
source /etc/blfs-bootscripts
|
|
|
|
wget \
|
|
|
|
http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
|
|
|
|
tar xvf $scripts-$scriptsversion.tar.bz2
|
|
|
|
|
|
|
|
# build package
|
|
|
|
|
|
|
|
cd $name-$version
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--disable-nfsv4 \
|
|
|
|
--disable-nfsv41 \
|
|
|
|
--disable-gss \
|
|
|
|
--without-tcp-wrappers
|
|
|
|
|
|
|
|
make
|
|
|
|
mkdir $PKG/sbin
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
# Services
|
|
|
|
cd ../$scripts-$scriptsversion
|
|
|
|
make DESTDIR=$PKG install-nfs-server
|
|
|
|
}
|