1
0
mirror of https://github.com/NLnetLabs/routinator.git synced 2024-05-19 06:50:04 +00:00

117 lines
4.9 KiB
TOML
Raw Normal View History

2018-05-14 19:36:22 +02:00
[package]
# Note: some of these values are also used when building Debian packages below.
2018-07-27 14:33:51 +02:00
name = "routinator"
2021-11-09 16:35:08 +01:00
version = "0.10.3-dev"
2019-07-12 09:17:42 +02:00
edition = "2018"
authors = ["The NLnet Labs RPKI Team <rpki@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"
build = "build.rs"
2018-05-14 19:36:22 +02:00
[dependencies]
2021-01-06 12:54:55 +01:00
bytes = "1.0.0"
2020-04-07 13:24:34 +02:00
chrono = "0.4.11"
clap = { version = "2.33.0", features = [ "wrap_help" ] }
2021-01-06 12:54:55 +01:00
crossbeam-queue = "0.3.1"
crossbeam-utils = "0.8.1"
dirs = "3.0.1"
2020-04-27 12:12:08 +02:00
fern = "0.6.0"
form_urlencoded = "1.0"
2020-04-07 13:24:34 +02:00
futures = "0.3.4"
2021-05-27 11:09:40 +02:00
hyper = { version = "0.14", features = [ "server", "stream" ] }
2020-04-07 13:24:34 +02:00
log = "0.4.8"
2020-04-27 12:12:08 +02:00
log-reroute = "0.1.5"
2020-04-07 13:24:34 +02:00
num_cpus = "1.12.0"
2021-01-06 12:54:55 +01:00
rand = "0.8.1"
reqwest = { version = "0.11.0", default-features = false, features = ["blocking", "rustls-tls" ] }
2020-04-27 12:12:08 +02:00
ring = "0.16.12"
2021-08-02 13:24:15 +02:00
rpki = { version = "0.12.2", features = [ "repository", "rrdp", "rtr", "serde" ] }
2021-01-06 12:54:55 +01:00
serde = { version = "1.0.95", features = [ "derive" ] }
serde_json = "1.0.57"
2020-04-07 13:24:34 +02:00
tempfile = "3.1.0"
2021-04-29 11:55:15 +02:00
tokio = { version = "1.0", features = [ "io-util", "macros", "process", "rt", "rt-multi-thread", "signal", "sync" ] }
2021-01-06 12:54:55 +01:00
tokio-stream = "0.1"
2020-04-07 13:24:34 +02:00
toml = "0.5.6"
uuid = "0.8.1"
2021-09-15 14:58:40 +02:00
routinator-ui = { version = "0.3.4", optional = true }
2018-10-25 10:25:18 +02:00
2019-01-03 17:04:22 +01:00
[target.'cfg(unix)'.dependencies]
2021-07-23 11:51:02 +02:00
nix = "0.22.0"
2020-04-27 12:12:08 +02:00
syslog = "5.0.0"
2019-01-03 17:04:22 +01:00
[build-dependencies]
2021-07-23 11:51:02 +02:00
rustc_version = "0.4.0"
2019-03-27 12:35:55 +01:00
[features]
default = [ "socks", "ui"]
extra-debug = ["rpki/extra-debug"]
socks = [ "reqwest/socks" ]
2020-09-07 15:43:24 +02:00
rta = []
native-tls = [ "reqwest/native-tls", "tls" ]
tls = []
2021-09-13 11:18:31 +02:00
ui = [ "routinator-ui" ]
2019-04-01 17:41:16 +02:00
2020-09-29 16:30:31 +02:00
[profile.release]
panic = "abort"
[package.metadata.deb]
name = "routinator"
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. """
# ensure that the useradd and rsync tools are present by installing their respective packages
depends = "$auto, passwd, rsync"
section = "net"
priority = "optional"
assets = [
["target/release/routinator", "usr/bin/", "755"],
2019-02-03 21:45:10 +01:00
["README.md", "usr/share/doc/routinator/", "644"],
["doc/misc.md", "usr/share/doc/routinator/misc.md", "644"],
2019-02-04 12:11:39 +01:00
["doc/routinator.1", "usr/share/man/man1/routinator.1", "644"],
["etc/routinator.conf.system-service", "etc/routinator/routinator.conf", "644"],
["pkg/common/service.preset", "/lib/systemd/system-preset/50-routinator.preset", "644"],
["pkg/common/routinator-init", "usr/bin/", "755"]
]
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."
conf-files = ["/etc/routinator/routinator.conf"]
systemd-units = { unit-name = "routinator", unit-scripts = "pkg/common", enable = false }
[package.metadata.deb.variants.minimal]
[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 },
{ source = "etc/routinator.conf.system-service", dest = "/etc/routinator/routinator.conf", mode = "644", config = true },
{ source = "pkg/common/routinator-init", dest = "/usr/bin/routinator-init", mode = "755" },
{ source = "pkg/common/service.preset", dest = "/lib/systemd/system-preset/50-routinator.preset", mode = "644" },
{ source = "pkg/rpm/postinst", dest = "/usr/share/routinator/rpm/postinst", mode = "755" },
{ source = "pkg/rpm/preuninst", dest = "/usr/share/routinator/rpm/preuninst", mode = "755" },
{ source = "pkg/rpm/postuninst", dest = "/usr/share/routinator/rpm/postuninst", mode = "755" },
]
post_install_script = "/usr/share/routinator/rpm/postinst $*"
pre_uninstall_script = "/usr/share/routinator/rpm/preuninst $*"
post_uninstall_script = "/usr/share/routinator/rpm/postuninst $*"
# ensure that the useradd and rsync tools are present by installing their respective packages
[package.metadata.generate-rpm.requires]
shadow-utils = "*"
rsync = "*"