54 lines
1.6 KiB
Text
54 lines
1.6 KiB
Text
# Template file for 'nfs-utils'
|
|
pkgname=nfs-utils
|
|
version=1.2.5
|
|
homepage="http://nfs.sourceforge.net"
|
|
distfiles="http://downloads.sf.net/nfs/$pkgname-$version.tar.bz2"
|
|
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"
|
|
short_desc="Network File System utilities"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="GPL-2"
|
|
checksum=3595ed4f6ee5c13514540861ad5e89907aa4fd6897bfa99577515233e4745a9b
|
|
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."
|
|
|
|
conf_files="/etc/exports /etc/idmapd.conf"
|
|
|
|
# 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
|
|
rpc-svcgssd.service on"
|
|
|
|
Add_dependency run rpcbind
|
|
|
|
Add_dependency build pkg-config
|
|
Add_dependency build libblkid-devel
|
|
Add_dependency build libmount-devel
|
|
Add_dependency build libtirpc-devel
|
|
Add_dependency build librpcsecgss-devel
|
|
Add_dependency build libnfsidmap-devel
|
|
Add_dependency build libevent-devel
|
|
Add_dependency build device-mapper-devel
|
|
Add_dependency build libcap-devel
|
|
Add_dependency build mit-krb5-devel
|
|
|
|
post_install() {
|
|
# 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
|
|
}
|