Merge branch '18-fix-ipv6-support-in-pecl-geoip' into 'master'
Added ebuild for pecl-geoip that should enable lookup of IPv6 hosts Package-Manager: portage-2.2.28 See merge request !76
This commit is contained in:
commit
355d2a375b
3 changed files with 1358 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
||||||
AUX pecl-geoip-1.1.0.9999-patch-to-svn-r337409.patch 13475 SHA256 2a14d4bb09c1ded394ee588f37f8a1959262abcd2679cac84acf2d6638ff5924 SHA512 c37dd0b41df0fbf55a91575bbc6cbb1da92bef4d47e8e660c4e715fc0d424e53a7d2657c996878faedf03a5d92b4ff0b5d466097e22f525818c93483ac158c99 WHIRLPOOL 4f9f117f154ce73702ad92056b880189777494eee414455afe126d03135f8efbb3bc5aedadda5874536302896488e77642f9084930e4c9407426a8e82f27301f
|
AUX pecl-geoip-1.1.0.9999-patch-to-svn-r337409.patch 13475 SHA256 2a14d4bb09c1ded394ee588f37f8a1959262abcd2679cac84acf2d6638ff5924 SHA512 c37dd0b41df0fbf55a91575bbc6cbb1da92bef4d47e8e660c4e715fc0d424e53a7d2657c996878faedf03a5d92b4ff0b5d466097e22f525818c93483ac158c99 WHIRLPOOL 4f9f117f154ce73702ad92056b880189777494eee414455afe126d03135f8efbb3bc5aedadda5874536302896488e77642f9084930e4c9407426a8e82f27301f
|
||||||
|
AUX pecl-geoip-1.1.0.99999-php7-ipv6.patch 44038 SHA256 3f44b2906a4498956df255fa5e28182f2d51fd8a939055c80b09044ab3ae5acd SHA512 2bf81a40810b94f76e2d633c184bbdeda80ed92ce3ac119773d20f143b4c7b38db4f7c914edc2dca64534751b6e48d3a48fc4adc2c6c7d56ff9456d0a8805290 WHIRLPOOL 87c7f14a12839dc7a30f6ebbd2983d77959f4efdf3a4da885375f50d328e4308a341ba3f15577b1a8e19784f79bb3ad0ed2bdc23d581a7517cc3d33b0aef4350
|
||||||
DIST geoip-1.1.0.tgz 12714 SHA256 82c6deb7264d2ff7c4d6c45a7d27cff7ab097be965795e317e04a9c5b7be98b9 SHA512 8a0fc698a234d3b2c01f2a0c05c28025d98a5d3dce509ba19ee462abae0fd0f5631d96d3e8bba4fce6c23b278ec3875da5e8535971c7d880e2e307a097dc30a1 WHIRLPOOL f8ccf90958bdc0eee41f24b6ad04907884fed2efe2bca483fa816aceb46d15311325175b07f27d85085afdb5651fd071fd20b046ba42e30da26eea56a14912d6
|
DIST geoip-1.1.0.tgz 12714 SHA256 82c6deb7264d2ff7c4d6c45a7d27cff7ab097be965795e317e04a9c5b7be98b9 SHA512 8a0fc698a234d3b2c01f2a0c05c28025d98a5d3dce509ba19ee462abae0fd0f5631d96d3e8bba4fce6c23b278ec3875da5e8535971c7d880e2e307a097dc30a1 WHIRLPOOL f8ccf90958bdc0eee41f24b6ad04907884fed2efe2bca483fa816aceb46d15311325175b07f27d85085afdb5651fd071fd20b046ba42e30da26eea56a14912d6
|
||||||
EBUILD pecl-geoip-1.1.0.9999.ebuild 780 SHA256 2de773c29101b273afde935b70c1bb1e3a22c2409eca8646b2df2f7de0f66d61 SHA512 a579d0f7a36a84011dcc3d0d724776a3214c2309bb71c325ad39a5d6aa35246220cf0089e2e97c37eaee07e8166b3080386ecffc459c5e539e60d6abc9029af4 WHIRLPOOL a8c1882617a99917ce4dc789d23dc78ee854eaa93b8cb4843e8d25c52851e896ae6ea9689b199c83b27efbbe4ceef880015f1de67e1a1aa9e2edb3e410853137
|
EBUILD pecl-geoip-1.1.0.9999.ebuild 780 SHA256 2de773c29101b273afde935b70c1bb1e3a22c2409eca8646b2df2f7de0f66d61 SHA512 a579d0f7a36a84011dcc3d0d724776a3214c2309bb71c325ad39a5d6aa35246220cf0089e2e97c37eaee07e8166b3080386ecffc459c5e539e60d6abc9029af4 WHIRLPOOL a8c1882617a99917ce4dc789d23dc78ee854eaa93b8cb4843e8d25c52851e896ae6ea9689b199c83b27efbbe4ceef880015f1de67e1a1aa9e2edb3e410853137
|
||||||
|
EBUILD pecl-geoip-1.1.0.99999.ebuild 769 SHA256 b3eb9f10dbc12d182b5fba52eb9fde1dc23faa6c120c0202f3518112518da68d SHA512 b526f49b5bb9cca3df9a3c79aa44ca298e0abda19e254fccada71ec10ed2a482d3de618f6b67a68bda2b40e8fdc618e8c98b1684aabcc736a4307e47dc2d954d WHIRLPOOL 388499eec48987aa37997e160f6a827151c218560f579594b69aa7b2d14c0594e5e9f1ff5bc02db3e2369ed815770aaea3e6f62a44baa228b3e2a28d898acce2
|
||||||
MISC ChangeLog 194 SHA256 ef807fc2efd88937acdbe810cf875fa658dfe2d3771332f46c20f03ce5b9c491 SHA512 334862d9aee9d514a2d3885df39a047fc6fafb140bf02df5f80cb658a736543d8c2f1ac7845d373403d98d3ee4bf90202c7a8d88dc569ba365f291f08b4a3c38 WHIRLPOOL a82649d1024ce77054e4a7326948377aaf4769ff5c4fb3232e519447eca04809479902a2f94f4313f650bfe0b7301f434aa59bd44b36d70e0f1c7865671b9e1e
|
MISC ChangeLog 194 SHA256 ef807fc2efd88937acdbe810cf875fa658dfe2d3771332f46c20f03ce5b9c491 SHA512 334862d9aee9d514a2d3885df39a047fc6fafb140bf02df5f80cb658a736543d8c2f1ac7845d373403d98d3ee4bf90202c7a8d88dc569ba365f291f08b4a3c38 WHIRLPOOL a82649d1024ce77054e4a7326948377aaf4769ff5c4fb3232e519447eca04809479902a2f94f4313f650bfe0b7301f434aa59bd44b36d70e0f1c7865671b9e1e
|
||||||
MISC metadata.xml 234 SHA256 f35b97f99a26d73cc441e1d93bfe25aaa4e9f7f6d90c8d05a74f7b7bc5b68472 SHA512 59d8156b3ca3e99c40d5a2a32de7edf2eb53279b2424998862589d6bad77617d23fc852afec0a92f8ac5bb54a88ebc504cc0641029c1936412e90ab03dfdd447 WHIRLPOOL 935a1401910a42f888c991e443a49275ea8b87976c5aa977f670053d97d18754231749749bc92d37d4b5f45ecf65914480942a11b5827b6c08fb24313a428431
|
MISC metadata.xml 234 SHA256 f35b97f99a26d73cc441e1d93bfe25aaa4e9f7f6d90c8d05a74f7b7bc5b68472 SHA512 59d8156b3ca3e99c40d5a2a32de7edf2eb53279b2424998862589d6bad77617d23fc852afec0a92f8ac5bb54a88ebc504cc0641029c1936412e90ab03dfdd447 WHIRLPOOL 935a1401910a42f888c991e443a49275ea8b87976c5aa977f670053d97d18754231749749bc92d37d4b5f45ecf65914480942a11b5827b6c08fb24313a428431
|
||||||
|
|
1313
dev-php/pecl-geoip/files/pecl-geoip-1.1.0.99999-php7-ipv6.patch
Normal file
1313
dev-php/pecl-geoip/files/pecl-geoip-1.1.0.99999-php7-ipv6.patch
Normal file
File diff suppressed because it is too large
Load diff
43
dev-php/pecl-geoip/pecl-geoip-1.1.0.99999.ebuild
Normal file
43
dev-php/pecl-geoip/pecl-geoip-1.1.0.99999.ebuild
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI="5"
|
||||||
|
|
||||||
|
PHP_EXT_NAME="geoip"
|
||||||
|
PHP_EXT_INI="yes"
|
||||||
|
PHP_EXT_ZENDEXT="no"
|
||||||
|
DOCS="README ChangeLog"
|
||||||
|
MY_PV="1.1.0"
|
||||||
|
|
||||||
|
USE_PHP="php7-0"
|
||||||
|
|
||||||
|
inherit eutils php-ext-pecl-r2
|
||||||
|
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
DESCRIPTION="PHP extension to map IP address to geographic places"
|
||||||
|
LICENSE="PHP-3"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND=">=dev-libs/geoip-1.4.8"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${P}-php7-ipv6.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
# apply patches in unpack phase, or else the php7.0 dir won't get patched
|
||||||
|
src_prepare() {
|
||||||
|
local slot
|
||||||
|
local p
|
||||||
|
for slot in $(php_get_slots) ; do
|
||||||
|
cd "${WORKDIR}/${slot}"
|
||||||
|
for p in "${PATCHES[@]}" ; do
|
||||||
|
epatch "${p}"
|
||||||
|
done
|
||||||
|
done
|
||||||
|
|
||||||
|
php-ext-source-r2_src_prepare
|
||||||
|
}
|
Loading…
Reference in a new issue