2a0b0f1ff2
Also add /etc/routinator/routinator.conf to conf_files so it does not get overwritten in future updates.
26 lines
761 B
Bash
26 lines
761 B
Bash
# Template file for 'routinator'
|
|
pkgname=routinator
|
|
version=0.10.2
|
|
revision=1
|
|
build_style=cargo
|
|
depends="rsync"
|
|
short_desc="Resource Public Key Infrastructure (RPKI) validator"
|
|
maintainer="Cameron Nemo <cnemo@tutanota.com>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://rpki.readthedocs.io/"
|
|
distfiles="https://github.com/NLnetLabs/routinator/archive/v${version}.tar.gz"
|
|
conf_files="/etc/routinator/routinator.conf"
|
|
checksum=b85e03447eaffc3ec0df78eeeb5ad87aaaeabc0974d87ea5d516e04c3e1bbbb3
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
x86_64*|i686*|arm*|aarch64*) ;;
|
|
*) broken="ftbfs in ring" ;;
|
|
esac
|
|
|
|
post_install() {
|
|
vdoc README.md
|
|
vdoc doc/misc.md
|
|
vman doc/routinator.1
|
|
vinstall etc/routinator.conf.system-service 0644 etc/routinator routinator.conf
|
|
vlicense LICENSE
|
|
}
|