Skip to content

Commit

Permalink
Fix Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenvh1 committed Jan 14, 2025
1 parent 983c358 commit b14b131
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,45 @@ hex = "^0.3"
ring = "^0.17"
uuid = { version = "^0.7", features = ["v4"] }
xml-rs = "0.8.0"

# ------------------------------------------------------------------------------
# START DEBIAN PACKAGING
#
# Configurations for the cargo-deb cargo plugin which builds Debian packages in
# target/debian/ when invoked with: cargo deb.
#
# TODO:
# - Build packages with GH Actions
# - Add man page?
# - Add changelog
#
# NOTE:
# - There is a single binary only (no daemon yet)

[package.metadata.deb]
name = "rrdpit"
priority = "optional"
section = "net"
extended-description-file = "pkg/debian/description.txt"
license-file = ["LICENSE", "0"]
depends = ""
maintainer-scripts = "pkg/debian/"
changelog = "target/debian/changelog" # this will be generated by the pkg workflow
copyright = "Copyright (c) 2025, NLnet Labs. All rights reserved."
assets = [["target/release/rrdpit", "/usr/bin/rrdpit", "755"]]

# List target variants
[package.metadata.deb.variants.ubuntu-focal]

[package.metadata.deb.variants.ubuntu-jammy]

[package.metadata.deb.variants.ubuntu-noble]

[package.metadata.deb.variants.debian-buster]

[package.metadata.deb.variants.debian-bullseye]

[package.metadata.deb.variants.debian-bookworm]

# END DEBIAN PACKAGING
# ------------------------------------------------------------------------------

0 comments on commit b14b131

Please sign in to comment.