initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
comment "mosh needs a toolchain w/ C++, threads, dynamic library, wchar, gcc >= 4.8"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP \
|
||||
|| BR2_STATIC_LIBS || !BR2_USE_WCHAR \
|
||||
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
||||
depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
|
||||
|
||||
config BR2_PACKAGE_MOSH
|
||||
bool "mosh"
|
||||
depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
|
||||
depends on BR2_INSTALL_LIBSTDCPP # protobuf
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf
|
||||
depends on !BR2_STATIC_LIBS # protobuf
|
||||
depends on BR2_USE_WCHAR
|
||||
select BR2_PACKAGE_PROTOBUF
|
||||
select BR2_PACKAGE_NCURSES
|
||||
select BR2_PACKAGE_NETTLE if !BR2_PACKAGE_OPENSSL
|
||||
select BR2_PACKAGE_ZLIB
|
||||
# runtime dependency
|
||||
select BR2_PACKAGE_OPENSSH if !BR2_PACKAGE_DROPBEAR_CLIENT
|
||||
help
|
||||
Remote terminal application that supports intermittent
|
||||
connectivity, allows roaming, and provides speculative local
|
||||
echo and line editing of user keystrokes.
|
||||
|
||||
Mosh requires that the remote machine has a locale setting
|
||||
matching the one on the client.
|
||||
|
||||
When using mosh with dropbear on a remote machine, the
|
||||
client needs mosh with a version above 1.3.0 and the
|
||||
--no-ssh-pty option needs to be passed when starting the
|
||||
connection.
|
||||
|
||||
https://mosh.org
|
||||
@@ -0,0 +1,5 @@
|
||||
# From https://mailman.mit.edu/pipermail/mosh-users/2017-July/000357.html
|
||||
sha256 da600573dfa827d88ce114e0fed30210689381bbdcff543c931e4d6a2e851216 mosh-1.3.2.tar.gz
|
||||
# Locally calculcated
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING
|
||||
sha256 8042495ddc8d99b883335d53552554eccf825fc1f0ba487d0f8e6656baaa8199 COPYING.iOS
|
||||
@@ -0,0 +1,33 @@
|
||||
################################################################################
|
||||
#
|
||||
# mosh
|
||||
#
|
||||
################################################################################
|
||||
|
||||
MOSH_VERSION = 1.3.2
|
||||
MOSH_SITE = https://mosh.org
|
||||
MOSH_DEPENDENCIES = zlib ncurses protobuf host-pkgconf
|
||||
MOSH_LICENSE = GPL-3.0+ with exception
|
||||
MOSH_LICENSE_FILES = COPYING COPYING.iOS
|
||||
|
||||
# protobuf needs c++11 (since 3.6.0)
|
||||
MOSH_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11"
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
MOSH_CONF_OPTS += --with-crypto-library=openssl
|
||||
MOSH_DEPENDENCIES += openssl
|
||||
else
|
||||
MOSH_CONF_OPTS += --with-crypto-library=nettle
|
||||
MOSH_DEPENDENCIES += nettle
|
||||
endif
|
||||
|
||||
# help the detection of the SSP support: mosh configure.ac doesn't do
|
||||
# a link test, so it doesn't detect when the toolchain doesn't have
|
||||
# libssp.
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_SSP),)
|
||||
MOSH_CONF_ENV += \
|
||||
ax_cv_check_cflags__Werror___fstack_protector_all=no \
|
||||
ax_cv_check_cxxflags__Werror___fstack_protector_all=no
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user