[Pkg-sysvinit-commits] r388 - sysvinit/trunk/debian/patches

Thomas Hood jdthood-guest at costa.debian.org
Thu Dec 15 23:07:51 UTC 2005


Author: jdthood-guest
Date: 2005-12-15 23:07:49 +0000 (Thu, 15 Dec 2005)
New Revision: 388

Removed:
   sysvinit/trunk/debian/patches/92_sulogin_sash.dpatch
Modified:
   sysvinit/trunk/debian/patches/00list
Log:
Remove patch 92

Modified: sysvinit/trunk/debian/patches/00list
===================================================================
--- sysvinit/trunk/debian/patches/00list	2005-12-15 22:53:59 UTC (rev 387)
+++ sysvinit/trunk/debian/patches/00list	2005-12-15 23:07:49 UTC (rev 388)
@@ -21,4 +21,3 @@
 81_killall_avoid_init
 90_shutdown_H
 91_sulogin_lockedpw
-92_sulogin_sash

Deleted: sysvinit/trunk/debian/patches/92_sulogin_sash.dpatch
===================================================================
--- sysvinit/trunk/debian/patches/92_sulogin_sash.dpatch	2005-12-15 22:53:59 UTC (rev 387)
+++ sysvinit/trunk/debian/patches/92_sulogin_sash.dpatch	2005-12-15 23:07:49 UTC (rev 388)
@@ -1,42 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 92_sulogin_sash.dpatch
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Try sash if sh fails
-
- at DPATCH@
-Index: sysvinit/src/sulogin.c
-===================================================================
---- sysvinit/src/sulogin.c_ORIG	2005-12-02 17:22:57.000000000 +0100
-+++ sysvinit/src/sulogin.c	2005-12-16 00:49:34.000000000 +0100
-@@ -34,6 +34,7 @@
- #define F_PASSWD	"/etc/passwd"
- #define F_SHADOW	"/etc/shadow"
- #define BINSH		"/bin/sh"
-+#define STATICSH	"/bin/sash"
- 
- char *Version = "@(#)sulogin 2.85-3 23-Apr-2003 miquels at cistron.nl";
- 
-@@ -331,16 +332,21 @@
- 	/*
- 	 *	Try to execute a shell.
- 	 */
--	setenv("SHELL", sushell, 1);
- 	signal(SIGINT, SIG_DFL);
- 	signal(SIGTSTP, SIG_DFL);
- 	signal(SIGQUIT, SIG_DFL);
-+
-+	setenv("SHELL", sushell, 1);
- 	execl(sushell, shell, NULL);
- 	perror(sushell);
- 
- 	setenv("SHELL", BINSH, 1);
- 	execl(BINSH, profile ? "-sh" : "sh", NULL);
- 	perror(BINSH);
-+
-+	setenv("SHELL", STATICSH, 1);
-+	execl(STATICSH, STATICSH, NULL);
-+	perror(STATICSH);
- }
- 
- void usage(void)




More information about the Pkg-sysvinit-commits mailing list