1*4882a593Smuzhiyun# NOTE: mosh-server requires a UTF-8 locale, but there's no way to add 2*4882a593Smuzhiyun# an explicit dependency for this so you need to ensure this is in your 3*4882a593Smuzhiyun# image yourself when you install mosh-server. 4*4882a593Smuzhiyun 5*4882a593SmuzhiyunSUMMARY = "Remote shell supporting roaming and high-latency connections" 6*4882a593SmuzhiyunDESCRIPTION = "Remote terminal application that allows roaming, supports \ 7*4882a593Smuzhiyunintermittent connectivity, and provides intelligent local echo and line \ 8*4882a593Smuzhiyunediting of user keystrokes. Mosh is a replacement for SSH. It's more \ 9*4882a593Smuzhiyunrobust and responsive, especially over Wi-Fi, cellular, and \ 10*4882a593Smuzhiyunlong-distance links." 11*4882a593SmuzhiyunHOMEPAGE = "http://mosh.mit.edu" 12*4882a593SmuzhiyunLICENSE = "GPL-3.0-or-later" 13*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 14*4882a593Smuzhiyun 15*4882a593SmuzhiyunDEPENDS = "protobuf-native protobuf ncurses zlib libio-pty-perl openssl libutempter" 16*4882a593Smuzhiyun 17*4882a593SmuzhiyunSRC_URI = "http://mosh.mit.edu/mosh-${PV}.tar.gz \ 18*4882a593Smuzhiyun file://0001-Fix-building-with-libc.patch \ 19*4882a593Smuzhiyun " 20*4882a593SmuzhiyunSRC_URI[md5sum] = "5122f4d2b973ab7c38dcdac8c35cb61e" 21*4882a593SmuzhiyunSRC_URI[sha256sum] = "da600573dfa827d88ce114e0fed30210689381bbdcff543c931e4d6a2e851216" 22*4882a593Smuzhiyun 23*4882a593Smuzhiyuninherit autotools pkgconfig 24*4882a593Smuzhiyun 25*4882a593SmuzhiyunPACKAGE_BEFORE_PN += "${PN}-server" 26*4882a593SmuzhiyunFILES:${PN}-server = "${bindir}/mosh-server" 27*4882a593Smuzhiyun 28*4882a593SmuzhiyunNEEDED_PERL_MODULES = "\ 29*4882a593Smuzhiyun perl-module-socket \ 30*4882a593Smuzhiyun perl-module-getopt-long \ 31*4882a593Smuzhiyun perl-module-errno \ 32*4882a593Smuzhiyun perl-module-io-socket-inet \ 33*4882a593Smuzhiyun perl-module-posix \ 34*4882a593Smuzhiyun" 35*4882a593Smuzhiyun 36*4882a593Smuzhiyun# mosh uses SSH to authenticate and the client uses OpenSSH-specific features 37*4882a593SmuzhiyunRDEPENDS:${PN} += "openssh-ssh ${NEEDED_PERL_MODULES}" 38*4882a593Smuzhiyun# The server seemed not to work with dropbear either 39*4882a593SmuzhiyunRDEPENDS:${PN}-server += "openssh-sshd" 40*4882a593Smuzhiyun 41*4882a593Smuzhiyun# Fails to build with thumb-1 (qemuarm) 42*4882a593Smuzhiyun#| {standard input}: Assembler messages: 43*4882a593Smuzhiyun#| {standard input}:2100: Error: instruction not supported in Thumb16 mode -- `adds r4,r4,r4' 44*4882a593Smuzhiyun#| {standard input}:2101: Error: instruction not supported in Thumb16 mode -- `adcs r5,r5,r5' 45*4882a593Smuzhiyun#| {standard input}:2102: Error: instruction not supported in Thumb16 mode -- `adcs r6,r6,r6' 46*4882a593Smuzhiyun#| {standard input}:2103: Error: instruction not supported in Thumb16 mode -- `adcs r7,r7,r7' 47*4882a593Smuzhiyun#| {standard input}:2104: Error: selected processor does not support Thumb mode `it cs' 48*4882a593SmuzhiyunARM_INSTRUCTION_SET = "arm" 49