head 1.3; access; symbols pkgsrc-2012Q4:1.3.0.48 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.46 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.44 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.3.0.42 pkgsrc-2009Q4-base:1.3 pkgsrc-2008Q4:1.3.0.40 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.38 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.36 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.34 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.32 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.30 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.28 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.26 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.24 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.22 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.20 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.18 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.16 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.14 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.12 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.10 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.8 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.6 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.4 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.2 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.2.0.2 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.1.1.1.0.2 pkgsrc-2003Q4-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.3 date 2004.04.11.21.48.32; author snj; state dead; branches; next 1.2; 1.2 date 2003.12.28.12.31.42; author jmmv; state Exp; branches; next 1.1; 1.1 date 2003.06.01.10.24.42; author jmmv; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2003.06.01.10.24.42; author jmmv; state Exp; branches; next ; desc @@ 1.3 log @No longer used. @ text @# $NetBSD: buildlink2.mk,v 1.2 2003/12/28 12:31:42 jmmv Exp $ # # This Makefile fragment is included by packages that use GeoIP. # # This file was created automatically using createbuildlink 2.6. # .if !defined(GEOIP_BUILDLINK2_MK) GEOIP_BUILDLINK2_MK= # defined BUILDLINK_PACKAGES+= GeoIP BUILDLINK_DEPENDS.GeoIP?= GeoIP>=1.3.1 BUILDLINK_PKGSRCDIR.GeoIP?= ../../net/GeoIP EVAL_PREFIX+= BUILDLINK_PREFIX.GeoIP=GeoIP BUILDLINK_PREFIX.GeoIP_DEFAULT= ${LOCALBASE} BUILDLINK_FILES.GeoIP+= include/GeoIP.h BUILDLINK_FILES.GeoIP+= include/GeoIPBitReader.h BUILDLINK_FILES.GeoIP+= include/GeoIPCity.h BUILDLINK_FILES.GeoIP+= include/GeoIPUpdate.h BUILDLINK_FILES.GeoIP+= lib/libGeoIP.* BUILDLINK_FILES.GeoIP+= lib/libGeoIPBitReader.* BUILDLINK_FILES.GeoIP+= lib/libGeoIPUpdate.* BUILDLINK_TARGETS+= GeoIP-buildlink GeoIP-buildlink: _BUILDLINK_USE .endif # GEOIP_BUILDLINK2_MK @ 1.2 log @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. @ text @d1 1 a1 1 # $NetBSD: buildlink2.mk,v 1.1.1.1 2003/06/01 10:24:42 jmmv Exp $ @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ d12 1 a12 1 BUILDLINK_DEPENDS.GeoIP?= GeoIP>=1.1.9 @ 1.1.1.1 log @Initial import of GeoIP, version 1.1.9: GeoIP is a C library that enables the user to find the country that any IP address or hostname originates from. It uses a file based database that is accurate as of March 2002. This database simply contains IP blocks as keys, and countries as values. It should be more complete and accurate than using reverse DNS lookups. This module can be used to automatically select the geographically closest mirror, to analyze your web server logs to determine the countries of your visitors, for credit card fraud detection, and for software export controls. Package initially provided by Juan RP through pkgsrc-wip, with several changes by me. @ text @@