142b7e2cae
Add 70 to PHP_VERSIONS_ACCEPTED Upstream changes: 1.1.1 * Add IPv6 support (geoip_country_code_by_*_v6) * PHP7 support (thanks to Adam and Dan Ackroyd) 1.1.0 * Add geoip_setup_custom_directory() to setup custom directories per request. * Remove E_NOTICES for IPs not found in database. * Fix a segfault with geoip_db_get_all_info() on newer libs (bug #64692). * Add support for geoip_netspeedcell_by_name(), geoip_asnum_by_name() and geoip_domain_by_name() (bug #67121). * Fix memory leak with custom directories (bug #67138). * Support changing custom directory via ini_set() (bug #61607).
22 lines
541 B
Makefile
22 lines
541 B
Makefile
# $NetBSD: Makefile,v 1.4 2016/08/19 07:16:34 wen Exp $
|
|
#
|
|
|
|
MODNAME= geoip
|
|
PECL_VERSION= 1.1.1
|
|
CATEGORIES= net geography
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://pecl.php.net/package/geoip/
|
|
COMMENT= PHP module to map IP address to geographic places
|
|
LICENSE= php
|
|
|
|
PHP_VERSIONS_ACCEPTED= 55 56 70
|
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
CONFIGURE_ARGS+= --with-${MODNAME}
|
|
CONFIGURE_ARGS+= --with-${PKGMODNAME}=shared,${BUILDLINK_DIR}
|
|
|
|
.include "../../lang/php/ext.mk"
|
|
.include "../../net/GeoIP/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|