1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

security/pecl-ssh2: Update to 1.0

- Create security/pecl-ssh2-0
- Add UPDATING note

security/pecl-ssh2 (v1.0)  --> PHP 7 only.
security/pecl-ssh2-0 (v0.13)  --> PHP 5 compatible.

Changes: https://pecl.php.net/package-changelog.php?package=ssh2&release=1.0

PR:		215378
Reported by:	Alexander Ushakov <alexander@polyvizor.com>
Approved by:	garga (mentor)
Differential Revision:	https://reviews.freebsd.org/D10702
This commit is contained in:
Danilo G. Baio 2017-05-17 23:02:41 +00:00
parent 496b68ac0f
commit 8432a083a4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=441122
6 changed files with 51 additions and 5 deletions

View File

@ -5,6 +5,14 @@ they are unavoidable.
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

View File

@ -0,0 +1,30 @@
# Created by: Alexander Leidinger <netchild@FreeBSD.org>
# $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 <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1491395894
SHA256 (PECL/ssh2-0.13.tgz) = cb2cb8ab840b5b36bcd8a8df06ea4a970a61e4cb3980f3c0ac5c913522e6c1be
SIZE (PECL/ssh2-0.13.tgz) = 28984

View File

@ -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

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= ssh2
PORTVERSION= 0.13
PORTVERSION= 1.0
CATEGORIES= security pear
MAINTAINER= dbaio@FreeBSD.org
@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
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}

View File

@ -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