php-ext-pecl-r3.eclass: Enable HTTPS by default
authorBrian Evans <grknight@gentoo.org>
Mon, 27 Nov 2017 19:09:00 +0000 (14:09 -0500)
committerBrian Evans <grknight@gentoo.org>
Mon, 27 Nov 2017 19:09:00 +0000 (14:09 -0500)
eclass/php-ext-pecl-r3.eclass

index 43ac788c464fb9978e63d60b35416858f863e8b0..8df60a372053c772d4ad78b6dedf3bbe9c56b689 100644 (file)
@@ -8,7 +8,7 @@
 # @DESCRIPTION:
 # This eclass should be used by all dev-php/pecl-* ebuilds as a uniform
 # way of installing PECL extensions. For more information about PECL,
-# see http://pecl.php.net/
+# see https://pecl.php.net/
 
 # @ECLASS-VARIABLE: PHP_EXT_PECL_PKG
 # @DESCRIPTION:
@@ -47,15 +47,15 @@ inherit php-ext-source-r3
 EXPORT_FUNCTIONS src_install src_test
 
 if [[ -z "${PHP_EXT_PECL_FILENAME}" ]] ; then
-       SRC_URI="http://pecl.php.net/get/${PHP_EXT_PECL_PKG_V}.tgz"
+       SRC_URI="https://pecl.php.net/get/${PHP_EXT_PECL_PKG_V}.tgz"
 else
-       SRC_URI="http://pecl.php.net/get/${PHP_EXT_PECL_FILENAME}"
+       SRC_URI="https://pecl.php.net/get/${PHP_EXT_PECL_FILENAME}"
 fi
 
 # Don't leave this laying around in the environment.
 unset PHP_EXT_PECL_PKG_V
 
-HOMEPAGE="http://pecl.php.net/${PHP_EXT_PECL_PKG}"
+HOMEPAGE="https://pecl.php.net/${PHP_EXT_PECL_PKG}"
 
 
 # @FUNCTION: php-ext-pecl-r3_src_install