Gentoo Archives: gentoo-commits

From: Brian Evans <grknight@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, dev-php/pecl-svn/files/, dev-php/pecl-svn/
Date: Mon, 30 Dec 2019 15:09:38
Message-Id: 1577718552.12ea5452a9b31e3ba843fb89076b5948410ee645.grknight@gentoo
1 commit: 12ea5452a9b31e3ba843fb89076b5948410ee645
2 Author: Brian Evans <grknight <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 30 14:55:59 2019 +0000
4 Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 30 15:09:12 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12ea5452
7
8 dev-php/pecl-svn: Drop package
9
10 Signed-off-by: Brian Evans <grknight <AT> gentoo.org>
11
12 dev-php/pecl-svn/Manifest | 1 -
13 dev-php/pecl-svn/files/1.0.3-c99-fixes.patch | 68 ----------------------------
14 dev-php/pecl-svn/metadata.xml | 8 ----
15 dev-php/pecl-svn/pecl-svn-1.0.3-r1.ebuild | 22 ---------
16 profiles/package.mask | 1 -
17 5 files changed, 100 deletions(-)
18
19 diff --git a/dev-php/pecl-svn/Manifest b/dev-php/pecl-svn/Manifest
20 deleted file mode 100644
21 index 42531249d7f..00000000000
22 --- a/dev-php/pecl-svn/Manifest
23 +++ /dev/null
24 @@ -1 +0,0 @@
25 -DIST svn-1.0.3.tgz 27216 BLAKE2B 906f11dbc048f3bc7fa2b27c19661ce40c3008b35344cd0446c88432e2a6423ab6aeb396ded7723f70229767238d8a10eed6f8cd4ae29e73497eee6c5a0ac0a9 SHA512 41f111c3a47f66317c47318162bfd17c22ffef6462ababdafd9ed38220b1135464e52a365fbc206fd510dafad739437174faf1d0dd144707fad62da43c6c1a79
26
27 diff --git a/dev-php/pecl-svn/files/1.0.3-c99-fixes.patch b/dev-php/pecl-svn/files/1.0.3-c99-fixes.patch
28 deleted file mode 100644
29 index a1214ffd0cb..00000000000
30 --- a/dev-php/pecl-svn/files/1.0.3-c99-fixes.patch
31 +++ /dev/null
32 @@ -1,68 +0,0 @@
33 ---- a/svn.c 2016/05/04 04:14:33 339123
34 -+++ b/svn.c 2016/05/04 07:32:45 339129
35 -@@ -977,6 +977,7 @@
36 - apr_pool_t *subpool;
37 - svn_opt_revision_t peg_revision;
38 - const char *true_path;
39 -+ apr_hash_index_t *hi;
40 -
41 - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|lbb",
42 - &repos_url, &repos_url_len, &revision.value.number, &recurse, &peg) == FAILURE) {
43 -@@ -1021,7 +1022,7 @@
44 -
45 - array_init(return_value);
46 -
47 -- for (apr_hash_index_t *hi = apr_hash_first(subpool, dirents); hi; hi = apr_hash_next(hi)) {
48 -+ for (hi = apr_hash_first(subpool, dirents); hi; hi = apr_hash_next(hi)) {
49 - const char *utf8_entryname;
50 - svn_dirent_t *dirent;
51 - apr_time_t now = apr_time_now();
52 -@@ -1031,9 +1032,10 @@
53 - char timestr[20];
54 - const char *utf8_timestr;
55 - zval *row;
56 -+ const char *key;
57 -
58 -- svn_utf_cstring_to_utf8 (&utf8_entryname, apr_hash_this_key(hi), subpool);
59 -- dirent = apr_hash_this_val(hi);
60 -+ apr_hash_this(hi, &key, NULL, &dirent);
61 -+ svn_utf_cstring_to_utf8 (&utf8_entryname, key, subpool);
62 -
63 - /* svn_time_to_human_cstring gives us something *way* too long
64 - to use for this, so we have to roll our own. We include
65 -@@ -1101,6 +1103,7 @@
66 - {
67 - struct php_svn_log_receiver_baton *baton = (struct php_svn_log_receiver_baton*) ibaton;
68 - zval *row, *paths;
69 -+ apr_hash_index_t *hi;
70 - TSRMLS_FETCH();
71 -
72 - if (rev == 0) {
73 -@@ -1127,7 +1130,7 @@
74 - MAKE_STD_ZVAL(paths);
75 - array_init(paths);
76 -
77 -- for (apr_hash_index_t *hi = apr_hash_first(pool, changed_paths); hi; hi = apr_hash_next(hi)) {
78 -+ for (hi = apr_hash_first(pool, changed_paths); hi; hi = apr_hash_next(hi)) {
79 - svn_log_changed_path_t *log_item;
80 - zval *zpaths;
81 - const char *path;
82 -@@ -1135,8 +1138,7 @@
83 - MAKE_STD_ZVAL(zpaths);
84 - array_init(zpaths);
85 -
86 -- path = apr_hash_this_key(hi);
87 -- log_item = apr_hash_this_val(hi);
88 -+ apr_hash_this(hi, &path, NULL, &log_item);
89 -
90 - add_assoc_stringl(zpaths, "action", &(log_item->action), 1,1);
91 - add_assoc_string(zpaths, "path", path, 1);
92 -@@ -1152,7 +1154,7 @@
93 - add_assoc_zval(paths, path, zpaths);
94 - }
95 -
96 -- zend_hash_sort(Z_ARRVAL_P(paths), zend_qsort, compare_keys_as_paths, 1);
97 -+ zend_hash_sort(Z_ARRVAL_P(paths), zend_qsort, compare_keys_as_paths, 1 TSRMLS_CC);
98 - add_assoc_zval(row,"paths",paths);
99 - }
100 -
101
102 diff --git a/dev-php/pecl-svn/metadata.xml b/dev-php/pecl-svn/metadata.xml
103 deleted file mode 100644
104 index aca42932b83..00000000000
105 --- a/dev-php/pecl-svn/metadata.xml
106 +++ /dev/null
107 @@ -1,8 +0,0 @@
108 -<?xml version="1.0" encoding="UTF-8"?>
109 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
110 -<pkgmetadata>
111 -<maintainer type="project">
112 - <email>php-bugs@g.o</email>
113 - <name>PHP</name>
114 -</maintainer>
115 -</pkgmetadata>
116
117 diff --git a/dev-php/pecl-svn/pecl-svn-1.0.3-r1.ebuild b/dev-php/pecl-svn/pecl-svn-1.0.3-r1.ebuild
118 deleted file mode 100644
119 index 52eb35c8875..00000000000
120 --- a/dev-php/pecl-svn/pecl-svn-1.0.3-r1.ebuild
121 +++ /dev/null
122 @@ -1,22 +0,0 @@
123 -# Copyright 1999-2016 Gentoo Foundation
124 -# Distributed under the terms of the GNU General Public License v2
125 -
126 -EAPI=6
127 -
128 -PHP_EXT_NAME="svn"
129 -
130 -USE_PHP="php5-6"
131 -
132 -inherit php-ext-pecl-r3
133 -
134 -KEYWORDS="~amd64 ~x86"
135 -
136 -DESCRIPTION="PHP Bindings for the Subversion Revision control system"
137 -LICENSE="PHP-3.01"
138 -SLOT="0"
139 -IUSE=""
140 -
141 -DEPEND="dev-vcs/subversion"
142 -RDEPEND="${DEPEND}"
143 -
144 -PATCHES=( "${FILESDIR}/1.0.3-c99-fixes.patch" )
145
146 diff --git a/profiles/package.mask b/profiles/package.mask
147 index 390b7ffaf30..83e6237b7e1 100644
148 --- a/profiles/package.mask
149 +++ b/profiles/package.mask
150 @@ -780,7 +780,6 @@ virtual/httpd-php:5.6
151 # Brian Evans <grknight@g.o> (2019-10-01)
152 # Old extensions which only work with PHP <7
153 # Removal in 90 days. Bug 651784
154 -dev-php/pecl-svn
155 dev-php/pecl-xrange
156 dev-php/suhosin
157 dev-php/xcache