SOURCES: mingetty-defaultlogin.patch, mingetty-mono-console.patch, mingetty...

arekm arekm at pld-linux.org
Thu Jun 26 15:42:21 CEST 2008


Author: arekm                        Date: Thu Jun 26 13:42:21 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- up to 1.08

---- Files affected:
SOURCES:
   mingetty-defaultlogin.patch (1.2 -> 1.3) , mingetty-mono-console.patch (1.3 -> 1.4) , mingetty-remote.patch (1.3 -> 1.4) , mingetty-utf8.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/mingetty-defaultlogin.patch
diff -u SOURCES/mingetty-defaultlogin.patch:1.2 SOURCES/mingetty-defaultlogin.patch:1.3
--- SOURCES/mingetty-defaultlogin.patch:1.2	Sun Feb 11 19:19:14 2007
+++ SOURCES/mingetty-defaultlogin.patch	Thu Jun 26 15:42:14 2008
@@ -1,11 +1,12 @@
 diff -urN mingetty-1.07.org/mingetty.8 mingetty-1.07/mingetty.8
 --- mingetty-1.07.org/mingetty.8	2007-02-11 18:59:03.438623000 +0100
 +++ mingetty-1.07/mingetty.8	2007-02-11 19:00:32.962623000 +0100
-@@ -6,6 +6,7 @@
+@@ -6,7 +6,7 @@
  [\-\-noclear] [\-\-nonewline] [\-\-noissue] [\-\-nohangup] [\-\-nohostname]
  [\-\-long\-hostname] [\-\-loginprog=/bin/login] [\-\-nice=10] [\-\-delay=5]
- [\-\-chdir=/home] [\-\-chroot=/chroot] [\-\-autologin username] [\-\-mono]
-+[\-\-defaultlogin username]
+ [\-\-chdir=/home] [\-\-chroot=/chroot] [\-\-autologin username]
+-[\-\-loginpause] [\-\-mono]
++[\-\-loginpause] [\-\-mono] [\-\-defaultlogin username]
  .I tty
  .PP
  .SH DESCRIPTION
@@ -88,8 +89,8 @@
  		"[--nohangup] [--nohostname] [--long-hostname] "
  		"[--loginprog=/bin/login] [--nice=10] [--delay=10] "
  		"[--chdir=/home] [--chroot=/chroot] [--autologin=user] "
--		"[--mono] "
-+		"[--mono] [--defaultlogin=user] "
+-		"[--loginpause] [--mono] "
++		"[--loginpause] [--mono] [--defaultlogin=user] "
  		"tty' with e.g. tty=tty1", progname);
  }
  

================================================================
Index: SOURCES/mingetty-mono-console.patch
diff -u SOURCES/mingetty-mono-console.patch:1.3 SOURCES/mingetty-mono-console.patch:1.4
--- SOURCES/mingetty-mono-console.patch:1.3	Sun Feb 11 19:03:51 2007
+++ SOURCES/mingetty-mono-console.patch	Thu Jun 26 15:42:15 2008
@@ -1,12 +1,12 @@
 diff -urN mingetty-1.07.org/mingetty.8 mingetty-1.07/mingetty.8
 --- mingetty-1.07.org/mingetty.8	2003-05-14 10:55:43.000000000 +0200
 +++ mingetty-1.07/mingetty.8	2007-02-11 18:59:03.438623000 +0100
-@@ -5,7 +5,7 @@
- .B mingetty
+@@ -6,7 +6,7 @@
  [\-\-noclear] [\-\-nonewline] [\-\-noissue] [\-\-nohangup] [\-\-nohostname]
  [\-\-long\-hostname] [\-\-loginprog=/bin/login] [\-\-nice=10] [\-\-delay=5]
--[\-\-chdir=/home] [\-\-chroot=/chroot] [\-\-autologin username]
-+[\-\-chdir=/home] [\-\-chroot=/chroot] [\-\-autologin username] [\-\-mono]
+ [\-\-chdir=/home] [\-\-chroot=/chroot] [\-\-autologin username]
+-[\-\-loginpause]
++[\-\-loginpause] [\-\-mono]
  .I tty
  .PP
  .SH DESCRIPTION
@@ -32,11 +32,12 @@
  
  /* error() - output error messages */
  static void error (const char *fmt, ...)
-@@ -401,6 +403,7 @@
+@@ -409,7 +409,7 @@
  		"[--nohangup] [--nohostname] [--long-hostname] "
  		"[--loginprog=/bin/login] [--nice=10] [--delay=10] "
  		"[--chdir=/home] [--chroot=/chroot] [--autologin=user] "
-+		"[--mono] "
+-		"[--loginpause] "
++		"[--loginpause] [--mono] "
  		"tty' with e.g. tty=tty1", progname);
  }
  

================================================================
Index: SOURCES/mingetty-remote.patch
diff -u SOURCES/mingetty-remote.patch:1.3 SOURCES/mingetty-remote.patch:1.4
--- SOURCES/mingetty-remote.patch:1.3	Sun Feb 11 21:01:14 2007
+++ SOURCES/mingetty-remote.patch	Thu Jun 26 15:42:15 2008
@@ -2,9 +2,9 @@
 --- mingetty-1.07/mingetty.8	2007-02-11 21:00:04.000000000 +0100
 +++ mingetty-1.07-remote/mingetty.8	2007-02-11 20:58:28.000000000 +0100
 @@ -69,6 +69,9 @@
- a login name and password. Check the \-f option from
- .B /bin/login
- for this.
+ Wait for any key before dropping to the login prompt.
+ Can be combined with \fB\-\-autologin\fR to save memory by lazily spawning
+ shells.
 +.TP
 +.B \-\-remote-host=<hostname>
 +Login to remote host. Uses /usr/bin/ssh as default login program.
@@ -42,8 +42,8 @@
  		"[--nohangup] [--nohostname] [--long-hostname] "
  		"[--loginprog=/bin/login] [--nice=10] [--delay=10] "
  		"[--chdir=/home] [--chroot=/chroot] [--autologin=user] "
--		"[--mono] [--defaultlogin=user] "
-+		"[--mono] [--defaultlogin=user] [--remote-host=host] "
+-		"[--loginpause] [--mono] [--defaultlogin=user] "
++		"[--loginpause] [--mono] [--defaultlogin=user] [--remote-host=host] "
  		"tty' with e.g. tty=tty1", progname);
  }
  
@@ -73,7 +73,7 @@
 @@ -479,10 +489,17 @@
  #endif
  
- 	while ((c = getopt_long (argc, argv, "a:d:l:n:w:r:", long_options,
+ 	while ((c = getopt_long (argc, argv, "a:p:d:l:n:w:r:", long_options,
 -		(int *) 0)) != EOF) {
 +		&option_index)) != EOF) {
  		switch (c) {

================================================================
Index: SOURCES/mingetty-utf8.patch
diff -u SOURCES/mingetty-utf8.patch:1.1 SOURCES/mingetty-utf8.patch:1.2
--- SOURCES/mingetty-utf8.patch:1.1	Sun Feb 11 15:57:54 2007
+++ SOURCES/mingetty-utf8.patch	Thu Jun 26 15:42:16 2008
@@ -39,9 +39,9 @@
  /* name of this program (argv[0]) */
  static char *progname;
 @@ -74,6 +92,8 @@
- static int priority = 0;
- /* automatic login with this user */
  static char *autologin = NULL;
+ /* try to read a char before dropping to login prompt */
+ static int loginpause = 0;
 +/* terminal mode */
 +static int mode = K_RAW;
  
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/mingetty-defaultlogin.patch?r1=1.2&r2=1.3&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/mingetty-mono-console.patch?r1=1.3&r2=1.4&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/mingetty-remote.patch?r1=1.3&r2=1.4&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/mingetty-utf8.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list