Package: uwsgi-core
Version: 2.0.23-1
Tags: patch trixie sid
User: helm...@debian.org
Usertags: dep17m2

We want to finalize the /usr-merge transition by moving all aliased
files from / to /usr via DEP17 to avoid negative effects arising from
aliasing. uwsgi is involved, because it installs some of its units below
lib. While uwsgi-emperor already installs to /usr, uwsgi-core does not.
As it does not automatically convert with dh-sequence-movetousr, I'm
attaching a pacth. Note that this patch must not be uploaded to
bookworm-backports or earlier as it would violate the file move
moratorium there.

Helmut
diff --minimal -Nru uwsgi-2.0.23/debian/changelog uwsgi-2.0.23/debian/changelog
--- uwsgi-2.0.23/debian/changelog       2023-11-25 13:35:41.000000000 +0100
+++ uwsgi-2.0.23/debian/changelog       2024-02-10 10:05:54.000000000 +0100
@@ -1,3 +1,10 @@
+uwsgi (2.0.23-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Move system units to /usr for DEP17. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 10 Feb 2024 10:05:54 +0100
+
 uwsgi (2.0.23-1) unstable; urgency=medium
 
   [ upstream ]
diff --minimal -Nru uwsgi-2.0.23/debian/rules uwsgi-2.0.23/debian/rules
--- uwsgi-2.0.23/debian/rules   2023-11-25 13:25:37.000000000 +0100
+++ uwsgi-2.0.23/debian/rules   2024-02-10 10:05:52.000000000 +0100
@@ -341,7 +341,7 @@
 debian/expand-files/uwsgi-core:
        set -e; \
        echo "uwsgi-core usr/bin" > debian/$(cdbs_curpkg).install; \
-       echo "debian/uwsgi-files/systemd/* lib/systemd/system" >> 
debian/$(cdbs_curpkg).install; \
+       echo "debian/uwsgi-files/systemd/* usr/lib/systemd/system" >> 
debian/$(cdbs_curpkg).install; \
        for PLUGIN_NAME in $(UWSGI_SRCPLUGINS_CORE_INSTALL); do \
                echo "$${PLUGIN_NAME}_plugin.so usr/lib/uwsgi/plugins" \
                        >> debian/$(cdbs_curpkg).install; \

Reply via email to