Bug#1059178: approx: install systemd units into /usr
Source: approx
Version: 5.12-2
Severity: normal
Tags: patch
User: helmutg@debian.org
Usertags: dep17m2
Dear Maintainer,
your package installs systemd units by hard-coding a path in /lib.
For the ongoing Debian UsrMerge effort [1] these files should move
to /usr/lib in the trixie cycle.
For your convenience, I've attached a trivial patch. This needs to
be reverted on backports to bookworm or earlier.
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 approx-5.12/debian/approx.install approx-5.12/debian/approx.install
--- approx-5.12/debian/approx.install 2023-09-10 06:10:50.000000000 +0200
+++ approx-5.12/debian/approx.install 2023-12-20 23:58:08.000000000 +0100
@@ -1,5 +1,5 @@
approx usr/sbin
approx-import usr/sbin
etc/approx.conf etc/approx
-etc/approx.socket lib/systemd/system
-etc/approx@.service lib/systemd/system
+etc/approx.socket usr/lib/systemd/system
+etc/approx@.service usr/lib/systemd/system
diff -Nru approx-5.12/debian/changelog approx-5.12/debian/changelog
--- approx-5.12/debian/changelog 2023-09-10 06:10:50.000000000 +0200
+++ approx-5.12/debian/changelog 2023-12-20 23:58:38.000000000 +0100
@@ -1,3 +1,10 @@
+approx (5.12-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Install systemd units into /usr/lib/systemd/system. (Closes: #-1)
+
+ -- Chris Hofstaedtler <zeha@debian.org> Wed, 20 Dec 2023 23:58:38 +0100
+
approx (5.12-2) unstable; urgency=medium
* Team upload
Reply to: