NetBSD Problem Report #23909

Received: (qmail 12071 invoked by uid 605); 28 Dec 2003 11:31:15 -0000
Message-Id: <200312281131.hBSBViG1015955@euklides.atom.local>
Date: Sun, 28 Dec 2003 12:31:44 +0100 (CET)
From: bartosz@atom.eu.org
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: bartosz@atom.eu.org
To: gnats-bugs@gnats.NetBSD.org
Subject: net/GeoIP update to 1.3.1
X-Send-Pr-Version: 3.95

>Number:         23909
>Category:       pkg
>Synopsis:       net/GeoIP update to 1.3.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 28 11:32:00 +0000 2003
>Closed-Date:    Sun Dec 28 12:38:33 +0000 2003
>Last-Modified:  Sun Dec 28 12:38:33 +0000 2003
>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:

From: "Julio M. Merino Vidal" <jmmv@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/23909 CVS commit: pkgsrc/net/GeoIP
Date: Sun, 28 Dec 2003 12:31:42 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	jmmv
 Date:		Sun Dec 28 12:31:42 UTC 2003

 Modified Files:
 	pkgsrc/net/GeoIP: Makefile PLIST buildlink2.mk distinfo

 Log Message:
 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.


 To generate a diff of this commit:
 cvs rdiff -r1.3 -r1.4 pkgsrc/net/GeoIP/Makefile
 cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/net/GeoIP/PLIST \
     pkgsrc/net/GeoIP/buildlink2.mk pkgsrc/net/GeoIP/distinfo

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed 
State-Changed-By: jmmv 
State-Changed-When: Sun Dec 28 12:35:03 UTC 2003 
State-Changed-Why:  
Package updated, thanks. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.