Gentoo Archives: gentoo-commits

From: "Patrice Clement (monsieurp)" <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/mosh: mosh-1.2.5-r1.ebuild ChangeLog
Date: Fri, 31 Jul 2015 07:59:28
Message-Id: 20150731075915.92158ED@oystercatcher.gentoo.org
1 monsieurp 15/07/31 07:59:15
2
3 Modified: ChangeLog
4 Added: mosh-1.2.5-r1.ebuild
5 Log:
6 EAPI 5 bump.
7
8 Signed-off-by: Patrice Clement <monsieurp@g.o>
9 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 93491BB8)
10
11 Revision Changes Path
12 1.52 net-misc/mosh/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/mosh/ChangeLog?rev=1.52&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/mosh/ChangeLog?rev=1.52&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/mosh/ChangeLog?r1=1.51&r2=1.52
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-misc/mosh/ChangeLog,v
21 retrieving revision 1.51
22 retrieving revision 1.52
23 diff -u -r1.51 -r1.52
24 --- ChangeLog 26 Jul 2015 18:16:50 -0000 1.51
25 +++ ChangeLog 31 Jul 2015 07:59:15 -0000 1.52
26 @@ -1,6 +1,11 @@
27 # ChangeLog for net-misc/mosh
28 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-misc/mosh/ChangeLog,v 1.51 2015/07/26 18:16:50 xmw Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-misc/mosh/ChangeLog,v 1.52 2015/07/31 07:59:15 monsieurp Exp $
31 +
32 +*mosh-1.2.5-r1 (31 Jul 2015)
33 +
34 + 31 Jul 2015; Patrice Clement <monsieurp@g.o> +mosh-1.2.5-r1.ebuild:
35 + EAPI 5 bump.
36
37 *mosh-1.2.5 (26 Jul 2015)
38
39
40
41
42 1.1 net-misc/mosh/mosh-1.2.5-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/mosh/mosh-1.2.5-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/mosh/mosh-1.2.5-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: mosh-1.2.5-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2015 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-misc/mosh/mosh-1.2.5-r1.ebuild,v 1.1 2015/07/31 07:59:15 monsieurp Exp $
52
53 EAPI=5
54
55 inherit autotools bash-completion-r1 eutils vcs-snapshot
56
57 DESCRIPTION="Mobile shell that supports roaming and intelligent local echo"
58 HOMEPAGE="http://mosh.mit.edu"
59 SRC_URI="http://mosh.mit.edu/${P}.tar.gz"
60
61 LICENSE="GPL-3"
62 SLOT="0"
63 KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86 ~amd64-linux ~arm-linux ~x86-linux ~x64-macos"
64 IUSE="+client examples +mosh-hardening +server ufw +utempter"
65
66 REQUIRED_USE="|| ( client server )
67 examples? ( client )"
68
69 RDEPEND="dev-libs/protobuf
70 sys-libs/ncurses:5
71 virtual/ssh
72 client? (
73 dev-lang/perl
74 dev-perl/IO-Tty
75 )
76 utempter? (
77 sys-libs/libutempter
78 )"
79
80 DEPEND="${RDEPEND}
81 virtual/pkgconfig"
82
83 # [0] - avoid sandbox-violation calling git describe in Makefile
84 PATCHES=(
85 "${FILESDIR}"/${P}-git-version.patch
86 )
87
88 src_prepare() {
89 # apply patches.
90 epatch ${PATCHES[@]}
91
92 eautoreconf
93 }
94
95 src_configure() {
96 econf \
97 --disable-completion \
98 $(use_enable client) \
99 $(use_enable server) \
100 $(use_enable examples) \
101 $(use_enable ufw) \
102 $(use_enable mosh-hardening hardening) \
103 $(use_with utempter)
104 }
105
106 src_compile() {
107 emake V=1
108 }
109
110 src_install() {
111 default
112
113 for myprog in $(find src/examples -type f -perm /0111) ; do
114 newbin ${myprog} ${PN}-$(basename ${myprog})
115 elog "${myprog} installed as ${PN}-$(basename ${myprog})"
116 done
117
118 # bug 477384
119 dobashcomp conf/bash-completion/completions/mosh
120 }