Package: ruptimed
Version: 1.8-1
Severity: serious
Tags: patch sid
User: helm...@debian.org
Usertags: dep17m2

This package is part of the /usr-move (DEP17) transition, because it
contains files in aliased locations and should have those files moved to
the corresponding /usr location. The goal of this move is eliminating
bugs arising from aliasing, such as file loss during package upgrades.

You may add dh-sequence-movetousr to Build-Depends to perform the move.
The main advantage of this method is the low effort and it just works when
backporting to bookworm.  However, it is more of a stop-gap measure as
eventually the installation procedure should refer to the files that are
actually used for installation. This often means updating debian/*.install
files but also changing flags passed to a configure script or similar
measures.
In case you do not anticipate your package being uploaded to
bookworm-backports, please prefer a manual move, but generally prefer moving
over delaying any further.

After having done this move, please keep in mind that the relevant
changes need to be reverted for bookworm-backports, with these
exceptions:
 * dh-sequence-movetousr and dh_movetousr cancel themselves.
 * dh_installsystemd and dh_installudev revert to the aliased location.
 * The pkg-config variables systemdsystemunitdir in systemd.pc and
   udevdir in udev.pc reverts to aliased.

Please keep in mind that restructuring changes may introduce problems
after moving. A change is considered restructuring if formerly aliased
files formerly owned by one package are later to be owned by a package
with a different name. Such uploads should be done to experimental and
quarantine for three days before moving to unstable. This way, automatic
analysis (https://salsa.debian.org/helmutg/dumat) can detect problems
and file bugs. Such bugs shall include support for resolving the
problems.

For additional information about refer to
https://wiki.debian.org/UsrMerge and
https://subdivi.de/~helmut/dep17.html.
diff -Nru ruptime-1.8/debian/changelog ruptime-1.8/debian/changelog
--- ruptime-1.8/debian/changelog        2024-03-25 00:14:57.000000000 +0100
+++ ruptime-1.8/debian/changelog        2024-10-13 21:42:57.000000000 +0200
@@ -1,3 +1,10 @@
+ruptime (1.8-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Move aliased files from / to /usr (DEP17). (Closes: #-1)
+
+ -- Michael Biebl <bi...@debian.org>  Sun, 13 Oct 2024 21:42:57 +0200
+
 ruptime (1.8-1) unstable; urgency=medium
 
   * Initial release. (Closes: #1013361)
diff -Nru ruptime-1.8/debian/ruptimed.install 
ruptime-1.8/debian/ruptimed.install
--- ruptime-1.8/debian/ruptimed.install 2023-05-24 16:13:16.000000000 +0200
+++ ruptime-1.8/debian/ruptimed.install 2024-10-13 21:40:04.000000000 +0200
@@ -1,2 +1,2 @@
 ruptimed usr/sbin
-systemd/ruptimed.service lib/systemd/system
+systemd/ruptimed.service usr/lib/systemd/system

Reply via email to