Source: arno-iptables-firewall
Version: 2.1.1a-2
Severity: normal
Tags: patch
User: [email protected]
Usertags: dep17m2

Dear Maintainer,

your package installs a systemd service unit, into /lib. These
files need to be moved to /usr/lib as part of Debian's usr-merge
effort [1].

Attached you will find a patch to let debhelper pick the correct
path. This immediately works for unstable and for bookworm and is
safe to do now.

Later during the trixie cycle I expect this bug class to raise in
priority.

If during the trixie cycle your package will undergo structural
changes or any other file moves, please see the wiki and upload
to experimental first when these changes are done.

Thank you for considering,
Chris

[1] https://wiki.debian.org/UsrMerge
diff -Nru arno-iptables-firewall-2.1.1a/debian/arno-iptables-firewall.install arno-iptables-firewall-2.1.1a/debian/arno-iptables-firewall.install
--- arno-iptables-firewall-2.1.1a/debian/arno-iptables-firewall.install	2023-11-07 13:36:50.000000000 +0100
+++ arno-iptables-firewall-2.1.1a/debian/arno-iptables-firewall.install	2023-12-15 23:09:44.000000000 +0100
@@ -2,4 +2,3 @@
 bin/arno-iptables-firewall usr/sbin
 etc/* etc
 share/arno-iptables-firewall/* usr/share/arno-iptables-firewall
-lib/* lib
diff -Nru arno-iptables-firewall-2.1.1a/debian/changelog arno-iptables-firewall-2.1.1a/debian/changelog
--- arno-iptables-firewall-2.1.1a/debian/changelog	2023-11-07 13:36:50.000000000 +0100
+++ arno-iptables-firewall-2.1.1a/debian/changelog	2023-12-15 23:09:44.000000000 +0100
@@ -1,3 +1,10 @@
+arno-iptables-firewall (2.1.1a-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Use dh tools to install systemd service files (Closes: #-1)
+
+ -- Chris Hofstaedtler <[email protected]>  Fri, 15 Dec 2023 23:09:44 +0100
+
 arno-iptables-firewall (2.1.1a-2) unstable; urgency=medium
 
   * d/control:
diff -Nru arno-iptables-firewall-2.1.1a/debian/rules arno-iptables-firewall-2.1.1a/debian/rules
--- arno-iptables-firewall-2.1.1a/debian/rules	2023-11-07 13:36:50.000000000 +0100
+++ arno-iptables-firewall-2.1.1a/debian/rules	2023-12-15 23:09:44.000000000 +0100
@@ -15,9 +15,12 @@
 override_dh_auto_configure:
 override_dh_auto_build:
 override_dh_auto_clean:
-override_dh_auto_install:
 override_dh_auto_test:
 
+override_dh_auto_install:
+	# let dh place the systemd unit
+	cp lib/systemd/system/arno-iptables-firewall.service debian/
+
 # call debconf-updatepo here before dh_clean according to 'man 7 po-debconf'
 # and 'man 1 dh_clean'
 execute_before_dh_clean:

Reply via email to