void-packages/srcpkgs/rpcbind/template

31 lines
1 KiB
Text
Raw Normal View History

2012-01-28 15:23:06 +00:00
# Template file for 'rpcbind'
pkgname=rpcbind
version=0.2.0
2012-07-09 20:53:37 +00:00
revision=3
2012-01-28 15:23:06 +00:00
build_style=gnu-configure
configure_args="--enable-warmstarts --with-statedir=/var/lib/rpcbind
--with-rpcuser=rpc"
makedepends="libtirpc-devel"
2012-01-28 15:23:06 +00:00
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"
2012-01-28 15:23:06 +00:00
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"
2012-01-28 15:23:06 +00:00
post_install() {
vinstall man/rpcbind.8 644 usr/share/man/man8
vinstall man/rpcinfo.8 644 usr/share/man/man8
2012-07-09 20:53:37 +00:00
vmkdir usr/lib/systemd/system
install -m644 ${FILESDIR}/*.{service,socket} \
2012-07-09 20:53:37 +00:00
${DESTDIR}/usr/lib/systemd/system
2012-01-28 15:23:06 +00:00
}