31 lines
981 B
Bash
31 lines
981 B
Bash
# Template file for 'routinator'
|
|
pkgname=routinator
|
|
version=0.13.0
|
|
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://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=8b48e8bff3469cb76c666ad05c52527bac091f529605e4ee40b4fa698fab7936
|
|
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
|
|
vlicense LICENSE
|
|
}
|