1 |
commit: cb7489f235ca4977b054a87769fb3bd75716e63e |
2 |
Author: Michael Weber <xmw <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 29 22:20:15 2017 +0000 |
4 |
Commit: Michael Weber <xmw <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 29 22:34:13 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb7489f2 |
7 |
|
8 |
net-misc/mosh: Update live ebuild. |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
net-misc/mosh/mosh-9999.ebuild | 36 ++++++++++++++++++++++++------------ |
13 |
1 file changed, 24 insertions(+), 12 deletions(-) |
14 |
|
15 |
diff --git a/net-misc/mosh/mosh-9999.ebuild b/net-misc/mosh/mosh-9999.ebuild |
16 |
index ee079b8..a26290a 100644 |
17 |
--- a/net-misc/mosh/mosh-9999.ebuild |
18 |
+++ b/net-misc/mosh/mosh-9999.ebuild |
19 |
@@ -1,10 +1,10 @@ |
20 |
-# Copyright 1999-2015 Gentoo Foundation |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
# $Id$ |
24 |
|
25 |
-EAPI=5 |
26 |
+EAPI=6 |
27 |
|
28 |
-inherit autotools bash-completion-r1 git-r3 |
29 |
+inherit autotools bash-completion-r1 eutils git-r3 |
30 |
|
31 |
DESCRIPTION="Mobile shell that supports roaming and intelligent local echo" |
32 |
HOMEPAGE="http://mosh.mit.edu" |
33 |
@@ -14,20 +14,36 @@ LICENSE="GPL-3" |
34 |
SLOT="0" |
35 |
KEYWORDS="" |
36 |
IUSE="+client examples +mosh-hardening +server ufw +utempter" |
37 |
-REQUIRED_USE="|| ( client server ) |
38 |
+ |
39 |
+REQUIRED_USE=" |
40 |
+ || ( client server ) |
41 |
examples? ( client )" |
42 |
|
43 |
-RDEPEND="dev-libs/protobuf |
44 |
+RDEPEND=" |
45 |
+ dev-libs/protobuf:0= |
46 |
sys-libs/ncurses:0= |
47 |
virtual/ssh |
48 |
- client? ( dev-lang/perl |
49 |
- dev-perl/IO-Tty ) |
50 |
- utempter? ( sys-libs/libutempter )" |
51 |
+ client? ( |
52 |
+ dev-lang/perl |
53 |
+ dev-perl/IO-Tty |
54 |
+ ) |
55 |
+ utempter? ( |
56 |
+ sys-libs/libutempter |
57 |
+ )" |
58 |
+ |
59 |
DEPEND="${RDEPEND} |
60 |
dev-vcs/git[curl] |
61 |
virtual/pkgconfig" |
62 |
|
63 |
+# [0] - avoid sandbox-violation calling git describe in Makefile |
64 |
+PATCHES=( |
65 |
+ "${FILESDIR}"/${PN}-1.2.5-git-version.patch |
66 |
+) |
67 |
+ |
68 |
src_prepare() { |
69 |
+ MAKEOPTS+=" V=1" |
70 |
+ default |
71 |
+ |
72 |
eautoreconf |
73 |
} |
74 |
|
75 |
@@ -42,10 +58,6 @@ src_configure() { |
76 |
$(use_with utempter) |
77 |
} |
78 |
|
79 |
-src_compile() { |
80 |
- emake V=1 |
81 |
-} |
82 |
- |
83 |
src_install() { |
84 |
default |