Create debs
Build and test / check (push) Successful in 1m8s
Build and test / build (push) Successful in 1m52s
Build and test / test (push) Successful in 2m15s
Build and test / docs (push) Successful in 6m24s

This commit is contained in:
2026-07-20 23:09:13 +09:00
parent ba0e8f214d
commit b1f75b225c
9 changed files with 270 additions and 3 deletions
+75 -3
View File
@@ -40,6 +40,10 @@ users = { version = "0.11.0", default-features = false }
tracing-journald = "0.3.2"
chrono-tz = "0.10.4"
[dev-dependencies]
indoc = "2.0.7"
tempfile = "3.27.0"
[features]
default = ["systemd"]
systemd = ["sd-notify", "uucore/feat_systemd_logind"]
@@ -89,6 +93,74 @@ strip = true
lto = true
codegen-units = 1
[dev-dependencies]
indoc = "2.0.7"
tempfile = "3.27.0"
[package.metadata.deb]
name = "roowho2"
priority = "optional"
section = "net"
depends = "$auto"
license-file = ["LICENSE", "0"]
maintainer = "Programvareverkstedet <projects@pvv.ntnu.no>"
copyright = "Copyright (c) 2026, Programvareverkstedet"
assets = [
[
"target/release/roowhod",
"usr/bin/roowhod",
"0755"
],
[
"target/release/finger",
"usr/bin/finger",
"0755"
],
[
"target/release/ruptime",
"usr/bin/ruptime",
"0755"
],
[
"target/release/rwho",
"usr/bin/rwho",
"0755"
],
[
"assets/debian/config.toml",
"etc/roowho2/config.toml",
"0644"
],
[
"assets/debian/user_ignore_list.txt",
"etc/roowho2/rwhod-ignore-list",
"0644"
],
[
"assets/debian/user_ignore_list.txt",
"etc/roowho2/fingerd-ignore-list",
"0644"
],
[
"assets/completions/_*",
"usr/share/zsh/site-functions/completions/",
"644",
],
[
"assets/completions/*.bash",
"usr/share/bash-completion/completions/",
"644",
],
[
"assets/completions/*.fish",
"usr/share/fish/vendor_completions.d/",
"644",
],
[
"README.md",
"usr/share/doc/roowho2/",
"644",
],
]
maintainer-scripts = "debian/"
systemd-units = [
{ unit-name = "roowho2", unit-scripts = "assets/systemd", enable = true },
{ unit-name = "roowho2-client", unit-scripts = "assets/systemd", enable = true },
{ unit-name = "roowho2-rwhod", unit-scripts = "assets/systemd", enable = true },
]