void-packages/templates/nfs-utils/template
Juan RP 2d4910d9f6 Added nfs-utils-1.1.5, with support for both client/server startup.
--HG--
extra : convert_revision : 3e6b8cb896449049f9d84faa9578ef6ecf9d18b8
2009-03-14 02:16:07 +01:00

30 lines
1 KiB
Text

# Template file for 'nfs-utils'
pkgname=nfs-utils
version=1.1.5
distfiles="http://downloads.sf.net/nfs/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--with-statduser=nobody --disable-gss --disable-nfsv4
--enable-nfsv3 --with-statedir=/var/lib/nfs --enable-mount"
make_install_target="DESTDIR=$XBPS_DESTDIR/$pkgname-$version install"
short_desc="Network File System utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=9a5da7cd85dc9087222ab348ce82577c38547177d5d4dc7fccc9e939c97d47dc
long_desc="
The $pkgname package provides a daemon for the kernel NFS server and
related tools, which provides a much higher level of performance than the
traditional Linux NFS server used by most users."
Add_dependency full glibc
Add_dependency full portmap
Add_dependency build e2fsprogs
Add_dependency build tcp_wrappers
Add_dependency run e2fsprogs-libs
Add_dependency run tcp_wrappers-libs
post_install()
{
# Install the rc.d scripts.
for f in mountd nfsd nfslock; do
install -D -m755 ${FILESDIR}/${f} ${DESTDIR}/etc/rc.d/${f}
done
}