2012-01-28 16:23:06 +01:00
|
|
|
# Template file for 'rpcbind'
|
|
|
|
pkgname=rpcbind
|
|
|
|
version=0.2.0
|
2012-10-08 12:38:40 +02:00
|
|
|
revision=4
|
2012-01-28 16:23:06 +01:00
|
|
|
build_style=gnu-configure
|
2012-07-09 11:47:41 +02:00
|
|
|
configure_args="--enable-warmstarts --with-statedir=/var/lib/rpcbind
|
|
|
|
--with-rpcuser=rpc"
|
2012-05-23 18:26:56 +02:00
|
|
|
makedepends="libtirpc-devel"
|
2012-01-28 16:23:06 +01:00
|
|
|
short_desc="Converts RPC program numbers into universal addresses"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-07-09 11:47:41 +02:00
|
|
|
homepage="http://rpcbind.sourceforge.net"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
|
2012-01-28 16:23:06 +01: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."
|
|
|
|
|
2012-10-08 12:38:40 +02:00
|
|
|
systemd_services="${pkgname}.socket on"
|
2012-07-09 11:47:41 +02:00
|
|
|
system_accounts="rpc"
|
|
|
|
rpc_homedir="/var/lib/rpcbind"
|
|
|
|
make_dirs="/var/lib/rpcbind 0700 rpc rpc"
|
2012-01-28 16:23:06 +01:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vinstall man/rpcbind.8 644 usr/share/man/man8
|
|
|
|
vinstall man/rpcinfo.8 644 usr/share/man/man8
|
2012-07-09 22:53:37 +02:00
|
|
|
vmkdir usr/lib/systemd/system
|
2012-07-09 11:47:41 +02:00
|
|
|
install -m644 ${FILESDIR}/*.{service,socket} \
|
2012-07-09 22:53:37 +02:00
|
|
|
${DESTDIR}/usr/lib/systemd/system
|
2012-01-28 16:23:06 +01:00
|
|
|
}
|