void-packages/srcpkgs/rpcbind/template

30 lines
1 KiB
Text

# Template file for 'rpcbind'
pkgname=rpcbind
version=0.2.0
revision=2
build_style=gnu-configure
configure_args="--enable-warmstarts --with-statedir=/var/lib/rpcbind
--with-rpcuser=rpc"
makedepends="libtirpc-devel"
short_desc="Converts RPC program numbers into universal addresses"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://rpcbind.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
checksum=c92f263e0353887f16379d7708ef1fb4c7eedcf20448bc1e4838f59497a00de3
long_desc="
The rpcbind utility is a server that converts RPC program numbers into
universal address. It must be running on the host to be able to make
RPC calls on a server on that machine."
systemd_services="${pkgname}.service on"
system_accounts="rpc"
rpc_homedir="/var/lib/rpcbind"
make_dirs="/var/lib/rpcbind 0700 rpc rpc"
post_install() {
vinstall man/rpcbind.8 644 usr/share/man/man8
vinstall man/rpcinfo.8 644 usr/share/man/man8
vmkdir lib/systemd/system
install -m644 ${FILESDIR}/*.{service,socket} \
${DESTDIR}/lib/systemd/system
}