- Update to 0.12

PR:		176483
Submitted by:	Mark Felder <feld@feld.me>
This commit is contained in:
Martin Wilke 2013-03-02 16:53:19 +00:00
parent b9e52b2a42
commit a8c9c86bef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=313281
3 changed files with 10 additions and 62 deletions

View File

@ -1,12 +1,8 @@
# New ports collection makefile for: pecl-ssh2
# Date created: 20050407
# Whom: Alexander Leidinger <netchild@FreeBSD.org>
#
# Created by: Alexander Leidinger <netchild@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= ssh2
PORTVERSION= 0.11.3
PORTVERSION= 0.12
CATEGORIES= security pear
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
@ -25,4 +21,9 @@ LDFLAGS+= -L${LOCALBASE}/lib ${EXTRA_LIBS}
CONFIGURE_ARGS= --with-ssh2
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's|\$$SSH2_DIR/lib|\$$SSH2_DIR/\$$PHP_LIBDIR|g' ${WRKSRC}/config.m4
.include <bsd.port.post.mk>

View File

@ -1,2 +1,2 @@
SHA256 (ssh2-0.11.3.tgz) = b2518e101a53fd7940e49bb36a9b9559cbbfda946ebe5bb62e220d4ce132bf33
SIZE (ssh2-0.11.3.tgz) = 23062
SHA256 (ssh2-0.12.tgz) = 600c82d2393acf3642f19914f06a7afea57ee05cb8c10e8a5510b32188b97f99
SIZE (ssh2-0.12.tgz) = 26223

View File

@ -1,53 +0,0 @@
--- config.m4 2006-03-15 03:10:23.000000000 +0100
+++ config.m4.oden 2007-08-07 17:00:07.000000000 +0200
@@ -31,12 +31,12 @@
PHP_CHECK_LIBRARY($LIBNAME,$LIBSYMBOL,
[
- PHP_ADD_LIBRARY_WITH_PATH($LIBNAME, $SSH2_DIR/lib, SSH2_SHARED_LIBADD)
+ PHP_ADD_LIBRARY_WITH_PATH($LIBNAME, $SSH2_DIR/$PHP_LIBDIR, SSH2_SHARED_LIBADD)
AC_DEFINE(HAVE_SSH2LIB,1,[Have libssh2])
],[
AC_MSG_ERROR([libssh2 version >= 0.4 not found])
],[
- -L$SSH2_DIR/lib -lm
+ -L$SSH2_DIR/$PHP_LIBDIR -lm
])
PHP_CHECK_LIBRARY($LIBNAME,libssh2_channel_forward_listen_ex,
@@ -45,7 +45,7 @@
],[
AC_MSG_WARN([libssh2 <= 0.4, remote forwarding not enabled])
],[
- -L$SSH2_DIR/lib -lm
+ -L$SSH2_DIR/$PHP_LIBDIR -lm
])
PHP_CHECK_LIBRARY($LIBNAME,libssh2_userauth_hostbased_fromfile_ex,
@@ -54,7 +54,7 @@
],[
AC_MSG_WARN([libssh2 <= 0.6, hostbased authentication not enabled])
],[
- -L$SSH2_DIR/lib -lm
+ -L$SSH2_DIR/$PHP_LIBDIR -lm
])
PHP_CHECK_LIBRARY($LIBNAME,libssh2_poll,
@@ -63,7 +63,7 @@
],[
AC_MSG_WARN([libssh2 <= 0.7, poll support not enabled])
],[
- -L$SSH2_DIR/lib -lm
+ -L$SSH2_DIR/$PHP_LIBDIR -lm
])
PHP_CHECK_LIBRARY($LIBNAME,libssh2_publickey_init,
@@ -72,7 +72,7 @@
],[
AC_MSG_WARN([libssh2 <= 0.11, publickey subsystem support not enabled])
],[
- -L$SSH2_DIR/lib -lm
+ -L$SSH2_DIR/$PHP_LIBDIR -lm
])
PHP_SUBST(SSH2_SHARED_LIBADD)