mosh: add package

Maintainer: Jakub Tymejczyk <jakub@tymejczyk.pl>
Compile tested: ramips, Xiaomi Router 3G, fc54256
Run tested: ramips, Xiaomi Router 3G, 0f54d96

Description:
Mosh is "Remote terminal application that allows roaming, supports
intermittent connectivity, and provides intelligent local echo and line
editing of user keystrokes".

Project's site: https://mosh.org

Makefile and patch taken from: https://github.com/mchwalisz/mosh-openwrt
updated by me

Signed-off-by: Jakub Tymejczyk <jakub@tymejczyk.pl>
(Makefile cleanup and size optimizations)
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Jakub Tymejczyk
2018-02-26 18:44:53 +01:00
committed by Rosen Penev
parent 642ac0b1eb
commit 5ac5cf0b98
2 changed files with 127 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
--- a/configure.ac
+++ b/configure.ac
@@ -425,7 +425,8 @@ AC_CHECK_DECL([mach_absolute_time],
AC_CHECK_DECLS([__builtin_ctz])
AC_CHECK_DECLS([ffs], [], [],
- [[#include <strings.h>]])
+ [[#define _GNU_SOURCE
+#include <strings.h>]])
AC_CHECK_DECLS([be64toh, betoh64, bswap64, __builtin_bswap64], [], [],
[[#if defined(HAVE_ENDIAN_H)