42 lines
1.4 KiB
Text
42 lines
1.4 KiB
Text
# Template file for 'nfs-utils'
|
|
pkgname=nfs-utils
|
|
version=1.2.6
|
|
revision=5
|
|
build_style=gnu-configure
|
|
configure_args="--with-statduser=nobody --enable-gss --enable-nfsv4
|
|
--with-statedir=/var/lib/nfs --enable-libmount-mount
|
|
--without-tcp-wrappers --enable-ipv6 --sbindir=/usr/sbin"
|
|
conf_files="/etc/idmapd.conf"
|
|
depends="rpcbind"
|
|
systemd_services="rpc-idmapd.service on rpc-statd.service on"
|
|
subpackages="$pkgname-server"
|
|
makedepends="pkg-config libblkid-devel libmount-devel libtirpc-devel
|
|
librpcsecgss-devel libnfsidmap-devel libevent-devel device-mapper-devel
|
|
libcap-devel mit-krb5-devel"
|
|
short_desc="Network File System client utilities"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="GPL-2"
|
|
homepage="http://nfs.sourceforge.net"
|
|
distfiles="http://downloads.sf.net/nfs/$pkgname-$version.tar.bz2"
|
|
checksum=70267288500408495085b7c54a667c4e8cfde5882f3193da095fc7dad2da0b83
|
|
long_desc="
|
|
The $pkgname package provides client utilities for the linux kernel
|
|
implementation of NFS - Network File System."
|
|
|
|
pre_install() {
|
|
# Makefile doesn't seem to create it!
|
|
vmkdir sbin
|
|
}
|
|
|
|
post_install() {
|
|
vmove "sbin/*" usr/sbin
|
|
# conffiles
|
|
vinstall ${FILESDIR}/exports 644 etc
|
|
vinstall ${FILESDIR}/idmapd.conf 644 etc
|
|
# systemd glue
|
|
vinstall ${FILESDIR}/${pkgname}.tmpfiles.d 644 \
|
|
usr/lib/tmpfiles.d ${pkgname}.conf
|
|
vmkdir lib/systemd/system
|
|
install -m644 ${FILESDIR}/*.{service,mount} \
|
|
${DESTDIR}/lib/systemd/system
|
|
}
|