SwordArMor-gentoo-overlay/net-misc/routinator/routinator-0.8.1.ebuild
Alarig Le Lay 5135c25042
net-misc/routinator: 0.8.1 has been released
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
2020-12-01 13:41:07 +01:00

251 lines
4.5 KiB
Bash

# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Auto-Generated by cargo-ebuild 0.2.0
EAPI=7
CRATES="
addr2line-0.13.0
adler-0.2.3
ansi_term-0.11.0
arc-swap-0.4.7
arrayref-0.3.6
arrayvec-0.5.1
atty-0.2.14
autocfg-1.0.1
backtrace-0.3.51
base64-0.12.3
base64-0.13.0
bcder-0.5.0
bitflags-1.2.1
blake2b_simd-0.5.10
bumpalo-3.4.0
byteorder-1.3.4
bytes-0.4.12
bytes-0.5.6
cc-1.0.60
cfg-if-0.1.10
chrono-0.4.19
clap-2.33.3
constant_time_eq-0.1.5
core-foundation-0.7.0
core-foundation-sys-0.7.0
crossbeam-queue-0.2.3
crossbeam-utils-0.7.2
dirs-3.0.1
dirs-sys-0.3.5
dtoa-0.4.6
either-1.6.1
encoding_rs-0.8.24
error-chain-0.12.4
fern-0.6.0
fnv-1.0.7
foreign-types-0.3.2
foreign-types-shared-0.1.1
fuchsia-zircon-0.3.3
fuchsia-zircon-sys-0.3.3
futures-0.3.6
futures-channel-0.3.6
futures-core-0.3.6
futures-executor-0.3.6
futures-io-0.3.6
futures-macro-0.3.6
futures-sink-0.3.6
futures-task-0.3.6
futures-util-0.3.6
getrandom-0.1.15
gimli-0.22.0
h2-0.2.6
hashbrown-0.9.1
hermit-abi-0.1.17
http-0.2.1
http-body-0.3.1
httparse-1.3.4
httpdate-0.3.2
hyper-0.13.8
hyper-rustls-0.21.0
hyper-tls-0.4.3
idna-0.2.0
indexmap-1.6.0
iovec-0.1.4
ipnet-2.3.0
itoa-0.4.6
js-sys-0.3.45
kernel32-sys-0.2.2
lazy_static-1.4.0
libc-0.2.79
listenfd-0.3.3
log-0.4.11
log-reroute-0.1.5
matches-0.1.8
maybe-uninit-2.0.0
memchr-2.3.3
mime-0.3.16
mime_guess-2.0.3
miniz_oxide-0.4.2
mio-0.6.22
mio-uds-0.6.8
miow-0.2.1
native-tls-0.2.4
net2-0.2.35
nix-0.18.0
num-integer-0.1.43
num-traits-0.2.12
num_cpus-1.13.0
object-0.20.0
once_cell-1.4.1
openssl-0.10.30
openssl-probe-0.1.2
openssl-sys-0.9.58
percent-encoding-2.1.0
pin-project-0.4.26
pin-project-internal-0.4.26
pin-project-lite-0.1.10
pin-utils-0.1.0
pkg-config-0.3.18
ppv-lite86-0.2.9
proc-macro-hack-0.5.18
proc-macro-nested-0.1.6
proc-macro2-1.0.24
quick-xml-0.19.0
quote-1.0.7
rand-0.7.3
rand_chacha-0.2.2
rand_core-0.5.1
rand_hc-0.2.0
redox_syscall-0.1.57
redox_users-0.3.5
remove_dir_all-0.5.3
reqwest-0.10.8
ring-0.16.15
rpki-0.10.0
rpki-rtr-0.2.0
rust-argon2-0.8.2
rustc-demangle-0.1.16
rustc_version-0.2.3
rustls-0.18.1
ryu-1.0.5
schannel-0.1.19
sct-0.6.0
security-framework-0.4.4
security-framework-sys-0.4.3
semver-0.9.0
semver-parser-0.7.0
serde-1.0.116
serde_derive-1.0.116
serde_json-1.0.58
serde_urlencoded-0.6.1
signal-hook-registry-1.2.1
slab-0.4.2
smallvec-1.4.2
socket2-0.3.15
spin-0.5.2
strsim-0.8.0
syn-1.0.42
syslog-5.0.0
tempfile-3.1.0
textwrap-0.11.0
thiserror-1.0.21
thiserror-impl-1.0.21
time-0.1.44
tinyvec-0.3.4
tokio-0.2.22
tokio-macros-0.2.5
tokio-rustls-0.14.1
tokio-socks-0.2.2
tokio-tls-0.3.1
tokio-util-0.3.1
toml-0.5.6
tower-service-0.3.0
tracing-0.1.21
tracing-core-0.1.17
try-lock-0.2.3
unicase-2.6.0
unicode-bidi-0.3.4
unicode-normalization-0.1.13
unicode-width-0.1.8
unicode-xid-0.2.1
untrusted-0.7.1
unwrap-1.2.1
url-2.1.1
uuid-0.6.5
uuid-0.8.1
vcpkg-0.2.10
vec_map-0.8.2
version_check-0.9.2
want-0.3.0
wasi-0.10.0+wasi-snapshot-preview1
wasi-0.9.0+wasi-snapshot-preview1
wasm-bindgen-0.2.68
wasm-bindgen-backend-0.2.68
wasm-bindgen-futures-0.4.18
wasm-bindgen-macro-0.2.68
wasm-bindgen-macro-support-0.2.68
wasm-bindgen-shared-0.2.68
web-sys-0.3.45
webpki-0.21.3
webpki-roots-0.19.0
winapi-0.2.8
winapi-0.3.9
winapi-build-0.1.1
winapi-i686-pc-windows-gnu-0.4.0
winapi-x86_64-pc-windows-gnu-0.4.0
winreg-0.7.0
ws2_32-sys-0.2.1
"
inherit cargo
MY_PV=${PV/_/-}
DESCRIPTION="An RPKI relying party software"
HOMEPAGE="https://github.com/NLnetLabs/routinator"
MY_GITHUB_AUTHOR="NLnetLabs"
SRC_URI="$(cargo_crate_uris ${CRATES})
https://github.com/${MY_GITHUB_AUTHOR}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
RESTRICT="mirror"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="rta"
S="${WORKDIR}/${PN}-${MY_PV}"
DEPEND="
acct-group/routinator
acct-user/routinator
>=virtual/rust-1.42.0
"
RDEPEND="${DEPEND}"
src_configure() {
local myfeatures=(
$(usev rta)
)
cargo_src_configure
}
src_install() {
newinitd "${FILESDIR}/${PN}-initd" ${PN}
newconfd "${FILESDIR}/${PN}-confd" ${PN}
cargo_src_install
}
pkg_postinst() {
einfo ""
einfo "ARIN TAL is disabled by default because the ARIN Relying Party"
einfo "Agreement must be accepted beforehead. Read"
einfo "https://www.arin.net/resources/manage/rpki/rpa.pdf and if you agree"
einfo "with it, run"
einfo ""
einfo " su -s /bin/sh -c '${EROOT}/usr/bin/routinator --base-dir=/var/lib/routinator init -f --accept-arin-rpa' routinator"
einfo ""
einfo "as root to enable it."
einfo "If you changed values in /etc/conf.d/routinator please update it"
einfo "accordinadly in the command line."
einfo ""
}