浏览代码

php-geoip: get tarball from sources.buildroot.net

pecl.php.net seems to have a database issue and returns a html page instead
of the tarball.

Fixes http://autobuild.buildroot.net/results/c56/c56b3bf6c141b2b9b9062816bec559b2529534a1/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard 11 年之前
父节点
当前提交
752b94c7dc
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      package/php-geoip/php-geoip.mk

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

@@ -6,7 +6,8 @@
 
 
 PHP_GEOIP_VERSION = 1.1.0
 PHP_GEOIP_VERSION = 1.1.0
 PHP_GEOIP_SOURCE = geoip-$(PHP_GEOIP_VERSION).tgz
 PHP_GEOIP_SOURCE = geoip-$(PHP_GEOIP_VERSION).tgz
-PHP_GEOIP_SITE = http://pecl.php.net/get
+# pecl.php.net returns html with db connect failed
+PHP_GEOIP_SITE = http://sources.buildroot.net
 PHP_GEOIP_CONF_OPT = --with-php-config=$(STAGING_DIR)/usr/bin/php-config \
 PHP_GEOIP_CONF_OPT = --with-php-config=$(STAGING_DIR)/usr/bin/php-config \
 	--with-geoip=$(STAGING_DIR)/usr
 	--with-geoip=$(STAGING_DIR)/usr
 # phpize does the autoconf magic
 # phpize does the autoconf magic