net-misc/routinator: switch to config file
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
parent
db39a5d1df
commit
5e69285fa5
|
@ -12,4 +12,4 @@ RDEPEND=acct-group/routinator acct-user/routinator
|
|||
SLOT=0
|
||||
SRC_URI=https://github.com/NLnetLabs/routinator/archive/refs/tags/v0.14.0.tar.gz -> routinator-0.14.0.tar.gz https://herbizarre.swordarmor.fr/garbage/routinator-0.14.0-vendor.tar.xz
|
||||
_eclasses_=toolchain-funcs fa554cc3cff825d21dfe3f24841e29cf multilib b2a329026f2e404e9e371097dda47f96 flag-o-matic f14aba975c94ccaa9f357a27e3b17ffe multiprocessing 1e32df7deee68372153dca65f4a7c21f rust 55e231f09fddb09cbbaa254cf234368b rust-toolchain 3f822985d9297438ed2443aa1fbdf33e cargo b5f350ebe96460cff090d0f2ae7e698a
|
||||
_md5_=f6326b18173162162960d2326d8cf658
|
||||
_md5_=b6fcaba2e0666fe85ebe30777c3415ea
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
# /etc/init.d/routinator
|
||||
|
||||
# Options to pass to the routinator process
|
||||
# See routinator man for options
|
||||
|
||||
ROUTINATOR_BASEDIR="/var/lib/routinator"
|
||||
ROUTINATOR_OPTS="--rtr=[::]:323 --user=routinator --group=routinator"
|
|
@ -5,8 +5,7 @@
|
|||
name="routinator daemon"
|
||||
description="An RPKI relying party software"
|
||||
command=/usr/bin/routinator
|
||||
command_args="--syslog --config /etc/routinator.conf --repository-dir=${ROUTINATOR_BASEDIR}/repository server
|
||||
${ROUTINATOR_OPTS}"
|
||||
command_args="--config /etc/routinator.conf server"
|
||||
pidfile="/run/${RC_SVCNAME}.pid"
|
||||
command_args_background="--detach --pid-file=${pidfile}"
|
||||
|
||||
|
|
4
net-misc/routinator/files/routinator.conf
Normal file
4
net-misc/routinator/files/routinator.conf
Normal file
|
@ -0,0 +1,4 @@
|
|||
repository-dir = "/var/lib/routinator/repository"
|
||||
rtr-listen = [ "[::]:323" ]
|
||||
user = "routinator"
|
||||
group = "routinator"
|
|
@ -44,6 +44,7 @@ src_unpack() {
|
|||
|
||||
src_configure() {
|
||||
local myfeatures=(
|
||||
$(usev aspa)
|
||||
$(usev rta)
|
||||
)
|
||||
|
||||
|
@ -52,11 +53,13 @@ src_configure() {
|
|||
|
||||
src_install() {
|
||||
newinitd "${FILESDIR}/${PN}-initd" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}-confd" ${PN}
|
||||
|
||||
cargo_src_install
|
||||
|
||||
doman doc/routinator.1
|
||||
|
||||
insinto /etc
|
||||
doins "${FILESDIR}/${PN}.conf"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
|
|
Loading…
Reference in a new issue