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