2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: Userspace server and client tools necessary to use the kernel's NFS abilities.
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: http://nfs.sourceforge.net
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: libtirpc rpcbind
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
}
|