Subject: pkg/23909: net/GeoIP update to 1.3.1
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <bartosz@atom.eu.org>
List: netbsd-bugs
Date: 12/28/2003 12:31:44
>Number:         23909
>Category:       pkg
>Synopsis:       net/GeoIP update to 1.3.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 28 11:32:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Bartosz Kuzma
>Release:        NetBSD 1.6ZG
>Organization:
>Environment:
System: NetBSD euklides 1.6ZG NetBSD 1.6ZG (EUKLIDES) #1: Mon Dec 22 23:37:37 CET 2003 root@euklides:/usr/src/sys/arch/i386/compile/EUKLIDES i386
Architecture: i386
Machine: i386
>Description:
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
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/GeoIP/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile    2003/07/17 22:50:56     1.3
+++ Makefile    2003/12/28 11:16:39
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.3 2003/07/17 22:50:56 grant Exp $
 #
 
-DISTNAME=      GeoIP-1.1.9
+DISTNAME=      GeoIP-1.3.1
 CATEGORIES=    net
 MASTER_SITES=  http://www.maxmind.com/download/geoip/api/c/
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/net/GeoIP/PLIST,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 PLIST
--- PLIST       2003/06/01 10:24:42     1.1.1.1
+++ PLIST       2003/12/28 11:18:39
@@ -1,7 +1,9 @@
 @comment $NetBSD: PLIST,v 1.1.1.1 2003/06/01 10:24:42 jmmv Exp $
 bin/geoipexport
+bin/geoipexportlocations
 bin/geoiplookup
 bin/geoipupdate
+etc/GeoIP.conf
 include/GeoIP.h
 include/GeoIPBitReader.h
 include/GeoIPCity.h
@@ -9,8 +11,8 @@
 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
@@ -23,7 +25,5 @@
 lib/libGeoIPUpdate.so.0.0
 man/man1/geoiplookup.1
 man/man1/geoipupdate.1
-share/GeoIP/GeoIP.dat
 share/examples/GeoIP/GeoIP.conf.default
 @dirrm share/examples/GeoIP
-@dirrm share/GeoIP
Index: buildlink2.mk
===================================================================
RCS file: /cvsroot/pkgsrc/net/GeoIP/buildlink2.mk,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 buildlink2.mk
--- buildlink2.mk       2003/06/01 10:24:42     1.1.1.1
+++ buildlink2.mk       2003/12/28 11:20:36
@@ -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
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/net/GeoIP/distinfo,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 distinfo
--- distinfo    2003/06/01 10:24:42     1.1.1.1
+++ distinfo    2003/12/28 11:21:59
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.1.1.1 2003/06/01 10:24: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
>Release-Note:
>Audit-Trail:
>Unformatted: