pkgsrc/net/p5-Geo-IP/Makefile

27 lines
713 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.25 2013/05/31 12:41:36 wiz Exp $
#
Update p5-Geo-IP to 1.40. Changes from previous: ---------------------- 1.40 Aug 23th 2011 - Add new CAPI method region_name_by_code ( Boris Zentner ) - Add support for GEOIP_NETSPEED_EDITION_REV1 ( Boris Zentner ) - Add new CAPI method record_by_ipnum_v6 ( Boris Zentner ) - Add new CAPI glue methods to use GeoIPCityv6 databases record_by_addr_v6 record_by_name_v6 ( Boris Zentner ) 1.39 May 7th 2011 - Upd Docs ( Boris Zentner ) - Add glue for the CAPI lib_version method ( Boris Zentner ) - Add CAPI glue for the methods enable_teredo and teredo. currently only avail in conjunction with the CAPI ( Boris Zentner ) - Add example/benchmark.pl and example/country_v6.pl ( Boris Zentner ) - Add name_by_name and name_by_addr ( Boris Zentner ) - Add org_by_name_v6 and org_by_addr_v6 only XS ( Boris Zentner ) - Add name_by_ipnum_v6, name_by_name_v6 and name_by_addr_v6 XS glue ( Boris Zentner ) - Add sub Geo::IP::CLONE_SKIP {1} in conjunction with .xs Avoid thread issues ( Boris Zentner ) - Export GEOIP_DOMAIN_EDITION by default ( Boris Zentner ) - Update region codes 20100810 ( Boris Zentner ) - Fix some PP 3letter country codes ( Boris Zentner ) - Fix PP continent codes ( Boris Zentner ) - Add PP continent_code_by_country_code ( Boris Zentner ) - Add PP Geo::IP->time_zone ( Boris Zentner ) - Update region codes 20100420 ( Boris Zentner ) - Link at least to CAPI 1.4.7 ( Boris Zentner ) - Add example/geolite-mirror-simple.pl to download maxmind databases ( Boris Zentner ) - Update region codes ( Boris Zentner ) - Update timezones ( Boris Zentner ) - Add isp_by_name and isp_by_addr if the CAPI is used ( Boris Zentner ) - Add isp_by_addr and org_by_addr to the PurePerl API ( Boris Zentner ) - Add api method, so users know if they use the PurePerl or CAPI glue print Geo::IP->api ( Boris Zentner ) - Silence redefined warning, when perl is started with -w and the PurePerl API is used ( Boris Zentner ) - Export GEOIP_CITYCONFIDENCE_EDITION, GEOIP_LOCATIONA_EDITION, GEOIP_ACCURACYRADIUS_EDITION and GEOIP_COUNTRY_EDITION_V6 ( Boris Zentner ) - Add some more v6 XS glue. IPv6 support require the CAPI to work. GeoIP_country_code_by_addr_v6 GeoIP_country_code_by_name_v6 GeoIP_country_code3_by_addr_v6 GeoIP_country_code3_by_name_v6 ( Boris Zentner ) ! Change RU's continent code from AS to EU ( Boris Zentner ) ! Change Turkey's continent code from AS to EU ( Boris Zentner ) ! org_by_* and friends return UTF8 scalars, if the charset is set to GEOIP_CHARSET_UTF8 ( Boris Zentner ) - Add PP ASNum support ( Boris Zentner ) - Add XS glue for time_zone and continent_code_by_country_code ( Boris Zentner ) - Add glue for database_edition ( Boris Zentner ) - Workaround centos/mod_perl issue when the PP fallback is used and Sys::Mmap is not installed ( Boris Zentner ) - Update PurePerl region names 20090723 ( Boris Zentner ) - Add XS glue for GeoIP_country_code_by_ipnum_v6 ( Boris Zentner )
2012-02-17 07:58:54 +01:00
DISTNAME= Geo-IP-1.40
PKGNAME= p5-${DISTNAME}
PKGREVISION= 2
2004-11-12 01:24:14 +01:00
CATEGORIES= net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Geo/}
2007-04-04 17:02:05 +02:00
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.maxmind.com/geoip/api/perl.shtml
#HOMEPAGE= http://search.cpan.org/dist/Geo-IP/
COMMENT= Gets country name by IP or hostname
- updated to 1.38 - added license term ChangeLog: 1.38 May 16th 2009 - PurePerl region_by_addr and region_by_name return '00' for unknown regions, like the CAPI does ( Boris Zentner ) - Update to latest FIPS codes from 20090401 ( Boris Zentner ) - Fix Pureperl handling of GEOIP_REGION_EDITION_REV0 ( Boris Zentner ) - Fix segfault when undef is supplied as filename to open ( Boris Zentner ) - Fix PP GEOIP_ISP_EDITION handling ( Boris Zentner ) - Add PP support for GEOIP_DOMAIN_EDITION ( Boris Zentner ) - Handle database types in the same way, as the CAPI does ( Boris Zentner ) - Remove Australia double timezones entries. ( Boris Zentner ) 1.37 March 6th 2009 - Document region_by_addr and region_by_name ( Boris Zentner ) - region_by_addr and region_by_name return undef for unknown countries and regions. Instead of "\0" and '000' ( Boris Zentner ) - Add PP function region_by_addr ( Boris Zentner ) - Change the default values of Geo::IP::Record fields for metro_code and area_code to 0 instead of '' PurePerl only ( Boris Zentner ) - Change the default values of Geo::IP::Record fields for region, postal_code and region_name to undef instead of '' ( Boris Zentner ) - Force the output of Geo::IP::Record::longitude and ::latitude to four decimal places ( Boris Zentner ) - Fix PurePerl three letter code for Romania ( Boris Zentner ) - Update PurePerl regionnames 20090201 ( Boris Zentner ) - Update PurePerl timezones 20090201 ( Boris Zentner ) - Update timezones for Australia ! Fix: PurePerl's get_city_record_as_hash, record_by_addr and record_by_name to return undef for private and unknown IP's. Former we returned a Geo::IP::Record object with everything undef. The PurePerl code and the CAPI wrapper are now behave the same. ( Boris Zentner ) - Update region codes from http://www.maxmind.com/app/fips10_4 Dec 17th, 2008 ( Boris Zentner )
2009-10-15 09:57:08 +02:00
LICENSE= ${PERL5_LICENSE}
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LANGUAGES= c
PERL5_PACKLIST= auto/Geo/IP/.packlist
MAKE_PARAMS+= LIBS="-L${PREFIX:Q}/lib -Wl,-R${PREFIX:Q}/lib"
MAKE_PARAMS+= INC="-I${PREFIX:Q}/include"
.include "../../lang/perl5/module.mk"
.include "../../net/GeoIP/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"