Bug#1122774: svxlink: Please remove/replace usage of dh_movetousr

Michael Biebl <[email protected]> Sun, 5 Jul 2026 18:01:26 +0200
Newsgroups gmane.linux.debian.devel.ham
Message-ID <941db7cf-6348-4ff5-aeb0-a3cd58c7066b__17509.7644141474$1783267422$gmane$org@debian.org>
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
svxlink_25.05.1-4.1.debdiff (text/plain, 2.9 KB)
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
OpenPGP_signature.asc (application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEECbOsLssWnJBDRcxUauHfDWCPItwFAmpKf9YFAwAAAAAACgkQauHfDWCPItzF
chAAmW0hlodksh0WE9sOmfVRaivZ0YreNJOr7YN3M1d+7eVU9FLbxtbs7h2vHqmKN4fgHr9s+7KD
ZJ2V6LdeJMfPUJey1SjYtUZAaO7HoYqR9obkhA7qVWQuzwcmtB8MocywS4nKzzwooo1o4uIkcewq
zRJZMqw/sjJ+t2RvLGynpSIloywShtxlaw3KFYdTUgct6hybsK1eN4Fe3v7GHW1bjudvj1tzT7zE
iycDaGOFDfDNOF00KrDW54nl2BU4Slo+1pXvZyF+qdSZrqmXLgTRysroB/wGyv8byIZuE3jHW5zH
iADHDSDX77LYcaon1/jypoDrcjjm1EOBxhoZC1LvyYq+mzE0D7Fcv7YxiVZORJ09sKQCZQYKA/6N
bDmSNtL6UweDWOsH28Rlrie8rAZc+S2DCJAZSw8L1IMENjahL6mpZBPdvguCdHbAx6VRYWYDM0TI
pxoDnrNnF6pn09JAtKmDVC2QNLmW1+1FqGq99MBVn2Wch9jXoIXLJXpY9uuCh7EaNTzLEkJcTpiK
9ejvY9E0BfNhrhNNNOLtjf6IW2k5fF5sDALbskQRiAkqhwODIj0lHEsa/D6jRaM44AR3bKOIwHaD
7D2QAiUoziYy9cVH70i7UEuf7lc7kz6ggZLDoRNxwXToDFEh8/kkt09JZmXUMFDjAG00ugJkJeSw
N4E=
=bkzg
-----END PGP SIGNATURE-----