1 |
commit: 86138ec8f8a43a01e66270a6e164930424c2c286 |
2 |
Author: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 29 03:25:41 2016 +0000 |
4 |
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 29 04:11:23 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86138ec8 |
7 |
|
8 |
app-benchmarks/httperf: bump to 0.9.1_p20161228 |
9 |
|
10 |
Upstream hasn't started doing releases on github yet. |
11 |
See: https://github.com/httperf/httperf/issues/34 |
12 |
|
13 |
Package-Manager: portage-2.3.0 |
14 |
|
15 |
app-benchmarks/httperf/Manifest | 1 + |
16 |
.../httperf/httperf-0.9.1_p20161228.ebuild | 38 ++++++++++++++++++++++ |
17 |
app-benchmarks/httperf/metadata.xml | 3 ++ |
18 |
3 files changed, 42 insertions(+) |
19 |
|
20 |
diff --git a/app-benchmarks/httperf/Manifest b/app-benchmarks/httperf/Manifest |
21 |
index 6d19b0a..25d1636 100644 |
22 |
--- a/app-benchmarks/httperf/Manifest |
23 |
+++ b/app-benchmarks/httperf/Manifest |
24 |
@@ -1 +1,2 @@ |
25 |
DIST httperf-0.9.0.tar.gz 425297 SHA256 e1a0bf56bcb746c04674c47b6cfa531fad24e45e9c6de02aea0d1c5f85a2bf1c SHA512 58ea6a3b8a82181a89e5df22fdf18d5be8c7b533c404108702cc03fc727fb1599a43e620d83d41630f8a951d80e48ed99d0c3dd8469ee1fc7626449b777971e1 WHIRLPOOL 7b36e636a063c9af7ff142f7a81947f5b693bb1a3bdbe98c5dfd1f5ac11edb380e97f19c3ad2a0a8d8505c0d63d8d714fe935a6e326f2373cbbb11a940431a7e |
26 |
+DIST httperf-0.9.1_p20161228.tar.gz 106357 SHA256 45cf5e92d30cd4191015fff2d0d066b780b54c45e614690bf0e70926633715ed SHA512 e5dbb400e4ab0db3cc1621731d99af9261574a8a1da4279c722ebbd80537d0aae2a3d662f4d51eb9130bc98823c2786710c7819a0144f4ae3f8cf153e28d7dfa WHIRLPOOL 2d0e5ee38b965f8d378cf45038c03782bb64d73981432a24968d6e0b870bacd64e947ee6c0120b2d7927780c4096cf3725ff1866f5f77042498f278cc84683d6 |
27 |
|
28 |
diff --git a/app-benchmarks/httperf/httperf-0.9.1_p20161228.ebuild b/app-benchmarks/httperf/httperf-0.9.1_p20161228.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000..55a1800 |
31 |
--- /dev/null |
32 |
+++ b/app-benchmarks/httperf/httperf-0.9.1_p20161228.ebuild |
33 |
@@ -0,0 +1,38 @@ |
34 |
+# Copyright 1999-2016 Gentoo Foundation |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+# $Id$ |
37 |
+ |
38 |
+EAPI=6 |
39 |
+ |
40 |
+inherit autotools vcs-snapshot |
41 |
+ |
42 |
+MY_COMMIT_HASH="cc888437e4572ec29a4a7209f34fbd39c31600f5" |
43 |
+ |
44 |
+DESCRIPTION="A tool from HP for measuring web server performance" |
45 |
+HOMEPAGE="https://github.com/httperf/httperf" |
46 |
+SRC_URI="https://github.com/${PN}/${PN}/archive/${MY_COMMIT_HASH}.tar.gz -> ${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="GPL-2+-with-openssl-exception" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~mips ~x86 ~amd64-linux ~x64-macos" |
51 |
+IUSE="debug libressl idleconn" |
52 |
+ |
53 |
+RDEPEND="!libressl? ( dev-libs/openssl:0= ) |
54 |
+ libressl? ( dev-libs/libressl:0= ) |
55 |
+ idleconn? ( dev-libs/libevent:0= )" |
56 |
+DEPEND="${RDEPEND}" |
57 |
+ |
58 |
+src_prepare() { |
59 |
+ default |
60 |
+ eautoreconf |
61 |
+} |
62 |
+ |
63 |
+src_configure() { |
64 |
+ local myeconfargs=( |
65 |
+ --bindir="${EPREFIX}"/usr/bin |
66 |
+ $(use_enable debug) |
67 |
+ $(use_enable idleconn) |
68 |
+ ) |
69 |
+ |
70 |
+ econf "${myeconfargs[@]}" |
71 |
+} |
72 |
|
73 |
diff --git a/app-benchmarks/httperf/metadata.xml b/app-benchmarks/httperf/metadata.xml |
74 |
index eb75251..63bcf79 100644 |
75 |
--- a/app-benchmarks/httperf/metadata.xml |
76 |
+++ b/app-benchmarks/httperf/metadata.xml |
77 |
@@ -12,6 +12,9 @@ |
78 |
sustain server overload, support for the HTTP/1.1 and SSL protocols, and |
79 |
its extensibility to new workload generators and performance |
80 |
measurements.</longdescription> |
81 |
+ <use> |
82 |
+ <flag name="idleconn">Build with the idleconn program</flag> |
83 |
+ </use> |
84 |
<upstream> |
85 |
<remote-id type="google-code">httperf</remote-id> |
86 |
<remote-id type="github">httperf/httperf</remote-id> |