Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 511088 - dev-php/maxmind-db-reader - PHP Reader for the MaxMind DB Database Format
Summary: dev-php/maxmind-db-reader - PHP Reader for the MaxMind DB Database Format
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Default Assignee for New Packages
URL: https://github.com/maxmind/MaxMind-DB...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2014-05-23 09:29 UTC by Steffen Weber
Modified: 2017-11-06 08:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/maxmind-db-reader/maxmind-db-reader-0.3.1.ebuild (maxmind-db-reader-0.3.1.ebuild,518 bytes, text/plain)
2014-05-23 09:30 UTC, Steffen Weber
Details
maxmind-db-reader-0.3.1-r1.ebuild (maxmind-db-reader-0.3.1-r1.ebuild,525 bytes, text/plain)
2014-08-29 16:47 UTC, Steffen Weber
Details
maxmind-db-reader-0.3.2.ebuild (maxmind-db-reader-0.3.2.ebuild,525 bytes, text/plain)
2014-09-10 20:03 UTC, Steffen Weber
Details
maxmind-db-reader-0.3.3.ebuild (maxmind-db-reader-0.3.3.ebuild,525 bytes, text/plain)
2014-09-15 18:04 UTC, Steffen Weber
Details
maxmind-db-reader-1.0.0.ebuild (maxmind-db-reader-1.0.0.ebuild,525 bytes, text/plain)
2014-09-22 19:10 UTC, Steffen Weber
Details
maxmind-db-reader-1.1.0.ebuild (maxmind-db-reader-1.1.0.ebuild,532 bytes, text/plain)
2016-01-19 11:00 UTC, Steffen Weber
Details
maxmind-db-reader-1.1.0.ebuild (maxmind-db-reader-1.1.0.ebuild,786 bytes, text/plain)
2016-01-23 01:47 UTC, Michael Orlitzky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Weber 2014-05-23 09:29:52 UTC
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
Comment 1 Steffen Weber 2014-05-23 09:30:37 UTC
Created attachment 377482 [details]
/maxmind-db-reader/maxmind-db-reader-0.3.1.ebuild
Comment 2 Steffen Weber 2014-08-29 16:47:25 UTC
Created attachment 383918 [details]
maxmind-db-reader-0.3.1-r1.ebuild

PHP 5.6 support
Comment 3 Steffen Weber 2014-09-10 20:03:06 UTC
Created attachment 384534 [details]
maxmind-db-reader-0.3.2.ebuild
Comment 4 Steffen Weber 2014-09-15 18:04:41 UTC
Created attachment 384800 [details]
maxmind-db-reader-0.3.3.ebuild
Comment 5 Steffen Weber 2014-09-22 19:10:48 UTC
Created attachment 385300 [details]
maxmind-db-reader-1.0.0.ebuild
Comment 6 Steffen Weber 2016-01-19 11:00:23 UTC
Created attachment 423320 [details]
maxmind-db-reader-1.1.0.ebuild

Adds support for PHP 7
Comment 7 Michael Orlitzky gentoo-dev 2016-01-23 01:47:52 UTC
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.
Comment 8 Steffen Weber 2017-10-30 08:49:51 UTC
The attached ebuild works fine for version 1.2.0, too.
Comment 9 Larry the Git Cow gentoo-dev 2017-11-05 23:03:43 UTC
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(+)
Comment 10 Michael Orlitzky gentoo-dev 2017-11-05 23:04:37 UTC
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.
Comment 11 Steffen Weber 2017-11-06 08:58:13 UTC
Thank you! :)