2018-05-14 19:36:22 +02:00
|
|
|
|
[package]
|
2020-09-09 15:03:30 +02:00
|
|
|
|
# Note: some of these values are also used when building Debian packages below.
|
2018-07-27 14:33:51 +02:00
|
|
|
|
name = "routinator"
|
2023-11-29 17:31:42 +01:00
|
|
|
|
version = "0.14.0-dev"
|
2022-08-08 16:56:22 +02:00
|
|
|
|
edition = "2021"
|
2023-07-11 10:28:07 +02:00
|
|
|
|
rust-version = "1.70"
|
2023-09-25 12:11:31 +02:00
|
|
|
|
authors = ["NLnet Labs <rpki-team@nlnetlabs.nl>"]
|
2018-11-01 11:22:42 +01:00
|
|
|
|
description = "An RPKI relying party software."
|
|
|
|
|
repository = "https://github.com/NLnetLabs/routinator"
|
|
|
|
|
keywords = ["rpki", "routing-security", "bgp"]
|
|
|
|
|
categories = ["command-line-utilities"]
|
|
|
|
|
license = "BSD-3-Clause"
|
2018-11-05 15:35:06 +01:00
|
|
|
|
readme = "README.md"
|
2024-01-24 17:28:58 +01:00
|
|
|
|
exclude = [ ".github", "doc/manual", "Dockerfile", ".dockerignore", ".readthedocs.yaml", ".gitignore" ]
|
2018-05-14 19:36:22 +02:00
|
|
|
|
|
|
|
|
|
[dependencies]
|
2023-04-25 12:37:13 +02:00
|
|
|
|
arbitrary = { version = "1", optional = true, features = ["derive"] }
|
2021-01-06 12:54:55 +01:00
|
|
|
|
bytes = "1.0.0"
|
2024-03-25 18:10:44 +01:00
|
|
|
|
chrono = "0.4.35"
|
2024-02-27 12:56:44 +01:00
|
|
|
|
clap = { version = "~4.4", features = [ "wrap_help", "cargo", "derive" ] }
|
2021-01-06 12:54:55 +01:00
|
|
|
|
crossbeam-queue = "0.3.1"
|
2023-07-11 10:28:07 +02:00
|
|
|
|
dirs = "5"
|
2021-04-12 12:21:33 +02:00
|
|
|
|
form_urlencoded = "1.0"
|
2020-04-07 13:24:34 +02:00
|
|
|
|
futures = "0.3.4"
|
2024-04-29 18:15:52 +02:00
|
|
|
|
http-body-util = "0.1"
|
|
|
|
|
hyper = { version = "1.2", features = [ "server" ] }
|
|
|
|
|
hyper-util = { version = "0.1", features = [ "server" ] }
|
2022-11-02 14:25:25 +01:00
|
|
|
|
listenfd = "1"
|
2020-04-07 13:24:34 +02:00
|
|
|
|
log = "0.4.8"
|
2022-01-13 17:32:55 +01:00
|
|
|
|
pin-project-lite = "0.2.4"
|
2021-01-06 12:54:55 +01:00
|
|
|
|
rand = "0.8.1"
|
2024-04-29 18:15:52 +02:00
|
|
|
|
reqwest = { version = "0.12.4", default-features = false, features = ["blocking", "rustls-tls" ] }
|
2024-01-24 17:13:07 +01:00
|
|
|
|
ring = "0.17"
|
2024-03-25 18:10:44 +01:00
|
|
|
|
#rpki = { version = "0.18", features = [ "repository", "rrdp", "rtr", "serde", "slurm" ] }
|
|
|
|
|
rpki = { git = "https://github.com/NLnetLabs/rpki-rs.git", features = [ "repository", "rrdp", "rtr", "serde", "slurm" ] }
|
2022-11-02 14:25:25 +01:00
|
|
|
|
rustls-pemfile = "1"
|
2021-01-06 12:54:55 +01:00
|
|
|
|
serde = { version = "1.0.95", features = [ "derive" ] }
|
2020-09-25 12:45:56 +02:00
|
|
|
|
serde_json = "1.0.57"
|
2023-11-29 17:26:22 +01:00
|
|
|
|
siphasher = "0.3.10"
|
2020-04-07 13:24:34 +02:00
|
|
|
|
tempfile = "3.1.0"
|
2023-03-27 11:54:54 +02:00
|
|
|
|
tokio = { version = "1.24", features = [ "io-util", "macros", "process", "rt", "rt-multi-thread", "signal", "sync" ] }
|
2023-07-11 10:28:07 +02:00
|
|
|
|
tokio-rustls = "0.24.1"
|
2023-09-13 18:09:18 +02:00
|
|
|
|
toml_edit = "0.20"
|
2022-08-09 15:47:09 +02:00
|
|
|
|
uuid = "1.1"
|
2018-10-25 10:25:18 +02:00
|
|
|
|
|
2019-11-28 11:50:05 +01:00
|
|
|
|
|
2019-01-03 17:04:22 +01:00
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
2023-11-29 17:26:22 +01:00
|
|
|
|
nix = { version = "0.27.1", features = ["fs", "mman", "net", "process", "socket", "user"] }
|
2022-11-02 14:25:25 +01:00
|
|
|
|
syslog = "6"
|
2019-01-03 17:04:22 +01:00
|
|
|
|
|
2019-05-06 19:12:27 +02:00
|
|
|
|
[features]
|
2021-04-08 09:59:06 +02:00
|
|
|
|
default = [ "socks", "ui"]
|
2023-04-25 12:37:13 +02:00
|
|
|
|
arbitrary = [ "dep:arbitrary", "chrono/arbitrary", "rpki/arbitrary" ]
|
2023-07-03 14:04:52 +02:00
|
|
|
|
aspa = []
|
2020-09-29 11:19:55 +02:00
|
|
|
|
native-tls = [ "reqwest/native-tls", "tls" ]
|
2023-05-31 14:45:21 +02:00
|
|
|
|
rta = []
|
|
|
|
|
socks = [ "reqwest/socks" ]
|
2019-12-20 10:04:05 +01:00
|
|
|
|
tls = []
|
2024-05-01 14:58:41 +02:00
|
|
|
|
ui = []
|
2019-04-01 17:41:16 +02:00
|
|
|
|
|
2020-09-29 16:30:31 +02:00
|
|
|
|
[profile.release]
|
|
|
|
|
panic = "abort"
|
|
|
|
|
|
2022-04-04 11:00:42 +02:00
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
|
# Building the UI breaks docs.rs, so let’s not.
|
|
|
|
|
no-default-features = true
|
|
|
|
|
features = [ "socks" ]
|
|
|
|
|
|
2019-02-03 21:13:09 +01:00
|
|
|
|
[package.metadata.deb]
|
2020-09-09 15:03:30 +02:00
|
|
|
|
name = "routinator"
|
2019-02-03 21:13:09 +01:00
|
|
|
|
maintainer = "The NLnet Labs RPKI Team <rpki@nlnetlabs.nl>"
|
|
|
|
|
license-file = ["LICENSE", "0"]
|
|
|
|
|
extended-description = """\
|
|
|
|
|
The Resource Public Key Infrastructure provides cryptographically signed \
|
|
|
|
|
statements about the association of Internet routing resources. \
|
|
|
|
|
In particular, it allows the holder of an IP address prefix to publish which \
|
|
|
|
|
AS number will be the origin of BGP route announcements for it. \
|
|
|
|
|
Routinator is a RPKI relying party software written in Rust. """
|
2021-05-31 14:46:22 +02:00
|
|
|
|
# ensure that the useradd and rsync tools are present by installing their respective packages
|
|
|
|
|
depends = "$auto, passwd, rsync"
|
2020-06-29 20:32:41 +02:00
|
|
|
|
section = "net"
|
2019-02-03 21:13:09 +01:00
|
|
|
|
priority = "optional"
|
|
|
|
|
assets = [
|
|
|
|
|
["target/release/routinator", "usr/bin/", "755"],
|
2019-02-03 21:45:10 +01:00
|
|
|
|
["README.md", "usr/share/doc/routinator/", "644"],
|
2019-02-04 12:11:39 +01:00
|
|
|
|
["doc/routinator.1", "usr/share/man/man1/routinator.1", "644"],
|
2022-11-02 11:44:16 +01:00
|
|
|
|
["etc/routinator.conf.system-service", "etc/routinator/routinator.conf", "644"]
|
2019-02-03 21:13:09 +01:00
|
|
|
|
]
|
2021-05-31 14:46:22 +02:00
|
|
|
|
maintainer-scripts = "pkg/debian"
|
|
|
|
|
changelog = "target/debian/changelog" # this will be generated by the pkg workflow
|
2020-12-09 11:55:21 +01:00
|
|
|
|
copyright = "Copyright (c) 2020, NLnet Labs. All rights reserved."
|
2020-09-09 15:03:30 +02:00
|
|
|
|
conf-files = ["/etc/routinator/routinator.conf"]
|
2022-11-02 11:44:16 +01:00
|
|
|
|
systemd-units = { unit-name = "routinator", unit-scripts = "pkg/common", enable = true }
|
2019-05-06 19:12:27 +02:00
|
|
|
|
|
2019-07-15 12:08:18 +02:00
|
|
|
|
[package.metadata.deb.variants.minimal]
|
2021-05-31 14:46:22 +02:00
|
|
|
|
|
|
|
|
|
[package.metadata.generate-rpm]
|
|
|
|
|
# "BSD" alone is the 3-clause license. Inheriting "license" from above causes rpmlint to
|
|
|
|
|
# complain with "invalid-license".
|
|
|
|
|
# See: https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing
|
|
|
|
|
license = "BSD"
|
|
|
|
|
assets = [
|
|
|
|
|
{ source = "target/release/routinator", dest = "/usr/bin/routinator", mode = "755" },
|
|
|
|
|
{ source = "target/rpm/routinator.service", dest = "/lib/systemd/system/routinator.service", mode = "644" },
|
|
|
|
|
{ source = "doc/routinator.1", dest = "/usr/share/man/man1/routinator.1", mode = "644", doc = true },
|
2022-11-02 11:44:16 +01:00
|
|
|
|
{ source = "etc/routinator.conf.system-service", dest = "/etc/routinator/routinator.conf", mode = "644", config = true }
|
2021-05-31 14:46:22 +02:00
|
|
|
|
]
|
2022-09-15 13:01:17 +02:00
|
|
|
|
# These get set using cargo-generate-rpm --set-metadata at package build time.
|
|
|
|
|
#post_install_script = ...
|
|
|
|
|
#pre_uninstall_script = ...
|
|
|
|
|
#post_uninstall_script = ...
|
2021-05-31 14:46:22 +02:00
|
|
|
|
|
|
|
|
|
# ensure that the useradd and rsync tools are present by installing their respective packages
|
|
|
|
|
[package.metadata.generate-rpm.requires]
|
|
|
|
|
shadow-utils = "*"
|
|
|
|
|
rsync = "*"
|
2022-04-04 11:00:42 +02:00
|
|
|
|
|