Permalink
Browse files

Added mosh-1.2-r1

  • Loading branch information...
1 parent c58ccfa commit b8666fbeb59b49846f47b59b771c19c4d4f1886f @bfolkens committed May 2, 2012
View
68 net-misc/mosh/ChangeLog
@@ -0,0 +1,68 @@
+# ChangeLog for net-misc/mosh
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/mosh/ChangeLog,v 1.14 2012/04/30 22:19:41 xmw Exp $
+
+ 30 Apr 2012; Michael Weber <xmw@gentoo.org> -mosh-1.1.95.ebuild:
+ Remove old version
+
+*mosh-1.2 (26 Apr 2012)
+
+ 26 Apr 2012; Michael Weber <xmw@gentoo.org> -mosh-1.1.97.ebuild,
+ -mosh-1.1.99b.ebuild, +mosh-1.2.ebuild:
+ Version bump, remove old versions.
+
+*mosh-1.1.99b (25 Apr 2012)
+
+ 25 Apr 2012; Michael Weber <xmw@gentoo.org> +mosh-1.1.99b.ebuild:
+ Version bump
+
+*mosh-1.1.97 (24 Apr 2012)
+
+ 24 Apr 2012; Michael Weber <xmw@gentoo.org> -mosh-1.1.94d.ebuild,
+ +mosh-1.1.97.ebuild:
+ Version bump
+
+*mosh-1.1.95 (23 Apr 2012)
+
+ 23 Apr 2012; Michael Weber <xmw@gentoo.org> -mosh-1.1.94.ebuild,
+ +mosh-1.1.95.ebuild:
+ Version bump
+
+*mosh-1.1.94d (21 Apr 2012)
+
+ 21 Apr 2012; Michael Weber <xmw@gentoo.org> -mosh-1.1.3.ebuild,
+ +mosh-1.1.94d.ebuild:
+ Version bump.
+
+ 19 Apr 2012; Michael Weber <xmw@gentoo.org> mosh-1.1.94.ebuild,
+ mosh-9999.ebuild:
+ Rev-add dev-libs/skalibs dep (thanks Martin Väth, bug 412561)
+
+ 18 Apr 2012; Michael Weber <xmw@gentoo.org> mosh-1.1.94.ebuild,
+ mosh-9999.ebuild:
+ reflect removed skalibs dependency
+
+ 18 Apr 2012; Michael Weber <xmw@gentoo.org> mosh-1.1.94.ebuild:
+ reflect removed skalibs dependency
+
+ 17 Apr 2012; Michael Sterrett <mr_bones_@gentoo.org> mosh-1.1.94.ebuild:
+ Fix SRC_URI some more
+
+ 17 Apr 2012; Michael Weber <xmw@gentoo.org> mosh-1.1.94.ebuild:
+ Fix SRC_URI
+
+*mosh-1.1.94 (17 Apr 2012)
+
+ 17 Apr 2012; Michael Weber <xmw@gentoo.org> +mosh-1.1.94.ebuild:
+ Version bump to 1.2 prerelease
+
+ 16 Apr 2012; Michael Weber <xmw@gentoo.org> mosh-9999.ebuild:
+ Dropped boost dependency
+
+*mosh-9999 (06 Apr 2012)
+*mosh-1.1.3 (06 Apr 2012)
+
+ 06 Apr 2012; Michael Weber <xmw@gentoo.org> +mosh-1.1.3.ebuild,
+ +mosh-9999.ebuild, +metadata.xml:
+ Initial import.
+
View
7 net-misc/mosh/Manifest
@@ -0,0 +1,7 @@
+AUX 001-fix-prog-skalibs-compat.patch 1966 RMD160 6a2b3fb0feb4a084a58557e3fee65cc7ea5f8528 SHA1 c858d07bee38ac88ee11cae672cc8e89277a0763 SHA256 9ff8bb8ed77876154ef55a72630487bb7cbb1ae0c1f45042f1d3d8f29f0e778a
+DIST mosh-1.2.tar.gz 296000 RMD160 2b8bd9eaddf0e5a3749e414444ffa20251ed2da5 SHA1 162c85c2f27605896533964977e5ed7ef4cf8fbf SHA256 8b2d346a2f0d560ceb2ca91ff396fa859f81bb321ebd8c26fc564db8b335433a
+EBUILD mosh-1.2-r1.ebuild 1531 RMD160 063f78d5d8dce527c338c2d50f4e06d2be0e0c35 SHA1 daf3d0b89339e5bdd6a65c7a31b0f1eea2d978b7 SHA256 f9bdf198c01d073392ea7cd4e17fc074d0f0d42ac4e06df4f7a5fa773d1633ab
+EBUILD mosh-1.2.ebuild 1397 RMD160 befc0da1a9eb44a5d883a256aeb8c3d4e73aaa4e SHA1 efc9956d09b21b74e449b0dd105dda04fb94c48c SHA256 602591a2e9459dffa87427cc0d85c7fc2ccbb98883e23bd2175ef19b3f9e8a71
+EBUILD mosh-9999.ebuild 1380 RMD160 f0d050bb8d5768b3351f397b660a53dd7a599ee9 SHA1 2a2d8affa136325d7186f3c0b268ddb4dec75d3b SHA256 617355586da6673f6924353284970fe09a9b5005ed1993ba1dc0543eb4dc0cef
+MISC ChangeLog 1931 RMD160 b6154ae0064908a6fdf00e9b5be2cfc593bbcd26 SHA1 20380872974bcfa8e07f7463cd4d6fcffd7b9b31 SHA256 9f741878238e2443aab08198627129b4dfaa10de215ae16ddb4b691d2fc23449
+MISC metadata.xml 761 RMD160 f9474551c2d01a25d8cceabad1595bf450f1d225 SHA1 b287a1d5b79a05f1e230f7c71316abf6808ef816 SHA256 af9c5a3a61b5dd347ddf6101d68a5e934fc1895aad842d4ee0a103bc626ed8c1
View
60 net-misc/mosh/files/001-fix-prog-skalibs-compat.patch
@@ -0,0 +1,60 @@
+diff -Naur mosh-1.2-orig/src/examples/benchmark.cc mosh-1.2/src/examples/benchmark.cc
+--- mosh-1.2-orig/src/examples/benchmark.cc 2012-04-16 11:01:24.000000000 +0000
++++ mosh-1.2/src/examples/benchmark.cc 2012-05-02 00:02:27.000000000 +0000
+@@ -46,6 +46,11 @@
+ #include "locale_utils.h"
+ #include "fatal_assert.h"
+
++/* For newer skalibs */
++extern "C" {
++ const char *PROG = "benchmark";
++}
++
+ const int ITERATIONS = 100000;
+
+ using namespace Terminal;
+diff -Naur mosh-1.2-orig/src/examples/termemu.cc mosh-1.2/src/examples/termemu.cc
+--- mosh-1.2-orig/src/examples/termemu.cc 2012-04-16 11:01:24.000000000 +0000
++++ mosh-1.2/src/examples/termemu.cc 2012-05-02 00:02:44.000000000 +0000
+@@ -52,6 +52,11 @@
+ #include "locale_utils.h"
+ #include "sigfd.h"
+
++/* For newer skalibs */
++extern "C" {
++ const char *PROG = "benchmark";
++}
++
+ const size_t buf_size = 16384;
+
+ void emulate_terminal( int fd );
+diff -Naur mosh-1.2-orig/src/frontend/mosh-client.cc mosh-1.2/src/frontend/mosh-client.cc
+--- mosh-1.2-orig/src/frontend/mosh-client.cc 2012-03-27 01:18:55.000000000 +0000
++++ mosh-1.2/src/frontend/mosh-client.cc 2012-05-02 00:03:10.000000000 +0000
+@@ -30,6 +30,11 @@
+ #include <curses.h>
+ #include <term.h>
+
++/* For newer skalibs */
++extern "C" {
++ const char *PROG = "benchmark";
++}
++
+ void usage( const char *argv0 ) {
+ fprintf( stderr, "mosh-client (%s)\n", PACKAGE_STRING );
+ fprintf( stderr, "Copyright 2012 Keith Winstein <mosh-devel@mit.edu>\n" );
+diff -Naur mosh-1.2-orig/src/frontend/mosh-server.cc mosh-1.2/src/frontend/mosh-server.cc
+--- mosh-1.2-orig/src/frontend/mosh-server.cc 2012-04-21 00:37:20.000000000 +0000
++++ mosh-1.2/src/frontend/mosh-server.cc 2012-05-02 00:03:27.000000000 +0000
+@@ -68,6 +68,11 @@
+
+ #include "networktransport.cc"
+
++/* For newer skalibs */
++extern "C" {
++ const char *PROG = "benchmark";
++}
++
+ typedef Network::Transport< Terminal::Complete, Network::UserStream > ServerConnection;
+
+ void serve( int host_fd,
View
22 net-misc/mosh/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+<use>
+<flag name="client">Build network client</flag>
+<flag name="server">Build network server</flag>
+<flag name="examples">Include example scripts</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>
+</pkgmetadata>
+
View
62 net-misc/mosh/mosh-1.2-r1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/mosh/mosh-1.2.ebuild,v 1.1 2012/04/26 07:58:50 xmw Exp $
+
+EAPI=4
+
+inherit autotools toolchain-funcs
+
+DESCRIPTION="Mobile shell that supports roaming and intelligent local echo"
+HOMEPAGE="http://mosh.mit.edu"
+SRC_URI="https://github.com/downloads/keithw/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+client examples +server +utempter"
+REQUIRED_USE="|| ( client server )
+ examples? ( client )"
+
+RDEPEND="dev-libs/protobuf
+ dev-libs/skalibs
+ sys-libs/ncurses:5
+ virtual/ssh
+ client? ( dev-lang/perl
+ dev-perl/IO-Tty )
+ utempter? ( sys-libs/libutempter )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_prepare() {
+ einfo remove bundled skalibs
+ rm -r third || die
+ sed -e '/third/d' -i configure.ac
+ sed -e '/^SUBDIRS/s: third : :' -i Makefile.am
+
+ epatch "${FILESDIR}/001-fix-prog-skalibs-compat.patch"
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --with-skalibs=/ \
+ --with-skalibs-include=/usr/include/skalibs \
+ --with-skalibs-libdir=/usr/$(get_libdir)/skalibs \
+ $(use_enable client) \
+ $(use_enable server) \
+ $(use_enable examples) \
+ $(use_with utempter) \
+ ac_cv_have_decl_signalfd=no
+
+ sed -e '/HAVE_PIPE2_CLOEXEC/d' -i config.h
+}
+
+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
+}
View
57 net-misc/mosh/mosh-1.2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/mosh/mosh-1.2.ebuild,v 1.1 2012/04/26 07:58:50 xmw Exp $
+
+EAPI=4
+
+inherit autotools toolchain-funcs
+
+DESCRIPTION="Mobile shell that supports roaming and intelligent local echo"
+HOMEPAGE="http://mosh.mit.edu"
+SRC_URI="https://github.com/downloads/keithw/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+client examples +server +utempter"
+REQUIRED_USE="|| ( client server )
+ examples? ( client )"
+
+RDEPEND="dev-libs/protobuf
+ dev-libs/skalibs
+ sys-libs/ncurses:5
+ virtual/ssh
+ client? ( dev-lang/perl
+ dev-perl/IO-Tty )
+ utempter? ( sys-libs/libutempter )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_prepare() {
+ einfo remove bundled skalibs
+ rm -r third || die
+ sed -e '/third/d' -i configure.ac
+ sed -e '/^SUBDIRS/s: third : :' -i Makefile.am
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --with-skalibs=/ \
+ --with-skalibs-include=/usr/include/skalibs \
+ --with-skalibs-libdir=/usr/$(get_libdir)/skalibs \
+ $(use_enable client) \
+ $(use_enable server) \
+ $(use_enable examples) \
+ $(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
+}
View
57 net-misc/mosh/mosh-9999.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/mosh/mosh-9999.ebuild,v 1.4 2012/04/19 09:10:13 xmw Exp $
+
+EAPI=4
+EGIT_REPO_URI="https://github.com/keithw/mosh.git"
+
+inherit autotools git-2 toolchain-funcs
+
+DESCRIPTION="Mobile shell that supports roaming and intelligent local echo"
+HOMEPAGE="http://mosh.mit.edu"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS=""
+IUSE="+client examples +server +utempter"
+REQUIRED_USE="|| ( client server )
+ examples? ( client )"
+
+RDEPEND="dev-libs/protobuf
+ dev-libs/skalibs
+ sys-libs/ncurses:5
+ virtual/ssh
+ client? ( dev-lang/perl
+ dev-perl/IO-Tty )
+ utempter? ( sys-libs/libutempter )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_prepare() {
+ einfo remove bundled skalibs
+ rm -r third || die
+ sed -e '/third/d' -i configure.ac
+ sed -e '/^SUBDIRS/s: third : :' -i Makefile.am
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --with-skalibs=/ \
+ --with-skalibs-include=/usr/include/skalibs \
+ --with-skalibs-libdir=/usr/$(get_libdir)/skalibs \
+ $(use_enable client) \
+ $(use_enable server) \
+ $(use_enable examples) \
+ $(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
+}

0 comments on commit b8666fb

Please sign in to comment.