Package: hostname
Version: 3.23+nmu1
Severity: normal
Tags: patch
User: helm...@debian.org
Usertags: dep17m2

Dear Maintainer,

your package hostname installs files into /bin.
For the ongoing UsrMerge effort [1], /bin should become "empty", IOW
packages should not install files there, but instead into /usr/bin.

I think hostname could move these files now. I am guessing that hostname
would not see backports; if it did, please note that such changes must be
reverted for bookworm (or earlier).

Attached you will find a patch implementing this. Please apply it at
your earliest convenience.

Thanks,
Chris

1. https://wiki.debian.org/UsrMerge
diff -Nru hostname-3.23+nmu1/debian/changelog 
hostname-3.23+nmu2/debian/changelog
--- hostname-3.23+nmu1/debian/changelog 2022-12-19 14:33:11.000000000 +0100
+++ hostname-3.23+nmu2/debian/changelog 2023-11-27 14:03:42.000000000 +0100
@@ -1,3 +1,10 @@
+hostname (3.23+nmu2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Install into /usr/bin instead of /bin. (Closes: #-1)
+
+ -- Chris Hofstaedtler <z...@debian.org>  Mon, 27 Nov 2023 14:03:42 +0100
+
 hostname (3.23+nmu1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru hostname-3.23+nmu1/debian/dirs hostname-3.23+nmu2/debian/dirs
--- hostname-3.23+nmu1/debian/dirs      2018-01-30 11:25:42.000000000 +0100
+++ hostname-3.23+nmu2/debian/dirs      2023-11-27 14:03:42.000000000 +0100
@@ -1,2 +1 @@
-/bin
 /usr/share/man/man1
diff -Nru hostname-3.23+nmu1/debian/rules hostname-3.23+nmu2/debian/rules
--- hostname-3.23+nmu1/debian/rules     2019-08-24 19:03:54.000000000 +0200
+++ hostname-3.23+nmu2/debian/rules     2023-11-27 14:03:40.000000000 +0100
@@ -51,7 +51,7 @@
        dh_installdirs
 
        # Installing package
-       $(MAKE) install BASEDIR=$(CURDIR)/debian/hostname $(CROSS)
+       $(MAKE) install BASEDIR=$(CURDIR)/debian/hostname BINDIR=/usr/bin 
$(CROSS)
 
 binary-indep: build install
 

Reply via email to