[Pkg-sysvinit-devel] Bug#388417: Please move sulogin from sysvinit to sysvinit-utils

Michael Biebl biebl at teco.edu
Wed Sep 20 10:28:29 UTC 2006


Package: sysvinit
Severity: wishlist
Tags: patch

The latest release of upstart (0.2.7) does not ship its own sulogin
binary anymore. So the Ubuntu developers moved the sulogin binary and
manpage from the sysvinit to the sysvinit-utils package in revision
sysvinit_2.86.ds1-14.1ubuntu11.
The same should be done for the Debian package to keep in sync with the
package split.
Please find the attached patch. It's created against current trunk.

Cheers,
Michael


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (300, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
-------------- next part --------------
Index: debian/rules
===================================================================
--- debian/rules	(Revision 942)
+++ debian/rules	(Arbeitskopie)
@@ -97,12 +97,14 @@
 	rm -f $(tmp)/sbin/reboot
 endif
 	rm -f $(tmp)/usr/share/man/man8/killall5.8
+	rm -f $(tmp)/usr/share/man/man8/sulogin.8
 	rm -f $(tmp)/usr/share/man/man1/last.1
 	rm -f $(tmp)/usr/share/man/man1/lastb.1
 	rm -f $(tmp)/usr/share/man/man1/mesg.1
 	rm -f $(tmp)/usr/share/man/man8/pidof.8
 	rm -f $(tmp)/usr/share/man/man1/mountpoint.1
 	rm -f $(tmp)/sbin/killall5
+	rm -f $(tmp)/sbin/sulogin
 	rm -f $(tmp)/usr/bin/last
 	rm -f $(tmp)/usr/bin/lastb
 	rm -f $(tmp)/usr/bin/mesg
@@ -138,14 +140,17 @@
 	install -d -o root -g root -m 755 $(tmp)/usr/share/man
 	install -d -o root -g root -m 755 $(tmp)/usr/share/man/man{1,8}
 	install -o root -g root -m 755 src/killall5 $(tmp)/sbin
+	install -o root -g root -m 755 src/sulogin $(tmp)/sbin
 	install -o root -g root -m 755 src/last $(tmp)/usr/bin
 	install -o root -g root -m 755 src/mesg $(tmp)/usr/bin
 	strip -s -R .comment $(tmp)/sbin/killall5
+	strip -s -R .comment $(tmp)/sbin/sulogin
 	strip -s -R .comment $(tmp)/usr/bin/last
 	strip -s -R .comment $(tmp)/usr/bin/mesg
 	ln -sf ../sbin/killall5 $(tmp)/bin/pidof
 	ln -sf last $(tmp)/usr/bin/lastb
 	install -o root -g root -m 644 man/killall5.8 $(tmp)/usr/share/man/man8
+	install -o root -g root -m 644 man/sulogin.8 $(tmp)/usr/share/man/man8
 	install -o root -g root -m 644 man/last.1 $(tmp)/usr/share/man/man1
 	install -o root -g root -m 644 man/lastb.1 $(tmp)/usr/share/man/man1
 	install -o root -g root -m 644 man/mesg.1 $(tmp)/usr/share/man/man1


More information about the Pkg-sysvinit-devel mailing list