diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-dialup/minicom/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-dialup/minicom/files')
-rw-r--r-- | net-dialup/minicom/files/minicom-2.3-gentoo-runscript.patch | 55 | ||||
-rw-r--r-- | net-dialup/minicom/files/minicom-2.6-etimeout.patch | 11 | ||||
-rw-r--r-- | net-dialup/minicom/files/minicom-2.7-lockdir.patch | 14 | ||||
-rw-r--r-- | net-dialup/minicom/files/minirc.dfl | 1 |
4 files changed, 81 insertions, 0 deletions
diff --git a/net-dialup/minicom/files/minicom-2.3-gentoo-runscript.patch b/net-dialup/minicom/files/minicom-2.3-gentoo-runscript.patch new file mode 100644 index 000000000000..ff72db966b85 --- /dev/null +++ b/net-dialup/minicom/files/minicom-2.3-gentoo-runscript.patch @@ -0,0 +1,55 @@ +diff -ru minicom-2.3.orig/extras/scriptdemo minicom-2.3/extras/scriptdemo +--- minicom-2.3.orig/extras/scriptdemo 2003-03-30 21:55:39.000000000 +0300 ++++ minicom-2.3/extras/scriptdemo 2008-04-20 05:27:19.000000000 +0300 +@@ -1,5 +1,5 @@ + # A little demonstration of the possibilities of "runscript". +-# This script can be executed by typing: "runscript scriptdemo". ++# This script can be executed by typing: "/usr/bin/runscript scriptdemo". + # + # Adjust the stty's below to your system: BSD-like or SysV-like. + # Linux ofcourse accepts both :-) +diff -ru minicom-2.3.orig/man/minicom.1 minicom-2.3/man/minicom.1 +--- minicom-2.3.orig/man/minicom.1 2008-02-24 12:22:43.000000000 +0200 ++++ minicom-2.3/man/minicom.1 2008-04-20 05:27:19.000000000 +0300 +@@ -418,7 +418,7 @@ + .TP 0.5i + .B D - Script program + Which program to use as the script interpreter. Defaults to the +-program "runscript", but if you want to use something else (eg, ++program "/usr/bin/runscript", but if you want to use something else (eg, + /bin/sh or "expect") it is possible. Stdin and stdout are connected + to the modem, stderr to the screen. + .RS 0.5i +diff -ru minicom-2.3.orig/man/runscript.1 minicom-2.3/man/runscript.1 +--- minicom-2.3.orig/man/runscript.1 2007-11-13 23:35:06.000000000 +0200 ++++ minicom-2.3/man/runscript.1 2008-04-20 05:27:19.000000000 +0300 +@@ -5,7 +5,7 @@ + .\" for conditions under which this file may be redistributed. + .TH RUNSCRIPT 1 "$Date: 2008/04/20 02:39:28 $" "User's Manual" + .SH NAME +-runscript \- script interpreter for minicom ++/usr/bin/runscript \- script interpreter for minicom + .SH SYNOPSIS + .B runscript + .RI "scriptname [logfile [homedir]]" +diff -ru minicom-2.3.orig/src/rwconf.c minicom-2.3/src/rwconf.c +--- minicom-2.3.orig/src/rwconf.c 2007-10-10 23:18:20.000000000 +0300 ++++ minicom-2.3/src/rwconf.c 2008-04-20 05:27:19.000000000 +0300 +@@ -118,7 +118,7 @@ + { N_("No"), 0, "kermreal" }, + { "3", 0, "colusage" }, + /* The script program */ +- { "runscript", 0, "scriptprog" }, ++ { "/usr/bin/runscript", 0, "scriptprog" }, + /* Modem parameters */ + { "~^M~AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0^M", 0, "minit" }, + { "^M~ATZ^M~", 0, "mreset" }, +@@ -246,7 +246,7 @@ + int matched; + + if (conftype == CONFIG_GLOBAL) +- strcpy(P_SCRIPTPROG, "runscript"); ++ strcpy(P_SCRIPTPROG, "/usr/bin/runscript"); + + line = malloc(line_size); + if (!line) { diff --git a/net-dialup/minicom/files/minicom-2.6-etimeout.patch b/net-dialup/minicom/files/minicom-2.6-etimeout.patch new file mode 100644 index 000000000000..2dd01963c443 --- /dev/null +++ b/net-dialup/minicom/files/minicom-2.6-etimeout.patch @@ -0,0 +1,11 @@ +--- src/main.c.orig 2011-09-30 09:57:00.000000000 +0200 ++++ src/main.c 2011-12-28 16:07:59.000000000 +0100 +@@ -112,7 +112,7 @@ char *esc_key(void) + static void get_alrm(int dummy) + { + (void)dummy; +- errno = ETIME; ++ errno = ETIMEDOUT; + longjmp(albuf, 1); + } + diff --git a/net-dialup/minicom/files/minicom-2.7-lockdir.patch b/net-dialup/minicom/files/minicom-2.7-lockdir.patch new file mode 100644 index 000000000000..acbdcbe902ba --- /dev/null +++ b/net-dialup/minicom/files/minicom-2.7-lockdir.patch @@ -0,0 +1,14 @@ +--- minicom-2.7.orig/configure.in 2013-12-31 07:14:09.000000000 -0800 ++++ minicom-2.7/configure.in 2017-03-05 11:25:01.379020326 -0800 +@@ -217,7 +217,10 @@ + + if test "x$UUCPLOCK" != x + then +- if test -d $UUCPLOCK ++ dnl If a lock directory was manually specified, do not test it actually ++ dnl exists, as that might not be true during a chroot build, and the ++ dnl packager is responsible for making sure it exists at runtime. ++ if true + then + AC_MSG_RESULT($UUCPLOCK) + AC_DEFINE_UNQUOTED(UUCPLOCK, "$UUCPLOCK", [Lock directory]) diff --git a/net-dialup/minicom/files/minirc.dfl b/net-dialup/minicom/files/minirc.dfl new file mode 100644 index 000000000000..42e9d8fe4646 --- /dev/null +++ b/net-dialup/minicom/files/minirc.dfl @@ -0,0 +1 @@ +# Machine-generated file - use "minicom -s" to change parameters. |