1 |
commit: 92020f7e6734f711a8e269842798c0730198eea5 |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 30 14:27:15 2019 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 30 15:09:06 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92020f7e |
7 |
|
8 |
dev-php/pecl-ssh2: Remove masked version |
9 |
|
10 |
Bug: https://bugs.gentoo.org/651784 |
11 |
Signed-off-by: Brian Evans <grknight <AT> gentoo.org> |
12 |
|
13 |
dev-php/pecl-ssh2/Manifest | 1 - |
14 |
dev-php/pecl-ssh2/files/0.13-parse_url-fix.patch | 49 ------------------------ |
15 |
dev-php/pecl-ssh2/pecl-ssh2-0.13-r3.ebuild | 32 ---------------- |
16 |
profiles/package.mask | 1 - |
17 |
4 files changed, 83 deletions(-) |
18 |
|
19 |
diff --git a/dev-php/pecl-ssh2/Manifest b/dev-php/pecl-ssh2/Manifest |
20 |
index 55e27af2e95..b87e771ebe2 100644 |
21 |
--- a/dev-php/pecl-ssh2/Manifest |
22 |
+++ b/dev-php/pecl-ssh2/Manifest |
23 |
@@ -1,3 +1,2 @@ |
24 |
DIST pecl-ssh2-1.2.tar.gz 32447 BLAKE2B 3a9d0f205097a381d07fb9dd5ab4dcb8e361f555dbc633abb8fa895c83024b70e85cd87602da1ceeb1018a7b07c474720b02810ef0689e9294fc33b129b6c738 SHA512 7b7d311cd5f88835e124d70a0295468f75d0fa6936a58808c936d1a185bb630b9e02c21f49b4bd777194a7b104aa3ff85c4fbf480f43d5906787e532ba2d3e04 |
25 |
-DIST ssh2-0.13.tgz 28984 BLAKE2B 3c18cb7aba146801325eeaca3ffb6e3780675a7ce6d78aea5fbc16f75662284f7773de2161789f68af0b5499e9cb813f4046d674758c138849eb6735344249f9 SHA512 c031e22853bf5cf8ee59dc5b99d9e7e60af1507a22e7d0a9e2f54b8f1758a03a6cea91c539e0f667d48ec66185fdc8a28c47e5a1e10a72220c0cb16b3948e1d0 |
26 |
DIST ssh2-1.1.2.tgz 32057 BLAKE2B 88ffb3fb608687a086bbe345677982e944210791acc100312ba56ac7c35188a52cde5529d78caf473d19710e9965fba853ea9ff046715413a0b488ae2d8b690c SHA512 36793191448745b8a9b3cc628fe9fb431480792c7a2ff0bf2eccd58cda1cf944933be1d301c455d4a6f3dabf7e04ffef248bc402a8ff99bfafcba0deddb25c36 |
27 |
|
28 |
diff --git a/dev-php/pecl-ssh2/files/0.13-parse_url-fix.patch b/dev-php/pecl-ssh2/files/0.13-parse_url-fix.patch |
29 |
deleted file mode 100644 |
30 |
index c9c052fd32d..00000000000 |
31 |
--- a/dev-php/pecl-ssh2/files/0.13-parse_url-fix.patch |
32 |
+++ /dev/null |
33 |
@@ -1,49 +0,0 @@ |
34 |
-From 093906ec1c065e86ad1cd4dabbc89b1ccae11938 Mon Sep 17 00:00:00 2001 |
35 |
-From: Remi Collet <remi@×××.net> |
36 |
-Date: Thu, 10 Nov 2016 09:16:02 +0100 |
37 |
-Subject: [PATCH] fix for PHP 7.0.13 where php_url_parse fails |
38 |
- |
39 |
---- |
40 |
- ssh2_fopen_wrappers.c | 17 ++++++++++++----- |
41 |
- 1 file changed, 12 insertions(+), 5 deletions(-) |
42 |
- |
43 |
-diff --git a/ssh2_fopen_wrappers.c b/ssh2_fopen_wrappers.c |
44 |
-index 8472ddd..89b34eb 100644 |
45 |
---- a/ssh2_fopen_wrappers.c |
46 |
-+++ b/ssh2_fopen_wrappers.c |
47 |
-@@ -198,10 +198,20 @@ php_url *php_ssh2_fopen_wraper_parse_path( char *path, char *type, php_stream_co |
48 |
- php_url *resource; |
49 |
- zval *methods = NULL, *callbacks = NULL, zsession, **tmpzval; |
50 |
- long resource_id; |
51 |
-- char *s, *username = NULL, *password = NULL, *pubkey_file = NULL, *privkey_file = NULL; |
52 |
-+ char *h, *s, *username = NULL, *password = NULL, *pubkey_file = NULL, *privkey_file = NULL; |
53 |
- int username_len = 0, password_len = 0; |
54 |
- |
55 |
-- resource = php_url_parse(path); |
56 |
-+ h = strstr(path, "Resource id #"); |
57 |
-+ if (h) { |
58 |
-+ /* Starting with 5.6.28, 7.0.13 need to be clean, else php_url_parse will fail */ |
59 |
-+ char *tmp = estrdup(path); |
60 |
-+ |
61 |
-+ strncpy(tmp + (h-path), h + sizeof("Resource id #")-1, strlen(tmp)-sizeof("Resource id #")); |
62 |
-+ resource = php_url_parse(tmp); |
63 |
-+ efree(tmp); |
64 |
-+ } else { |
65 |
-+ resource = php_url_parse(path); |
66 |
-+ } |
67 |
- if (!resource || !resource->path) { |
68 |
- return NULL; |
69 |
- } |
70 |
-@@ -232,9 +242,6 @@ php_url *php_ssh2_fopen_wraper_parse_path( char *path, char *type, php_stream_co |
71 |
- |
72 |
- /* Look for a resource ID to reuse a session */ |
73 |
- s = resource->host; |
74 |
-- if (strncmp(resource->host, "Resource id #", sizeof("Resource id #") - 1) == 0) { |
75 |
-- s = resource->host + sizeof("Resource id #") - 1; |
76 |
-- } |
77 |
- if (is_numeric_string(s, strlen(s), &resource_id, NULL, 0) == IS_LONG) { |
78 |
- php_ssh2_sftp_data *sftp_data; |
79 |
- |
80 |
--- |
81 |
-2.1.4 |
82 |
- |
83 |
|
84 |
diff --git a/dev-php/pecl-ssh2/pecl-ssh2-0.13-r3.ebuild b/dev-php/pecl-ssh2/pecl-ssh2-0.13-r3.ebuild |
85 |
deleted file mode 100644 |
86 |
index 25a9a72ff7c..00000000000 |
87 |
--- a/dev-php/pecl-ssh2/pecl-ssh2-0.13-r3.ebuild |
88 |
+++ /dev/null |
89 |
@@ -1,32 +0,0 @@ |
90 |
-# Copyright 1999-2017 Gentoo Foundation |
91 |
-# Distributed under the terms of the GNU General Public License v2 |
92 |
- |
93 |
-EAPI=6 |
94 |
- |
95 |
-PHP_EXT_NAME="ssh2" |
96 |
- |
97 |
-USE_PHP="php5-6 php7-0 php7-1" |
98 |
- |
99 |
-inherit php-ext-pecl-r3 |
100 |
- |
101 |
-USE_PHP="php5-6" |
102 |
- |
103 |
-DESCRIPTION="PHP bindings for the libssh2 library" |
104 |
-LICENSE="PHP-3.01" |
105 |
-SLOT="0" |
106 |
-IUSE="" |
107 |
-KEYWORDS="amd64 x86" |
108 |
-# Upstream notes say there are errors with gcrypt backend |
109 |
-DEPEND="net-libs/libssh2[-gcrypt]" |
110 |
-RDEPEND="${DEPEND}" |
111 |
-PDEPEND="php_targets_php7-0? ( dev-php/pecl-ssh2:7 ) |
112 |
- php_targets_php7-1? ( dev-php/pecl-ssh2:7 )" |
113 |
- |
114 |
-src_prepare(){ |
115 |
- if use php_targets_php5-6 ; then |
116 |
- local PATCHES=( "${FILESDIR}/0.13-parse_url-fix.patch" ) |
117 |
- php-ext-source-r3_src_prepare |
118 |
- else |
119 |
- default_src_prepare |
120 |
- fi |
121 |
-} |
122 |
|
123 |
diff --git a/profiles/package.mask b/profiles/package.mask |
124 |
index 1e6771168cf..7b927fab35c 100644 |
125 |
--- a/profiles/package.mask |
126 |
+++ b/profiles/package.mask |
127 |
@@ -780,7 +780,6 @@ virtual/httpd-php:5.6 |
128 |
# Brian Evans <grknight@g.o> (2019-10-01) |
129 |
# Old slots for support of PHP <7 |
130 |
# Removal in 90 days. Bug 651784 |
131 |
-dev-php/pecl-ssh2:0 |
132 |
dev-php/pecl-stomp:0 |
133 |
dev-php/pecl-xdiff:0 |
134 |
dev-php/pecl-yaml:0 |