From 0a6cbe0e1d7b77a17fffd1977c4639c3cf558b07 Mon Sep 17 00:00:00 2001 From: michael Date: Sun, 26 Apr 2026 20:42:02 -0700 Subject: [PATCH] feat(packaging): install dbus, polkit, systemd assets into authforge-daemon --- debian/rules | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/debian/rules b/debian/rules index cb5b695..b184bf9 100755 --- a/debian/rules +++ b/debian/rules @@ -25,6 +25,18 @@ override_dh_auto_install: debian/authforge-gui/usr/share/icons/hicolor/scalable/apps/io.dangerousthings.AuthForge.svg # PAM $(MAKE) -C pam install DESTDIR=$(CURDIR)/debian/authforge-pam + # D-Bus activation file + install -D -m 0644 debian/io.dangerousthings.AuthForge.service \ + debian/authforge-daemon/usr/share/dbus-1/system-services/io.dangerousthings.AuthForge.service + # D-Bus system policy + install -D -m 0644 debian/io.dangerousthings.AuthForge.conf \ + debian/authforge-daemon/usr/share/dbus-1/system.d/io.dangerousthings.AuthForge.conf + # polkit actions + install -D -m 0644 debian/io.dangerousthings.AuthForge.policy \ + debian/authforge-daemon/usr/share/polkit-1/actions/io.dangerousthings.AuthForge.policy + # systemd unit (dh_installsystemd will enable it) + install -D -m 0644 debian/authforge-daemon.service \ + debian/authforge-daemon/lib/systemd/system/authforge-daemon.service override_dh_auto_test: cargo test --workspace --release