void-packages/srcpkgs/rpcbind/template

31 lines
1.0 KiB
Plaintext

# Template file for 'rpcbind'
pkgname=rpcbind
version=0.2.0
revision=3
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 usr/lib/systemd/system
install -m644 ${FILESDIR}/*.{service,socket} \
${DESTDIR}/usr/lib/systemd/system
}