[packages/php-pecl-ssh2] - updated to 0.12 - removed obsolete libssh2 patch, disabled branch.diff

baggins baggins at pld-linux.org
Thu Jan 24 12:56:32 CET 2013


commit 8fae05b23d0f00dfa02e9d33da917195b10b9cfb
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu Jan 24 12:55:56 2013 +0100

    - updated to 0.12
    - removed obsolete libssh2 patch, disabled branch.diff

 php-pecl-ssh2-libssh2.patch | 11 -----------
 php-pecl-ssh2.spec          | 14 ++++++--------
 2 files changed, 6 insertions(+), 19 deletions(-)
---
diff --git a/php-pecl-ssh2.spec b/php-pecl-ssh2.spec
index e8750f2..34567d1 100644
--- a/php-pecl-ssh2.spec
+++ b/php-pecl-ssh2.spec
@@ -3,16 +3,15 @@
 Summary:	%{modname} - bindings for the libssh2 library
 Summary(pl.UTF-8):	%{modname} - dowiązania do biblioteki libssh2
 Name:		php-pecl-%{modname}
-Version:	0.11.0
-Release:	5
+Version:	0.12
+Release:	1
 License:	PHP
 Group:		Development/Languages/PHP
 Source0:	http://pecl.php.net/get/%{modname}-%{version}.tgz
-# Source0-md5:	9f5dcd5b92299458389038f7318cbc46
-Patch0:		php-pecl-ssh2-libssh2.patch
-Patch1:		branch.diff
+# Source0-md5:	409b91678a842bb0ff56f2cf018b9160
+Patch0:		branch.diff
 URL:		http://pecl.php.net/package/ssh2/
-BuildRequires:	libssh2-devel >= 0.16
+BuildRequires:	libssh2-devel >= 1.2.9
 BuildRequires:	openssl-devel >= 0.9.7d
 BuildRequires:	php-devel >= 4:5.0.4
 BuildRequires:	rpmbuild(macros) >= 1.344
@@ -34,8 +33,7 @@ To rozszerzenie ma w PECL status: %{status}.
 %prep
 %setup -qc
 mv %{modname}-%{version}/* .
-%patch0 -p0
-%patch1 -p0
+#%patch0 -p0
 
 %build
 phpize
diff --git a/php-pecl-ssh2-libssh2.patch b/php-pecl-ssh2-libssh2.patch
deleted file mode 100644
index 085c9d7..0000000
--- a/php-pecl-ssh2-libssh2.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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 defined(LIBSSH2_APINO) && 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);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-ssh2.git/commitdiff/8fae05b23d0f00dfa02e9d33da917195b10b9cfb



More information about the pld-cvs-commit mailing list