Hello!

On Wed, May 06, 2015 at 06:30:09PM +0200, Andreas Henriksson wrote:
> Hello again!
> 
> I've been asked to replace additional program shipped in
> sysvinit-utils (src:sysvinit) with counterparts from src:util-linux.
> 
> Patch for sysvinit attached:
>  0001-Let-util-linux-provide-sulogin-last-lastb-mesg.patch
[...]

I put the new versioned dependency on the wrong line (spotted by mbiebl).
Fixed patch attached.

Regards,
Andreas Henriksson
>From c181d2fcd5acea5ae38f4318f317e066e9cc358d Mon Sep 17 00:00:00 2001
From: Andreas Henriksson <andr...@fatal.se>
Date: Wed, 6 May 2015 17:27:38 +0200
Subject: [PATCH 2/2] Let util-linux provide sulogin, last, lastb, mesg

Closes: #784567
---
 debian/control                | 6 ++++--
 debian/sysvinit-utils.install | 7 -------
 debian/sysvinit-utils.links   | 1 -
 3 files changed, 4 insertions(+), 10 deletions(-)

diff --git a/debian/control b/debian/control
index 1df5d16..b6a4bd2 100644
--- a/debian/control
+++ b/debian/control
@@ -64,14 +64,16 @@ Architecture: any
 Conflicts: last, sysvconfig, chkconfig (<< 11.0-79.1-2), startpar (<< 0.58-2)
 Replaces: last, sysvinit (<= 2.86.ds1-65)
 Depends: ${shlibs:Depends}, ${misc:Depends}
- , startpar
+ , startpar,
+# sulogin, last, lastb and mesg was moved to the util-linux package
+ util-linux (>= 2.26.2-3)
 Breaks: upstart (<< 1.5-0ubuntu5)
 Suggests: bootlogd, sash
 Description: System-V-like utilities
  This package contains the important System-V-like utilities.
  .
  Specifically, this package includes:
- killall5, last, lastb, mesg, pidof, service, sulogin
+ killall5, pidof, service
 
 Package: sysv-rc
 Architecture: all
diff --git a/debian/sysvinit-utils.install b/debian/sysvinit-utils.install
index 30e1f09..c8b4f07 100644
--- a/debian/sysvinit-utils.install
+++ b/debian/sysvinit-utils.install
@@ -1,14 +1,7 @@
 sbin/fstab-decode
 sbin/killall5
-sbin/sulogin
-usr/bin/last
-usr/bin/mesg
-usr/share/man/man1/last.1
-usr/share/man/man1/lastb.1
-usr/share/man/man1/mesg.1
 usr/share/man/man8/fstab-decode.8
 usr/share/man/man8/killall5.8
 usr/share/man/man8/pidof.8
-usr/share/man/man8/sulogin.8
 debian/service/service usr/sbin/
 debian/init-d-script lib/init
diff --git a/debian/sysvinit-utils.links b/debian/sysvinit-utils.links
index cc2dfff..f49b40e 100644
--- a/debian/sysvinit-utils.links
+++ b/debian/sysvinit-utils.links
@@ -1,2 +1 @@
 sbin/killall5 bin/pidof
-usr/bin/last usr/bin/lastb
-- 
2.1.4

Reply via email to