PECL GeoIP on Gentoo

Even if the GeoIP bindings for PHP have been available for more than a year on PECL, I have never took the time to write an ebuild for it on Gentoo.

Until now, I was using the PEAR installer, which is great for installing PECL packages. The only downside is that those packages won't be seen when doing a world upgrade with Gentoo. You then have two choices:

  1. Do an emerge world followed by a pecl upgrade-all
  2. Install PECL packages via Portage

Since I'm lazy, I like the fact to upgrade everything at one place.

The hard part now is to write the ebuild, which is really simple considering the fact that it is a PECL package and that eclass are available.

One thing to another, this ebuild is now part of the testing overlay for Gentoo. If no bugs are found, it should be part of the normal tree shortly.

Trackbacks

No Trackbacks

Comments

Display comments as (Linear | Threaded)

  1. Marcelo Araujo says:

    Hello Olivier,

    Is there a TODO list for geoip extension? If yes, I would like to take a look at...

    Regards,

    Marcelo

  1. Olivier says:

    Not that I know of, it would be on CVS with the extension.

    Do you have anything in mind? The current bindings represent most of the API from the libgeoip, meaning that adding features would need to go upstream.


Add Comment


Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA