Patchwork [meta-oe,3/3] mosh: add new recipe for version 1.2.4

login
register
mail settings
Submitter Paul Eggleton
Date July 13, 2013, 2:47 p.m.
Message ID <5eac17e51739330054a2dfb9d651bc0a2b931329.1373726565.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/53641/
State Accepted, archived
Headers show

Comments

Paul Eggleton - July 13, 2013, 2:47 p.m.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta-oe/recipes-connectivity/mosh/mosh_1.2.4.bb | 29 +++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 meta-oe/recipes-connectivity/mosh/mosh_1.2.4.bb
Otavio Salvador - July 15, 2013, 3:54 a.m.
On Sat, Jul 13, 2013 at 11:47 AM, Paul Eggleton
<paul.eggleton@linux.intel.com> wrote:
> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
> ---
>  meta-oe/recipes-connectivity/mosh/mosh_1.2.4.bb | 29 +++++++++++++++++++++++++
>  1 file changed, 29 insertions(+)
>  create mode 100644 meta-oe/recipes-connectivity/mosh/mosh_1.2.4.bb
>
> diff --git a/meta-oe/recipes-connectivity/mosh/mosh_1.2.4.bb b/meta-oe/recipes-connectivity/mosh/mosh_1.2.4.bb
> new file mode 100644
> index 0000000..e9881bc
> --- /dev/null
> +++ b/meta-oe/recipes-connectivity/mosh/mosh_1.2.4.bb
> @@ -0,0 +1,29 @@
> +SUMMARY = "Remote shell supporting roaming and high-latency connections"
> +DESCRIPTION = "Remote terminal application that allows roaming, supports \
> +intermittent connectivity, and provides intelligent local echo and line \
> +editing of user keystrokes. Mosh is a replacement for SSH. It's more \
> +robust and responsive, especially over Wi-Fi, cellular, and \
> +long-distance links."
> +HOMEPAGE = "http://mosh.mit.edu"
> +LICENSE = "GPLv3+"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
> +
> +DEPENDS = "protobuf-native protobuf ncurses zlib libio-pty-perl openssl"
> +
> +SRC_URI = "http://mosh.mit.edu/mosh-${PV}.tar.gz"
> +
> +SRC_URI[md5sum] = "c2d918f4d91fdc32546e2e089f9281b2"
> +SRC_URI[sha256sum] = "e74d0d323226046e402dd469a176075fc2013b69b0e67cea49762c957175df46"
> +
> +inherit autotools
> +
> +PACKAGE_BEFORE_PN += "${PN}-server"
> +FILES_${PN}-server = "${bindir}/mosh-server"
> +
> +# mosh uses SSH to authenticate and the client uses OpenSSH-specific features
> +RDEPENDS_${PN} += "openssh-ssh"
> +# The server seemed not to work with dropbear either
> +RDEPENDS_${PN}-server += "openssh-sshd"
> +# Note: the server also requires a UTF-8 locale, but there's no way
> +# to add a dependency for this

I'd put this as a WARNING and on the top of the recipe or something so
it is easily visible.

--
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
Paul Eggleton - July 15, 2013, 9:40 a.m.
On Monday 15 July 2013 00:54:32 Otavio Salvador wrote:
> On Sat, Jul 13, 2013 at 11:47 AM, Paul Eggleton
> > +# Note: the server also requires a UTF-8 locale, but there's no way
> > +# to add a dependency for this
> 
> I'd put this as a WARNING and on the top of the recipe or something so
> it is easily visible.

OK, I've moved the comment to the top and reformatted it slightly on the 
branch. Note that it's not a disaster if the user forgets to do this - they'll 
soon find out at runtime when it doesn't work, and the error mosh produces is 
thankfully clear on what is missing.

Cheers,
Paul

Patch

diff --git a/meta-oe/recipes-connectivity/mosh/mosh_1.2.4.bb b/meta-oe/recipes-connectivity/mosh/mosh_1.2.4.bb
new file mode 100644
index 0000000..e9881bc
--- /dev/null
+++ b/meta-oe/recipes-connectivity/mosh/mosh_1.2.4.bb
@@ -0,0 +1,29 @@ 
+SUMMARY = "Remote shell supporting roaming and high-latency connections"
+DESCRIPTION = "Remote terminal application that allows roaming, supports \
+intermittent connectivity, and provides intelligent local echo and line \
+editing of user keystrokes. Mosh is a replacement for SSH. It's more \
+robust and responsive, especially over Wi-Fi, cellular, and \
+long-distance links."
+HOMEPAGE = "http://mosh.mit.edu"
+LICENSE = "GPLv3+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
+
+DEPENDS = "protobuf-native protobuf ncurses zlib libio-pty-perl openssl"
+
+SRC_URI = "http://mosh.mit.edu/mosh-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "c2d918f4d91fdc32546e2e089f9281b2"
+SRC_URI[sha256sum] = "e74d0d323226046e402dd469a176075fc2013b69b0e67cea49762c957175df46"
+
+inherit autotools
+
+PACKAGE_BEFORE_PN += "${PN}-server"
+FILES_${PN}-server = "${bindir}/mosh-server"
+
+# mosh uses SSH to authenticate and the client uses OpenSSH-specific features
+RDEPENDS_${PN} += "openssh-ssh"
+# The server seemed not to work with dropbear either
+RDEPENDS_${PN}-server += "openssh-sshd"
+# Note: the server also requires a UTF-8 locale, but there's no way
+# to add a dependency for this
+