31 lines
981 B
Bash
31 lines
981 B
Bash
# Template file for 'routinator'
|
|
pkgname=routinator
|
|
version=0.13.2
|
|
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=77c3b74b508caabf4c59387480cda18b222d817fd70328f8c73a8fb45a774108
|
|
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
|
|
}
|