2009-03-14 02:16:07 +01:00
|
|
|
# Template file for 'nfs-utils'
|
|
|
|
pkgname=nfs-utils
|
2012-05-24 11:13:02 +02:00
|
|
|
version=1.2.6
|
2012-07-14 23:28:07 +02:00
|
|
|
revision=7
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2012-01-28 17:04:13 +01:00
|
|
|
configure_args="--with-statduser=nobody --enable-gss --enable-nfsv4
|
|
|
|
--with-statedir=/var/lib/nfs --enable-libmount-mount
|
2012-05-24 11:13:02 +02:00
|
|
|
--without-tcp-wrappers --enable-ipv6 --sbindir=/usr/sbin"
|
2012-07-07 22:11:10 +02:00
|
|
|
conf_files="/etc/idmapd.conf"
|
2012-05-23 18:26:56 +02:00
|
|
|
depends="rpcbind"
|
2012-07-09 09:05:41 +02:00
|
|
|
systemd_services="rpc-idmapd.service on rpc-statd.service on"
|
2012-07-07 22:11:10 +02:00
|
|
|
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"
|
2009-03-14 02:16:07 +01:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-01-28 17:04:13 +01:00
|
|
|
license="GPL-2"
|
2012-07-07 22:11:10 +02:00
|
|
|
homepage="http://nfs.sourceforge.net"
|
|
|
|
distfiles="http://downloads.sf.net/nfs/$pkgname-$version.tar.bz2"
|
2012-05-24 11:13:02 +02:00
|
|
|
checksum=70267288500408495085b7c54a667c4e8cfde5882f3193da095fc7dad2da0b83
|
2009-03-14 02:16:07 +01:00
|
|
|
long_desc="
|
2012-07-07 22:11:10 +02:00
|
|
|
The $pkgname package provides client utilities for the linux kernel
|
|
|
|
implementation of NFS - Network File System."
|
2009-03-14 02:16:07 +01:00
|
|
|
|
2012-07-14 23:28:07 +02:00
|
|
|
make_dirs="
|
|
|
|
/var/lib/nfs/rpc_pipefs 0755 root root
|
|
|
|
/var/lib/nfs/sm 0750 root root"
|
|
|
|
|
2012-05-24 11:13:02 +02:00
|
|
|
pre_install() {
|
|
|
|
# Makefile doesn't seem to create it!
|
|
|
|
vmkdir sbin
|
|
|
|
}
|
2012-01-28 17:04:13 +01:00
|
|
|
|
|
|
|
post_install() {
|
2012-05-24 11:13:02 +02:00
|
|
|
vmove "sbin/*" usr/sbin
|
2012-01-28 17:04:13 +01:00
|
|
|
# conffiles
|
|
|
|
vinstall ${FILESDIR}/exports 644 etc
|
|
|
|
vinstall ${FILESDIR}/idmapd.conf 644 etc
|
|
|
|
# systemd glue
|
2012-07-09 22:55:00 +02:00
|
|
|
vmkdir usr/lib/systemd/system
|
2012-01-28 17:04:13 +01:00
|
|
|
install -m644 ${FILESDIR}/*.{service,mount} \
|
2012-07-09 22:55:00 +02:00
|
|
|
${DESTDIR}/usr/lib/systemd/system
|
2009-03-14 02:16:07 +01:00
|
|
|
}
|