summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2006-05-14 11:38:43 +0000
committerAlin Năstac <mrness@gentoo.org>2006-05-14 11:38:43 +0000
commita2859f95c916ac0ee7298acc776f097286cbc277 (patch)
tree1d10ea984f8a8ef7b5cba4f268bc440013ae0c73 /net-dialup
parentx86 (diff)
downloadhistorical-a2859f95c916ac0ee7298acc776f097286cbc277.tar.gz
historical-a2859f95c916ac0ee7298acc776f097286cbc277.tar.bz2
historical-a2859f95c916ac0ee7298acc776f097286cbc277.zip
Remove obsolete version. Stable on x86.
Package-Manager: portage-2203-svn
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/mingetty/ChangeLog7
-rw-r--r--net-dialup/mingetty/Manifest55
-rw-r--r--net-dialup/mingetty/files/digest-mingetty-1.00.31
-rw-r--r--net-dialup/mingetty/files/mingetty-1.00-autologin.patch426
-rw-r--r--net-dialup/mingetty/files/mingetty-1.00-strerror.patch52
-rw-r--r--net-dialup/mingetty/mingetty-1.00.3.ebuild37
-rw-r--r--net-dialup/mingetty/mingetty-1.07.5.ebuild4
-rw-r--r--net-dialup/mserver/Manifest14
8 files changed, 23 insertions, 573 deletions
diff --git a/net-dialup/mingetty/ChangeLog b/net-dialup/mingetty/ChangeLog
index 7fad9aa5af75..3c0880508b7d 100644
--- a/net-dialup/mingetty/ChangeLog
+++ b/net-dialup/mingetty/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-dialup/mingetty
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/mingetty/ChangeLog,v 1.29 2006/04/24 17:43:53 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/mingetty/ChangeLog,v 1.30 2006/05/14 11:38:43 mrness Exp $
+
+ 14 May 2006; Alin Nastac <mrness@gentoo.org>
+ -files/mingetty-1.00-autologin.patch, -files/mingetty-1.00-strerror.patch,
+ -mingetty-1.00.3.ebuild, mingetty-1.07.5.ebuild:
+ Remove obsolete version. Stable on x86.
24 Apr 2006; Joshua Kinard <kumba@gentoo.org> mingetty-1.07.3.ebuild:
Marked stable on mips.
diff --git a/net-dialup/mingetty/Manifest b/net-dialup/mingetty/Manifest
index ccec13a28040..fd3f47f26fdb 100644
--- a/net-dialup/mingetty/Manifest
+++ b/net-dialup/mingetty/Manifest
@@ -1,43 +1,16 @@
-AUX mingetty-1.00-autologin.patch 13742 RMD160 6430e9877754f80a05708916cdc9114848976523 SHA1 f8f798279613e217a02fa3c29cccb0dcad51ed3a SHA256 32b446775ca3d7bd4c83738f85968790af10234052a1f9e135ac5db4e2622be5 size 13742
-MD5 2468fd4da2ffd9439faecf5eb7630d85 files/mingetty-1.00-autologin.patch 13742
-RMD160 6430e9877754f80a05708916cdc9114848976523 files/mingetty-1.00-autologin.patch 13742
-SHA256 32b446775ca3d7bd4c83738f85968790af10234052a1f9e135ac5db4e2622be5 files/mingetty-1.00-autologin.patch 13742
-AUX mingetty-1.00-strerror.patch 1729 RMD160 0c0d0b4458e02ee6173fc3fe85401a02e7326cd8 SHA1 d1a40b8507da7c5e574b291289991d3864881a09 SHA256 c0cbd1333a335d920f5ac24fa191a792a505bc82df32956f004909b5346b716d size 1729
-MD5 b45f8ff6a45dabcd3b6d8477912dbd12 files/mingetty-1.00-strerror.patch 1729
-RMD160 0c0d0b4458e02ee6173fc3fe85401a02e7326cd8 files/mingetty-1.00-strerror.patch 1729
-SHA256 c0cbd1333a335d920f5ac24fa191a792a505bc82df32956f004909b5346b716d files/mingetty-1.00-strerror.patch 1729
-DIST mingetty-1.00-3.src.rpm 19114 size 19114
-DIST mingetty-1.07-3.src.rpm 19307 size 19307
-DIST mingetty-1.07-5.src.rpm 19346 size 19346
-EBUILD mingetty-1.00.3.ebuild 983 RMD160 831fc694bc5ceb58700bfcbb0a4041b76b96bafd SHA1 66645444ecae1469695a63e6b92ff41e11436904 SHA256 2b0e303534431df44e9e0784243abf6996c087464e7f024b738cc2d7c0e480e5 size 983
-MD5 1655dcdddfc2e6dc252ad4929600be08 mingetty-1.00.3.ebuild 983
-RMD160 831fc694bc5ceb58700bfcbb0a4041b76b96bafd mingetty-1.00.3.ebuild 983
-SHA256 2b0e303534431df44e9e0784243abf6996c087464e7f024b738cc2d7c0e480e5 mingetty-1.00.3.ebuild 983
-EBUILD mingetty-1.07.3.ebuild 884 RMD160 890213679dabeaad04ee1056f604ed6ad2c82958 SHA1 8c0f1817bca2a2cdd63802e49fd507e60c93ba40 SHA256 702dafc0eefa9e3b4f5ed75d6b48e60e7bd024f6db957010fa479a6ea2302f03 size 884
-MD5 0779b146862b40432dfe2e3ce5f01339 mingetty-1.07.3.ebuild 884
-RMD160 890213679dabeaad04ee1056f604ed6ad2c82958 mingetty-1.07.3.ebuild 884
-SHA256 702dafc0eefa9e3b4f5ed75d6b48e60e7bd024f6db957010fa479a6ea2302f03 mingetty-1.07.3.ebuild 884
-EBUILD mingetty-1.07.5.ebuild 895 RMD160 45e147bec5ceee163d23685ebdeab6d732200a9e SHA1 0a9ddafe7a8651afaeb2c6657ed8587a34ecfd77 SHA256 47a89ba6873e16a7609a6e17cb221cb258a41f2baa38b88568e1bda417423d7f size 895
-MD5 b4d225f6479eb986a29e9faaa1ac5aee mingetty-1.07.5.ebuild 895
-RMD160 45e147bec5ceee163d23685ebdeab6d732200a9e mingetty-1.07.5.ebuild 895
-SHA256 47a89ba6873e16a7609a6e17cb221cb258a41f2baa38b88568e1bda417423d7f mingetty-1.07.5.ebuild 895
-MISC ChangeLog 3673 RMD160 30c8f97d7de9c995cf331854a8786d6b71de1db8 SHA1 69f13bda226d5ec2a29a530bfc2b080a51a4d0db SHA256 54804ce390f486e8320161622914e139373f441861cc853d5484b11742f6ee99 size 3673
-MD5 14cf5424395422906dd3c03daf1ac1e6 ChangeLog 3673
-RMD160 30c8f97d7de9c995cf331854a8786d6b71de1db8 ChangeLog 3673
-SHA256 54804ce390f486e8320161622914e139373f441861cc853d5484b11742f6ee99 ChangeLog 3673
-MISC metadata.xml 389 RMD160 bfaa697a02d5ddbee8311d4bef068463b0438fc6 SHA1 5cda19fc7e05fa86e0f1cfada887749265f358e3 SHA256 b74ffab9c3e426a61783e39c7250102761fa842ebba3e182ba82be5113ae293f size 389
-MD5 acdb7765fc8608543c8f2b6812f1f061 metadata.xml 389
-RMD160 bfaa697a02d5ddbee8311d4bef068463b0438fc6 metadata.xml 389
-SHA256 b74ffab9c3e426a61783e39c7250102761fa842ebba3e182ba82be5113ae293f metadata.xml 389
-MD5 5f50d456f26044f81b45f8ca250ab5c6 files/digest-mingetty-1.00.3 67
-RMD160 fff24a781dd5eae6a0bbb03c85cc65a0c9f66b72 files/digest-mingetty-1.00.3 67
-SHA256 9a847d4e21ff9f4ddb83b2eafebcf939f0bd4e6247404fe993ce6ae9b3aeab3c files/digest-mingetty-1.00.3 67
-size 67 files/digest-mingetty-1.00.3 67
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 d7e16b0aba7eea0832f2963eceae0f1b ChangeLog 3892
MD5 fb5372b3fc2060c149b422dec808215e files/digest-mingetty-1.07.3 67
-RMD160 1bcc8672967b17e89c921855b6d2c3ac1d213e0d files/digest-mingetty-1.07.3 67
-SHA256 af57effc323828377d12ab17a7a7a6f29a2d6070c3490ef6f04cc405f4dd2bfe files/digest-mingetty-1.07.3 67
-size 67 files/digest-mingetty-1.07.3 67
MD5 cb37331c6b39cd137e41f2f1315cbd59 files/digest-mingetty-1.07.5 67
-RMD160 0a52dcdbbe04f3f8415282277a5e1b1f806a92a9 files/digest-mingetty-1.07.5 67
-SHA256 6e5efae4d5481bca5fb4807a626e578c001b830c2a4a95b7fd0ed18ef1dc185d files/digest-mingetty-1.07.5 67
-size 67 files/digest-mingetty-1.07.5 67
+MD5 acdb7765fc8608543c8f2b6812f1f061 metadata.xml 389
+MD5 0779b146862b40432dfe2e3ce5f01339 mingetty-1.07.3.ebuild 884
+MD5 12126d61f3a83ee0cbb3300923926c2e mingetty-1.07.5.ebuild 894
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2.2 (GNU/Linux)
+
+iD8DBQFEZxbPjG8pv1lIUX4RAoZJAKCPxmUqUVq45+r0G+nZ10KHVF/zagCfcwlu
+YuASpb4cjZqYtyQH4+2o1Po=
+=31cx
+-----END PGP SIGNATURE-----
diff --git a/net-dialup/mingetty/files/digest-mingetty-1.00.3 b/net-dialup/mingetty/files/digest-mingetty-1.00.3
deleted file mode 100644
index 98d0fb247e86..000000000000
--- a/net-dialup/mingetty/files/digest-mingetty-1.00.3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 a1b54a9caf79300fda418eea8c1172e9 mingetty-1.00-3.src.rpm 19114
diff --git a/net-dialup/mingetty/files/mingetty-1.00-autologin.patch b/net-dialup/mingetty/files/mingetty-1.00-autologin.patch
deleted file mode 100644
index b9fd596e5de6..000000000000
--- a/net-dialup/mingetty/files/mingetty-1.00-autologin.patch
+++ /dev/null
@@ -1,426 +0,0 @@
-diff -urN mingetty-1.00/Makefile mingetty-1.00-autologin/Makefile
---- mingetty-1.00/Makefile Mon Mar 4 07:23:56 2002
-+++ mingetty-1.00-autologin/Makefile Tue Dec 31 16:54:22 2002
-@@ -1,6 +1,6 @@
- DESTDIR=
- CC=gcc
--CFLAGS=-O2 -Wall -pipe -D_GNU_SOURCE
-+CFLAGS=$(RPM_OPTS) -Wall -D_GNU_SOURCE
- MANDIR=/usr/man/man8
- SBINDIR=/sbin
-
-Binary files mingetty-1.00/mingetty and mingetty-1.00-autologin/mingetty differ
-diff -urN mingetty-1.00/mingetty-0.9.4-autologin.patch mingetty-1.00-autologin/mingetty-0.9.4-autologin.patch
---- mingetty-1.00/mingetty-0.9.4-autologin.patch Mon Mar 4 07:14:22 2002
-+++ mingetty-1.00-autologin/mingetty-0.9.4-autologin.patch Wed Dec 31 17:00:00 1969
-@@ -1,202 +0,0 @@
----- mingetty-0.9.4/mingetty.8.autologin Fri Jun 14 09:54:01 1996
--+++ mingetty-0.9.4/mingetty.8 Sun Nov 26 10:34:49 2000
--@@ -3,7 +3,7 @@
-- mingetty \- minimal getty for consoles
-- .SH SYNOPSIS
-- .B mingetty
---[\-\-noclear] [\-\-long\-hostname]
--+[\-\-noclear] [\-\-long\-hostname] [\-\-autologin username]
-- .I tty
-- .PP
-- .SH DESCRIPTION
--@@ -26,6 +26,41 @@
-- .B \-\-long\-hostname
-- By default the hostname is only printed until the first dot.
-- With this option enabled, the full text from gethostname() is shown.
--+.TP
--+.B \-\-autologin username
--+Log the specified user onto the console (normally
--+.IR /dev/tty1 )
--+when the system is first booted without prompting for a username or
--+password.
--+.IP
--+When the autologin option is supplied,
--+.B mingetty
--+will check that the controlling terminal is the console (normally
--+.IR /dev/tty1 ),
--+that a reasonable username has been supplied, and that this is the
--+first autologin request since the system has booted. If all of these
--+conditions have been met, a request for an unauthenticated login is
--+passed to the
--+.B login
--+program. Otherwise, a normal interactive login is performed.
--+.IP
--+The
--+.B login
--+program may deny the request for an unauthenticated login. Typically
--+this will happen when the user is root, has a UID of 0, or whenever a
--+normal interactive login would be denied due to the access
--+restrictions specified in the
--+.IR nologin ,
--+.IR usertty ,
--+or
--+.I securetty
--+files.
--+.IP
--+Only a single autologin request will be issued after a system boot.
--+If the automated login request is denied, or if the user logs out,
--+.B mingetty
--+will revert to performing normal interactive logins for all subsequent
--+login requests.
-- .PP
-- .SH "ISSUE ESCAPES"
-- .B mingetty
--@@ -63,7 +98,8 @@
-- .PP
-- .SH FILES
-- .IR /etc/issue ,
---.IR /var/run/utmp .
--+.IR /var/run/utmp ,
--+.IR /var/log/autologin .
-- .PP
-- .SH "SEE ALSO"
-- .BR mgetty (8),
----- mingetty-0.9.4/mingetty.c.autologin Sun Nov 26 10:54:13 2000
--+++ mingetty-0.9.4/mingetty.c Sun Nov 26 10:28:29 2000
--@@ -17,7 +17,7 @@
-- * should be very reliable. For a modem getty, I'd also use nothing else
-- * but mgetty.
-- *
--- * Usage: mingetty [--noclear] tty
--+ * Usage: mingetty [--noclear] [--autologin username] tty
-- * Example entry in /etc/inittab: 1:123:respawn:/sbin/mingetty tty1
-- *
-- * This program is free software; you can redistribute it and/or
--@@ -49,6 +49,20 @@
-- #endif
--
-- #ifdef linux
--+/* Autologin stuff. Currently Linux-specific, since there's no
--+ standard way of getting the system boot time. The kernel.h and the
--+ sysinfo prototype are used to get the system uptime under Linux. */
--+#include <linux/kernel.h>
--+int sysinfo(struct sysinfo *info);
--+
--+/* AUTO_LAST points to a timestamp file used to limit autologins to
--+ one per system boot. */
--+#define AUTO_LAST "/var/log/autologin"
--+
--+/* AUTO_TTY is the tty on which autologins will be accepted. If set
--+ to an empty string, autologins will be accepted on any tty. */
--+#define AUTO_TTY "tty1"
--+
-- #include <sys/param.h>
-- #define USE_SYSLOG
-- #endif
--@@ -80,7 +94,8 @@
-- static int noclear = 0;
-- /* Print the whole string of gethostname() instead of just until the next "." */
-- static int longhostname = 0;
---
--+/* If supplied, attempt an automatic login with this username. */
--+static char *autologin_name = NULL;
--
-- /*
-- * output error messages
--@@ -385,6 +400,62 @@
-- return logname;
-- }
--
--+/*
--+ * autologin_ok -- returns 1 if it's okay to auto-login when:
--+ * this login is from /dev/tty1; and
--+ * there was a login name passed with the --autologin option; and
--+ * the autologin_name contains only "nice" characters; and
--+ * this is the first autologin attempt since the last boot;
--+ * return 0 otherwise.
--+ */
--+static int autologin_ok(void)
--+{
--+ char c, *cp;
--+ int stat_err, fd;
--+ struct sysinfo info;
--+ struct stat sbuf;
--+
--+ /* Autologins are restricted to AUTO_TTY if non-empty. */
--+ if (AUTO_TTY[0] && strcmp(tty, AUTO_TTY))
--+ return 0;
--+
--+ /* An all-alphanumeric autologin name must be supplied. */
--+ if (autologin_name == NULL || autologin_name[0] == '\0')
--+ return 0;
--+ for (cp = autologin_name; (c = *cp); cp++)
--+ if (!isalnum(c) && c != '_')
--+ return 0;
--+
--+ /* Get the uptime in info.uptime, and the last autologin time
--+ in sbuf.st_mtime. */
--+ sysinfo(&info);
--+ stat_err = stat(AUTO_LAST, &sbuf);
--+
--+ /* If a stat error other than "no such file" occurs, I don't
--+ know what went wrong, so I'll proceed with caution by
--+ denying the autologin request. */
--+ if (stat_err && errno != ENOENT)
--+ return 0;
--+
--+ /* If there's been an autologin granted since the last boot,
--+ deny this and any subsequent attempts. Note that this test
--+ is skipped if the AUTO_LAST file doesn't exist. */
--+ if (!stat_err && time(NULL) - info.uptime < sbuf.st_mtime)
--+ return 0;
--+
--+ /* Create the AUTO_LAST file. The mtime of this file provides
--+ a persistent record of the last time that an autologin
--+ request was granted. Deny the autologin request if either
--+ the file open or file close fails. */
--+ if ((fd=open(AUTO_LAST, O_WRONLY | O_CREAT | O_TRUNC, 0644)) < 0)
--+ return 0;
--+ if (close(fd) != 0)
--+ return 0;
--+
--+ /* All tests are okay, so grant the autologin request. */
--+ return 1;
--+}
--+
-- static void usage (void)
-- {
-- error ("usage: '%s tty' with e.g. tty=tty1", progname);
--@@ -393,6 +464,7 @@
-- static struct option const long_options[] = {
-- { "noclear", no_argument, &noclear, 1},
-- { "long-hostname", no_argument, &longhostname, 1},
--+ { "autologin", required_argument, NULL, 'a'},
-- { 0, 0, 0, 0 }
-- };
--
--@@ -418,6 +490,9 @@
-- switch (c) {
-- case 0:
-- break;
--+ case 'a':
--+ autologin_name = optarg;
--+ break;
-- default:
-- usage ();
-- }
--@@ -438,9 +513,12 @@
-- /* flush input and output queues, important for modems */
-- ioctl (0, TCFLSH, 2);
--
--- while ((logname = get_logname ()) == 0);
---
--- execl (_PATH_LOGIN, _PATH_LOGIN, "--", logname, NULL);
--+ if (autologin_ok()) {
--+ execl (_PATH_LOGIN, _PATH_LOGIN, "-f", autologin_name, NULL);
--+ } else {
--+ while ((logname = get_logname ()) == 0) ;
--+ execl (_PATH_LOGIN, _PATH_LOGIN, "--", logname, NULL);
--+ }
-- error ("%s: can't exec " _PATH_LOGIN ": %s", tty, sys_errlist[errno]);
-- exit (0);
-- }
-diff -urN mingetty-1.00/mingetty.8 mingetty-1.00-autologin/mingetty.8
---- mingetty-1.00/mingetty.8 Mon Mar 4 07:00:44 2002
-+++ mingetty-1.00-autologin/mingetty.8 Tue Dec 31 17:00:04 2002
-@@ -3,7 +3,7 @@
- mingetty \- minimal getty for consoles
- .SH SYNOPSIS
- .B mingetty
--[\-\-noclear] [\-\-long\-hostname]
-+[\-\-noclear] [\-\-long\-hostname] [\-\-autologin username]
- .I tty
- .PP
- .SH DESCRIPTION
-@@ -26,6 +26,41 @@
- .B \-\-long\-hostname
- By default the hostname is only printed until the first dot.
- With this option enabled, the full text from gethostname() is shown.
-+.TP
-+.B \-\-autologin username
-+Log the specified user onto the console (normally
-+.IR /dev/tty1 )
-+when the system is first booted without prompting for a username or
-+password.
-+.IP
-+When the autologin option is supplied,
-+.B mingetty
-+will check that the controlling terminal is the console (normally
-+.IR /dev/tty1 ),
-+that a reasonable username has been supplied, and that this is the
-+first autologin request since the system has booted. If all of these
-+conditions have been met, a request for an unauthenticated login is
-+passed to the
-+.B login
-+program. Otherwise, a normal interactive login is performed.
-+.IP
-+The
-+.B login
-+program may deny the request for an unauthenticated login. Typically
-+this will happen when the user is root, has a UID of 0, or whenever a
-+normal interactive login would be denied due to the access
-+restrictions specified in the
-+.IR nologin ,
-+.IR usertty ,
-+or
-+.I securetty
-+files.
-+.IP
-+Only a single autologin request will be issued after a system boot.
-+If the automated login request is denied, or if the user logs out,
-+.B mingetty
-+will revert to performing normal interactive logins for all subsequent
-+login requests.
- .PP
- .SH "ISSUE ESCAPES"
- .B mingetty
-@@ -64,7 +99,8 @@
- .PP
- .SH FILES
- .IR /etc/issue ,
--.IR /var/run/utmp .
-+.IR /var/run/utmp ,
-+.IR /var/log/autologin .
- .PP
- .SH "SEE ALSO"
- .BR mgetty (8),
-diff -urN mingetty-1.00/mingetty.c mingetty-1.00-autologin/mingetty.c
---- mingetty-1.00/mingetty.c Mon Mar 4 07:10:01 2002
-+++ mingetty-1.00-autologin/mingetty.c Tue Dec 31 17:11:36 2002
-@@ -10,7 +10,7 @@
- * should be very reliable. For a modem getty, I'd also use nothing else
- * but mgetty.
- *
-- * Usage: mingetty [--noclear] tty
-+ * Usage: mingetty [--noclear] [--autologin username] tty
- * Example entry in /etc/inittab: 1:123:respawn:/sbin/mingetty tty1
- *
- * This program is free software; you can redistribute it and/or
-@@ -46,7 +46,22 @@
- #define USE_SYSLOG
- #endif
-
-- /* If USE_SYSLOG is undefined all diagnostics go directly to /dev/console. */
-+/* Autologin stuff. Currently Linux-specific, since there's no
-+ standard way of getting the system boot time. The kernel.h and the
-+ sysinfo prototype are used to get the system uptime under Linux. */
-+#include <linux/kernel.h>
-+int sysinfo(struct sysinfo *info);
-+
-+/* AUTO_LAST points to a timestamp file used to limit autologins to
-+ one per system boot. */
-+#define AUTO_LAST "/var/log/autologin"
-+
-+/* AUTO_TTY is the tty on which autologins will be accepted. If set
-+ to an empty string, autologins will be accepted on any tty. */
-+#define AUTO_TTY "tty1"
-+
-+/* If USE_SYSLOG is undefined all diagnostics go directly to /dev/console. */
-+
- #ifdef USE_SYSLOG
- #include <sys/syslog.h>
- #endif
-@@ -73,7 +88,8 @@
- static int noclear = 0;
- /* Print the whole string of gethostname() instead of just until the next "." */
- static int longhostname = 0;
--
-+/* If supplied, attempt an automatic login with this username. */
-+static char *autologin_name = NULL;
-
- /*
- * output error messages
-@@ -378,6 +394,62 @@
- return logname;
- }
-
-+/*
-+ * autologin_ok -- returns 1 if it's okay to auto-login when:
-+ * this login is from /dev/tty1; and
-+ * there was a login name passed with the --autologin option; and
-+ * the autologin_name contains only "nice" characters; and
-+ * this is the first autologin attempt since the last boot;
-+ * return 0 otherwise.
-+ */
-+static int autologin_ok(void)
-+{
-+ char c, *cp;
-+ int stat_err, fd;
-+ struct sysinfo info;
-+ struct stat sbuf;
-+
-+ /* Autologins are restricted to AUTO_TTY if non-empty. */
-+ if (AUTO_TTY[0] && strcmp(tty, AUTO_TTY))
-+ return 0;
-+
-+ /* An all-alphanumeric autologin name must be supplied. */
-+ if (autologin_name == NULL || autologin_name[0] == '\0')
-+ return 0;
-+ for (cp = autologin_name; (c = *cp); cp++)
-+ if (!isalnum(c) && c != '_')
-+ return 0;
-+
-+ /* Get the uptime in info.uptime, and the last autologin time
-+ in sbuf.st_mtime. */
-+ sysinfo(&info);
-+ stat_err = stat(AUTO_LAST, &sbuf);
-+
-+ /* If a stat error other than "no such file" occurs, I don't
-+ know what went wrong, so I'll proceed with caution by
-+ denying the autologin request. */
-+ if (stat_err && errno != ENOENT)
-+ return 0;
-+
-+ /* If there's been an autologin granted since the last boot,
-+ deny this and any subsequent attempts. Note that this test
-+ is skipped if the AUTO_LAST file doesn't exist. */
-+ if (!stat_err && time(NULL) - info.uptime < sbuf.st_mtime)
-+ return 0;
-+
-+ /* Create the AUTO_LAST file. The mtime of this file provides
-+ a persistent record of the last time that an autologin
-+ request was granted. Deny the autologin request if either
-+ the file open or file close fails. */
-+ if ((fd=open(AUTO_LAST, O_WRONLY | O_CREAT | O_TRUNC, 0644)) < 0)
-+ return 0;
-+ if (close(fd) != 0)
-+ return 0;
-+
-+ /* All tests are okay, so grant the autologin request. */
-+ return 1;
-+}
-+
- static void usage (void)
- {
- error ("usage: '%s tty' with e.g. tty=tty1", progname);
-@@ -386,6 +458,7 @@
- static struct option const long_options[] = {
- { "noclear", no_argument, &noclear, 1},
- { "long-hostname", no_argument, &longhostname, 1},
-+ { "autologin", required_argument, NULL, 'a'},
- { 0, 0, 0, 0 }
- };
-
-@@ -415,6 +488,9 @@
- switch (c) {
- case 0:
- break;
-+ case 'a':
-+ autologin_name = optarg;
-+ break;
- default:
- usage ();
- }
-@@ -435,9 +511,12 @@
- /* flush input and output queues, important for modems */
- ioctl (0, TCFLSH, 2);
-
-- while ((logname = get_logname ()) == 0);
--
-- execl (_PATH_LOGIN, _PATH_LOGIN, "--", logname, NULL);
-+ if (autologin_ok()) {
-+ execl (_PATH_LOGIN, _PATH_LOGIN, "-f", autologin_name, NULL);
-+ } else {
-+ while ((logname = get_logname ()) == 0) ;
-+ execl (_PATH_LOGIN, _PATH_LOGIN, "--", logname, NULL);
-+ }
- error ("%s: can't exec " _PATH_LOGIN ": %s", tty, sys_errlist[errno]);
- exit (0);
- }
-Binary files mingetty-1.00/mingetty.o and mingetty-1.00-autologin/mingetty.o differ
diff --git a/net-dialup/mingetty/files/mingetty-1.00-strerror.patch b/net-dialup/mingetty/files/mingetty-1.00-strerror.patch
deleted file mode 100644
index a3ec9e136ef2..000000000000
--- a/net-dialup/mingetty/files/mingetty-1.00-strerror.patch
+++ /dev/null
@@ -1,52 +0,0 @@
---- mingetty-1.00/mingetty.c.orig 2004-10-02 21:13:08.000000000 +0000
-+++ mingetty-1.00/mingetty.c 2004-10-02 21:13:52.000000000 +0000
-@@ -193,7 +193,7 @@
- strcpy (buf, "/dev/");
- strcat (buf, tty);
- if (chown (buf, 0, 0) || chmod (buf, 0600))
-- error ("%s: %s", buf, sys_errlist[errno]);
-+ error ("%s: %s", buf, strerror(errno));
-
- sa.sa_handler = SIG_IGN;
- sa.sa_flags = 0;
-@@ -208,7 +208,7 @@
- */
- if ((fd = open (buf, O_RDWR, 0)) < 0
- || ioctl (fd, TIOCSCTTY, (void *)1) == -1)
-- error ("%s: cannot open tty: %s", buf, sys_errlist[errno]);
-+ error ("%s: cannot open tty: %s", buf, strerror(errno));
- if (!isatty (fd))
- error ("%s: not a tty", buf);
-
-@@ -222,11 +222,11 @@
-
- if (open (buf, O_RDWR, 0) != 0)
- error ("%s: cannot open as standard input: %s", buf,
-- sys_errlist[errno]);
-+ strerror(errno));
-
- /* Set up standard output and standard error file descriptors. */
- if (dup (0) != 1 || dup (0) != 2)
-- error ("%s: dup problem: %s", buf, sys_errlist[errno]);
-+ error ("%s: dup problem: %s", buf, strerror(errno));
-
- /* Write a reset string to the terminal. This is very linux-specific
- and should be checked for other systems. */
-@@ -377,7 +377,7 @@
- if (errno == EINTR || errno == EIO
- || errno == ENOENT)
- exit (0);
-- error ("%s: read: %s", tty, sys_errlist[errno]);
-+ error ("%s: read: %s", tty, strerror(errno));
- }
- if (c == '\n' || c == '\r') {
- *bp = 0;
-@@ -517,7 +517,7 @@
- while ((logname = get_logname ()) == 0) ;
- execl (_PATH_LOGIN, _PATH_LOGIN, "--", logname, NULL);
- }
-- error ("%s: can't exec " _PATH_LOGIN ": %s", tty, sys_errlist[errno]);
-+ error ("%s: can't exec " _PATH_LOGIN ": %s", tty, strerror(errno));
- exit (0);
- }
-
diff --git a/net-dialup/mingetty/mingetty-1.00.3.ebuild b/net-dialup/mingetty/mingetty-1.00.3.ebuild
deleted file mode 100644
index 2bd15582ddbc..000000000000
--- a/net-dialup/mingetty/mingetty-1.00.3.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/mingetty/mingetty-1.00.3.ebuild,v 1.21 2005/07/20 05:46:31 mrness Exp $
-
-inherit rpm eutils
-
-RHP=${PN}-1.00
-S=${WORKDIR}/${RHP}
-MYP=${PN}-1.00-3
-
-DESCRIPTION="A compact getty program for virtual consoles only."
-HOMEPAGE="ftp://ftp.redhat.com/pub/redhat/linux/8.0/en/os/i386/SRPMS/"
-SRC_URI="http://distro.ibiblio.org/pub/Linux/distributions/redhat/8.0/en/os/i386/SRPMS/${MYP}.src.rpm
-ftp://ftp.redhat.com/pub/redhat/linux/8.0/en/os/i386/SRPMS/${MYP}.src.rpm"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="x86 ppc hppa amd64 alpha sparc ia64 mips ppc64 s390"
-IUSE=""
-
-RDEPEND="virtual/libc"
-
-src_unpack() {
- rpm_src_unpack
- epatch ${FILESDIR}/mingetty-1.00-autologin.patch
- epatch ${FILESDIR}/mingetty-1.00-strerror.patch
-}
-
-src_compile() {
- emake RPM_OPTS="${CFLAGS}" || die
-}
-
-src_install () {
- into /
- dosbin mingetty
- doman mingetty.8
-}
diff --git a/net-dialup/mingetty/mingetty-1.07.5.ebuild b/net-dialup/mingetty/mingetty-1.07.5.ebuild
index 8a02f91047a5..eaf3cef2338e 100644
--- a/net-dialup/mingetty/mingetty-1.07.5.ebuild
+++ b/net-dialup/mingetty/mingetty-1.07.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/mingetty/mingetty-1.07.5.ebuild,v 1.1 2006/03/12 18:02:46 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/mingetty/mingetty-1.07.5.ebuild,v 1.2 2006/05/14 11:38:43 mrness Exp $
inherit rpm eutils toolchain-funcs
@@ -14,7 +14,7 @@ SRC_URI="mirror://fedora/4/SRPMS/${MY_P}.src.rpm"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc x86"
IUSE=""
src_unpack() {
diff --git a/net-dialup/mserver/Manifest b/net-dialup/mserver/Manifest
index f39a4302456e..8a1ce3afe290 100644
--- a/net-dialup/mserver/Manifest
+++ b/net-dialup/mserver/Manifest
@@ -1,19 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 74e5b12b159f502e5bee6e57420c7c78 ChangeLog 1199
-MD5 946947bd8b3bb6e5521f666607498293 files/digest-mserver-0.5.5-r1 67
+MD5 b5de8b66911f3ba818b1c26ec6f4d147 ChangeLog 1297
MD5 946947bd8b3bb6e5521f666607498293 files/digest-mserver-0.5.5-r2 67
MD5 7ec81b751992ca8b635dbe7b983be07c files/mserver-0.5.5-errno.patch 344
MD5 d14ac2b2c6a89fa068a56a9cefe007fb files/mserver-0.5.5-gcc4.patch 3310
MD5 b989a733671e0f1d0fe9ecf07d25f548 files/mserver-init 683
MD5 ab5275dadb8d579eb9204b98af8fe62f metadata.xml 269
-MD5 98c1afb05da798654bb856057daf8da6 mserver-0.5.5-r1.ebuild 1126
MD5 0b26039888615acf0c49fcc76ce12c45 mserver-0.5.5-r2.ebuild 1042
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2.1 (GNU/Linux)
-
-iD8DBQFEFGk4jG8pv1lIUX4RAploAJ4wec/sEnDet1hqCMJMGFX+oM76BQCgvdJt
-RIuC5xd8QpJVgxevTrNFyUk=
-=yK90
------END PGP SIGNATURE-----