2012-01-28 15:23:06 +00:00
|
|
|
# Template file for 'rpcbind'
|
|
|
|
pkgname=rpcbind
|
|
|
|
version=0.2.0
|
2013-05-06 09:29:29 +00:00
|
|
|
revision=6
|
2012-01-28 15:23:06 +00:00
|
|
|
build_style=gnu-configure
|
2012-07-09 09:47:41 +00:00
|
|
|
configure_args="--enable-warmstarts --with-statedir=/var/lib/rpcbind
|
|
|
|
--with-rpcuser=rpc"
|
2012-05-23 16:26:56 +00:00
|
|
|
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>"
|
2012-07-09 09:47:41 +00:00
|
|
|
homepage="http://rpcbind.sourceforge.net"
|
2013-03-31 08:15:55 +00:00
|
|
|
license="BSD"
|
2012-07-09 09:47:41 +00:00
|
|
|
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."
|
|
|
|
|
2013-05-06 09:29:29 +00:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
hostmakedepends="libtirpc-devel"
|
|
|
|
fi
|
|
|
|
|
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
|
2012-07-09 09:47:41 +00:00
|
|
|
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
|
|
|
}
|
2013-04-14 09:53:56 +00:00
|
|
|
|
|
|
|
rpcbind_package() {
|
|
|
|
depends="shadow"
|
|
|
|
systemd_services="${pkgname}.socket on"
|
|
|
|
system_accounts="rpc"
|
|
|
|
rpc_homedir="/var/lib/rpcbind"
|
|
|
|
make_dirs="/var/lib/rpcbind 0700 rpc rpc"
|
|
|
|
pkg_install() {
|
2013-05-06 09:29:29 +00:00
|
|
|
vmove all
|
2013-04-14 09:53:56 +00:00
|
|
|
}
|
|
|
|
}
|