From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-980898-garchives=archives.gentoo.org@lists.gentoo.org>
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 807E61396D9
	for <garchives@archives.gentoo.org>; Sat, 28 Oct 2017 18:22:08 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 9333C2BC116;
	Sat, 28 Oct 2017 18:22:04 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 74B132BC116
	for <gentoo-commits@lists.gentoo.org>; Sat, 28 Oct 2017 18:22:04 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 23F5533BEB4
	for <gentoo-commits@lists.gentoo.org>; Sat, 28 Oct 2017 18:22:03 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id BDBD2320
	for <gentoo-commits@lists.gentoo.org>; Sat, 28 Oct 2017 18:22:01 +0000 (UTC)
From: "Vikraman Choudhury" <vikraman@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Vikraman Choudhury" <vikraman@gentoo.org>
Message-ID: <1509214907.522d9f90f80de1ddb497a24a7a8223b0d06d4244.vikraman@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/wrk/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-benchmarks/wrk/Manifest app-benchmarks/wrk/wrk-4.0.2.ebuild
X-VCS-Directories: app-benchmarks/wrk/
X-VCS-Committer: vikraman
X-VCS-Committer-Name: Vikraman Choudhury
X-VCS-Revision: 522d9f90f80de1ddb497a24a7a8223b0d06d4244
X-VCS-Branch: master
Date: Sat, 28 Oct 2017 18:22:01 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: ce2d6a04-c55b-44c8-9caf-737247986e1c
X-Archives-Hash: eb15be7d383c83acdd6eb06fa18e719d

commit:     522d9f90f80de1ddb497a24a7a8223b0d06d4244
Author:     Vikraman Choudhury <vikraman <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 28 18:21:21 2017 +0000
Commit:     Vikraman Choudhury <vikraman <AT> gentoo <DOT> org>
CommitDate: Sat Oct 28 18:21:47 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=522d9f90

app-benchmarks/wrk: Bump up to version 4.0.2

Package-Manager: Portage-2.3.12, Repoman-2.3.1

 app-benchmarks/wrk/Manifest         |  1 +
 app-benchmarks/wrk/wrk-4.0.2.ebuild | 32 ++++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+)

diff --git a/app-benchmarks/wrk/Manifest b/app-benchmarks/wrk/Manifest
index 32a06f5aae7..c5a6f3a3faa 100644
--- a/app-benchmarks/wrk/Manifest
+++ b/app-benchmarks/wrk/Manifest
@@ -1 +1,2 @@
 DIST wrk-3.1.2.tar.gz 902868 SHA256 da88a25f0eeb9e1fd6a9dcf4a96859e9e758f9446f0787cf7c95e4ccde14eefc SHA512 399f33c2c008c21ac8fae1b561fe16ebcca324b5171340ffa706e84c256bf13a9983b5c18d258be6f87cb9fe8e38a434f9bfa7059395a01cb783f77faf952b15 WHIRLPOOL 3460aadf5f3e54cf64d0779b45efba291200f0344a55b3a8c35a603d9fbb917c006ff2035fb91bfdce7652b7e4231fc43c558115cab4ff73b91087163655fe85
+DIST wrk-4.0.2.tar.gz 6146798 SHA256 a4a6ad6727733023771163e7250189a9a23e6253b5e5025191baa6092d5a26fb SHA512 4279cf7136e2919779be3f61f462136a7a5288eac481104b844193682a8fc554581fd3942624d0be9317a3e82c82497927a124b9b4dbdf455e30d3f0cad1fdea WHIRLPOOL 123e3233b211b06d4542f504db2cd5bded5eb4405fc647a1f4edd1ee2eed8ccb7757b77d2baa7867fac02bf73114de9221cefbf347425498d656fdd2fd9ca000

diff --git a/app-benchmarks/wrk/wrk-4.0.2.ebuild b/app-benchmarks/wrk/wrk-4.0.2.ebuild
new file mode 100644
index 00000000000..990d52d0c66
--- /dev/null
+++ b/app-benchmarks/wrk/wrk-4.0.2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="A modern HTTP benchmarking tool"
+HOMEPAGE="https://github.com/wg/wrk"
+SRC_URI="https://github.com/wg/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="libressl"
+
+DEPEND=">=dev-lang/luajit-2.0.2
+	!libressl? ( dev-libs/openssl:0= )
+	libressl? ( dev-libs/libressl:0= )"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+	tc-export CC
+	emake VER="${PV}" WITH_LUAJIT="${EPREFIX}"/usr WITH_OPENSSL="${EPREFIX}"/usr
+}
+
+src_install() {
+	dobin ${PN}
+	dodoc README NOTICE
+	insinto /usr/share/${PN}
+	doins -r scripts
+}