* Check for stdint.h in autoconf * prevent the geoipupdate man page from trying to install itself directly in the system directory * Fixed includes to compile on Windows * Removed the _addr_to_num() calls from GeoIP_*_by_name() * _seek_record() optimizations * Added GeoIP_assign_region_by_inetaddr which doesn't do any mallocs and made all other region APIs go thru it * Replaced _h_addr_to_num() with ntohl() and removed _h_addr_to_num() * Fixed bug when IP address not found in region rev1 database * Added added extern "C" to GeoIPCity.h fixes problems when included in C ++ library * Added support for GeoIP ISP Edition identifier * Fixed bug in GeoIP_database_info * Added support for GeoIP AS Number Edition * renamed GeoIP_org_by_* functions to GeoIP_name_by_* to reduce confusion since these functions are used by GeoIP ISP and GeoIP ASNum as well as GeoIP Organization * Added support for GeoIP Proxy Edition * renamed GeoIP_country_id_by_* functions to GeoIP_id_by_* * Added GeoIP_record_id_by_addr and GeoIP_next_record functions * Added support for new GeoIP Region format, including Canadian Provinces * Added support for GeoIP City format revision 1, including dma code and area code * geoiplookup returns results from GeoIP Region, City, ISP and Organization databases * Standardized location for GeoIP Region, City, ISP and Organization data bases * Added GeoIP_open_type to open database from default location for other dbs besides country * Added check to make sure that the appropriate database is loaded for each lookup method * Updated update code to check for first 12 characters of license key * Added GeoIP_country_continent array to lookup continent by country ID Closes PR pkg/23909.
24 lines
607 B
Makefile
24 lines
607 B
Makefile
# $NetBSD: Makefile,v 1.4 2003/12/28 12:31:42 jmmv Exp $
|
|
#
|
|
|
|
DISTNAME= GeoIP-1.3.1
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.maxmind.com/download/geoip/api/c/
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://www.maxmind.com/download/geoip/api/c/
|
|
COMMENT= Find the country from any IP address
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_BUILDLINK2= yes
|
|
USE_LIBTOOL= yes
|
|
USE_PKGINSTALL= yes
|
|
|
|
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
|
|
|
EGDIR= ${PREFIX}/share/examples/GeoIP
|
|
CONF_FILES= ${EGDIR}/GeoIP.conf.default ${PKG_SYSCONFDIR}/GeoIP.conf
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|