summaryrefslogtreecommitdiff
path: root/net-misc/mosh
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/mosh
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/mosh')
-rw-r--r--net-misc/mosh/Manifest11
-rw-r--r--net-misc/mosh/files/mosh-1.2.5-git-version.patch16
-rw-r--r--net-misc/mosh/metadata.xml30
-rw-r--r--net-misc/mosh/mosh-1.2.6.ebuild69
-rw-r--r--net-misc/mosh/mosh-1.3.0.ebuild69
-rw-r--r--net-misc/mosh/mosh-1.3.2.ebuild69
-rw-r--r--net-misc/mosh/mosh-9999.ebuild70
7 files changed, 334 insertions, 0 deletions
diff --git a/net-misc/mosh/Manifest b/net-misc/mosh/Manifest
new file mode 100644
index 000000000000..a5e31394fcf2
--- /dev/null
+++ b/net-misc/mosh/Manifest
@@ -0,0 +1,11 @@
+AUX mosh-1.2.5-git-version.patch 547 SHA256 aad595bbb3382957257bb91335a414bd9c44e079560c7d7c2a6a13ac0c6e86d9 SHA512 1a6fc6292595090d7493a05b96b482b8f7e0f485b9f5aa40de2b572265c4f820058923f2f6224864a1471d2fe9fafd0b2f025c99f1513e0c6d8f1b8f71d2814d WHIRLPOOL 66f72f92b66b4e6bb9b55b653fe2b2866768f2b9e50659e52a98127285cdf2b2d80713b82031e00f2540685845a28eb40e3702071f0f18af64abc3c7603b5124
+DIST mosh-1.2.6.tar.gz 347185 SHA256 7e82b7fbfcc698c70f5843bb960dadb8e7bd7ac1d4d2151c9d979372ea850e85 SHA512 fe53ba3ba79fb393f9fd5d3c48b2864838a1b51a8e08f0160bcfb98fc8c2363d2bb77456e1bc79b765d6489a2af54237c5423ebb88a13196a82420be0cbc7403 WHIRLPOOL b8e4f8ecce2a5bf2b7e8238ec12181aeeacabf3a1be8f153d922bda0747894e7c23ab9735824a8c163ab4d6ca7942a4aa064559b9474243b82eee3561dbbc031
+DIST mosh-1.3.0.tar.gz 356220 SHA256 320e12f461e55d71566597976bd9440ba6c5265fa68fbf614c6f1c8401f93376 SHA512 2b43e3e3fb2ccf6c29a889f10dfc0d5504dbca6fabaf10419f4e355e4b73d64cc1e632324e447b25ac24ee18bb88d8a9a23f9c4824b267343fb86e26e7d5c54b WHIRLPOOL 9898ec43201e48c125a4d30d04c4045d91e66afe80e0371fdbf06d6bb775eeb3ece444cb61742e374ef29358bc75d49ae324cb7c6b89ef1bd7e440374e6a2e8f
+DIST mosh-1.3.2.tar.gz 359574 SHA256 da600573dfa827d88ce114e0fed30210689381bbdcff543c931e4d6a2e851216 SHA512 f400e8fe7ba2ab7362311fc12a00ec69587505f901988aeee500fc68d38a388218500a3f602111c883ff23a9d43572114fcf0a8bf505df203691e5b597615769 WHIRLPOOL 3d0b8ed5790103c2e12793574c19a5b4de1e8c00c9a6e81e71dfae26100743256f7fca0b9b3ef680862ffa6d4eecedc76475ab594302723cd41933698f631eeb
+EBUILD mosh-1.2.6.ebuild 1420 SHA256 f5120c86a1101c536d40d4920711ca0b29d2356b04a764c3d45e50e3172c924c SHA512 77c21588af814452bc10942acefd9f8ece30a26afc751ec2499d86f61c960897152d6b7bbc5a647c9d63723ccc73e6b6776c855a375ebdcd2a9fb8878737914e WHIRLPOOL 12a34ade1415d4c2181278ecb309ffe2c68c5927ffbc365e13725081f574687662fd488762d7b93169148dbc0cf1efbeefe3969a5f43c3caae5b2826125fab71
+EBUILD mosh-1.3.0.ebuild 1416 SHA256 ac570340ec793b5851283c135e0cbca928ba10ba123907f9457a86f7b5c4ffeb SHA512 7b59e94aa6a096d34c7544017f2de6662f91b4ef2b569a2438fe4739d17d83d98db3df07bb2e95d2e88b7b5b86fdd9ab964c4968873567a0893d016de4a74a6b WHIRLPOOL 53ff3103fefe3f070f9e01532789816c6c16ef37c2940b0a2c2e661d6469b6537116f7e3e622ad8dd9c66f8a478a93096fae9263a077a1aa8dbef71b8ea3f7bd
+EBUILD mosh-1.3.2.ebuild 1416 SHA256 ac570340ec793b5851283c135e0cbca928ba10ba123907f9457a86f7b5c4ffeb SHA512 7b59e94aa6a096d34c7544017f2de6662f91b4ef2b569a2438fe4739d17d83d98db3df07bb2e95d2e88b7b5b86fdd9ab964c4968873567a0893d016de4a74a6b WHIRLPOOL 53ff3103fefe3f070f9e01532789816c6c16ef37c2940b0a2c2e661d6469b6537116f7e3e622ad8dd9c66f8a478a93096fae9263a077a1aa8dbef71b8ea3f7bd
+EBUILD mosh-9999.ebuild 1372 SHA256 c0d988d1ff1f3a49b423a78808f242ec756cabe30fee47559d95a60671942c5a SHA512 c94fe52a539a0ab2bf622a24968ab91e6d625513e299036f5c2e452bbc4dff506e61301ad53b13a6fba45f893c1238fa0ca959cd4e61eaf5bd42c43385ff0f8b WHIRLPOOL 0b10c13fb3280c7736b4aa10bb1c98686dc6967bb729f3f19e7ac2f5817d6114fc30d4ac76c0235e62f90d5bc75e34be9186ea928f9cfe4363a08f03b27cb34e
+MISC ChangeLog 3549 SHA256 4200428a2150f62891fde94875254b7d23e3109fdf93a58b3c8dd1c937c1f8b5 SHA512 8b314a943986b7fa4feda5f132722c73cebc4997bd20d738de8cb341e7bb14b2b7962d05f74d2ec53929d62c6310b2fb07247573df566315f831e4b51b094fde WHIRLPOOL c2b61486b137ef13c5f7cdccc78d9244b4b9f6b6acabc8d1f8df71f03a050835ccc552ea6a8f16464b168a18a952abbbdcf8c604def206881f16595e2439d2d2
+MISC ChangeLog-2015 7021 SHA256 78bc78fd25e1c1dcdf061060c7de6de0e60266037b380a5484eeeb0db44bc4e7 SHA512 9015e9c0b17fb947a15b5a29558a51010bbe62650da21414b4a3f23c1c7f27e12d39c9d1cd2d3f613b63c355c2c49c5d3a57e4c35c0100697a3dca1e87321b8c WHIRLPOOL 0a3deecec87dfd3839383d7643b5fad4ca4280833b7b05de45aad63dace8c13610ceb2a69eb7e6bd14b65a7a374b6bb29944d853351e6a5cd0ca846762248c21
+MISC metadata.xml 1159 SHA256 3548a17a47e700e9920e8daaf40e59e607dd9b5b398110ecce5b013845f0acd6 SHA512 6b85b61c6f28de63e397c7f24f0f79bd2d9bbbdc57de87b2d27b7cb4736e7e217bfdbd81a90cddf97bdbde376016413b0cb1fffc060838024376a332ff733272 WHIRLPOOL f55644ca0f7c4fb744c0c554629acf45092e09af078175dc9003d6c88f7ba76f79cde3b0a00819b0cc9b35dfd687004137875833d50396b7b231d39d990ce116
diff --git a/net-misc/mosh/files/mosh-1.2.5-git-version.patch b/net-misc/mosh/files/mosh-1.2.5-git-version.patch
new file mode 100644
index 000000000000..d97d98377b89
--- /dev/null
+++ b/net-misc/mosh/files/mosh-1.2.5-git-version.patch
@@ -0,0 +1,16 @@
+--- mosh-1.2.5/Makefile.am
++++ mosh-1.2.5/Makefile.am
+@@ -8,12 +8,7 @@
+
+ VERSION:
+ @echo @PACKAGE_STRING@ > VERSION.dist
+- @set -e; if git describe --dirty --always > VERSION.git 2>&1 && \
+- [ -z `git rev-parse --show-prefix` ]; then \
+- if ! diff -q VERSION.git VERSION > /dev/null 2>&1; then \
+- mv -f VERSION.git VERSION; \
+- fi; \
+- elif ! diff -q VERSION.dist VERSION > /dev/null 2>&1; then \
++ @set -e; if ! diff -q VERSION.dist VERSION > /dev/null 2>&1; then \
+ mv -f VERSION.dist VERSION; \
+ fi
+ @rm -f VERSION.dist VERSION.git
diff --git a/net-misc/mosh/metadata.xml b/net-misc/mosh/metadata.xml
new file mode 100644
index 000000000000..5aa0beb6000a
--- /dev/null
+++ b/net-misc/mosh/metadata.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>xmw@gentoo.org</email>
+ <name>Michael Weber</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>monsieurp@gentoo.org</email>
+ <name>Patrice Clement</name>
+ </maintainer>
+ <use>
+ <flag name="client">Build network client</flag>
+ <flag name="examples">Include example scripts</flag>
+ <flag name="mosh-hardening">Enable compiler and linker options to frustrate memory corruption exploits</flag>
+ <flag name="server">Build network server</flag>
+ <flag name="ufw">Install net-firewall/ufw rule set</flag>
+ <flag name="utempter">Include libutempter support</flag>
+ </use>
+ <longdescription>
+Mosh is a remote terminal application that supports:
+ - intermittent network connectivity,
+ - roaming to different IP address without dropping the connection, and
+ - intelligent local echo and line editing to reduce the effects
+ of "network lag" on high-latency connections.
+</longdescription>
+ <upstream>
+ <bugs-to>https://github.com/keithw/mosh/issues</bugs-to>
+ </upstream>
+</pkgmetadata>
diff --git a/net-misc/mosh/mosh-1.2.6.ebuild b/net-misc/mosh/mosh-1.2.6.ebuild
new file mode 100644
index 000000000000..830ca87da39b
--- /dev/null
+++ b/net-misc/mosh/mosh-1.2.6.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools bash-completion-r1 eutils vcs-snapshot
+
+DESCRIPTION="Mobile shell that supports roaming and intelligent local echo"
+HOMEPAGE="http://mosh.mit.edu"
+SRC_URI="http://mosh.mit.edu/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~mips ppc x86 ~amd64-linux ~arm-linux ~x86-linux ~x64-macos"
+IUSE="+client examples +mosh-hardening +server ufw +utempter"
+
+REQUIRED_USE="
+ || ( client server )
+ examples? ( client )"
+
+RDEPEND="
+ dev-libs/protobuf:0=
+ sys-libs/ncurses:0=
+ virtual/ssh
+ client? (
+ dev-lang/perl
+ dev-perl/IO-Tty
+ )
+ utempter? (
+ sys-libs/libutempter
+ )"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+# [0] - avoid sandbox-violation calling git describe in Makefile
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.2.5-git-version.patch
+)
+
+src_prepare() {
+ MAKEOPTS+=" V=1"
+ default
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-completion \
+ $(use_enable client) \
+ $(use_enable server) \
+ $(use_enable examples) \
+ $(use_enable ufw) \
+ $(use_enable mosh-hardening hardening) \
+ $(use_with utempter)
+}
+
+src_install() {
+ default
+
+ for myprog in $(find src/examples -type f -perm /0111) ; do
+ newbin ${myprog} ${PN}-$(basename ${myprog})
+ elog "${myprog} installed as ${PN}-$(basename ${myprog})"
+ done
+
+ # bug 477384
+ dobashcomp conf/bash-completion/completions/mosh
+}
diff --git a/net-misc/mosh/mosh-1.3.0.ebuild b/net-misc/mosh/mosh-1.3.0.ebuild
new file mode 100644
index 000000000000..a1dac38e24f0
--- /dev/null
+++ b/net-misc/mosh/mosh-1.3.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools bash-completion-r1 eutils vcs-snapshot
+
+DESCRIPTION="Mobile shell that supports roaming and intelligent local echo"
+HOMEPAGE="http://mosh.org"
+SRC_URI="http://mosh.org/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86 ~amd64-linux ~arm-linux ~x86-linux ~x64-macos"
+IUSE="+client examples +mosh-hardening +server ufw +utempter"
+
+REQUIRED_USE="
+ || ( client server )
+ examples? ( client )"
+
+RDEPEND="
+ dev-libs/protobuf:0=
+ sys-libs/ncurses:0=
+ virtual/ssh
+ client? (
+ dev-lang/perl
+ dev-perl/IO-Tty
+ )
+ utempter? (
+ sys-libs/libutempter
+ )"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+# [0] - avoid sandbox-violation calling git describe in Makefile.
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.2.5-git-version.patch
+)
+
+src_prepare() {
+ MAKEOPTS+=" V=1"
+ default
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-completion \
+ $(use_enable client) \
+ $(use_enable server) \
+ $(use_enable examples) \
+ $(use_enable ufw) \
+ $(use_enable mosh-hardening hardening) \
+ $(use_with utempter)
+}
+
+src_install() {
+ default
+
+ for myprog in $(find src/examples -type f -perm /0111) ; do
+ newbin ${myprog} ${PN}-$(basename ${myprog})
+ elog "${myprog} installed as ${PN}-$(basename ${myprog})"
+ done
+
+ # bug 477384
+ dobashcomp conf/bash-completion/completions/mosh
+}
diff --git a/net-misc/mosh/mosh-1.3.2.ebuild b/net-misc/mosh/mosh-1.3.2.ebuild
new file mode 100644
index 000000000000..a1dac38e24f0
--- /dev/null
+++ b/net-misc/mosh/mosh-1.3.2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools bash-completion-r1 eutils vcs-snapshot
+
+DESCRIPTION="Mobile shell that supports roaming and intelligent local echo"
+HOMEPAGE="http://mosh.org"
+SRC_URI="http://mosh.org/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86 ~amd64-linux ~arm-linux ~x86-linux ~x64-macos"
+IUSE="+client examples +mosh-hardening +server ufw +utempter"
+
+REQUIRED_USE="
+ || ( client server )
+ examples? ( client )"
+
+RDEPEND="
+ dev-libs/protobuf:0=
+ sys-libs/ncurses:0=
+ virtual/ssh
+ client? (
+ dev-lang/perl
+ dev-perl/IO-Tty
+ )
+ utempter? (
+ sys-libs/libutempter
+ )"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+# [0] - avoid sandbox-violation calling git describe in Makefile.
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.2.5-git-version.patch
+)
+
+src_prepare() {
+ MAKEOPTS+=" V=1"
+ default
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-completion \
+ $(use_enable client) \
+ $(use_enable server) \
+ $(use_enable examples) \
+ $(use_enable ufw) \
+ $(use_enable mosh-hardening hardening) \
+ $(use_with utempter)
+}
+
+src_install() {
+ default
+
+ for myprog in $(find src/examples -type f -perm /0111) ; do
+ newbin ${myprog} ${PN}-$(basename ${myprog})
+ elog "${myprog} installed as ${PN}-$(basename ${myprog})"
+ done
+
+ # bug 477384
+ dobashcomp conf/bash-completion/completions/mosh
+}
diff --git a/net-misc/mosh/mosh-9999.ebuild b/net-misc/mosh/mosh-9999.ebuild
new file mode 100644
index 000000000000..1c43e468a2db
--- /dev/null
+++ b/net-misc/mosh/mosh-9999.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools bash-completion-r1 eutils git-r3
+
+DESCRIPTION="Mobile shell that supports roaming and intelligent local echo"
+HOMEPAGE="http://mosh.mit.edu"
+EGIT_REPO_URI="https://github.com/keithw/mosh.git"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS=""
+IUSE="+client examples +mosh-hardening +server ufw +utempter"
+
+REQUIRED_USE="
+ || ( client server )
+ examples? ( client )"
+
+RDEPEND="
+ dev-libs/protobuf:0=
+ sys-libs/ncurses:0=
+ virtual/ssh
+ client? (
+ dev-lang/perl
+ dev-perl/IO-Tty
+ )
+ utempter? (
+ sys-libs/libutempter
+ )"
+
+DEPEND="${RDEPEND}
+ dev-vcs/git[curl]
+ virtual/pkgconfig"
+
+# [0] - avoid sandbox-violation calling git describe in Makefile
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.2.5-git-version.patch
+)
+
+src_prepare() {
+ MAKEOPTS+=" V=1"
+ default
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-completion \
+ $(use_enable client) \
+ $(use_enable server) \
+ $(use_enable examples) \
+ $(use_enable ufw) \
+ $(use_enable mosh-hardening hardening) \
+ $(use_with utempter)
+}
+
+src_install() {
+ default
+
+ for myprog in $(find src/examples -type f -perm /0111) ; do
+ newbin ${myprog} ${PN}-$(basename ${myprog})
+ elog "${myprog} installed as ${PN}-$(basename ${myprog})"
+ done
+
+ # bug 477384
+ dobashcomp conf/bash-completion/completions/mosh
+}