aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--UPDATING8
-rw-r--r--security/pecl-ssh2-0/Makefile30
-rw-r--r--security/pecl-ssh2-0/distinfo3
-rw-r--r--security/pecl-ssh2-0/pkg-descr5
-rw-r--r--security/pecl-ssh2/Makefile4
-rw-r--r--security/pecl-ssh2/distinfo6
6 files changed, 51 insertions, 5 deletions
diff --git a/UPDATING b/UPDATING
index c992d0e2b83f..afd72a50e0ef 100644
--- a/UPDATING
+++ b/UPDATING
@@ -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
diff --git a/security/pecl-ssh2-0/Makefile b/security/pecl-ssh2-0/Makefile
new file mode 100644
index 000000000000..5ba412035fbf
--- /dev/null
+++ b/security/pecl-ssh2-0/Makefile
@@ -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>
diff --git a/security/pecl-ssh2-0/distinfo b/security/pecl-ssh2-0/distinfo
new file mode 100644
index 000000000000..5f198bcce60e
--- /dev/null
+++ b/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
diff --git a/security/pecl-ssh2-0/pkg-descr b/security/pecl-ssh2-0/pkg-descr
new file mode 100644
index 000000000000..75782c5fa1a0
--- /dev/null
+++ b/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
diff --git a/security/pecl-ssh2/Makefile b/security/pecl-ssh2/Makefile
index d478bea96fcb..f38e9877cc1a 100644
--- a/security/pecl-ssh2/Makefile
+++ b/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 @@ 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}
diff --git a/security/pecl-ssh2/distinfo b/security/pecl-ssh2/distinfo
index 5f198bcce60e..6f32ed91c6f2 100644
--- a/security/pecl-ssh2/distinfo
+++ b/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