Skip to content

Commit b14b131

Browse files
committed
Fix Cargo.toml
1 parent 983c358 commit b14b131

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

Cargo.toml

+42
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,45 @@ hex = "^0.3"
1818
ring = "^0.17"
1919
uuid = { version = "^0.7", features = ["v4"] }
2020
xml-rs = "0.8.0"
21+
22+
# ------------------------------------------------------------------------------
23+
# START DEBIAN PACKAGING
24+
#
25+
# Configurations for the cargo-deb cargo plugin which builds Debian packages in
26+
# target/debian/ when invoked with: cargo deb.
27+
#
28+
# TODO:
29+
# - Build packages with GH Actions
30+
# - Add man page?
31+
# - Add changelog
32+
#
33+
# NOTE:
34+
# - There is a single binary only (no daemon yet)
35+
36+
[package.metadata.deb]
37+
name = "rrdpit"
38+
priority = "optional"
39+
section = "net"
40+
extended-description-file = "pkg/debian/description.txt"
41+
license-file = ["LICENSE", "0"]
42+
depends = ""
43+
maintainer-scripts = "pkg/debian/"
44+
changelog = "target/debian/changelog" # this will be generated by the pkg workflow
45+
copyright = "Copyright (c) 2025, NLnet Labs. All rights reserved."
46+
assets = [["target/release/rrdpit", "/usr/bin/rrdpit", "755"]]
47+
48+
# List target variants
49+
[package.metadata.deb.variants.ubuntu-focal]
50+
51+
[package.metadata.deb.variants.ubuntu-jammy]
52+
53+
[package.metadata.deb.variants.ubuntu-noble]
54+
55+
[package.metadata.deb.variants.debian-buster]
56+
57+
[package.metadata.deb.variants.debian-bullseye]
58+
59+
[package.metadata.deb.variants.debian-bookworm]
60+
61+
# END DEBIAN PACKAGING
62+
# ------------------------------------------------------------------------------

0 commit comments

Comments
 (0)