Index: head/UPDATING =================================================================== --- head/UPDATING +++ head/UPDATING @@ -5,6 +5,14 @@ You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. +20170517: + AFFECTS: users of security/pecl-ssh2 + AUTHOR: dbaio@FreeBSD.org + + The security/pecl-ssh2 has been upgraded to version 1.0, and the new + version is not compatible with PHP5. If you need PHP5 support, you can + find version 0.13 in security/pecl-ssh2-0. + 20170412: AFFECTS: users of sysutils/ansible AUTHOR: lifanov@FreeBSD.org Index: head/security/pecl-ssh2-0/Makefile =================================================================== --- head/security/pecl-ssh2-0/Makefile +++ head/security/pecl-ssh2-0/Makefile @@ -0,0 +1,30 @@ +# Created by: Alexander Leidinger +# $FreeBSD$ + +PORTNAME= ssh2 +PORTVERSION= 0.13 +CATEGORIES= security pear +PKGNAMESUFFIX= -0 + +MAINTAINER= dbaio@FreeBSD.org +COMMENT= PECL extension to the libssh2 library + +LICENSE= PHP301 +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libssh2.so:security/libssh2 + +PORTSCOUT= limit:^0.* + +USES= php:pecl +IGNORE_WITH_PHP= 70 71 + +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib ${EXTRA_LIBS} + +CONFIGURE_ARGS= --with-ssh2 + +post-patch: + @${REINPLACE_CMD} -e 's|\$$SSH2_DIR/lib|\$$SSH2_DIR/\$$PHP_LIBDIR|g' ${WRKSRC}/config.m4 + +.include Index: head/security/pecl-ssh2-0/distinfo =================================================================== --- head/security/pecl-ssh2-0/distinfo +++ head/security/pecl-ssh2-0/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1491395894 +SHA256 (PECL/ssh2-0.13.tgz) = cb2cb8ab840b5b36bcd8a8df06ea4a970a61e4cb3980f3c0ac5c913522e6c1be +SIZE (PECL/ssh2-0.13.tgz) = 28984 Index: head/security/pecl-ssh2-0/pkg-descr =================================================================== --- head/security/pecl-ssh2-0/pkg-descr +++ head/security/pecl-ssh2-0/pkg-descr @@ -0,0 +1,5 @@ +PHP bindings to the libssh2 library which provide access to resources +(shell, remote exec, tunneling, file transfer) on a remote machine using a +secure cryptographic transport. + +WWW: https://pecl.php.net/package/ssh2 Index: head/security/pecl-ssh2/Makefile =================================================================== --- head/security/pecl-ssh2/Makefile +++ head/security/pecl-ssh2/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= ssh2 -PORTVERSION= 0.13 +PORTVERSION= 1.0 CATEGORIES= security pear MAINTAINER= dbaio@FreeBSD.org @@ -14,7 +14,7 @@ LIB_DEPENDS= libssh2.so:security/libssh2 USES= php:pecl -IGNORE_WITH_PHP= 70 71 +IGNORE_WITH_PHP= 56 CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib ${EXTRA_LIBS} Index: head/security/pecl-ssh2/distinfo =================================================================== --- head/security/pecl-ssh2/distinfo +++ head/security/pecl-ssh2/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1491395894 -SHA256 (PECL/ssh2-0.13.tgz) = cb2cb8ab840b5b36bcd8a8df06ea4a970a61e4cb3980f3c0ac5c913522e6c1be -SIZE (PECL/ssh2-0.13.tgz) = 28984 +TIMESTAMP = 1494685667 +SHA256 (PECL/ssh2-1.0.tgz) = 6a93891878b23904a773eb814fec7aea4ea00b4a412ee779c8535ed9c5e46ced +SIZE (PECL/ssh2-1.0.tgz) = 29013