[Pkg-sysvinit-commits] r698 - in sysvinit/trunk/debian: . patches

Thomas Hood jdthood-guest at costa.debian.org
Tue Jan 24 21:00:34 UTC 2006


Author: jdthood-guest
Date: 2006-01-24 21:00:32 +0000 (Tue, 24 Jan 2006)
New Revision: 698

Added:
   sysvinit/trunk/debian/patches/25_last_sanify.dpatch
Modified:
   sysvinit/trunk/debian/changelog
   sysvinit/trunk/debian/patches/00list
Log:
Print current time on reboot line

Modified: sysvinit/trunk/debian/changelog
===================================================================
--- sysvinit/trunk/debian/changelog	2006-01-24 14:57:20 UTC (rev 697)
+++ sysvinit/trunk/debian/changelog	2006-01-24 21:00:32 UTC (rev 698)
@@ -11,6 +11,8 @@
     (Closes: #341167)
   * bootlogd: 53_bootlogd_ttyB.dpatch: Also try ttyB0
     (Closes: #348506)
+  * last: 25_last_sanify: Print current time on "reboot" line
+    (addresses: #58119)
   * initscripts postinst: Actually remove some things on purge
 
  -- Thomas Hood <jdthood at yahoo.co.uk>  Mon, 23 Jan 2006 11:24:47 +0100

Modified: sysvinit/trunk/debian/patches/00list
===================================================================
--- sysvinit/trunk/debian/patches/00list	2006-01-24 14:57:20 UTC (rev 697)
+++ sysvinit/trunk/debian/patches/00list	2006-01-24 21:00:32 UTC (rev 698)
@@ -7,6 +7,7 @@
 15_doc_pidof
 20_pidof
 21_ifdown_kfreebsd
+25_last_sanify
 30_strip
 31_build_warnings
 40_selinux

Added: sysvinit/trunk/debian/patches/25_last_sanify.dpatch
===================================================================
--- sysvinit/trunk/debian/patches/25_last_sanify.dpatch	2006-01-24 14:57:20 UTC (rev 697)
+++ sysvinit/trunk/debian/patches/25_last_sanify.dpatch	2006-01-24 21:00:32 UTC (rev 698)
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 25_last_sanify.dpatch by  <jdthood at yahoo.co.uk>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad --exclude=CVS --exclude=.svn ./src/last.c /tmp/dpep-work.Tn7lf6/trunk/src/last.c
+--- ./src/last.c	2005-12-02 17:22:57.000000000 +0100
++++ /tmp/dpep-work.Tn7lf6/trunk/src/last.c	2006-01-24 21:59:09.000000000 +0100
+@@ -418,7 +418,6 @@
+ 			sprintf(length, "- no logout");
+ 			break;
+ 		case R_REBOOT:
+-			logouttime[0] = 0;      /* Print machine uptime */
+ 			break;
+ 		case R_TIMECHANGE:
+ 			logouttime[0] = 0;


Property changes on: sysvinit/trunk/debian/patches/25_last_sanify.dpatch
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-sysvinit-commits mailing list