1 |
commit: 920cb943c2481e188a6075ce11d5db79ab219e56 |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 22 14:51:03 2021 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 22 14:51:03 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=920cb943 |
7 |
|
8 |
dev-php/pecl-http: Drop old |
9 |
|
10 |
Signed-off-by: Brian Evans <grknight <AT> gentoo.org> |
11 |
|
12 |
dev-php/pecl-http/Manifest | 2 - |
13 |
.../files/pecl-http-4.1.0-use-getenv.patch | 25 ------- |
14 |
dev-php/pecl-http/pecl-http-3.2.4.ebuild | 71 ------------------- |
15 |
dev-php/pecl-http/pecl-http-4.0.0.ebuild | 69 ------------------- |
16 |
dev-php/pecl-http/pecl-http-4.1.0.ebuild | 79 ---------------------- |
17 |
5 files changed, 246 deletions(-) |
18 |
|
19 |
diff --git a/dev-php/pecl-http/Manifest b/dev-php/pecl-http/Manifest |
20 |
index ec99a7a950a..c4cb9ac5c0c 100644 |
21 |
--- a/dev-php/pecl-http/Manifest |
22 |
+++ b/dev-php/pecl-http/Manifest |
23 |
@@ -1,5 +1,3 @@ |
24 |
DIST pecl_http-3.2.1.tgz 221244 BLAKE2B b6581829fb8a800e24ccedd4d0f3efbaf558850bdc356d27a6e1d1097a8e2cfc61963a1daccd1d0f269a7cef5b243d45cdfaff5138321fe20df615dde44d19e3 SHA512 e67d4b32ba6f524e3fcf65f5497b94275e1a4a14fce97c57afe366369f368b3acdbedf364ed73cf983fb2c5f57f498adaa1100e7c936f11cbc5de1caedad7b51 |
25 |
DIST pecl_http-3.2.4.tgz 220631 BLAKE2B 996236cf9dd2f7d9bfaf046306e99c3ccf778261df19df8fd828b5811798f784841d89a6890e7347bd20cc6da71c966ea3ac9b17bf058e0bb766db7e1a8a6c49 SHA512 59c41d57c94a6e50e2f0b261130a24791b2845246f783b55e7f644f9a897d3650da364c5b38a860761b4a23f9266ed05000d6348bae2a7941e59d6bf5fb61a9e |
26 |
-DIST pecl_http-4.0.0.tgz 218259 BLAKE2B c9f5973686fd4db95a24dd4c50f217b93becc6a439066a395b0b7fec6e977154e5ae8f2261414458aed8e4a9d1281f44da2ecc67a05127610579f5be91196a88 SHA512 268b569c23f10ed72fe3c84fc5e5bf526c3e5ac345ca0556a24fbd01ce95da468d4e9aac6300d058001534ab826836793bf901e9560b744f1e20d7059be2ec79 |
27 |
-DIST pecl_http-4.1.0.tgz 220349 BLAKE2B 71152ee20930843636d90547339270fecf5569cb9a252a516c8150a134bf75fcb88b4fcfd129af1ca1366f4df775653b4dcdddbf0eb02426625550c1b1a0b483 SHA512 653c1dd8ec6dc738ce2dbf235a3c92522858e17ab9c0d00dd75a51bcfeb836f3fb02a6040b8b67d8d6839055286599958db844891686ca70c36031500be0bc1c |
28 |
DIST pecl_http-4.2.1.tgz 224452 BLAKE2B 58d2e1159aa64b9893b2b8b67c8444801308084ac13a743760c25cb3d0456fb586f69dc6b9e77db53341e4e9e45ce68f954c47b4e2663afe86de67d63db5e8e2 SHA512 2ad7e57fae313a7b46ba88e528e124ac9d83804827131a6ef478ccf3cf5883dec2d928b8ceb377ee7f5947c76f24d640d77533a9946612419e526786a79877e6 |
29 |
|
30 |
diff --git a/dev-php/pecl-http/files/pecl-http-4.1.0-use-getenv.patch b/dev-php/pecl-http/files/pecl-http-4.1.0-use-getenv.patch |
31 |
deleted file mode 100644 |
32 |
index c3ad7d96836..00000000000 |
33 |
--- a/dev-php/pecl-http/files/pecl-http-4.1.0-use-getenv.patch |
34 |
+++ /dev/null |
35 |
@@ -1,25 +0,0 @@ |
36 |
-commit a4f66fb42bb5203e9d1897a6cf554aa702ce0380 |
37 |
-Author: Thomas Deutschmann <whissi@g.o> |
38 |
-AuthorDate: Tue May 18 19:55:47 2021 +0200 |
39 |
-Commit: Thomas Deutschmann <whissi@g.o> |
40 |
-CommitDate: Tue May 18 19:55:47 2021 +0200 |
41 |
- |
42 |
- tests: use getenv() to access environment variable |
43 |
- |
44 |
- Fixes |
45 |
- |
46 |
- Warning: Undefined array key "PATH" in pecl-http-4.1.0/work/php8.0/tests/skipif.inc on line 56 |
47 |
- |
48 |
-diff --git a/tests/skipif.inc b/tests/skipif.inc |
49 |
-index 51272fb..76c3bd7 100644 |
50 |
---- a/tests/skipif.inc |
51 |
-+++ b/tests/skipif.inc |
52 |
-@@ -53,7 +53,7 @@ function skip_http2_test($message = "skip need http2 support") { |
53 |
- if (!(http\Client\Curl\FEATURES & http\Client\Curl\Features\HTTP2)) { |
54 |
- die("$message (FEATURES & HTTP2)\n"); |
55 |
- } |
56 |
-- foreach (explode(":", $_ENV["PATH"]) as $path) { |
57 |
-+ foreach (explode(":", getenv("PATH")) as $path) { |
58 |
- if (is_executable($path . "/nghttpd")) { |
59 |
- return; |
60 |
- } |
61 |
|
62 |
diff --git a/dev-php/pecl-http/pecl-http-3.2.4.ebuild b/dev-php/pecl-http/pecl-http-3.2.4.ebuild |
63 |
deleted file mode 100644 |
64 |
index 0a717e5377d..00000000000 |
65 |
--- a/dev-php/pecl-http/pecl-http-3.2.4.ebuild |
66 |
+++ /dev/null |
67 |
@@ -1,71 +0,0 @@ |
68 |
-# Copyright 1999-2021 Gentoo Authors |
69 |
-# Distributed under the terms of the GNU General Public License v2 |
70 |
- |
71 |
-EAPI="7" |
72 |
- |
73 |
-PHP_EXT_NAME="http" |
74 |
-PHP_EXT_PECL_PKG="pecl_http" |
75 |
-PHP_EXT_INI="yes" |
76 |
-PHP_EXT_ZENDEXT="no" |
77 |
-PHP_INI_NAME="50-http" |
78 |
- |
79 |
-USE_PHP="php7-3 php7-4 php8-0" |
80 |
- |
81 |
-inherit php-ext-pecl-r3 |
82 |
- |
83 |
-USE_PHP="php7-3 php7-4" |
84 |
- |
85 |
-KEYWORDS="~amd64 ~x86" |
86 |
- |
87 |
-DESCRIPTION="Extended HTTP Support for PHP" |
88 |
-LICENSE="BSD-2 MIT" |
89 |
-SLOT="7" |
90 |
-IUSE="ssl curl_ssl_gnutls curl_ssl_nss +curl_ssl_openssl" |
91 |
- |
92 |
-COMMON_DEPEND="app-arch/brotli:= |
93 |
- dev-libs/libevent |
94 |
- dev-php/pecl-propro:7[php_targets_php7-3(-)?,php_targets_php7-4(-)?] |
95 |
- >=dev-php/pecl-raphf-2.0.1:7[php_targets_php7-3(-)?,php_targets_php7-4(-)?] |
96 |
- net-dns/libidn2 |
97 |
- sys-libs/zlib |
98 |
- ssl? ( net-misc/curl[ssl,curl_ssl_gnutls(-)=,curl_ssl_nss(-)=,curl_ssl_openssl(-)=] ) |
99 |
- !ssl? ( net-misc/curl[-ssl] ) |
100 |
-" |
101 |
-DEPEND=" |
102 |
- php_targets_php7-3? ( ${COMMON_DEPEND} dev-lang/php:7.3[hash(+),session(-),iconv(-)] ) |
103 |
- php_targets_php7-4? ( ${COMMON_DEPEND} dev-lang/php:7.4[session(-),iconv(-)] )" |
104 |
-RDEPEND="${DEPEND} |
105 |
- php_targets_php8-0? ( dev-php/pecl-http:8[php_targets_php8-0(-)] )" |
106 |
- |
107 |
-PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps --without-http-libidn-dir ) |
108 |
- |
109 |
-src_prepare() { |
110 |
- if use php_targets_php7-3 || use php_targets_php7-4 ; then |
111 |
- php-ext-source-r3_src_prepare |
112 |
- else |
113 |
- default_src_prepare |
114 |
- fi |
115 |
-} |
116 |
- |
117 |
-src_install() { |
118 |
- if use php_targets_php7-3 || use php_targets_php7-4 ; then |
119 |
- php-ext-pecl-r3_src_install |
120 |
- fi |
121 |
-} |
122 |
- |
123 |
-src_test() { |
124 |
- # Cannot use eclass function due to required modules |
125 |
- # All tests SKIP otherwise |
126 |
- for slot in $(php_get_slots); do |
127 |
- php_init_slot_env "${slot}" |
128 |
- # Link in required modules for testing |
129 |
- ln -s "${EXT_DIR}/propro.so" "modules/propro.so" || die |
130 |
- ln -s "${EXT_DIR}/raphf.so" "modules/raphf.so" || die |
131 |
- sed -i \ |
132 |
- 's/PHP_TEST_SHARED_EXTENSIONS)/PHP_TEST_SHARED_EXTENSIONS) -d extension=propro.so -d extension=raphf.so/' \ |
133 |
- Makefile || die |
134 |
- SKIP_ONLINE_TESTS=yes NO_INTERACTION="yes" emake test |
135 |
- # Clean up testing links |
136 |
- rm modules/propro.so modules/raphf.so || die |
137 |
- done |
138 |
-} |
139 |
|
140 |
diff --git a/dev-php/pecl-http/pecl-http-4.0.0.ebuild b/dev-php/pecl-http/pecl-http-4.0.0.ebuild |
141 |
deleted file mode 100644 |
142 |
index 92ccc331b62..00000000000 |
143 |
--- a/dev-php/pecl-http/pecl-http-4.0.0.ebuild |
144 |
+++ /dev/null |
145 |
@@ -1,69 +0,0 @@ |
146 |
-# Copyright 1999-2021 Gentoo Authors |
147 |
-# Distributed under the terms of the GNU General Public License v2 |
148 |
- |
149 |
-EAPI="7" |
150 |
- |
151 |
-PHP_EXT_NAME="http" |
152 |
-PHP_EXT_PECL_PKG="pecl_http" |
153 |
-PHP_EXT_INI="yes" |
154 |
-PHP_EXT_ZENDEXT="no" |
155 |
-PHP_INI_NAME="50-http" |
156 |
- |
157 |
-USE_PHP="php7-3 php7-4 php8-0" |
158 |
- |
159 |
-inherit php-ext-pecl-r3 |
160 |
- |
161 |
-USE_PHP="php8-0" |
162 |
- |
163 |
-KEYWORDS="~amd64 ~x86" |
164 |
- |
165 |
-DESCRIPTION="Extended HTTP Support for PHP" |
166 |
-LICENSE="BSD-2 MIT" |
167 |
-SLOT="8" |
168 |
-IUSE="ssl curl_ssl_gnutls curl_ssl_nss +curl_ssl_openssl" |
169 |
- |
170 |
-COMMON_DEPEND="app-arch/brotli:= |
171 |
- dev-libs/libevent |
172 |
- >=dev-php/pecl-raphf-2.0.1:7[php_targets_php8-0(-)?] |
173 |
- net-dns/libidn2 |
174 |
- sys-libs/zlib |
175 |
- ssl? ( net-misc/curl[ssl,curl_ssl_gnutls(-)=,curl_ssl_nss(-)=,curl_ssl_openssl(-)=] ) |
176 |
- !ssl? ( net-misc/curl[-ssl] ) |
177 |
-" |
178 |
-DEPEND=" |
179 |
- php_targets_php8-0? ( ${COMMON_DEPEND} dev-lang/php:8.0[session(-),iconv(-)] )" |
180 |
-RDEPEND="${DEPEND} |
181 |
- php_targets_php7-3? ( dev-php/pecl-http:7[php_targets_php7-3(-)] ) |
182 |
- php_targets_php7-4? ( dev-php/pecl-http:7[php_targets_php7-4(-)] )" |
183 |
- |
184 |
-PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps --without-http-libidn-dir ) |
185 |
- |
186 |
-src_prepare() { |
187 |
- if use php_targets_php8-0 ; then |
188 |
- php-ext-source-r3_src_prepare |
189 |
- else |
190 |
- default_src_prepare |
191 |
- fi |
192 |
-} |
193 |
- |
194 |
-src_install() { |
195 |
- if use php_targets_php8-0 ; then |
196 |
- php-ext-pecl-r3_src_install |
197 |
- fi |
198 |
-} |
199 |
- |
200 |
-src_test() { |
201 |
- # Cannot use eclass function due to required modules |
202 |
- # All tests SKIP otherwise |
203 |
- for slot in $(php_get_slots); do |
204 |
- php_init_slot_env "${slot}" |
205 |
- # Link in required modules for testing |
206 |
- ln -s "${EXT_DIR}/raphf.so" "modules/raphf.so" || die |
207 |
- sed -i \ |
208 |
- 's/PHP_TEST_SHARED_EXTENSIONS)/PHP_TEST_SHARED_EXTENSIONS) -d extension=raphf/' \ |
209 |
- Makefile || die |
210 |
- SKIP_ONLINE_TESTS=yes NO_INTERACTION="yes" emake test |
211 |
- # Clean up testing links |
212 |
- rm modules/raphf.so || die |
213 |
- done |
214 |
-} |
215 |
|
216 |
diff --git a/dev-php/pecl-http/pecl-http-4.1.0.ebuild b/dev-php/pecl-http/pecl-http-4.1.0.ebuild |
217 |
deleted file mode 100644 |
218 |
index 9ffc9765e46..00000000000 |
219 |
--- a/dev-php/pecl-http/pecl-http-4.1.0.ebuild |
220 |
+++ /dev/null |
221 |
@@ -1,79 +0,0 @@ |
222 |
-# Copyright 1999-2021 Gentoo Authors |
223 |
-# Distributed under the terms of the GNU General Public License v2 |
224 |
- |
225 |
-EAPI="7" |
226 |
- |
227 |
-PHP_EXT_NAME="http" |
228 |
-PHP_EXT_PECL_PKG="pecl_http" |
229 |
-PHP_EXT_INI="yes" |
230 |
-PHP_EXT_ZENDEXT="no" |
231 |
-PHP_INI_NAME="50-http" |
232 |
- |
233 |
-USE_PHP="php7-3 php7-4 php8-0" |
234 |
- |
235 |
-inherit php-ext-pecl-r3 |
236 |
- |
237 |
-USE_PHP="php8-0" |
238 |
- |
239 |
-KEYWORDS="~amd64 ~x86" |
240 |
- |
241 |
-DESCRIPTION="Extended HTTP Support for PHP" |
242 |
-LICENSE="BSD-2 MIT" |
243 |
-SLOT="8" |
244 |
-IUSE="ssl curl_ssl_gnutls curl_ssl_nss +curl_ssl_openssl" |
245 |
- |
246 |
-COMMON_DEPEND="app-arch/brotli:= |
247 |
- dev-libs/libevent |
248 |
- >=dev-php/pecl-raphf-2.0.1:7[php_targets_php8-0(-)?] |
249 |
- net-dns/libidn2 |
250 |
- sys-libs/zlib |
251 |
- ssl? ( net-misc/curl[ssl,curl_ssl_gnutls(-)=,curl_ssl_nss(-)=,curl_ssl_openssl(-)=] ) |
252 |
- !ssl? ( net-misc/curl[-ssl] ) |
253 |
-" |
254 |
-DEPEND=" |
255 |
- php_targets_php8-0? ( ${COMMON_DEPEND} dev-lang/php:8.0[session(-),iconv(-)] )" |
256 |
-RDEPEND="${DEPEND} |
257 |
- php_targets_php7-3? ( dev-php/pecl-http:7[php_targets_php7-3(-)] ) |
258 |
- php_targets_php7-4? ( dev-php/pecl-http:7[php_targets_php7-4(-)] )" |
259 |
- |
260 |
-PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps --without-http-libidn-dir ) |
261 |
- |
262 |
-PATCHES=( "${FILESDIR}"/${P}-use-getenv.patch ) |
263 |
- |
264 |
-src_prepare() { |
265 |
- if use php_targets_php8-0 ; then |
266 |
- php-ext-source-r3_src_prepare |
267 |
- else |
268 |
- default_src_prepare |
269 |
- fi |
270 |
- |
271 |
- # Respect LDFLAGS, bug 727134 |
272 |
- export EXTRA_LDFLAGS="${LDFLAGS}" |
273 |
-} |
274 |
- |
275 |
-src_test() { |
276 |
- # Cannot use eclass function due to required modules |
277 |
- # All tests SKIP otherwise |
278 |
- local slot |
279 |
- for slot in $(php_get_slots); do |
280 |
- php_init_slot_env "${slot}" |
281 |
- |
282 |
- # Link in required modules for testing |
283 |
- ln -s "${EXT_DIR}/raphf.so" "modules/raphf.so" || die |
284 |
- |
285 |
- sed -i \ |
286 |
- 's/PHP_TEST_SHARED_EXTENSIONS)/PHP_TEST_SHARED_EXTENSIONS) -d extension=raphf/' \ |
287 |
- Makefile || die |
288 |
- |
289 |
- SKIP_ONLINE_TESTS=yes NO_INTERACTION="yes" emake test |
290 |
- |
291 |
- # Clean up testing links |
292 |
- rm modules/raphf.so || die |
293 |
- done |
294 |
-} |
295 |
- |
296 |
-src_install() { |
297 |
- if use php_targets_php8-0 ; then |
298 |
- php-ext-pecl-r3_src_install |
299 |
- fi |
300 |
-} |