minicom and lrzsz (#228)
This commit is contained in:
parent
07d8fb54dd
commit
91424f633e
8
packages/lrzsz/build.sh
Normal file
8
packages/lrzsz/build.sh
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
TERMUX_PKG_HOMEPAGE=https://ohse.de/uwe/software/lrzsz.html
|
||||||
|
TERMUX_PKG_DESCRIPTION="z modem file transfer over serial terminal"
|
||||||
|
TERMUX_PKG_VERSION=0.12.20
|
||||||
|
TERMUX_PKG_SRCURL=https://ohse.de/uwe/releases/lrzsz-${TERMUX_PKG_VERSION}.tar.gz
|
||||||
|
TERMUX_PKG_BUILD_IN_SRC=yes
|
||||||
|
TERMUX_PKG_DEPENDS="libandroid-support"
|
||||||
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-syslog"
|
||||||
|
|
8
packages/minicom/build.sh
Normal file
8
packages/minicom/build.sh
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
TERMUX_PKG_HOMEPAGE=https://alioth.debian.org/
|
||||||
|
TERMUX_PKG_DESCRIPTION="minicom"
|
||||||
|
TERMUX_PKG_VERSION=2.7
|
||||||
|
TERMUX_PKG_BUILD_REVISION=1
|
||||||
|
TERMUX_PKG_SRCURL=https://alioth.debian.org/frs/download.php/file/3977/minicom-${TERMUX_PKG_VERSION}.tar.gz
|
||||||
|
TERMUX_PKG_BUILD_IN_SRC=yes
|
||||||
|
TERMUX_PKG_DEPENDS="libandroid-support"
|
||||||
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-socket --disable-music"
|
11
packages/minicom/dial.c.patch
Normal file
11
packages/minicom/dial.c.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- ../minicom-2.7/src/dial.c 2013-05-10 04:32:02.000000000 +1000
|
||||||
|
+++ ./src/dial.c 2016-04-19 15:38:20.216743308 +1000
|
||||||
|
@@ -33,7 +33,7 @@
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <limits.h>
|
||||||
|
#include <arpa/inet.h>
|
||||||
|
-
|
||||||
|
+#include <linux/kd.h>
|
||||||
|
#include "port.h"
|
||||||
|
#include "minicom.h"
|
||||||
|
#include "intl.h"
|
11
packages/minicom/file.c.patch
Normal file
11
packages/minicom/file.c.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- ../minicom-2.7/src/file.c 2011-02-14 21:14:57.000000000 +1100
|
||||||
|
+++ ./src/file.c 2016-04-19 15:56:22.188283387 +1000
|
||||||
|
@@ -25,7 +25,7 @@
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <limits.h>
|
||||||
|
-
|
||||||
|
+#include <sys/types.h>
|
||||||
|
#include "port.h"
|
||||||
|
#include "minicom.h"
|
||||||
|
#include "intl.h"
|
20
packages/minicom/getdir.c.patch
Normal file
20
packages/minicom/getdir.c.patch
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
--- ../minicom-2.7/src/getsdir.c 2011-02-14 21:07:00.000000000 +1100
|
||||||
|
+++ ./src/getsdir.c 2016-04-19 15:47:10.402330875 +1000
|
||||||
|
@@ -145,7 +145,7 @@
|
||||||
|
*
|
||||||
|
* The data will be in the form:
|
||||||
|
* typedef struct dirEntry {
|
||||||
|
- * char fname[MAXNAMLEN + 1];
|
||||||
|
+ * char fname[NAME_MAX + 1];
|
||||||
|
* time_t time;
|
||||||
|
* mode_t mode;
|
||||||
|
* } GETSDIR_ENTRY;
|
||||||
|
@@ -232,7 +232,7 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
/* copy the filename */
|
||||||
|
- strncpy((*datptr)[cnt].fname, dp->d_name, MAXNAMLEN);
|
||||||
|
+ strncpy((*datptr)[cnt].fname, dp->d_name, NAME_MAX);
|
||||||
|
|
||||||
|
/* get information about the directory entry */
|
||||||
|
snprintf(fpath, sizeof(fpath), "%s/%s", dirpath, dp->d_name);
|
18
packages/minicom/getdir.h.patch
Normal file
18
packages/minicom/getdir.h.patch
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
--- ../minicom-2.7/src/getsdir.h 2009-12-13 02:47:47.000000000 +1100
|
||||||
|
+++ ./src/getsdir.h 2016-04-19 15:59:00.459999674 +1000
|
||||||
|
@@ -23,12 +23,12 @@
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <dirent.h>
|
||||||
|
-
|
||||||
|
+#include <sys/types.h>
|
||||||
|
typedef struct dirEntry { /* structure of data item */
|
||||||
|
- char fname[MAXNAMLEN + 1]; /* filename + terminating null */
|
||||||
|
+ char fname[NAME_MAX + 1]; /* filename + terminating null */
|
||||||
|
time_t time; /* last modification date */
|
||||||
|
mode_t mode; /* file mode (dir? etc.) */
|
||||||
|
- ushort cflags; /* caller field for convenience */
|
||||||
|
+ u_short cflags; /* caller field for convenience */
|
||||||
|
} GETSDIR_ENTRY;
|
||||||
|
|
||||||
|
#define GETSDIR_PARNT 0x01 /* include parent dir (..) */
|
11
packages/minicom/script.h.patch
Normal file
11
packages/minicom/script.h.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- ../minicom-2.7/src/script.c 2013-10-29 22:07:42.000000000 +1100
|
||||||
|
+++ ./src/script.c 2016-04-19 16:02:45.252434872 +1000
|
||||||
|
@@ -33,7 +33,7 @@
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <stdarg.h>
|
||||||
|
-
|
||||||
|
+#include <sys/wait.h>
|
||||||
|
#include "port.h"
|
||||||
|
#include "minicom.h"
|
||||||
|
#include "intl.h"
|
11
packages/minicom/wkeys.c.patch
Normal file
11
packages/minicom/wkeys.c.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- ../minicom-2.7/src/wkeys.c 2013-01-11 08:39:27.000000000 +1100
|
||||||
|
+++ ./src/wkeys.c 2016-04-20 12:28:36.762865823 +1000
|
||||||
|
@@ -27,7 +27,7 @@
|
||||||
|
#include "intl.h"
|
||||||
|
|
||||||
|
#if KEY_KLUDGE && defined(linux)
|
||||||
|
-# include <sys/kd.h>
|
||||||
|
+# include <linux/kd.h>
|
||||||
|
# include <sys/ioctl.h>
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user