Opened 10 years ago

Closed 6 years ago

#44709 closed request (fixed)

New port: libmaxminddb

Reported by: moderndeveloperllc (Mark Garrett) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: iEFdev, ryandesign (Ryan Carsten Schmidt)
Port: libmaxminddb

Description

This library from MaxMind is the the C library successor to libgeoip.

GitHub description: "The libmaxminddb library provides a C library for reading MaxMind DB files, including the GeoIP2 databases from MaxMind. This is a custom binary format designed to facilitate fast lookups of IP addresses while allowing for great flexibility in the type of data associated with an address."

Github Repo: https://github.com/maxmind/libmaxminddb It appears that they do use the tag system for semantic versioning.

Attachments (1)

Portfile (2.2 KB) - added by ryandesign (Ryan Carsten Schmidt) 6 years ago.
Working Portfile created by Eric F (iEFdev) modified slightly by me

Download all attachments as: .zip

Change History (7)

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Keywords: geolocation removed
Version: 2.3.1

comment:2 Changed 10 years ago by pixilla (Bradley Giesbrecht)

Should libgeoip be replaced by libmaxminddb?

port info libgeoip

comment:3 in reply to:  2 Changed 10 years ago by moderndeveloperllc (Mark Garrett)

Replying to pixilla@…:

Should libgeoip be replaced by libmaxminddb?

port info libgeoip

I don't think so. It's a different API with a different underlying data structure, so it would be a complete BC break to replace libgeoip. It looks like they are also continuing to patch libgeoip (last update was less than a month ago) and I haven't seen when they are going to end-of-life the underlying data structures for that version. Should probably treat this as a new product as opposed to a v2 of libgeoip. I guess "successor" was not the term I should have used. More like "new, prefered alternate".

Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: Portfile added

Working Portfile created by Eric F (iEFdev) modified slightly by me

comment:4 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: iEFdev ryandesign added
Keywords: haspatch added
Port: libmaxminddb added

comment:5 Changed 6 years ago by iEFdev

I was going to upload an updated version, but noticed there was no changes made. (thought I did :)) Thank you so much for the fix. :+1:

For ref: https://github.com/iEFdev/macports-ports/blob/maxminddb_x2/devel/libmaxminddb/Portfile

comment:6 Changed 6 years ago by iEFdev

Resolution: fixed
Status: newclosed

In 79acbbcb2faa8ce6842c9450d70fef890808af1b/macports-ports (master):

libmaxminddb: new port

Note: See TracTickets for help on using tickets.