Gentoo Archives: gentoo-commits

From: Quentin Retornaz <gentoo@××××××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/libressl:master commit in: app-benchmarks/httperf/files/, app-benchmarks/httperf/
Date: Sun, 03 Jul 2022 17:47:34
Message-Id: 1656870419.c4b09ca28d9aea9e3cf88be1f16f02fb13c277a2.quentin@gentoo
1 commit: c4b09ca28d9aea9e3cf88be1f16f02fb13c277a2
2 Author: orbea <orbea <AT> riseup <DOT> net>
3 AuthorDate: Sat Jul 2 23:11:24 2022 +0000
4 Commit: Quentin Retornaz <gentoo <AT> retornaz <DOT> com>
5 CommitDate: Sun Jul 3 17:46:59 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=c4b09ca2
7
8 app-benchmarks/httperf: Remove package
9
10 Works with libressl-3.5.x and httperf-0.9.1_p20181111::gentoo.
11
12 Signed-off-by: orbea <orbea <AT> riseup.net>
13 Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com>
14
15 app-benchmarks/httperf/Manifest | 1 -
16 .../files/httperf-0.9.1_p20181111-libressl.patch | 49 ----------------------
17 .../httperf/httperf-0.9.1_p20181111-r1.ebuild | 41 ------------------
18 app-benchmarks/httperf/metadata.xml | 28 -------------
19 4 files changed, 119 deletions(-)
20
21 diff --git a/app-benchmarks/httperf/Manifest b/app-benchmarks/httperf/Manifest
22 deleted file mode 100644
23 index 2c7c897..0000000
24 --- a/app-benchmarks/httperf/Manifest
25 +++ /dev/null
26 @@ -1 +0,0 @@
27 -DIST httperf-0.9.1_p20181111.tar.gz 107070 BLAKE2B 044f45b0d4b17bc714a718835be1e713092fe7f6d6573df237ba87791e5783e8f60d1218f29e01473ccdeec3b461d3ab7d35d68a1037ee693865a37fd78b7ea5 SHA512 34cc92f3de6d1dadc3fedc5b5f617538b76787496f9dd28b7800866abaf96c7410765d4bb0989000910bf2b51433292c0a7009fe64ba4fd29889ce96cc4d10fc
28
29 diff --git a/app-benchmarks/httperf/files/httperf-0.9.1_p20181111-libressl.patch b/app-benchmarks/httperf/files/httperf-0.9.1_p20181111-libressl.patch
30 deleted file mode 100644
31 index e1c0c90..0000000
32 --- a/app-benchmarks/httperf/files/httperf-0.9.1_p20181111-libressl.patch
33 +++ /dev/null
34 @@ -1,49 +0,0 @@
35 -From 1c4277eb9288c719b009aacb4bd71ca543f51cbd Mon Sep 17 00:00:00 2001
36 -From: Stefan Strogin <steils@g.o>
37 -Date: Mon, 3 Jun 2019 16:18:21 +0300
38 -Subject: [PATCH] Use correct ifdefs for checking TLS 1.3
39 -
40 -TLS 1.3 is not ready yet in LibreSSL. Also there is a theoretical
41 -possibility of OpenSSL >=1.1.1 built without TLS 1.3 support
42 -
43 -Upstream-Status: Submitted
44 -[https://github.com/httperf/httperf/pull/66]
45 -Signed-off-by: Stefan Strogin <steils@g.o>
46 ----
47 - src/httperf.c | 6 +++---
48 - 1 file changed, 3 insertions(+), 3 deletions(-)
49 -
50 -diff --git a/src/httperf.c b/src/httperf.c
51 -index af6f568..5dbba07 100755
52 ---- a/src/httperf.c
53 -+++ b/src/httperf.c
54 -@@ -687,7 +687,7 @@ main(int argc, char **argv)
55 - param.ssl_protocol = 5;
56 - else if (strcasecmp (optarg, "TLSv1.2") == 0 || strcasecmp (optarg, "TLSv1_2") == 0)
57 - param.ssl_protocol = 6;
58 --#if (OPENSSL_VERSION_NUMBER >= 0x10101000L)
59 -+#ifdef TLS1_3_VERSION
60 - else if (strcasecmp (optarg, "TLSv1.3") == 0 || strcasecmp (optarg, "TLSv1_3") == 0)
61 - param.ssl_protocol = 7;
62 - #endif
63 -@@ -1104,7 +1104,7 @@ main(int argc, char **argv)
64 - SSL_CTX_set_options(ssl_ctx, SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3 | SSL_OP_NO_TLSv1 | SSL_OP_NO_TLSv1_1); break;
65 - #endif
66 -
67 --#if (OPENSSL_VERSION_NUMBER >= 0x10101000L)
68 -+#ifdef TLS1_3_VERSION
69 - /* 7/TLSv1.3 */
70 - case 7:
71 - ssl_ctx = SSL_CTX_new (TLS_client_method ());
72 -@@ -1329,7 +1329,7 @@ main(int argc, char **argv)
73 - case 4: printf (" --ssl-protocol=TLSv1.0"); break;
74 - case 5: printf (" --ssl-protocol=TLSv1.1"); break;
75 - case 6: printf (" --ssl-protocol=TLSv1.2"); break;
76 --#if (OPENSSL_VERSION_NUMBER >= 0x10101000L)
77 -+#ifdef TLS1_3_VERSION
78 - case 7: printf (" --ssl-protocol=TLSv1.3"); break;
79 - #endif
80 - }
81 ---
82 -2.21.0
83 -
84
85 diff --git a/app-benchmarks/httperf/httperf-0.9.1_p20181111-r1.ebuild b/app-benchmarks/httperf/httperf-0.9.1_p20181111-r1.ebuild
86 deleted file mode 100644
87 index 7172926..0000000
88 --- a/app-benchmarks/httperf/httperf-0.9.1_p20181111-r1.ebuild
89 +++ /dev/null
90 @@ -1,41 +0,0 @@
91 -# Copyright 1999-2021 Gentoo Authors
92 -# Distributed under the terms of the GNU General Public License v2
93 -
94 -EAPI=7
95 -
96 -COMMIT="00bf5dab6fd284aa559f125964f5fe6dc0f23595"
97 -inherit autotools
98 -
99 -DESCRIPTION="A tool from HP for measuring web server performance"
100 -HOMEPAGE="https://github.com/httperf/httperf"
101 -SRC_URI="https://github.com/${PN}/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
102 -
103 -LICENSE="GPL-2+-with-openssl-exception"
104 -SLOT="0"
105 -KEYWORDS="~amd64 ~mips ~x86 ~amd64-linux ~x64-macos"
106 -IUSE="debug idleconn"
107 -
108 -DEPEND="
109 - idleconn? ( dev-libs/libevent:0= )
110 - dev-libs/openssl:0=
111 -"
112 -RDEPEND="${DEPEND}"
113 -
114 -S="${WORKDIR}/${PN}-${COMMIT}"
115 -
116 -PATCHES=( "${FILESDIR}"/${P}-libressl.patch )
117 -
118 -src_prepare() {
119 - default
120 - eautoreconf
121 -}
122 -
123 -src_configure() {
124 - local myeconfargs=(
125 - --bindir="${EPREFIX}"/usr/bin
126 - $(use_enable debug)
127 - $(use_enable idleconn)
128 - )
129 -
130 - econf "${myeconfargs[@]}"
131 -}
132
133 diff --git a/app-benchmarks/httperf/metadata.xml b/app-benchmarks/httperf/metadata.xml
134 deleted file mode 100644
135 index 629cc32..0000000
136 --- a/app-benchmarks/httperf/metadata.xml
137 +++ /dev/null
138 @@ -1,28 +0,0 @@
139 -<?xml version="1.0" encoding="UTF-8"?>
140 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
141 -<pkgmetadata>
142 - <maintainer type="person">
143 - <email>gokturk@g.o</email>
144 - <name>Göktürk Yüksek</name>
145 - </maintainer>
146 - <maintainer type="person">
147 - <email>zekeby@××××××××.com</email>
148 - <name>Taha Göktuğ Yüksek</name>
149 - </maintainer>
150 - <longdescription lang="en">Httperf is a tool for measuring web server
151 - performance. It provides a flexible facility for generating various HTTP
152 - workloads and for measuring server performance. The focus of httperf is
153 - not on implementing one particular benchmark but on providing a robust,
154 - high-performance tool that facilitates the construction of both micro-
155 - and macro-level benchmarks. The three distinguishing characteristics of
156 - httperf are its robustness, which includes the ability to generate and
157 - sustain server overload, support for the HTTP/1.1 and SSL protocols, and
158 - its extensibility to new workload generators and performance
159 - measurements.</longdescription>
160 - <use>
161 - <flag name="idleconn">Build with the idleconn program</flag>
162 - </use>
163 - <upstream>
164 - <remote-id type="github">httperf/httperf</remote-id>
165 - </upstream>
166 -</pkgmetadata>