2012-01-28 15:23:06 +00:00
|
|
|
# Template file for 'rpcbind'
|
|
|
|
pkgname=rpcbind
|
2013-08-20 12:33:50 +00:00
|
|
|
version=0.2.1
|
2014-10-13 15:05:56 +00:00
|
|
|
revision=4
|
2012-01-28 15:23:06 +00:00
|
|
|
build_style=gnu-configure
|
2013-08-20 12:33:50 +00:00
|
|
|
configure_args="--enable-warmstarts --with-statedir=/run --with-rpcuser=rpc"
|
2014-08-21 07:33:55 +00:00
|
|
|
hostmakedepends="pkg-config"
|
2014-02-17 09:40:48 +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"
|
2013-08-20 12:33:50 +00:00
|
|
|
checksum=da169ff877a5a07581fad50a9a808ac6e96f0c277a3df49a7ef005778428496e
|
2013-05-06 09:29:29 +00:00
|
|
|
|
2014-08-21 07:33:55 +00:00
|
|
|
build_options="systemd"
|
2014-10-13 15:05:56 +00:00
|
|
|
system_accounts="rpc"
|
|
|
|
replaces="runit-void<20141013_2"
|
2014-08-21 07:33:55 +00:00
|
|
|
|
2012-01-28 15:23:06 +00:00
|
|
|
post_install() {
|
2014-10-13 15:05:56 +00:00
|
|
|
vsv rpcbind
|
2012-01-28 15:23:06 +00:00
|
|
|
vinstall man/rpcbind.8 644 usr/share/man/man8
|
|
|
|
vinstall man/rpcinfo.8 644 usr/share/man/man8
|
2014-08-21 07:33:55 +00:00
|
|
|
if [ "$build_option_systemd" ]; then
|
|
|
|
vinstall ${FILESDIR}/${pkgname}.service 644 usr/lib/systemd/system
|
|
|
|
fi
|
2012-01-28 15:23:06 +00:00
|
|
|
}
|