opt/nfs-utils/Pkgfile

41 lines
1.2 KiB
Plaintext
Raw Normal View History

2010-06-15 20:05:24 +02:00
# Description: NFS utilities
2010-03-02 11:27:07 +01:00
# URL: http://nfs.sourceforge.net/
# Maintainer: Juergen Daubert, jue at crux dot nu
2019-05-15 17:07:39 +02:00
# Depends on: libdevmapper util-linux libcap rpcbind libevent keyutils sqlite3
2010-03-02 11:27:07 +01:00
name=nfs-utils
2020-02-10 14:44:40 +01:00
version=2.4.3
2019-11-19 15:53:28 +01:00
release=1
source=(https://www.kernel.org/pub/linux/utils/$name/$version/$name-$version.tar.xz
exports idmapd.conf
2019-06-23 14:48:08 +02:00
nfs nfsclient nfsserver rpc.idmapd rpc.statd rpc.mountd rpc.nfsd nfsdcld)
2010-03-02 11:27:07 +01:00
build () {
cd $name-$version
2019-06-23 14:48:08 +02:00
CONFIG_SHELL=/bin/bash \
2010-03-02 11:27:07 +01:00
./configure --prefix=/usr \
2010-06-15 20:05:24 +02:00
--sysconfdir=/etc \
2010-03-02 11:27:07 +01:00
--with-statedir=/var/lib/nfs \
2015-06-27 17:39:06 +02:00
--without-tcp-wrappers \
2010-06-15 20:05:24 +02:00
--disable-gss \
2019-05-15 17:07:39 +02:00
--enable-libmount-mount
2010-03-02 11:27:07 +01:00
make
make DESTDIR=$PKG install
install -d $PKG/etc/rc.d
2010-06-15 20:05:24 +02:00
2019-05-15 17:07:39 +02:00
install -m 755 $SRC/nfs{,client,server,dcld} $PKG/etc/rc.d/
install -m 755 $SRC/rpc.* $PKG/etc/rc.d/
install -m 644 $SRC/{exports,idmapd.conf} $PKG/etc/
install -m 644 utils/mount/nfsmount.conf $PKG/etc/
2017-01-24 12:48:28 +01:00
install -m 644 nfs.conf $PKG/etc/
2019-05-15 17:07:39 +02:00
install -d $PKG/var/lib/nfs/{rpc_pipefs,v4recovery,nfsdcltrack,nfsdcld}
install -d $PKG/etc/exports.d
# force rpc.statd to run as user nobody
chown nobody $PKG/var/lib/nfs
2010-03-02 11:27:07 +01:00
}