1 |
commit: 333c7fa94468f155d7ea5ad457756c406d38c3e7 |
2 |
Author: Yixun Lan <dlan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 22 03:34:23 2016 +0000 |
4 |
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 22 03:34:23 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=333c7fa9 |
7 |
|
8 |
app-misc/tmate: new 2.2.0 added |
9 |
|
10 |
Gentoo-bug: 498692 |
11 |
|
12 |
initial version contributed by Jayson Reis (jaysonsantos) |
13 |
at sunrise overlay, and slightly improved by me |
14 |
|
15 |
Package-Manager: portage-2.2.27 |
16 |
|
17 |
app-misc/tmate/Manifest | 2 ++ |
18 |
app-misc/tmate/metadata.xml | 8 ++++++ |
19 |
app-misc/tmate/tmate-2.2.0.ebuild | 52 +++++++++++++++++++++++++++++++++++++++ |
20 |
3 files changed, 62 insertions(+) |
21 |
|
22 |
diff --git a/app-misc/tmate/Manifest b/app-misc/tmate/Manifest |
23 |
new file mode 100644 |
24 |
index 0000000..58de496 |
25 |
--- /dev/null |
26 |
+++ b/app-misc/tmate/Manifest |
27 |
@@ -0,0 +1,2 @@ |
28 |
+DIST tmate-2.2.0-upstream-patches-0.tar.xz 6784 SHA256 aa5b0ca858bb652418aa5200f0f5dcda0827295c16fb73fd34594d718a65878a SHA512 3e16e0b7988d3d1942fcac0a535d2cc8d7156d26332dc84fd21c4761afae40159282b0fbeb71cd5f6525b5a1c7a46e7813c8e6a11851592077570c1a001a73a7 WHIRLPOOL fb05b5d90f2542bb2e8fdc8c5df988338d5626bd48899697b8c16b9078ca71d2b2682c648f5f7c37ed8cd4a9966b1c6d5524823b34a4ac4cb9833a62325bb39c |
29 |
+DIST tmate-2.2.0.tar.gz 610793 SHA256 932148b24d9c67e524ce744c9480b5603c9f976afb6ad7ca6d63246cd9e7fd3a SHA512 e9429833cdb8c28873d01bfc6b9a0d1241e30346ef1b3efae6763389c8444943b831283c1ea65e49c68d11936d6586186b38e0f7c14d373d9f63e841026c3338 WHIRLPOOL e1a2203e9a63466244d9d61e6e06d4dea77a9eb3e7069c1c87c115e5ce370e3b3b7ad2d7fc8b4c740030ee980b4d52833066f853a05d1c611a5d5c4810c89a36 |
30 |
|
31 |
diff --git a/app-misc/tmate/metadata.xml b/app-misc/tmate/metadata.xml |
32 |
new file mode 100644 |
33 |
index 0000000..3398ef8 |
34 |
--- /dev/null |
35 |
+++ b/app-misc/tmate/metadata.xml |
36 |
@@ -0,0 +1,8 @@ |
37 |
+<?xml version="1.0" encoding="UTF-8"?> |
38 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
39 |
+<pkgmetadata> |
40 |
+ <maintainer type="person"> |
41 |
+ <email>dlan@g.o</email> |
42 |
+ <name>Yixun Lan</name> |
43 |
+ </maintainer> |
44 |
+</pkgmetadata> |
45 |
|
46 |
diff --git a/app-misc/tmate/tmate-2.2.0.ebuild b/app-misc/tmate/tmate-2.2.0.ebuild |
47 |
new file mode 100644 |
48 |
index 0000000..f58ded2 |
49 |
--- /dev/null |
50 |
+++ b/app-misc/tmate/tmate-2.2.0.ebuild |
51 |
@@ -0,0 +1,52 @@ |
52 |
+# Copyright 1999-2016 Gentoo Foundation |
53 |
+# Distributed under the terms of the GNU General Public License v2 |
54 |
+# $Id$ |
55 |
+ |
56 |
+EAPI=5 |
57 |
+ |
58 |
+AUTOTOOLS_AUTORECONF=1 |
59 |
+inherit eutils autotools-utils |
60 |
+ |
61 |
+DESCRIPTION="Instant terminal sharing" |
62 |
+HOMEPAGE="http://tmate.io/" |
63 |
+ |
64 |
+LICENSE="MIT" |
65 |
+SLOT="0" |
66 |
+KEYWORDS="~amd64 ~x86" |
67 |
+IUSE="debug static-libs" |
68 |
+ |
69 |
+UPSTREAM_VER=0 |
70 |
+[[ -n ${UPSTREAM_VER} ]] && \ |
71 |
+ UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz" |
72 |
+SRC_URI="https://github.com/tmate-io/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz |
73 |
+ ${UPSTREAM_PATCHSET_URI}" |
74 |
+ |
75 |
+RDEPEND=" |
76 |
+ sys-libs/zlib[static-libs?] |
77 |
+ dev-libs/openssl[static-libs?] |
78 |
+ dev-libs/libevent[static-libs?] |
79 |
+ dev-libs/msgpack[static-libs?] |
80 |
+ >=net-libs/libssh-0.6.0[static-libs?] |
81 |
+" |
82 |
+DEPEND="${RPDEND} |
83 |
+ virtual/pkgconfig" |
84 |
+ |
85 |
+src_prepare() { |
86 |
+ # Upstream's patchset |
87 |
+ if [[ -n ${UPSTREAM_VER} ]]; then |
88 |
+ einfo "Try to apply tmate Upstream patch set" |
89 |
+ EPATCH_SUFFIX="patch" \ |
90 |
+ EPATCH_FORCE="yes" \ |
91 |
+ EPATCH_OPTS="-p1" \ |
92 |
+ epatch "${WORKDIR}"/patches-upstream |
93 |
+ fi |
94 |
+ |
95 |
+ autotools-utils_src_prepare |
96 |
+} |
97 |
+ |
98 |
+src_configure() { |
99 |
+ local myeconfargs=( |
100 |
+ $(use_enable debug) |
101 |
+ ) |
102 |
+ autotools-utils_src_configure |
103 |
+} |