From e828695a7f83c745f23845df79e1e41c1bb19e85 Mon Sep 17 00:00:00 2001 From: Wild Kat Date: Sun, 3 Feb 2019 21:13:09 +0100 Subject: [PATCH] package metadata for routinator cargo-deb builds --- Cargo.lock | 2 ++ Cargo.toml | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 692738c..fb174f3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,3 +1,5 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. [[package]] name = "ansi_term" version = "0.11.0" diff --git a/Cargo.toml b/Cargo.toml index 4259c51..30052fe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,3 +36,19 @@ syslog = "4.0" bcder = { git="https://github.com/NLnetLabs/bcder.git" } rpki = { git="https://github.com/NLnetLabs/rpki-rs.git" } +[package.metadata.deb] +maintainer = "The NLnet Labs RPKI Team " +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. """ +depends = "$auto, rsync" +section = "rust" +priority = "optional" +assets = [ + ["target/release/routinator", "usr/bin/", "755"], +] +maintainer-scripts = "debian"