mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Marc Kleine-Budde <mkl@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Oliver Graute <oliver.graute@neuhaus.de>
Subject: Re: [ptxdist] [PATCH] added mosh package to ptxdist
Date: Tue, 10 Feb 2015 08:59:29 +0100	[thread overview]
Message-ID: <54D9BA61.30605@pengutronix.de> (raw)
In-Reply-To: <1423551921-29670-1-git-send-email-oliver.graute@neuhaus.de>


[-- Attachment #1.1: Type: text/plain, Size: 4986 bytes --]

On 02/10/2015 08:05 AM, Oliver Graute wrote:
> added a rule for mosh 
> 
> Signed-off-by: Oliver Graute <oliver.graute@neuhaus.de>
> ---
>  rules/mosh.in   |    7 ++++
>  rules/mosh.make |  102 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 109 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..1866a4d
> --- /dev/null
> +++ b/rules/mosh.in
> @@ -0,0 +1,7 @@
> +## SECTION=networking
> +
> +config MOSH
> +	tristate
> +	prompt "mosh"

I assume mosh depends on several external libs, like protobufs and libssl.

> +	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.

Please limit to 72...80 chars per line.

> diff --git a/rules/mosh.make b/rules/mosh.make
> new file mode 100644
> index 0000000..afbc90f
> --- /dev/null
> +++ b/rules/mosh.make
> @@ -0,0 +1,102 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2015 Dr. Neuhaus Telekommunikation GmbH, Hamburg Germany,  Oliver Graute <oliver.graute@neuhaus.de>
> +#
> +# 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)
                                               ^^
please remove one /

> +MOSH_SOURCE	:= $(SRCDIR)/$(MOSH).$(MOSH_SUFFIX)
> +MOSH_DIR		:= $(BUILDDIR)/$(MOSH)
> +MOSH_LICENSE	:= unknown

please add the license of mosh

> +
> +# ----------------------------------------------------------------------------
> +# Get
> +# ----------------------------------------------------------------------------
> +
> +#$(MOSH_SOURCE):
> +#	@$(call targetinfo)
> +#	@$(call get, MOSH)

please remove the commented out stages: get, most of prepare, compile,
install and clean.

> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +#MOSH_CONF_ENV	:= $(CROSS_ENV)
> +
> +#
> +# autoconf
> +#
> +MOSH_CONF_TOOL	:= autoconf
> +#MOSH_CONF_OPT	:= $(CROSS_AUTOCONF_USR)
> +
> +#$(STATEDIR)/mosh.prepare:
> +#	@$(call targetinfo)
> +#	@$(call clean, $(MOSH_DIR)/config.cache)
> +#	cd $(MOSH_DIR) && \
> +#		$(MOSH_PATH) $(MOSH_ENV) \
> +#		./configure $(MOSH_CONF_OPT)
> +#	@$(call touch)
> +
> +# ----------------------------------------------------------------------------
> +# Compile
> +# ----------------------------------------------------------------------------
> +
> +#$(STATEDIR)/mosh.compile:
> +#	@$(call targetinfo)
> +#	@$(call world/compile, MOSH)
> +#	@$(call touch)
> +
> +# ----------------------------------------------------------------------------
> +# Install
> +# ----------------------------------------------------------------------------
> +
> +#$(STATEDIR)/mosh.install:
> +#	@$(call targetinfo)
> +#	@$(call world/install, MOSH)
> +#	@$(call touch)
> +
> +# ----------------------------------------------------------------------------
> +# 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,"<OGR@neuhaus.de>")
> +	@$(call install_fixup, mosh,DESCRIPTION,missing)
> +
> +	@$(call install_copy, mosh, 0, 0, 0755, $(MOSH_DIR)/src/frontend/mosh-server, /usr/bin/mosh-server)
> +	@$(call install_copy, mosh, 0, 0, 0755, $(MOSH_DIR)/src/frontend/mosh-client, /usr/bin/mosh-client)
> +
> +	@$(call install_finish, mosh)
> +
> +	@$(call touch)
> +
> +# ----------------------------------------------------------------------------
> +# Clean
> +# ----------------------------------------------------------------------------
> +
> +#$(STATEDIR)/mosh.clean:
> +#	@$(call targetinfo)
> +#	@$(call clean_pkg, MOSH)
> +
> +# vim: syntax=make
> 

Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  parent reply	other threads:[~2015-02-10  7:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-10  7:05 Oliver Graute
2015-02-10  7:53 ` Alexander Aring
2015-02-10  8:02   ` Alexander Aring
2015-02-10  7:59 ` Marc Kleine-Budde [this message]
2015-02-10  8:44 ` [ptxdist] [PATCHv2] mosh: " Oliver Graute
2015-02-16  9:39   ` Michael Olbrich
2015-02-16  9:42     ` Alexander Aring
2015-02-16  9:52     ` Alexander Aring
2015-02-16 10:38       ` Michael Olbrich
2015-02-16 10:55         ` Alexander Aring
2015-02-16 11:02           ` Michael Olbrich
2015-02-16 11:04           ` Alexander Aring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54D9BA61.30605@pengutronix.de \
    --to=mkl@pengutronix.de \
    --cc=oliver.graute@neuhaus.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox