From 036802fb4534a151d253667a02258a6212451bf8 Mon Sep 17 00:00:00 2001 From: jmmv Date: Sun, 28 Dec 2003 12:31:42 +0000 Subject: [PATCH] Update to 1.3.1. Changes since 1.1.9: * 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. --- net/GeoIP/Makefile | 4 ++-- net/GeoIP/PLIST | 7 ++++--- net/GeoIP/buildlink2.mk | 4 ++-- net/GeoIP/distinfo | 6 +++--- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/net/GeoIP/Makefile b/net/GeoIP/Makefile index d7ff39472579..904c4bec951f 100644 --- a/net/GeoIP/Makefile +++ b/net/GeoIP/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.3 2003/07/17 22:50:56 grant Exp $ +# $NetBSD: Makefile,v 1.4 2003/12/28 12:31:42 jmmv Exp $ # -DISTNAME= GeoIP-1.1.9 +DISTNAME= GeoIP-1.3.1 CATEGORIES= net MASTER_SITES= http://www.maxmind.com/download/geoip/api/c/ diff --git a/net/GeoIP/PLIST b/net/GeoIP/PLIST index 9a0b56b2e544..10d210e0548d 100644 --- a/net/GeoIP/PLIST +++ b/net/GeoIP/PLIST @@ -1,5 +1,6 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2003/06/01 10:24:42 jmmv Exp $ +@comment $NetBSD: PLIST,v 1.2 2003/12/28 12:31:42 jmmv Exp $ bin/geoipexport +bin/geoipexportlocations bin/geoiplookup bin/geoipupdate include/GeoIP.h @@ -9,8 +10,8 @@ include/GeoIPUpdate.h lib/libGeoIP.a lib/libGeoIP.la lib/libGeoIP.so -lib/libGeoIP.so.2 -lib/libGeoIP.so.2.9 +lib/libGeoIP.so.4 +lib/libGeoIP.so.4.1 lib/libGeoIPBitReader.a lib/libGeoIPBitReader.la lib/libGeoIPBitReader.so diff --git a/net/GeoIP/buildlink2.mk b/net/GeoIP/buildlink2.mk index a0bfee61c5fc..65156707c6a0 100644 --- a/net/GeoIP/buildlink2.mk +++ b/net/GeoIP/buildlink2.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/06/01 10:24:42 jmmv Exp $ +# $NetBSD: buildlink2.mk,v 1.2 2003/12/28 12:31:42 jmmv Exp $ # # This Makefile fragment is included by packages that use GeoIP. # @@ -9,7 +9,7 @@ GEOIP_BUILDLINK2_MK= # defined BUILDLINK_PACKAGES+= GeoIP -BUILDLINK_DEPENDS.GeoIP?= GeoIP>=1.1.9 +BUILDLINK_DEPENDS.GeoIP?= GeoIP>=1.3.1 BUILDLINK_PKGSRCDIR.GeoIP?= ../../net/GeoIP EVAL_PREFIX+= BUILDLINK_PREFIX.GeoIP=GeoIP diff --git a/net/GeoIP/distinfo b/net/GeoIP/distinfo index 5afce8d5f5ff..194e560b74ea 100644 --- a/net/GeoIP/distinfo +++ b/net/GeoIP/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.1.1.1 2003/06/01 10:24:42 jmmv Exp $ +$NetBSD: distinfo,v 1.2 2003/12/28 12:31:42 jmmv Exp $ -SHA1 (GeoIP-1.1.9.tar.gz) = 0041455ba3a330d25e221973041636c3f302ceae -Size (GeoIP-1.1.9.tar.gz) = 489713 bytes +SHA1 (GeoIP-1.3.1.tar.gz) = 5c5d0ab6852a645703c05393ac6a9c32d4181921 +Size (GeoIP-1.3.1.tar.gz) = 526429 bytes SHA1 (patch-aa) = 5cf4eed4243162480e05bc472537150e783e15e4