1 |
commit: 8254d8e41b4915e04c949e1d22946c8529995943 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 28 21:24:40 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 28 21:40:54 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8254d8e4 |
7 |
|
8 |
app-benchmarks/httperf: Add 0.9.1_p20181111 snapshot |
9 |
|
10 |
Fixes build with >=dev-libs/openssl-1.1 |
11 |
|
12 |
Thanks-to: Jan Ziak <0xe2.0x9a.0x9b <AT> gmail.com> |
13 |
Closes: https://bugs.gentoo.org/674582 |
14 |
Package-Manager: Portage-2.3.65, Repoman-2.3.12 |
15 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
16 |
|
17 |
app-benchmarks/httperf/Manifest | 1 + |
18 |
.../httperf/httperf-0.9.1_p20181111.ebuild | 40 ++++++++++++++++++++++ |
19 |
2 files changed, 41 insertions(+) |
20 |
|
21 |
diff --git a/app-benchmarks/httperf/Manifest b/app-benchmarks/httperf/Manifest |
22 |
index 3fa87708185..0ec16e30972 100644 |
23 |
--- a/app-benchmarks/httperf/Manifest |
24 |
+++ b/app-benchmarks/httperf/Manifest |
25 |
@@ -1 +1,2 @@ |
26 |
DIST httperf-0.9.1_p20161228.tar.gz 106357 BLAKE2B fa35d47a9e59bd8d8979e2a56ef8e5966c8e83a0a738e0995730efb2721344bcfa6187581b04a05ec2ca7f3424072894c7c10dd63cc1a4a2bb4c0f29df2a0a6c SHA512 e5dbb400e4ab0db3cc1621731d99af9261574a8a1da4279c722ebbd80537d0aae2a3d662f4d51eb9130bc98823c2786710c7819a0144f4ae3f8cf153e28d7dfa |
27 |
+DIST httperf-0.9.1_p20181111.tar.gz 107070 BLAKE2B 044f45b0d4b17bc714a718835be1e713092fe7f6d6573df237ba87791e5783e8f60d1218f29e01473ccdeec3b461d3ab7d35d68a1037ee693865a37fd78b7ea5 SHA512 34cc92f3de6d1dadc3fedc5b5f617538b76787496f9dd28b7800866abaf96c7410765d4bb0989000910bf2b51433292c0a7009fe64ba4fd29889ce96cc4d10fc |
28 |
|
29 |
diff --git a/app-benchmarks/httperf/httperf-0.9.1_p20181111.ebuild b/app-benchmarks/httperf/httperf-0.9.1_p20181111.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..75a84f5332a |
32 |
--- /dev/null |
33 |
+++ b/app-benchmarks/httperf/httperf-0.9.1_p20181111.ebuild |
34 |
@@ -0,0 +1,40 @@ |
35 |
+# Copyright 1999-2019 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=7 |
39 |
+ |
40 |
+COMMIT="00bf5dab6fd284aa559f125964f5fe6dc0f23595" |
41 |
+inherit autotools |
42 |
+ |
43 |
+DESCRIPTION="A tool from HP for measuring web server performance" |
44 |
+HOMEPAGE="https://github.com/httperf/httperf" |
45 |
+SRC_URI="https://github.com/${PN}/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="GPL-2+-with-openssl-exception" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~mips ~x86 ~amd64-linux ~x64-macos" |
50 |
+IUSE="debug idleconn libressl" |
51 |
+ |
52 |
+DEPEND=" |
53 |
+ idleconn? ( dev-libs/libevent:0= ) |
54 |
+ !libressl? ( dev-libs/openssl:0= ) |
55 |
+ libressl? ( dev-libs/libressl:0= ) |
56 |
+" |
57 |
+RDEPEND="${DEPEND}" |
58 |
+ |
59 |
+S="${WORKDIR}/${PN}-${COMMIT}" |
60 |
+ |
61 |
+src_prepare() { |
62 |
+ default |
63 |
+ eautoreconf |
64 |
+} |
65 |
+ |
66 |
+src_configure() { |
67 |
+ local myeconfargs=( |
68 |
+ --bindir="${EPREFIX}"/usr/bin |
69 |
+ $(use_enable debug) |
70 |
+ $(use_enable idleconn) |
71 |
+ ) |
72 |
+ |
73 |
+ econf "${myeconfargs[@]}" |
74 |
+} |