IP2Location is a C library that enables the user to find the country, region,

city, latitude, longitude, zip code, time zone, ISP, domain name, connection
type, area code, weather, mobile network, elevation, usage type by IP address
or hostname originates from.  It contains a demo IP2Location IP-COUNTRY BIN
database which consists of real data for IP address range 0.0.0.0 to 99.255.
255.255.  This database contains IP address blocks as key and countries as
values.

WWW: http://www.ip2location.com/c.aspx

PR:		195420
Submitted by:	Gasol Wu <gasol.wu@gmail.com>
This commit is contained in:
Pawel Pekala 2014-12-13 18:00:10 +00:00
parent cce92f80e1
commit b6c31f0d28
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=374667
5 changed files with 44 additions and 0 deletions

View File

@ -225,6 +225,7 @@
SUBDIR += ilbc
SUBDIR += imapproxy
SUBDIR += iodine
SUBDIR += ip2location
SUBDIR += ip6_int
SUBDIR += ipgrab
SUBDIR += iplog

23
net/ip2location/Makefile Normal file
View File

@ -0,0 +1,23 @@
# Created by: Gasol Wu <gasol.wu@gmail.com>
# $FreeBSD$
PORTNAME= ip2location
PORTVERSION= 6.0.3
CATEGORIES= net
MASTER_SITES= http://www.ip2location.com/downloads/
DISTNAME= ${PORTNAME}-c-${PORTVERSION}
MAINTAINER= gasol.wu@gmail.com
COMMENT= C library to find user\'s location
LICENSE= LGPL3
USES= libtool:keepla perl5
HAS_CONFIGURE= yes
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
post-configure:
(cd ${WRKSRC}/data && ${MAKE} convert)
.include <bsd.port.mk>

2
net/ip2location/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (ip2location-c-6.0.3.tar.gz) = 3bd2a46544c7a433c55f96b602bc35a9f7782e2b0addfdbe9eb8ecaa717f7f10
SIZE (ip2location-c-6.0.3.tar.gz) = 3145564

View File

@ -0,0 +1,9 @@
IP2Location is a C library that enables the user to find the country, region,
city, latitude, longitude, zip code, time zone, ISP, domain name, connection
type, area code, weather, mobile network, elevation, usage type by IP address
or hostname originates from. It contains a demo IP2Location IP-COUNTRY BIN
database which consists of real data for IP address range 0.0.0.0 to 99.255.
255.255. This database contains IP address blocks as key and countries as
values.
WWW: http://www.ip2location.com/c.aspx

View File

@ -0,0 +1,9 @@
include/IP2Loc_DBInterface.h
include/IP2Location.h
lib/libIP2Location.a
lib/libIP2Location.la
lib/libIP2Location.so
lib/libIP2Location.so.1
lib/libIP2Location.so.1.0.0
share/IP2Loc/IP-COUNTRY.BIN
share/IP2Loc/IPV6-COUNTRY.BIN