diff --git a/security/php-ssh2/php-ssh2-libssh2-0.16_fix.patch b/security/php-ssh2/php-ssh2-libssh2-0.16_fix.patch new file mode 100644 index 000000000..d23db8e5f --- /dev/null +++ b/security/php-ssh2/php-ssh2-libssh2-0.16_fix.patch @@ -0,0 +1,11 @@ +--- ./ssh2.c 2006-06-07 19:35:34.000000000 +0200 ++++ ./ssh2.c.oden 2007-08-07 17:32:29.000000000 +0200 +@@ -484,7 +484,7 @@ + + ZEND_FETCH_RESOURCE(session, LIBSSH2_SESSION*, &zsession, -1, PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); + +-#if LIBSSH2_APINO < 200412301450 ++#if LIBSSH2_VERSION_NUM < 0x001000 + libssh2_session_methods(session, &kex, &hostkey, &crypt_cs, &crypt_sc, &mac_cs, &mac_sc, &comp_cs, &comp_sc, &lang_cs, &lang_sc); + #else + kex = libssh2_session_methods(session, LIBSSH2_METHOD_KEX); diff --git a/security/php-ssh2/php-ssh2.desc b/security/php-ssh2/php-ssh2.desc index a2f5dbbe0..88719961b 100644 --- a/security/php-ssh2/php-ssh2.desc +++ b/security/php-ssh2/php-ssh2.desc @@ -25,8 +25,9 @@ [L] PHP [S] Beta -[V] 0.10 +[V] 0.11-20060607 +#[V] 0.10 [P] X -----5---9 800.000 -[D] 2996714276 ssh2-0.10.tgz http://pecl.php.net/get/ +[D] X ssh2-0.11-20060607.tar.bz2 cvs://:pserver:cvsread@cvs.php.net:/repository pecl/ssh2 -D 2007-06-07