Package: dhcp-helper
Version: 1.2-3.1
Tags: patch
User: [email protected]
Usertags: dep17m2

Hi,

we want to move all files from aliased to locations to /usr to finalize
the /usr-merge transition via DEP17. dhcp-helper is involved, because it
installs a systemd unit below /lib. I'm sending you a patch for this
move, because it cannot be automatically moved via
dh-sequence-movetousr. This patch should not be uploaded to
bookworm-backports or earlier.

Helmut
diff --minimal -Nru dhcp-helper-1.2/debian/changelog 
dhcp-helper-1.2/debian/changelog
--- dhcp-helper-1.2/debian/changelog    2022-11-23 23:52:28.000000000 +0100
+++ dhcp-helper-1.2/debian/changelog    2024-02-09 14:16:21.000000000 +0100
@@ -1,3 +1,10 @@
+dhcp-helper (1.2-3.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Move systemd unit to /usr for DEP17. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Fri, 09 Feb 2024 14:16:21 +0100
+
 dhcp-helper (1.2-3.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff --minimal -Nru dhcp-helper-1.2/debian/rules dhcp-helper-1.2/debian/rules
--- dhcp-helper-1.2/debian/rules        2021-01-03 21:26:06.000000000 +0100
+++ dhcp-helper-1.2/debian/rules        2024-02-09 14:16:18.000000000 +0100
@@ -43,7 +43,7 @@
                -d debian/tmp/usr/share/man/man8\
                 -d debian/tmp/etc/init.d\
                 -d debian/tmp/etc/default\
-               -d debian/tmp/lib/systemd/system\
+               -d debian/tmp/usr/lib/systemd/system\
                -d debian/tmp/var/run
        install -m 644 debian/conffiles debian/tmp/DEBIAN
        install -m 755 debian/postinst debian/postrm debian/prerm 
debian/tmp/DEBIAN
@@ -53,7 +53,7 @@
 endif
        install -m 755 debian/init debian/tmp/etc/init.d/dhcp-helper
        install -m 644 debian/default debian/tmp/etc/default/dhcp-helper
-       install -m 644 debian/systemd.service 
debian/tmp/lib/systemd/system/dhcp-helper.service
+       install -m 644 debian/systemd.service 
debian/tmp/usr/lib/systemd/system/dhcp-helper.service
 ifeq (,$(findstring nodocs,$(DEB_BUILD_OPTIONS)))
        cp CHANGELOG debian/tmp/usr/share/doc/$(package)/changelog
        gzip -9n debian/tmp/usr/share/doc/$(package)/changelog

Reply via email to