From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F3AC313832E for ; Wed, 3 Aug 2016 01:58:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BCD91E0853; Wed, 3 Aug 2016 01:58:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EBA8EE0853 for ; Wed, 3 Aug 2016 01:58:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A3411340AF3 for ; Wed, 3 Aug 2016 01:58:29 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9E9547D3 for ; Wed, 3 Aug 2016 01:58:27 +0000 (UTC) From: "Yixun Lan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Yixun Lan" Message-ID: <1470189494.32c16627efb86809cc9b100e269b642c6d0f4001.dlan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/tmate/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/tmate/Manifest app-misc/tmate/tmate-2.2.1.ebuild X-VCS-Directories: app-misc/tmate/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: 32c16627efb86809cc9b100e269b642c6d0f4001 X-VCS-Branch: master Date: Wed, 3 Aug 2016 01:58:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 0698ea57-e103-4eea-b42f-ea72e48c1cc1 X-Archives-Hash: 209ac1c6962c501fba8cb1a507f5548e commit: 32c16627efb86809cc9b100e269b642c6d0f4001 Author: Yixun Lan gentoo org> AuthorDate: Wed Aug 3 01:57:43 2016 +0000 Commit: Yixun Lan gentoo org> CommitDate: Wed Aug 3 01:58:14 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32c16627 app-misc/tmate: version bump Package-Manager: portage-2.3.0 app-misc/tmate/Manifest | 1 + app-misc/tmate/tmate-2.2.1.ebuild | 53 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/app-misc/tmate/Manifest b/app-misc/tmate/Manifest index 58de496..0046161 100644 --- a/app-misc/tmate/Manifest +++ b/app-misc/tmate/Manifest @@ -1,2 +1,3 @@ DIST tmate-2.2.0-upstream-patches-0.tar.xz 6784 SHA256 aa5b0ca858bb652418aa5200f0f5dcda0827295c16fb73fd34594d718a65878a SHA512 3e16e0b7988d3d1942fcac0a535d2cc8d7156d26332dc84fd21c4761afae40159282b0fbeb71cd5f6525b5a1c7a46e7813c8e6a11851592077570c1a001a73a7 WHIRLPOOL fb05b5d90f2542bb2e8fdc8c5df988338d5626bd48899697b8c16b9078ca71d2b2682c648f5f7c37ed8cd4a9966b1c6d5524823b34a4ac4cb9833a62325bb39c DIST tmate-2.2.0.tar.gz 610793 SHA256 932148b24d9c67e524ce744c9480b5603c9f976afb6ad7ca6d63246cd9e7fd3a SHA512 e9429833cdb8c28873d01bfc6b9a0d1241e30346ef1b3efae6763389c8444943b831283c1ea65e49c68d11936d6586186b38e0f7c14d373d9f63e841026c3338 WHIRLPOOL e1a2203e9a63466244d9d61e6e06d4dea77a9eb3e7069c1c87c115e5ce370e3b3b7ad2d7fc8b4c740030ee980b4d52833066f853a05d1c611a5d5c4810c89a36 +DIST tmate-2.2.1.tar.gz 610745 SHA256 d9c2ac59f42e65aac5f500f0548ea8056fd79c9c5285e5af324d833e2a84c305 SHA512 3d4ce7510cd8da39bc4fe63f2a64179846a813bb3560ca811d9e1e2a28b06d95a9033047a900d76bda069c249d7ebbe1143daa082b23212c5d32a50bf1819d2d WHIRLPOOL b0d90d28b263b1e7c6dbf755c7e2d5f37598e63d484189d04ee15d5b3f09f84efc9e22dd75576a627e8c27ef0dd4524d59ed882f8fff2efca43664fbe3772bf9 diff --git a/app-misc/tmate/tmate-2.2.1.ebuild b/app-misc/tmate/tmate-2.2.1.ebuild new file mode 100644 index 0000000..460f89e --- /dev/null +++ b/app-misc/tmate/tmate-2.2.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +AUTOTOOLS_AUTORECONF=1 +inherit eutils autotools-utils + +DESCRIPTION="Instant terminal sharing" +HOMEPAGE="http://tmate.io/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug static-libs" + +UPSTREAM_VER= +[[ -n ${UPSTREAM_VER} ]] && \ + UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz" +SRC_URI="https://github.com/tmate-io/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz + ${UPSTREAM_PATCHSET_URI}" + +RDEPEND=" + sys-libs/zlib[static-libs?] + sys-libs/libutempter[static-libs?] + dev-libs/openssl[static-libs?] + dev-libs/libevent[static-libs?] + dev-libs/msgpack[static-libs?] + >=net-libs/libssh-0.6.0[static-libs?] +" +DEPEND="${RPDEND} + virtual/pkgconfig" + +src_prepare() { + # Upstream's patchset + if [[ -n ${UPSTREAM_VER} ]]; then + einfo "Try to apply tmate Upstream patch set" + EPATCH_SUFFIX="patch" \ + EPATCH_FORCE="yes" \ + EPATCH_OPTS="-p1" \ + epatch "${WORKDIR}"/patches-upstream + fi + + autotools-utils_src_prepare +} + +src_configure() { + local myeconfargs=( + $(use_enable debug) + ) + autotools-utils_src_configure +}