Skip to content

Commit

Permalink
routinator: update to 0.12.1
Browse files Browse the repository at this point in the history
also:
- add runit service and system user/group
- change homepage (rpki.readthedocs.io no longer goes to routinator, it goes
to a general information page about RPKI)
  • Loading branch information
klarasm authored and paper42 committed Jan 12, 2023
1 parent 8a67883 commit a55fd1f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions srcpkgs/routinator/files/routinator/log/run
4 changes: 4 additions & 0 deletions srcpkgs/routinator/files/routinator/run
@@ -0,0 +1,4 @@
#!/bin/sh
[ -r conf ] && . ./conf

exec routinator --config ${CONF_FILE:-/etc/routinator/routinator.conf} server --user=_routinator --group=_routinator $OPTS 2>&1
10 changes: 7 additions & 3 deletions srcpkgs/routinator/template
@@ -1,24 +1,28 @@
# Template file for 'routinator'
pkgname=routinator
version=0.11.2
version=0.12.1
revision=1
build_style=cargo
depends="rsync"
short_desc="Resource Public Key Infrastructure (RPKI) validator"
maintainer="Cameron Nemo <cam@nohom.org>"
license="BSD-3-Clause"
homepage="https://rpki.readthedocs.io/"
homepage="https://routinator.docs.nlnetlabs.nl/"
changelog="https://raw.githubusercontent.com/NLnetLabs/routinator/main/Changelog.md"
distfiles="https://github.com/NLnetLabs/routinator/archive/v${version}.tar.gz"
conf_files="/etc/routinator/routinator.conf"
checksum=00f825c53168592da0285e8dbd228018e77248d458214a2c0f86cd0ca45438f5
checksum=8150fe544f89205bb2d65bca46388f055cf13971d3163fe17508bf231f9ab8bc
system_accounts="_routinator"
_routinator_homedir="/var/lib/routinator"
make_dirs="/var/lib/routinator 0755 _routinator _routinator"

case "$XBPS_TARGET_MACHINE" in
x86_64*|i686*|arm*|aarch64*) ;;
*) broken="ftbfs in ring" ;;
esac

post_install() {
vsv routinator
vdoc README.md
vman doc/routinator.1
vinstall etc/routinator.conf.system-service 0644 etc/routinator routinator.conf
Expand Down

0 comments on commit a55fd1f

Please sign in to comment.