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