Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/mosh/
Date: Sat, 29 Jul 2017 08:48:30
Message-Id: 1501318055.00c17b45043326bb03a592fa604b734fc425d608.monsieurp@gentoo
1 commit: 00c17b45043326bb03a592fa604b734fc425d608
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 27 19:46:21 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 29 08:47:35 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00c17b45
7
8 net-misc/mosh: version bump.
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.1
11
12 net-misc/mosh/Manifest | 1 +
13 net-misc/mosh/mosh-1.3.2.ebuild | 69 +++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 70 insertions(+)
15
16 diff --git a/net-misc/mosh/Manifest b/net-misc/mosh/Manifest
17 index a2cfaf916e3..64c409390ae 100644
18 --- a/net-misc/mosh/Manifest
19 +++ b/net-misc/mosh/Manifest
20 @@ -1,2 +1,3 @@
21 DIST mosh-1.2.6.tar.gz 347185 SHA256 7e82b7fbfcc698c70f5843bb960dadb8e7bd7ac1d4d2151c9d979372ea850e85 SHA512 fe53ba3ba79fb393f9fd5d3c48b2864838a1b51a8e08f0160bcfb98fc8c2363d2bb77456e1bc79b765d6489a2af54237c5423ebb88a13196a82420be0cbc7403 WHIRLPOOL b8e4f8ecce2a5bf2b7e8238ec12181aeeacabf3a1be8f153d922bda0747894e7c23ab9735824a8c163ab4d6ca7942a4aa064559b9474243b82eee3561dbbc031
22 DIST mosh-1.3.0.tar.gz 356220 SHA256 320e12f461e55d71566597976bd9440ba6c5265fa68fbf614c6f1c8401f93376 SHA512 2b43e3e3fb2ccf6c29a889f10dfc0d5504dbca6fabaf10419f4e355e4b73d64cc1e632324e447b25ac24ee18bb88d8a9a23f9c4824b267343fb86e26e7d5c54b WHIRLPOOL 9898ec43201e48c125a4d30d04c4045d91e66afe80e0371fdbf06d6bb775eeb3ece444cb61742e374ef29358bc75d49ae324cb7c6b89ef1bd7e440374e6a2e8f
23 +DIST mosh-1.3.2.tar.gz 359574 SHA256 da600573dfa827d88ce114e0fed30210689381bbdcff543c931e4d6a2e851216 SHA512 f400e8fe7ba2ab7362311fc12a00ec69587505f901988aeee500fc68d38a388218500a3f602111c883ff23a9d43572114fcf0a8bf505df203691e5b597615769 WHIRLPOOL 3d0b8ed5790103c2e12793574c19a5b4de1e8c00c9a6e81e71dfae26100743256f7fca0b9b3ef680862ffa6d4eecedc76475ab594302723cd41933698f631eeb
24
25 diff --git a/net-misc/mosh/mosh-1.3.2.ebuild b/net-misc/mosh/mosh-1.3.2.ebuild
26 new file mode 100644
27 index 00000000000..a1dac38e24f
28 --- /dev/null
29 +++ b/net-misc/mosh/mosh-1.3.2.ebuild
30 @@ -0,0 +1,69 @@
31 +# Copyright 1999-2017 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +inherit autotools bash-completion-r1 eutils vcs-snapshot
37 +
38 +DESCRIPTION="Mobile shell that supports roaming and intelligent local echo"
39 +HOMEPAGE="http://mosh.org"
40 +SRC_URI="http://mosh.org/${P}.tar.gz"
41 +
42 +LICENSE="GPL-3"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86 ~amd64-linux ~arm-linux ~x86-linux ~x64-macos"
45 +IUSE="+client examples +mosh-hardening +server ufw +utempter"
46 +
47 +REQUIRED_USE="
48 + || ( client server )
49 + examples? ( client )"
50 +
51 +RDEPEND="
52 + dev-libs/protobuf:0=
53 + sys-libs/ncurses:0=
54 + virtual/ssh
55 + client? (
56 + dev-lang/perl
57 + dev-perl/IO-Tty
58 + )
59 + utempter? (
60 + sys-libs/libutempter
61 + )"
62 +
63 +DEPEND="${RDEPEND}
64 + virtual/pkgconfig"
65 +
66 +# [0] - avoid sandbox-violation calling git describe in Makefile.
67 +PATCHES=(
68 + "${FILESDIR}"/${PN}-1.2.5-git-version.patch
69 +)
70 +
71 +src_prepare() {
72 + MAKEOPTS+=" V=1"
73 + default
74 +
75 + eautoreconf
76 +}
77 +
78 +src_configure() {
79 + econf \
80 + --disable-completion \
81 + $(use_enable client) \
82 + $(use_enable server) \
83 + $(use_enable examples) \
84 + $(use_enable ufw) \
85 + $(use_enable mosh-hardening hardening) \
86 + $(use_with utempter)
87 +}
88 +
89 +src_install() {
90 + default
91 +
92 + for myprog in $(find src/examples -type f -perm /0111) ; do
93 + newbin ${myprog} ${PN}-$(basename ${myprog})
94 + elog "${myprog} installed as ${PN}-$(basename ${myprog})"
95 + done
96 +
97 + # bug 477384
98 + dobashcomp conf/bash-completion/completions/mosh
99 +}