Control: tags -1 + patch

On Fri, 12 Dec 2025 14:52:17 +0100 [email protected] wrote:
Source: svxlink
Version: 25.05.1-2
Severity: normal
User: [email protected]
Usertags: dh_movetousr_removal

Hi,

your package svxlink either Build-Depends on dh-sequence-movetousr or
uses dh_movetousr conditionally to move files from aliased locations
like /sbin, /bin or /lib to the canonical location in /usr.

Eventually, we would like to get rid of this debhelper addon.
Packages should use the canonical paths without any postprocessing.

This means, files are installed directly into /usr.

Please note, that such a change must not be backported to bookworm or
older. If you intend to provide such backports, these changes must be
reverted for those releases. If this means an undue burden on your
workflow our recommendation is to postpone this cleanup.

The motivation for this bug report is, to inform maintainers, that
installing files into the canonical location explicitly, is now the
preferred approach and dh_movetousr is now a deprecated tool.

The goal is, to have dh_movetousr removed after forky is released. We
can revise this plan, if needed. Please keep this timeline in mind
and let us know if this doesn't work for you.

For more information see [1].

If you have further questions, there is an IRC channel named
#debian-usrmerge on OFTC.

Regards,

Michael

[1] https://lists.debian.org/debian-devel/2025/11/msg00245.html



Please find attached a patch which implements this change for your convenience.

Regards,
Michael
diff -Nru svxlink-25.05.1/debian/changelog svxlink-25.05.1/debian/changelog
--- svxlink-25.05.1/debian/changelog    2025-12-26 18:21:28.000000000 +0100
+++ svxlink-25.05.1/debian/changelog    2026-07-05 17:44:41.000000000 +0200
@@ -1,3 +1,11 @@
+svxlink (25.05.1-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Avoid usage of dh_movetousr and install systemd files directly to /usr.
+    (Closes: #1122774)
+
+ -- Michael Biebl <[email protected]>  Sun, 05 Jul 2026 17:44:41 +0200
+
 svxlink (25.05.1-4) unstable; urgency=medium
 
   * Include failed -3 upload below
diff -Nru svxlink-25.05.1/debian/control svxlink-25.05.1/debian/control
--- svxlink-25.05.1/debian/control      2025-12-26 18:13:45.000000000 +0100
+++ svxlink-25.05.1/debian/control      2026-07-05 17:44:41.000000000 +0200
@@ -5,7 +5,6 @@
 Uploaders: Dave Hibberd <[email protected]>
 Build-Depends-Indep: librsvg2-bin,
 Build-Depends: debhelper-compat (= 13),
- dh-sequence-movetousr,
  python3:any,
  cmake,
  libcurl4-gnutls-dev,
diff -Nru svxlink-25.05.1/debian/remotetrx.install 
svxlink-25.05.1/debian/remotetrx.install
--- svxlink-25.05.1/debian/remotetrx.install    2025-11-23 13:11:32.000000000 
+0100
+++ svxlink-25.05.1/debian/remotetrx.install    2026-07-05 17:44:41.000000000 
+0200
@@ -1,4 +1,4 @@
 usr/bin/remotetrx
 etc/svxlink/remotetrx.conf
 etc/default/remotetrx
-lib/systemd/system/remotetrx.service
+lib/systemd/system/remotetrx.service usr/lib/systemd/system/
diff -Nru svxlink-25.05.1/debian/svxlink-gpio.install 
svxlink-25.05.1/debian/svxlink-gpio.install
--- svxlink-25.05.1/debian/svxlink-gpio.install 2025-11-23 13:11:32.000000000 
+0100
+++ svxlink-25.05.1/debian/svxlink-gpio.install 2026-07-05 17:44:41.000000000 
+0200
@@ -1,3 +1,3 @@
 usr/sbin/svxlink_gpio_* /usr/share/svxlink/scripts/
 etc/svxlink/gpio.conf
-lib/systemd/system/svxlink_gpio_setup.service 
usr/lib/systemd/system/svxlink_gpio_setup.service
+lib/systemd/system/svxlink_gpio_setup.service usr/lib/systemd/system/
diff -Nru svxlink-25.05.1/debian/svxlink-server.install 
svxlink-25.05.1/debian/svxlink-server.install
--- svxlink-25.05.1/debian/svxlink-server.install       2025-11-23 
13:11:32.000000000 +0100
+++ svxlink-25.05.1/debian/svxlink-server.install       2026-07-05 
17:44:41.000000000 +0200
@@ -8,4 +8,4 @@
 etc/svxlink/TclVoiceMail.conf
 etc/svxlink/.procmailrc
 etc/default/svxlink
-lib/systemd/system/svxlink.service
+lib/systemd/system/svxlink.service usr/lib/systemd/system/
diff -Nru svxlink-25.05.1/debian/svxreflector.install 
svxlink-25.05.1/debian/svxreflector.install
--- svxlink-25.05.1/debian/svxreflector.install 2025-11-23 13:11:32.000000000 
+0100
+++ svxlink-25.05.1/debian/svxreflector.install 2026-07-05 17:44:41.000000000 
+0200
@@ -1,6 +1,6 @@
 etc/default/svxreflector
 etc/svxlink/svxreflector.conf
-lib/systemd/system/svxreflector.service
+lib/systemd/system/svxreflector.service usr/lib/systemd/system/
 usr/bin/svxreflector
 usr/bin/svxreflector-status
 etc/svxlink/ca-hook.yaml

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to