I've created an ebuild for this PHP extension. Depends on dev-libs/maxminddb (https://bugs.gentoo.org/show_bug.cgi?id=508476). Reproducible: Always
Created attachment 377482 [details] /maxmind-db-reader/maxmind-db-reader-0.3.1.ebuild
Created attachment 383918 [details] maxmind-db-reader-0.3.1-r1.ebuild PHP 5.6 support
Created attachment 384534 [details] maxmind-db-reader-0.3.2.ebuild
Created attachment 384800 [details] maxmind-db-reader-0.3.3.ebuild
Created attachment 385300 [details] maxmind-db-reader-1.0.0.ebuild
Created attachment 423320 [details] maxmind-db-reader-1.1.0.ebuild Adds support for PHP 7
Created attachment 423646 [details] maxmind-db-reader-1.1.0.ebuild I'll probably add this eventually, just in the middle of other stuff right now.
The attached ebuild works fine for version 1.2.0, too.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80d52ea829aac43e9a067b6a8f3e010c221de717 commit 80d52ea829aac43e9a067b6a8f3e010c221de717 Author: Michael Orlitzky <mjo@gentoo.org> AuthorDate: 2017-11-05 22:52:19 +0000 Commit: Michael Orlitzky <mjo@gentoo.org> CommitDate: 2017-11-05 22:57:41 +0000 dev-php/maxmind-db-reader: new PHP interface to the MaxMind databases. Add the new (Composer-based) PHP interface to the MaxMind binary database format. This lets you query the newer "mmdb" files directly, from PHP code. There is an optional C extension that can be built with USE=extension, and which ostensibly (but I have not tested this) improves performance through the use of dev-libs/libmaxminddb. Thanks to Steffen Weber for the initial ebuild. Reported-by: Steffen Weber Closes: https://bugs.gentoo.org/511088 Package-Manager: Portage-2.3.8, Repoman-2.3.3 dev-php/maxmind-db-reader/Manifest | 1 + dev-php/maxmind-db-reader/files/autoload.php | 6 ++ .../maxmind-db-reader-1.2.0.ebuild | 85 ++++++++++++++++++++++ dev-php/maxmind-db-reader/metadata.xml | 16 ++++ 4 files changed, 108 insertions(+)
Better late than never? The version I added to the tree also installs the PHP files, and the post-install message should tell you how to load the library from your PHP project.
Thank you! :)