From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1YNI9O-0005Fm-B2 for ptxdist@pengutronix.de; Mon, 16 Feb 2015 10:39:34 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1YNI9O-0003Mn-9R for ptxdist@pengutronix.de; Mon, 16 Feb 2015 10:39:34 +0100 Date: Mon, 16 Feb 2015 10:39:34 +0100 From: Michael Olbrich Message-ID: <20150216093934.GC7021@pengutronix.de> References: <1423551921-29670-1-git-send-email-oliver.graute@neuhaus.de> <1423557877-32478-1-git-send-email-oliver.graute@neuhaus.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1423557877-32478-1-git-send-email-oliver.graute@neuhaus.de> Subject: Re: [ptxdist] [PATCHv2] mosh: added mosh package to ptxdist Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Tue, Feb 10, 2015 at 09:44:37AM +0100, Oliver Graute wrote: > second try, thank you for feedback its my first contribution to ptxdist Thanks, I've applied it with some cleanups: Make sure you handle the white-spaces correctly in future patches. And Alex got it wrong. It should be: MOSH_CONF_TOOL := autoconf MOSH_CONF_OPT := \ [...] Michael > Signed-off-by: Oliver Graute > --- > rules/mosh.in | 17 ++++++++++++++++ > rules/mosh.make | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 78 insertions(+) > create mode 100644 rules/mosh.in > create mode 100644 rules/mosh.make > > diff --git a/rules/mosh.in b/rules/mosh.in > new file mode 100644 > index 0000000..d9cc583 > --- /dev/null > +++ b/rules/mosh.in > @@ -0,0 +1,17 @@ > +## SECTION=networking > + > +config MOSH > + tristate > + prompt "mosh" > +select PROTOBUF > + select NCURSES > + select ZLIB > + select OPENSSL > + select OPENSSH if RUNTIME > + select OPENSSH_SSH if RUNTIME > + select OPENSSH_SSHD if RUNTIME > + help > + 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. > diff --git a/rules/mosh.make b/rules/mosh.make > new file mode 100644 > index 0000000..b96af5a > --- /dev/null > +++ b/rules/mosh.make > @@ -0,0 +1,61 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2015 Dr. Neuhaus Telekommunikation GmbH, Hamburg Germany, Oliver Graute > +# > +# See CREDITS for details about who has contributed to this project. > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_MOSH) += mosh > + > +# > +# Paths and names > +# > +MOSH_VERSION := 1.2.4 > +MOSH_MD5 := c2d918f4d91fdc32546e2e089f9281b2 > +MOSH := mosh-$(MOSH_VERSION) > +MOSH_SUFFIX := tar.gz > +MOSH_URL := https://mosh.mit.edu/$(MOSH).$(MOSH_SUFFIX) > +MOSH_SOURCE := $(SRCDIR)/$(MOSH).$(MOSH_SUFFIX) > +MOSH_DIR := $(BUILDDIR)/$(MOSH) > +MOSH_LICENSE := GPLv3 > + > +# > +# autoconf > +# > +MOSH_AUTOCONF := \ > + $(CROSS_AUTOCONF_USR) \ > + --enable-hardening \ > + --enable-client \ > + --enable-server \ > + --disable-examples \ > + --disable-completion \ > + --without-utempter > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/mosh.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, mosh) > + @$(call install_fixup, mosh,PRIORITY,optional) > + @$(call install_fixup, mosh,SECTION,base) > + @$(call install_fixup, mosh,AUTHOR,"") > + @$(call install_fixup, mosh,DESCRIPTION,missing) > + > + @$(call install_copy, mosh, 0, 0, 0755, -, /usr/bin/mosh) > + @$(call install_copy, mosh, 0, 0, 0755, -, /usr/bin/mosh-server) > + @$(call install_copy, mosh, 0, 0, 0755, -, /usr/bin/mosh-client) > + > + @$(call install_finish, mosh) > + > + @$(call touch) > + > +# vim: syntax=make > -- > 1.7.9.5 > > > -- > ptxdist mailing list > ptxdist@pengutronix.de > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de