From b63a4ef6643222de9710ff8d77ff46cdc3934121 Mon Sep 17 00:00:00 2001 From: jdolecek Date: Tue, 19 Dec 2017 10:07:41 +0000 Subject: [PATCH] Update php-ssh2 to current version 1.1.2, mainly for PHP 7.x support Changes since 0.13: 1.1.2 - Version 1.1.2 is same as 1.1 except this release contains this changelog - Fixed bug #72988 (Libor M.) - Fixed bug #73198 (Langemeijer) - Fixed php_url_parse issue (Remi Collet) - fix Invalid write of size 1 (Remi Collet) - Fixed bug #73819 (Mitch Hagstrand) - Fixed bug #73410 (Mitch Hagstrand) - Travis CI (Mitch Hagstrand) - Various other fixes on PHP 7 code and code cleanup (Mitch Hagstrand, Libor M., Anatol Belski) 1.1.1 - Version 1.1.1 is same as 1.1 except this release contains this changelog - Fixed bug #72988 (Libor M.) - Fixed bug #73198 (Langemeijer) - Fixed php_url_parse issue (Remi Collet) - fix Invalid write of size 1 (Remi Collet) - Fixed bug #73819 (Mitch Hagstrand) - Fixed bug #73410 (Mitch Hagstrand) - Travis CI (Mitch Hagstrand) - Various other fixes on PHP 7 code and code cleanup (Mitch Hagstrand, Libor M., Anatol Belski) 1.1 - 1.0 - Release for PHP 7 (Sean DuBois) - Made win32 builds depend on zlib and openssl extensions (Credomane Evonguard) - Add blocking call to php_ssh2_direct_tcpip (Credomane Evonguard) - Added explicit ssh2_disconnect function (Credomane Evonguard) - Fixed bug #72150 - Fixing segfault when passing env variables (Krakjoe) --- security/php-ssh2/DESCR | 2 ++ security/php-ssh2/Makefile | 9 ++++----- security/php-ssh2/distinfo | 10 +++++----- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/security/php-ssh2/DESCR b/security/php-ssh2/DESCR index b4dc5ecc4d6b..57b2e528aa19 100644 --- a/security/php-ssh2/DESCR +++ b/security/php-ssh2/DESCR @@ -1,2 +1,4 @@ Provides bindings to the functions of libssh2 which implements the SSH2 protocol. + +This package supports PHP 7.x. diff --git a/security/php-ssh2/Makefile b/security/php-ssh2/Makefile index baed966cdc99..705a5d978a93 100644 --- a/security/php-ssh2/Makefile +++ b/security/php-ssh2/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.8 2017/09/03 08:53:14 wiz Exp $ +# $NetBSD: Makefile,v 1.9 2017/12/19 10:07:41 jdolecek Exp $ # MODNAME= ssh2 -PECL_VERSION= 0.13 +PECL_VERSION= 1.1.2 CATEGORIES+= security MAINTAINER= filip@joyent.com @@ -10,12 +10,11 @@ HOMEPAGE= https://www.libssh2.org/ COMMENT= PHP bindings to the functions of libssh2 LICENSE= php -CONFLICTS= php-ssh2-[0-9]* +CONFLICTS= ${PHP_PKG_PREFIX}-${MODNAME}<1.0 -PHP_VERSIONS_ACCEPTED= 56 +PHP_VERSIONS_ACCEPTED= 70 71 72 CONFIGURE_ARGS+= --with-ssh2=${PREFIX} -#WRKSRC= ${WRKDIR}/${MODNAME}-${PECL_VERSION} .include "../../security/libssh2/buildlink3.mk" .include "../../lang/php/ext.mk" diff --git a/security/php-ssh2/distinfo b/security/php-ssh2/distinfo index a1de8b4a3cbe..67f11d93c9b6 100644 --- a/security/php-ssh2/distinfo +++ b/security/php-ssh2/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.3 2017/01/16 14:32:56 fhajny Exp $ +$NetBSD: distinfo,v 1.4 2017/12/19 10:07:41 jdolecek Exp $ -SHA1 (php-ssh2/ssh2-0.13.tgz) = 1e44096ce2f165d3f8c35e7e85562d2022c60b15 -RMD160 (php-ssh2/ssh2-0.13.tgz) = 2f1464dfa7c5d3d114f4354a10ba03958e3f2a6f -SHA512 (php-ssh2/ssh2-0.13.tgz) = c031e22853bf5cf8ee59dc5b99d9e7e60af1507a22e7d0a9e2f54b8f1758a03a6cea91c539e0f667d48ec66185fdc8a28c47e5a1e10a72220c0cb16b3948e1d0 -Size (php-ssh2/ssh2-0.13.tgz) = 28984 bytes +SHA1 (php-ssh2/ssh2-1.1.2.tgz) = ffd8aa2324d8c9448f6cfbea31579e08d99f38e4 +RMD160 (php-ssh2/ssh2-1.1.2.tgz) = d3af94cd3eff499d6db7ff5ad1c901aa781e0820 +SHA512 (php-ssh2/ssh2-1.1.2.tgz) = 36793191448745b8a9b3cc628fe9fb431480792c7a2ff0bf2eccd58cda1cf944933be1d301c455d4a6f3dabf7e04ffef248bc402a8ff99bfafcba0deddb25c36 +Size (php-ssh2/ssh2-1.1.2.tgz) = 32057 bytes