Source: chasquid Version: 1.11-2 Severity: normal Tags: patch User: helm...@debian.org Usertags: dep17m2
Hi! Your package installs systemd units into /lib/systemd/system, using a hardcoded path in debian/*.install. For the ongoing Debian UsrMerge effort [1] these files should move to /usr in the trixie cycle. I'm attaching a trivial patch for your convenience. However, please still read the wiki page on moving files, especially if you intend to backport to bookworm or earlier. The patch has already been checked by a local dumat copy. Other options include using dh_installsystemd or discovering the correct install path using pkg-config (systemd.pc). If during the trixie cycle your package will undergo structural changes or any other file moves, please also see the wiki and upload to experimental first when these changes are done. Chris [1] https://wiki.debian.org/UsrMerge
diff -Nru chasquid-1.11/debian/changelog chasquid-1.11/debian/changelog --- chasquid-1.11/debian/changelog 2023-02-27 14:18:59.000000000 +0100 +++ chasquid-1.11/debian/changelog 2023-12-27 12:41:58.000000000 +0100 @@ -1,3 +1,11 @@ +chasquid (1.11-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Install systemd units into /usr instead of /. (Closes: #-1) + Build-Depend on newer debhelper supporting that path. + + -- Chris Hofstaedtler <z...@debian.org> Wed, 27 Dec 2023 12:41:58 +0100 + chasquid (1.11-2) unstable; urgency=medium * Fix systemd config files (revert to 1.10 for Debian) diff -Nru chasquid-1.11/debian/control chasquid-1.11/debian/control --- chasquid-1.11/debian/control 2023-02-27 14:17:31.000000000 +0100 +++ chasquid-1.11/debian/control 2023-12-27 12:41:23.000000000 +0100 @@ -4,7 +4,7 @@ Maintainer: Debian Go Packaging Team <team+pkg...@tracker.debian.org> Uploaders: Martina Ferrari <t...@debian.org>, Alberto Bertogli <albert...@blitiri.com.ar> -Build-Depends: debhelper (>= 13~), +Build-Depends: debhelper (>= 13.11.6~), debhelper-compat (= 13), dh-golang (>= 1.18~), golang-any, diff -Nru chasquid-1.11/debian/install chasquid-1.11/debian/install --- chasquid-1.11/debian/install 2023-02-27 14:17:31.000000000 +0100 +++ chasquid-1.11/debian/install 2023-12-27 12:41:08.000000000 +0100 @@ -9,5 +9,5 @@ # Override the service and sockets, as we make small Debian-specific # changes to it, and retain the 1.10 structure (it was changed in 1.11 and we # have not yet updated the Debian package to it). -debian/systemd/*.service lib/systemd/system/ -debian/systemd/*.socket lib/systemd/system/ +debian/systemd/*.service usr/lib/systemd/system/ +debian/systemd/*.socket usr/lib/systemd/system/