mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-10 14:53:19 +02:00
rpcbind: added runit service.
This commit is contained in:
parent
b344b3edc0
commit
5b0aca3085
2 changed files with 6 additions and 5 deletions
2
srcpkgs/rpcbind/files/rpcbind/run
Executable file
2
srcpkgs/rpcbind/files/rpcbind/run
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec rpcbind -f
|
|
@ -1,12 +1,11 @@
|
||||||
# Template file for 'rpcbind'
|
# Template file for 'rpcbind'
|
||||||
pkgname=rpcbind
|
pkgname=rpcbind
|
||||||
version=0.2.1
|
version=0.2.1
|
||||||
revision=3
|
revision=4
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-warmstarts --with-statedir=/run --with-rpcuser=rpc"
|
configure_args="--enable-warmstarts --with-statedir=/run --with-rpcuser=rpc"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="libtirpc-devel"
|
makedepends="libtirpc-devel"
|
||||||
system_accounts="rpc"
|
|
||||||
short_desc="Converts RPC program numbers into universal addresses"
|
short_desc="Converts RPC program numbers into universal addresses"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://rpcbind.sourceforge.net"
|
homepage="http://rpcbind.sourceforge.net"
|
||||||
|
@ -15,11 +14,11 @@ distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
|
||||||
checksum=da169ff877a5a07581fad50a9a808ac6e96f0c277a3df49a7ef005778428496e
|
checksum=da169ff877a5a07581fad50a9a808ac6e96f0c277a3df49a7ef005778428496e
|
||||||
|
|
||||||
build_options="systemd"
|
build_options="systemd"
|
||||||
if [ "$build_option_systemd" ]; then
|
system_accounts="rpc"
|
||||||
systemd_services="${pkgname}.service on"
|
replaces="runit-void<20141013_2"
|
||||||
fi
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
vsv rpcbind
|
||||||
vinstall man/rpcbind.8 644 usr/share/man/man8
|
vinstall man/rpcbind.8 644 usr/share/man/man8
|
||||||
vinstall man/rpcinfo.8 644 usr/share/man/man8
|
vinstall man/rpcinfo.8 644 usr/share/man/man8
|
||||||
if [ "$build_option_systemd" ]; then
|
if [ "$build_option_systemd" ]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue