瀏覽代碼

php-geoip: bump version to HEAD of master on GitHub

Related: https://bugs.php.net/bug.php?id=71083

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Vicente Olivert Riera 9 年之前
父節點
當前提交
266e0d443e
共有 2 個文件被更改,包括 3 次插入5 次删除
  1. 1 1
      package/php-geoip/php-geoip.hash
  2. 2 4
      package/php-geoip/php-geoip.mk

+ 1 - 1
package/php-geoip/php-geoip.hash

@@ -1,2 +1,2 @@
 # Locally calculated
-sha256	82c6deb7264d2ff7c4d6c45a7d27cff7ab097be965795e317e04a9c5b7be98b9	geoip-1.1.0.tgz
+sha256 8b5e8dec6353c437809e58d798627927ae659682b5bbdad023e9e569c278bfed  php-geoip-1fd53288458100e9e30acf5a62bc9ef8426513d3.tar.gz

+ 2 - 4
package/php-geoip/php-geoip.mk

@@ -4,10 +4,8 @@
 #
 ################################################################################
 
-PHP_GEOIP_VERSION = 1.1.0
-PHP_GEOIP_SOURCE = geoip-$(PHP_GEOIP_VERSION).tgz
-# pecl.php.net returns html with db connect failed
-PHP_GEOIP_SITE = http://sources.buildroot.net
+PHP_GEOIP_VERSION = 1fd53288458100e9e30acf5a62bc9ef8426513d3
+PHP_GEOIP_SITE = $(call github,php7-extensions,ext-php7-geoip,$(PHP_GEOIP_VERSION))
 PHP_GEOIP_CONF_OPTS = --with-php-config=$(STAGING_DIR)/usr/bin/php-config \
 	--with-geoip=$(STAGING_DIR)/usr
 # phpize does the autoconf magic