2009-03-14 01:16:07 +00:00
|
|
|
# Template file for 'nfs-utils'
|
|
|
|
pkgname=nfs-utils
|
2012-11-16 09:19:52 +00:00
|
|
|
version=1.2.7
|
2013-01-02 16:32:39 +00:00
|
|
|
revision=2
|
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
|
2012-11-16 09:19:52 +00:00
|
|
|
--with-statedir=/var/lib/nfs --enable-libmount-mount
|
|
|
|
--without-tcp-wrappers --enable-ipv6 --sbindir=/usr/sbin"
|
2012-07-07 20:11:10 +00:00
|
|
|
short_desc="Network File System client utilities"
|
2009-03-14 01:16:07 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-01-28 16:04:13 +00:00
|
|
|
license="GPL-2"
|
2012-07-07 20:11:10 +00:00
|
|
|
homepage="http://nfs.sourceforge.net"
|
2012-11-16 09:19:52 +00:00
|
|
|
distfiles="${KERNEL_SITE}/utils/${pkgname}/${version}/${pkgname}-${version}.tar.xz"
|
|
|
|
checksum=d78768a0819c5eeed5e5abb6c4c9048962e9f8b9ef45451ea4db6aee38720121
|
2013-01-02 16:32:39 +00:00
|
|
|
|
|
|
|
depends="rpcbind"
|
|
|
|
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 sqlite-devel"
|
2009-03-14 01:16:07 +00:00
|
|
|
|
2012-10-06 14:18:15 +00:00
|
|
|
conf_files="/etc/idmapd.conf"
|
|
|
|
|
2012-07-14 21:28:07 +00:00
|
|
|
make_dirs="
|
2012-10-06 14:18:15 +00:00
|
|
|
/var/lib/nfs/rpc_pipefs 0755 root root
|
|
|
|
/var/lib/nfs/sm 0750 root root"
|
2012-07-14 21:28:07 +00:00
|
|
|
|
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
|
2012-07-09 20:55:00 +00:00
|
|
|
vmkdir usr/lib/systemd/system
|
2012-01-28 16:04:13 +00:00
|
|
|
install -m644 ${FILESDIR}/*.{service,mount} \
|
2012-07-09 20:55:00 +00:00
|
|
|
${DESTDIR}/usr/lib/systemd/system
|
2009-03-14 01:16:07 +00:00
|
|
|
}
|