summaryrefslogtreecommitdiff
path: root/dev-php
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-08-09 14:16:10 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-08-09 14:16:10 +0100
commitc62f31f933c259fc576a912eed0856ca03346fc4 (patch)
tree0ea376f6ab79cebbc42b1c32d28ba8df12010fa7 /dev-php
parent21616d4521c47fc859035ab3939842cddd56e374 (diff)
gentoo auto-resync : 09:08:2022 - 14:16:10
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/Manifest.gzbin39885 -> 39712 bytes
-rw-r--r--dev-php/pecl-geoip/Manifest7
-rw-r--r--dev-php/pecl-geoip/files/fix-failing-tests-1.1.1.patch46
-rw-r--r--dev-php/pecl-geoip/files/fix-failing-tests-php8-1-1.1.1.patch71
-rw-r--r--dev-php/pecl-geoip/files/php8-support-1.1.1.patch93
-rw-r--r--dev-php/pecl-geoip/metadata.xml8
-rw-r--r--dev-php/pecl-geoip/pecl-geoip-1.1.1-r4.ebuild22
-rw-r--r--dev-php/pecl-geoip/pecl-geoip-1.1.1-r5.ebuild26
8 files changed, 0 insertions, 273 deletions
diff --git a/dev-php/Manifest.gz b/dev-php/Manifest.gz
index eafa4b2fd4f3..012876e2e397 100644
--- a/dev-php/Manifest.gz
+++ b/dev-php/Manifest.gz
Binary files differ
diff --git a/dev-php/pecl-geoip/Manifest b/dev-php/pecl-geoip/Manifest
deleted file mode 100644
index 7f26aa0a4d01..000000000000
--- a/dev-php/pecl-geoip/Manifest
+++ /dev/null
@@ -1,7 +0,0 @@
-AUX fix-failing-tests-1.1.1.patch 1250 BLAKE2B 587561ec400fe54b21333d09d2ad721b66c321de5a9c1823c0cb9706e63c41a24f81e53eb9fb92bc1f33bc867e141e8f29c26abc1452058dc387d29a53b0c7bc SHA512 9e3c93b337c38feaec29001a5a5b243f376bc7a32caaafa848b51daa3f0efbdecf407de6c8f304801ad106aa0e4906513588c42aa19bc6d5b261ccd6cb00b652
-AUX fix-failing-tests-php8-1-1.1.1.patch 2463 BLAKE2B 8afb78f9e4c6c6c0cc7935401f1376c3bdcd587b1d84ddc7511c5d16dc97623c63115fca4e7fd05c13c932b7a9df9202645185b303abd372348571aaf7ec55c0 SHA512 138ab76ebd9526fa795c7122d10496b790a0a1c35f52942f3b90a59e59522d32a6109648913e0cacf83dea0f7e72919558346acd759c275b113bdba868b4daf9
-AUX php8-support-1.1.1.patch 3017 BLAKE2B a3a200c6f9b081a1776a39a11cbcc1d547b5a1fa945e13436175e3e4834e5e83ad5980ed8b5d0e0b2f3c6fc31d8011a995cba98e3681ea2be22df55391767026 SHA512 80e234a37deb2a5ba075979aacb5f4a343ff2e938b42e398b1cb8fe98cc13cc70a2b9b1118e155a4ebc80783743e2f85ad09b1d48735112e807e902095d92035
-DIST geoip-1.1.1.tgz 13004 BLAKE2B fe073b9459c434751ea0291ce6802041db47254f9d2d5b930db51751b3a66ce5cf925dc4bd07764920748b1735f26ba8bd136654e08ed9c24ac3b520e842f45d SHA512 395715297726aa8e7ed71297d403bea9cb08417a03adfca29dc6ea68bbc738c176f71ea621f9026109e07cd5a2adc647e2af8e140e18a6af1c8f0fe4ed1a9c6b
-EBUILD pecl-geoip-1.1.1-r4.ebuild 439 BLAKE2B bc68853acc3e32b5a5e5f2b1c0485d346a93a7976735aaa8cbf0e9a94cacb7185083d89f670a8200167254d764d8255dceae1d5be14aaac593c2731f33f9a2f5 SHA512 2dfb9075f54995b439bf67642d2babb448d271c6cde649e8302e4ca7f51c1f5a029114a923131ec1c7c6699428db5128256fb382e6e911fd2e0ab87cc7748f6e
-EBUILD pecl-geoip-1.1.1-r5.ebuild 541 BLAKE2B 13808da76505886faf7f8a32fc009795e58dacc3ce9a878f586abefb31c37cdfea1a97574d49923272378f52690fbdbaba4dffaa9418d3b695f330ad5e2556b1 SHA512 207605da880c707e3b7ec25e59ba2b3e1d239d9bcc72c82860ef32719b3017a84194d07a56ee8292a2238482b469d46fd2cb721292cd9fd67d4d674e3ec22d57
-MISC metadata.xml 240 BLAKE2B f60f325331d493a555e53c29c7cf2742a415356da28a467505f1441f3fd790fd0d59050df84854bdc379d19d94a46121216479807975a2922d5a2fefde83416b SHA512 fada9d69055f2be962b95aac82f260ec5db7a3f4392d10f0458a1d125938fa17539f7ec486000f3a95cff85a3fbb6bbf1f6f4fe6c2de7aa420a7543a3e89d03e
diff --git a/dev-php/pecl-geoip/files/fix-failing-tests-1.1.1.patch b/dev-php/pecl-geoip/files/fix-failing-tests-1.1.1.patch
deleted file mode 100644
index a86994708e7b..000000000000
--- a/dev-php/pecl-geoip/files/fix-failing-tests-1.1.1.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-On Gentoo, we require users to download the GeoIP databases
-themselves. As a result, the databases may not be there when
-installing pecl-geoip. The first patch below skips a test if the
-database it uses is not present. The second patch disables 019.phpt
-completely, because I can't make it pass.
-
-PHP-Bug: 73416
-
-diff --git a/tests/001.phpt b/tests/001.phpt
-index a548d6e..c0e4972 100644
---- a/tests/001.phpt
-+++ b/tests/001.phpt
-@@ -1,7 +1,10 @@
- --TEST--
- Checking Country (Free) DB availability
- --SKIPIF--
--<?php if (!extension_loaded("geoip")) print "skip"; ?>
-+<?php
-+if (!extension_loaded("geoip")) print "skip";
-+if (!file_exists(geoip_db_filename(GEOIP_COUNTRY_EDITION))) print "skip";
-+?>
- --POST--
- --GET--
- --FILE--
-diff --git a/tests/019.phpt b/tests/019.phpt
-deleted file mode 100644
-index 4630354..0000000
---- a/tests/019.phpt
-+++ /dev/null
-@@ -1,15 +0,0 @@
----TEST--
--Checking geoip_setup_custom_directory() (with trailing slash)
----SKIPIF--
--<?php if (!extension_loaded("geoip")) print "skip"; ?>
----INI--
--geoip.custom_directory="/test/"
----FILE--
--<?php
--
--var_dump( geoip_country_name_by_name_v6('0000:0000:0000:0000') );
--
--?>
----EXPECT--
--string(27) "/some/other/place/GeoIP.dat"
--string(6) "/test/"
-\ No newline at end of file
diff --git a/dev-php/pecl-geoip/files/fix-failing-tests-php8-1-1.1.1.patch b/dev-php/pecl-geoip/files/fix-failing-tests-php8-1-1.1.1.patch
deleted file mode 100644
index a2f8353b438c..000000000000
--- a/dev-php/pecl-geoip/files/fix-failing-tests-php8-1-1.1.1.patch
+++ /dev/null
@@ -1,71 +0,0 @@
-diff --git a/tests/014.phpt b/tests/014.phpt
-index 40f3ef8..93bc1f7 100644
---- a/tests/014.phpt
-+++ b/tests/014.phpt
-@@ -8,10 +8,9 @@ Checking timezone info with (some) empty fields
- <?php
-
- var_dump(geoip_time_zone_by_country_and_region('US','MA'));
--var_dump(geoip_time_zone_by_country_and_region('US',NULL));
-+var_dump(geoip_time_zone_by_country_and_region('US',''));
- var_dump(geoip_time_zone_by_country_and_region('DE'));
--var_dump(geoip_time_zone_by_country_and_region(NULL,''));
--var_dump(geoip_time_zone_by_country_and_region(NULL,NULL));
-+var_dump(geoip_time_zone_by_country_and_region('',''));
-
- ?>
- --EXPECTF--
-@@ -21,6 +20,3 @@ string(%d) "Europe/%s"
-
- Warning: geoip_time_zone_by_country_and_region(): You need to specify at least the country code. in %s on line %d
- bool(false)
--
--Warning: geoip_time_zone_by_country_and_region(): You need to specify at least the country code. in %s on line %d
--bool(false)
-diff --git a/tests/016.phpt b/tests/016.phpt
-index 83c5250..9b2f056 100644
---- a/tests/016.phpt
-+++ b/tests/016.phpt
-@@ -8,10 +8,8 @@ Checking geoip_region_name_by_code with (some) empty fields
- <?php
-
- var_dump(geoip_region_name_by_code('CA',''));
--var_dump(geoip_region_name_by_code('CA',NULL));
- var_dump(geoip_region_name_by_code('CA',1));
- var_dump(geoip_region_name_by_code('','QC'));
--var_dump(geoip_region_name_by_code(NULL,'QC'));
- var_dump(geoip_region_name_by_code(1,'QC'));
-
- ?>
-@@ -19,12 +17,6 @@ var_dump(geoip_region_name_by_code(1,'QC'));
-
- Warning: geoip_region_name_by_code(): You need to specify the country and region codes. in %s on line %d
- bool(false)
--
--Warning: geoip_region_name_by_code(): You need to specify the country and region codes. in %s on line %d
--bool(false)
--bool(false)
--
--Warning: geoip_region_name_by_code(): You need to specify the country and region codes. in %s on line %d
- bool(false)
-
- Warning: geoip_region_name_by_code(): You need to specify the country and region codes. in %s on line %d
-diff --git a/tests/019.phpt b/tests/019.phpt
-new file mode 100644
-index 0000000..9493ea3
---- /dev/null
-+++ b/tests/019.phpt
-@@ -0,0 +1,13 @@
-+--TEST--
-+Checking geoip_country_code_by_name_v6 (if IPv6 DB installed)
-+--SKIPIF--
-+<?php if (!extension_loaded("geoip") || !defined("GEOIP_COUNTRY_EDITION_V6") || !geoip_db_avail(GEOIP_COUNTRY_EDITION_V6)) print "skip"; ?>
-+--INI--
-+--FILE--
-+<?php
-+
-+var_dump( geoip_country_code_by_name_v6('2001:4860:4860::8888') );
-+
-+?>
-+--EXPECT--
-+string(2) "US"
diff --git a/dev-php/pecl-geoip/files/php8-support-1.1.1.patch b/dev-php/pecl-geoip/files/php8-support-1.1.1.patch
deleted file mode 100644
index 50c53d1a94a7..000000000000
--- a/dev-php/pecl-geoip/files/php8-support-1.1.1.patch
+++ /dev/null
@@ -1,93 +0,0 @@
---- a/geoip.c 2020/10/30 12:04:28 351081
-+++ b/geoip.c 2020/10/30 12:51:07 351082
-@@ -34,41 +34,72 @@
- #include "ext/standard/info.h"
- #include "php_geoip.h"
-
--
-+/* For PHP 8 */
-+#ifndef TSRMLS_CC
-+#define TSRMLS_CC
-+#endif
-
- ZEND_DECLARE_MODULE_GLOBALS(geoip)
-
-+ZEND_BEGIN_ARG_INFO_EX(arginfo_geoip_void, 0, 0, 0)
-+ZEND_END_ARG_INFO()
-+
-+ZEND_BEGIN_ARG_INFO_EX(arginfo_geoip_database_opt, 0, 0, 0)
-+ ZEND_ARG_INFO(0, database)
-+ZEND_END_ARG_INFO()
-+
-+ZEND_BEGIN_ARG_INFO_EX(arginfo_geoip_database, 0, 0, 1)
-+ ZEND_ARG_INFO(0, database)
-+ZEND_END_ARG_INFO()
-+
-+ZEND_BEGIN_ARG_INFO_EX(arginfo_geoip_host, 0, 0, 1)
-+ ZEND_ARG_INFO(0, host)
-+ZEND_END_ARG_INFO()
-+
-+ZEND_BEGIN_ARG_INFO_EX(arginfo_geoip_region, 0, 0, 2)
-+ ZEND_ARG_INFO(0, country_code)
-+ ZEND_ARG_INFO(0, region_code)
-+ZEND_END_ARG_INFO()
-+
-+ZEND_BEGIN_ARG_INFO_EX(arginfo_geoip_directory, 0, 0, 1)
-+ ZEND_ARG_INFO(0, directory)
-+ZEND_END_ARG_INFO()
-+
- static int le_geoip;
-
- /* {{{ */
- zend_function_entry geoip_functions[] = {
-- PHP_FE(geoip_database_info, NULL)
-+ PHP_FE(geoip_database_info, arginfo_geoip_database_opt)
- #define GEOIPDEF(php_func, c_func, db_type) \
-- PHP_FE(php_func, NULL)
-+ PHP_FE(php_func, arginfo_geoip_host)
- #include "geoip.def"
- #undef GEOIPDEF
-- PHP_FE(geoip_continent_code_by_name, NULL)
-- PHP_FE(geoip_org_by_name, NULL)
-- PHP_FE(geoip_record_by_name, NULL)
-- PHP_FE(geoip_id_by_name, NULL)
-- PHP_FE(geoip_region_by_name, NULL)
-- PHP_FE(geoip_isp_by_name, NULL)
-- PHP_FE(geoip_db_avail, NULL)
-- PHP_FE(geoip_db_get_all_info, NULL)
-- PHP_FE(geoip_db_filename, NULL)
-+ PHP_FE(geoip_continent_code_by_name, arginfo_geoip_host)
-+ PHP_FE(geoip_org_by_name, arginfo_geoip_host)
-+ PHP_FE(geoip_record_by_name, arginfo_geoip_host)
-+ PHP_FE(geoip_id_by_name, arginfo_geoip_host)
-+ PHP_FE(geoip_region_by_name, arginfo_geoip_host)
-+ PHP_FE(geoip_isp_by_name, arginfo_geoip_host)
-+ PHP_FE(geoip_db_avail, arginfo_geoip_database)
-+ PHP_FE(geoip_db_get_all_info, arginfo_geoip_void)
-+ PHP_FE(geoip_db_filename, arginfo_geoip_database)
- #if LIBGEOIP_VERSION >= 1004001
-- PHP_FE(geoip_region_name_by_code, NULL)
-- PHP_FE(geoip_time_zone_by_country_and_region, NULL)
-+ PHP_FE(geoip_region_name_by_code, arginfo_geoip_region)
-+ PHP_FE(geoip_time_zone_by_country_and_region, arginfo_geoip_region)
- #endif
- #ifdef HAVE_CUSTOM_DIRECTORY
-- PHP_FE(geoip_setup_custom_directory, NULL)
-+ PHP_FE(geoip_setup_custom_directory, arginfo_geoip_directory)
- #endif
-- PHP_FE(geoip_asnum_by_name, NULL)
-- PHP_FE(geoip_domain_by_name, NULL)
-+ PHP_FE(geoip_asnum_by_name, arginfo_geoip_host)
-+ PHP_FE(geoip_domain_by_name, arginfo_geoip_host)
- #if LIBGEOIP_VERSION >= 1004008
-- PHP_FE(geoip_netspeedcell_by_name, NULL)
-+ PHP_FE(geoip_netspeedcell_by_name, arginfo_geoip_host)
- #endif
-+#ifdef PHP_FE_END
-+ PHP_FE_END
-+#else
- {NULL, NULL, NULL}
-+#endif
- };
- /* }}} */
-
diff --git a/dev-php/pecl-geoip/metadata.xml b/dev-php/pecl-geoip/metadata.xml
deleted file mode 100644
index 222c77f3742a..000000000000
--- a/dev-php/pecl-geoip/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>php-bugs@gentoo.org</email>
- <name>PHP</name>
- </maintainer>
-</pkgmetadata>
diff --git a/dev-php/pecl-geoip/pecl-geoip-1.1.1-r4.ebuild b/dev-php/pecl-geoip/pecl-geoip-1.1.1-r4.ebuild
deleted file mode 100644
index 9b8d00516a8d..000000000000
--- a/dev-php/pecl-geoip/pecl-geoip-1.1.1-r4.ebuild
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PHP_EXT_NAME="geoip"
-DOCS="README ChangeLog"
-USE_PHP="php7-2 php7-3 php7-4"
-
-inherit php-ext-pecl-r3
-
-KEYWORDS="amd64 x86"
-
-DESCRIPTION="PHP extension to map IP address to geographic places"
-LICENSE="PHP-3"
-SLOT="0"
-IUSE=""
-
-DEPEND="dev-libs/geoip"
-RDEPEND="${DEPEND}"
-
-PATCHES=( "${FILESDIR}/fix-failing-tests-1.1.1.patch" )
diff --git a/dev-php/pecl-geoip/pecl-geoip-1.1.1-r5.ebuild b/dev-php/pecl-geoip/pecl-geoip-1.1.1-r5.ebuild
deleted file mode 100644
index d7d644983bb4..000000000000
--- a/dev-php/pecl-geoip/pecl-geoip-1.1.1-r5.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PHP_EXT_NAME="geoip"
-DOCS="README ChangeLog"
-USE_PHP="php7-3 php7-4 php8-0 php8-1"
-
-inherit php-ext-pecl-r3
-
-KEYWORDS="~amd64 ~x86"
-
-DESCRIPTION="PHP extension to map IP address to geographic places"
-LICENSE="PHP-3"
-SLOT="0"
-IUSE=""
-
-DEPEND="dev-libs/geoip"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}/fix-failing-tests-1.1.1.patch"
- "${FILESDIR}/php8-support-1.1.1.patch"
- "${FILESDIR}/fix-failing-tests-php8-1-1.1.1.patch"
-)