Source: dnssec-trigger
Version: 0.17+repack-5.1
Tags: patch
User: helm...@debian.org
Usertags: dep17m2

We want to move aliased files from / to /usr (see DEP17). dnssec-trigger
is involved, because it installs a systemd unit to /lib. Rather than
just changing that to /usr/lib, I propose deferring the location to
systemd.pc. In the event of a backport, this will revert back to /lib
for bookworm and thus honour the file move moratorium that still affects
bookworm. I'm attaching a patch for your convenience.

Helmut
diff -Nru dnssec-trigger-0.17+repack/debian/changelog 
dnssec-trigger-0.17+repack/debian/changelog
--- dnssec-trigger-0.17+repack/debian/changelog 2023-05-11 19:40:04.000000000 
+0200
+++ dnssec-trigger-0.17+repack/debian/changelog 2023-10-15 11:17:50.000000000 
+0200
@@ -1,3 +1,10 @@
+dnssec-trigger (0.17+repack-5.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Defer placement of systemd units to systemd.pc. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 15 Oct 2023 11:17:50 +0200
+
 dnssec-trigger (0.17+repack-5.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru dnssec-trigger-0.17+repack/debian/control 
dnssec-trigger-0.17+repack/debian/control
--- dnssec-trigger-0.17+repack/debian/control   2023-05-11 19:39:30.000000000 
+0200
+++ dnssec-trigger-0.17+repack/debian/control   2023-10-15 11:17:50.000000000 
+0200
@@ -11,8 +11,10 @@
               libgtk2.0-dev,
               libldns-dev (>= 1.6.14-1~),
               lsb-base,
+              pkgconf,
               python3,
-               sensible-utils
+              sensible-utils,
+              systemd-dev,
 Standards-Version: 4.3.0
 Homepage: https://www.nlnetlabs.nl/projects/dnssec-trigger/
 Vcs-Git: https://salsa.debian.org/dns-team/dnssec-trigger.git
diff -Nru dnssec-trigger-0.17+repack/debian/rules 
dnssec-trigger-0.17+repack/debian/rules
--- dnssec-trigger-0.17+repack/debian/rules     2020-08-24 20:24:56.000000000 
+0200
+++ dnssec-trigger-0.17+repack/debian/rules     2023-10-15 11:17:47.000000000 
+0200
@@ -21,7 +21,7 @@
                --with-python=/usr/bin/python3 \
                --with-hooks=networkmanager \
                --with-gui=gtk \
-               --with-unitdir=/lib/systemd/system \
+               --with-unitdir=$(shell pkgconf --variable=systemdsystemunitdir 
systemd) \
                --with-rundir=/run \
                --with-keydir=/etc/dnssec-trigger \
                --with-pidfile=/run/dnssec-triggerd.pid \

Reply via email to