summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-12-06 15:16:20 +0100
committerThomas Deutschmann <whissi@gentoo.org>2019-12-06 15:17:13 +0100
commit626d7045677f274cbbafb7a90b8a39a40e4db636 (patch)
tree8075b74f012a6e0a21aea6903a8c5fb1d46e58a3 /dev-php
parentnet-wireless/iw: Bump to version 5.4 (diff)
downloadgentoo-626d7045677f274cbbafb7a90b8a39a40e4db636.tar.gz
gentoo-626d7045677f274cbbafb7a90b8a39a40e4db636.tar.bz2
gentoo-626d7045677f274cbbafb7a90b8a39a40e4db636.zip
dev-php/pecl-ssh2: fix ebuild
When pecl-ssh2-1.2 bump happened, -9999 ebuild was accidentially used as source which can't be used for non-live ebuild versions. Package-Manager: Portage-2.3.80, Repoman-2.3.19 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/pecl-ssh2/Manifest1
-rw-r--r--dev-php/pecl-ssh2/pecl-ssh2-1.2.ebuild12
2 files changed, 8 insertions, 5 deletions
diff --git a/dev-php/pecl-ssh2/Manifest b/dev-php/pecl-ssh2/Manifest
index f87f683fe313..55e27af2e954 100644
--- a/dev-php/pecl-ssh2/Manifest
+++ b/dev-php/pecl-ssh2/Manifest
@@ -1,2 +1,3 @@
+DIST pecl-ssh2-1.2.tar.gz 32447 BLAKE2B 3a9d0f205097a381d07fb9dd5ab4dcb8e361f555dbc633abb8fa895c83024b70e85cd87602da1ceeb1018a7b07c474720b02810ef0689e9294fc33b129b6c738 SHA512 7b7d311cd5f88835e124d70a0295468f75d0fa6936a58808c936d1a185bb630b9e02c21f49b4bd777194a7b104aa3ff85c4fbf480f43d5906787e532ba2d3e04
DIST ssh2-0.13.tgz 28984 BLAKE2B 3c18cb7aba146801325eeaca3ffb6e3780675a7ce6d78aea5fbc16f75662284f7773de2161789f68af0b5499e9cb813f4046d674758c138849eb6735344249f9 SHA512 c031e22853bf5cf8ee59dc5b99d9e7e60af1507a22e7d0a9e2f54b8f1758a03a6cea91c539e0f667d48ec66185fdc8a28c47e5a1e10a72220c0cb16b3948e1d0
DIST ssh2-1.1.2.tgz 32057 BLAKE2B 88ffb3fb608687a086bbe345677982e944210791acc100312ba56ac7c35188a52cde5529d78caf473d19710e9965fba853ea9ff046715413a0b488ae2d8b690c SHA512 36793191448745b8a9b3cc628fe9fb431480792c7a2ff0bf2eccd58cda1cf944933be1d301c455d4a6f3dabf7e04ffef248bc402a8ff99bfafcba0deddb25c36
diff --git a/dev-php/pecl-ssh2/pecl-ssh2-1.2.ebuild b/dev-php/pecl-ssh2/pecl-ssh2-1.2.ebuild
index 583c2bfcf037..ffc132c93745 100644
--- a/dev-php/pecl-ssh2/pecl-ssh2-1.2.ebuild
+++ b/dev-php/pecl-ssh2/pecl-ssh2-1.2.ebuild
@@ -6,9 +6,11 @@ EAPI="7"
PHP_EXT_NAME="ssh2"
USE_PHP="php5-6 php7-1 php7-2 php7-3 php7-4"
-EGIT_REPO_URI="https://git.php.net/repository/pecl/networking/ssh2.git"
-inherit php-ext-source-r3 git-r3
+inherit php-ext-pecl-r3
+
+# https://pecl.php.net/get/ssh2-1.2.tgz isn't work for some weeks
+SRC_URI="https://dev.gentoo.org/~whissi/dist/${PN}/${P}.tar.gz"
USE_PHP="php7-1 php7-2 php7-3 php7-4"
@@ -16,11 +18,11 @@ DESCRIPTION="PHP bindings for the libssh2 library"
LICENSE="PHP-3.01"
SLOT="7"
IUSE=""
-KEYWORDS=""
-DEPEND=">=net-libs/libssh2-1.2"
+KEYWORDS="~amd64 ~x86"
+# Upstream notes say there are errors with gcrypt backend
+DEPEND=">=net-libs/libssh2-1.2[-gcrypt]"
RDEPEND="${DEPEND}
php_targets_php5-6? ( dev-php/pecl-ssh2:0[php_targets_php5-6] )"
-HOMEPAGE="https://pecl.php.net/package/ssh2"
src_prepare() {
if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then