From ca9627e70852f6b2e835660df870fe3ab405882d Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 1 Sep 2019 00:00:32 +0200 Subject: Initial import --- .../mingetty/files/mingetty-ds-x509-v2.patch | 22 ++++++++++++++++++++++ net-dialup/mingetty/files/mingetty-ds-x509.patch | 22 ++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 net-dialup/mingetty/files/mingetty-ds-x509-v2.patch create mode 100644 net-dialup/mingetty/files/mingetty-ds-x509.patch (limited to 'net-dialup/mingetty/files') diff --git a/net-dialup/mingetty/files/mingetty-ds-x509-v2.patch b/net-dialup/mingetty/files/mingetty-ds-x509-v2.patch new file mode 100644 index 0000000..86451da --- /dev/null +++ b/net-dialup/mingetty/files/mingetty-ds-x509-v2.patch @@ -0,0 +1,22 @@ +diff -dPNur mingetty-1.07/mingetty.c mingetty-1.07-new/mingetty.c +--- mingetty-1.07/mingetty.c 2004-01-03 13:15:56.000000000 +0000 ++++ mingetty-1.07-new/mingetty.c 2006-01-04 23:44:55.000000000 +0000 +@@ -297,7 +297,8 @@ + unsigned char c; + + tcflush (0, TCIFLUSH); /* flush pending input */ +- for (*logname = 0; *logname == 0;) { ++ *logname=0; ++// for (*logname = 0; *logname == 0;) { + do_prompt (1); + for (bp = logname;;) { + if (read (0, &c, 1) < 1) { +@@ -317,7 +318,7 @@ + else + *bp++ = c; + } +- } ++ if (!*logname) strcpy(logname, "x509detect"); + return logname; + } + diff --git a/net-dialup/mingetty/files/mingetty-ds-x509.patch b/net-dialup/mingetty/files/mingetty-ds-x509.patch new file mode 100644 index 0000000..ae27fd6 --- /dev/null +++ b/net-dialup/mingetty/files/mingetty-ds-x509.patch @@ -0,0 +1,22 @@ +diff -dPNur mingetty-1.07/mingetty.c mingetty-1.07-new/mingetty.c +--- mingetty-1.07/mingetty.c 2004-01-03 13:15:56.000000000 +0000 ++++ mingetty-1.07-new/mingetty.c 2006-01-04 23:44:55.000000000 +0000 +@@ -297,7 +297,8 @@ + unsigned char c; + + tcflush (0, TCIFLUSH); /* flush pending input */ +- for (*logname = 0; *logname == 0;) { ++ *logname=0; ++// for (*logname = 0; *logname == 0;) { + do_prompt (1); + for (bp = logname;;) { + if (read (0, &c, 1) < 1) { +@@ -317,7 +318,7 @@ + else + *bp++ = c; + } +- } ++// } + return logname; + } + -- cgit v1.2.3