2009-03-14 01:16:07 +00:00
|
|
|
# Template file for 'nfs-utils'
|
|
|
|
pkgname=nfs-utils
|
2012-05-24 09:13:02 +00:00
|
|
|
version=1.2.6
|
2012-01-28 16:04:13 +00:00
|
|
|
homepage="http://nfs.sourceforge.net"
|
2009-03-14 01:16:07 +00:00
|
|
|
distfiles="http://downloads.sf.net/nfs/$pkgname-$version.tar.bz2"
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-01-28 16:04:13 +00:00
|
|
|
configure_args="--with-statduser=nobody --enable-gss --enable-nfsv4
|
|
|
|
--with-statedir=/var/lib/nfs --enable-libmount-mount
|
2012-05-24 09:13:02 +00:00
|
|
|
--without-tcp-wrappers --enable-ipv6 --sbindir=/usr/sbin"
|
|
|
|
conf_files="/etc/exports /etc/idmapd.conf"
|
2012-05-23 16:26:56 +00:00
|
|
|
depends="rpcbind"
|
|
|
|
makedepends="pkg-config libblkid-devel libmount-devel libtirpc-devel librpcsecgss-devel libnfsidmap-devel libevent-devel device-mapper-devel libcap-devel mit-krb5-devel"
|
2012-06-03 07:08:53 +00:00
|
|
|
revision=1
|
2009-03-14 01:16:07 +00:00
|
|
|
short_desc="Network File System utilities"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-01-28 16:04:13 +00:00
|
|
|
license="GPL-2"
|
2012-05-24 09:13:02 +00:00
|
|
|
checksum=70267288500408495085b7c54a667c4e8cfde5882f3193da095fc7dad2da0b83
|
2009-03-14 01:16:07 +00:00
|
|
|
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."
|
|
|
|
|
2012-01-28 16:04:13 +00:00
|
|
|
# systemd services
|
|
|
|
systemd_services="
|
|
|
|
exportfs.service on
|
|
|
|
nfsd.service on
|
|
|
|
rpc-gssd.service on
|
|
|
|
rpc-idmapd.service on
|
|
|
|
rpc-mountd.service on
|
|
|
|
rpc-statd.service on
|
2012-05-24 09:13:02 +00:00
|
|
|
rpc-svcgssd.service on
|
|
|
|
blkmapd.service on"
|
2012-01-28 16:04:13 +00:00
|
|
|
|
2012-05-24 09:13:02 +00:00
|
|
|
pre_install() {
|
|
|
|
# Makefile doesn't seem to create it!
|
|
|
|
vmkdir sbin
|
|
|
|
}
|
2012-01-28 16:04:13 +00:00
|
|
|
|
|
|
|
post_install() {
|
2012-05-24 09:13:02 +00:00
|
|
|
vmove "sbin/*" usr/sbin
|
2012-01-28 16:04:13 +00:00
|
|
|
# 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
|
2009-03-14 01:16:07 +00:00
|
|
|
}
|