[pkg-uWSGI-devel] Bug#1063691: uwsgi-core: move systemd units to /usr (DEP17)

Helmut Grohne helmut at subdivi.de
Sat Feb 10 09:17:45 GMT 2024


Package: uwsgi-core
Version: 2.0.23-1
Tags: patch trixie sid
User: helmutg at 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
-------------- next part --------------
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 <helmut at 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; \


More information about the pkg-uWSGI-devel mailing list