Source: mgetty
Version: 1.2.1-1.2
Severity: normal
Tags: patch
User: helm...@debian.org
Usertags: dep17m2

Hi!

Your package installs files directly into /. For the ongoing Debian UsrMerge
effort [1] these files should move to /usr in the trixie cycle.

I'm attaching a patch to implement such a move.

However, please still read the wiki page on moving files, especially if you
intend to backport to bookworm or earlier. The patch has already been checked
by a local dumat copy.

If during the trixie cycle your package will undergo structural changes or any
other file moves, please also see the wiki and upload to experimental first
when these changes are done.

Chris

[1] https://wiki.debian.org/UsrMerge
diff -Nru mgetty-1.2.1/debian/changelog mgetty-1.2.1/debian/changelog
--- mgetty-1.2.1/debian/changelog	2022-04-14 17:12:32.000000000 +0200
+++ mgetty-1.2.1/debian/changelog	2023-12-23 19:26:37.000000000 +0100
@@ -1,3 +1,10 @@
+mgetty (1.2.1-1.3) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Install files into /usr instead of /. (Closes: #-1)
+
+ -- Chris Hofstaedtler <z...@debian.org>  Sat, 23 Dec 2023 19:26:37 +0100
+
 mgetty (1.2.1-1.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru mgetty-1.2.1/debian/mgetty.dirs mgetty-1.2.1/debian/mgetty.dirs
--- mgetty-1.2.1/debian/mgetty.dirs	2022-04-14 15:50:17.000000000 +0200
+++ mgetty-1.2.1/debian/mgetty.dirs	2023-12-23 19:26:37.000000000 +0100
@@ -1,7 +1,6 @@
 usr/share/mgetty/templates/etc
 usr/bin
 usr/sbin
-sbin
 var/spool
 var/log/mgetty
 etc/mgetty
diff -Nru mgetty-1.2.1/debian/rules mgetty-1.2.1/debian/rules
--- mgetty-1.2.1/debian/rules	2022-04-14 15:50:53.000000000 +0200
+++ mgetty-1.2.1/debian/rules	2023-12-23 19:26:37.000000000 +0100
@@ -120,10 +120,6 @@
 	cp voice/ChangeLog \
 		$(DEBIAN_DIR)/mgetty-voice/usr/share/doc/mgetty/changelog.voice
 
-#	Enforce debian standard for location of getty's
-	mv $(DEBIAN_DIR)/mgetty/usr/sbin/?getty \
-		$(DEBIAN_DIR)/mgetty/sbin/
-
 #	And usr/sbin stuff
 	mv $(DEBIAN_DIR)/mgetty/usr/bin/faxrunq \
 		$(DEBIAN_DIR)/mgetty-fax/usr/bin/

Reply via email to