New port: net/libmaxminddb

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.

WWW: https://github.com/maxmind/libmaxminddb

PR:		197713
Submitted by:	fullermd@over-yonder.net
This commit is contained in:
Kurt Jaeger 2015-02-16 19:32:54 +00:00
parent 83ebb024b4
commit 3c7777a791
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=379104
5 changed files with 54 additions and 0 deletions

View file

@ -302,6 +302,7 @@
SUBDIR += libkfbapi
SUBDIR += libkvkontakte
SUBDIR += libmateweather
SUBDIR += libmaxminddb
SUBDIR += libmediawiki
SUBDIR += libmms
SUBDIR += libmxp

20
net/libmaxminddb/Makefile Normal file
View file

@ -0,0 +1,20 @@
# $FreeBSD$
PORTNAME= libmaxminddb
DISTVERSION= 1.0.4
CATEGORIES= net
MASTER_SITES= https://github.com/maxmind/libmaxminddb/releases/download/${DISTVERSION}/
MAINTAINER= fullermd@over-yonder.net
COMMENT= Library for the MaxMind DB file format used for GeoIP2
LICENSE= APACHE20
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USES= libtool
post-stage:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmaxminddb.so.0.0.7
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (libmaxminddb-1.0.4.tar.gz) = ac2c2d52725e13e67885ef030b9e58c1666426d536006ddfad1a8cca5a043f7a
SIZE (libmaxminddb-1.0.4.tar.gz) = 471911

View file

@ -0,0 +1,7 @@
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.
WWW: https://github.com/maxmind/libmaxminddb

View file

@ -0,0 +1,24 @@
bin/mmdblookup
include/maxminddb-compat-util.h
include/maxminddb.h
include/maxminddb_config.h
lib/libmaxminddb.a
lib/libmaxminddb.so
lib/libmaxminddb.so.0
lib/libmaxminddb.so.0.0.7
man/man1/mmdblookup.1.gz
man/man3/MMDB_aget_value.3.gz
man/man3/MMDB_close.3.gz
man/man3/MMDB_dump_entry_data_list.3.gz
man/man3/MMDB_free_entry_data_list.3.gz
man/man3/MMDB_get_entry_data_list.3.gz
man/man3/MMDB_get_metadata_as_entry_data_list.3.gz
man/man3/MMDB_get_value.3.gz
man/man3/MMDB_lib_version.3.gz
man/man3/MMDB_lookup_sockaddr.3.gz
man/man3/MMDB_lookup_string.3.gz
man/man3/MMDB_open.3.gz
man/man3/MMDB_read_node.3.gz
man/man3/MMDB_strerror.3.gz
man/man3/MMDB_vget_value.3.gz
man/man3/libmaxminddb.3.gz