Accepting request 79178 from home:elvigia:branches:devel:libraries:c_c++

- Update to version 1.2.9
* Added libssh2_session_set_timeout() and 
  libssh2_session_get_timeout() to make blocking calls get a timeout
* userauth_keyboard_interactive: fix buffer overflow

OBS-URL: https://build.opensuse.org/request/show/79178
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libssh2_org?expand=0&rev=23
This commit is contained in:
Cristian Rodríguez 2011-08-17 21:20:59 +00:00 committed by Git OBS Bridge
parent fd4e13a61b
commit e461438f7a
4 changed files with 30 additions and 23 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a5f655545d1485ba9dc8fedd1d3bbf2201ca6f083cfcdbbf26a5a25c7681153b
size 464227

3
libssh2-1.2.9.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4aad275a20a11352c3e383b89ba389e8f0e373bb41ab52dce2e131654e6e7732
size 522712

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Aug 17 21:08:57 UTC 2011 - crrodriguez@opensuse.org
- Update to version 1.2.9
* Added libssh2_session_set_timeout() and
libssh2_session_get_timeout() to make blocking calls get a timeout
* userauth_keyboard_interactive: fix buffer overflow
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Oct 29 17:09:09 UTC 2010 - cristian.rodriguez@opensuse.org Fri Oct 29 17:09:09 UTC 2010 - cristian.rodriguez@opensuse.org

View File

@ -1,5 +1,5 @@
# #
# spec file for package libssh2_org (Version 1.2.6) # spec file for package libssh2_org (Version 1.2.7)
# #
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
@ -15,21 +15,24 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Summary: A library implementing the SSH2 protocol Summary: A library implementing the SSH2 protocol
Name: libssh2_org Name: libssh2_org
Version: 1.2.7 Version: 1.2.9
Release: 1 Release: 1
License: BSD3c
Url: http://www.libssh2.org/
%define pkg_name libssh2 %define pkg_name libssh2
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Source: http://heanet.dl.sourceforge.net/sourceforge/libssh2/%{pkg_name}-%{version}.tar.bz2 Source: http://heanet.dl.sourceforge.net/sourceforge/libssh2/%{pkg_name}-%{version}.tar.bz2
Source2: baselibs.conf Source2: baselibs.conf
Url: http://www.libssh2.org/ BuildRequires: openssl-devel
License: BSD3c BuildRequires: pkgconfig
BuildRequires: zlib-devel
#for the test suite
BuildRequires: openssh
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: openssl-devel pkgconfig zlib-devel
%description %description
libssh2 is a library implementing the SSH2 protocol as defined by libssh2 is a library implementing the SSH2 protocol as defined by
@ -37,8 +40,6 @@ Internet Drafts: SECSH-TRANS, SECSH-USERAUTH, SECSH-CONNECTION,
SECSH-ARCH, SECSH-FILEXFER, SECSH-DHGEX, SECSH-NUMBERS, and SECSH-ARCH, SECSH-FILEXFER, SECSH-DHGEX, SECSH-NUMBERS, and
SECSH-PUBLICKEY. SECSH-PUBLICKEY.
%define debug_package_requires libssh2-1 = %{version}-%{release} %define debug_package_requires libssh2-1 = %{version}-%{release}
%package -n libssh2-1 %package -n libssh2-1
@ -52,13 +53,12 @@ Internet Drafts: SECSH-TRANS, SECSH-USERAUTH, SECSH-CONNECTION,
SECSH-ARCH, SECSH-FILEXFER, SECSH-DHGEX, SECSH-NUMBERS, and SECSH-ARCH, SECSH-FILEXFER, SECSH-DHGEX, SECSH-NUMBERS, and
SECSH-PUBLICKEY. SECSH-PUBLICKEY.
%package -n libssh2-devel %package -n libssh2-devel
License: BSD3c License: BSD3c
Summary: A library implementing the SSH2 protocol Summary: A library implementing the SSH2 protocol
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libssh2-1 = %{version} glibc-devel Requires: glibc-devel
Requires: libssh2-1 = %{version}
%description -n libssh2-devel %description -n libssh2-devel
libssh2 is a library implementing the SSH2 protocol as defined by libssh2 is a library implementing the SSH2 protocol as defined by
@ -66,27 +66,25 @@ Internet Drafts: SECSH-TRANS, SECSH-USERAUTH, SECSH-CONNECTION,
SECSH-ARCH, SECSH-FILEXFER, SECSH-DHGEX, SECSH-NUMBERS, and SECSH-ARCH, SECSH-FILEXFER, SECSH-DHGEX, SECSH-NUMBERS, and
SECSH-PUBLICKEY. SECSH-PUBLICKEY.
%prep %prep
%setup -q -n %{pkg_name}-%{version} %setup -q -n %{pkg_name}-%{version}
%build %build
%configure --enable-hidden-symbols \ %configure --enable-hidden-symbols \
--disable-static --with-pic \ --disable-static --with-pic \
--disable-rpath --with-libz=%{_usr} \ --disable-rpath --with-libz=%{_prefix} \
--with-openssl=%{_usr} --with-openssl=%{_prefix}
%{__make} %{?jobs:-j%jobs} make %{?_smp_mflags}
%install %install
%{__make} install DESTDIR=%{buildroot} make install DESTDIR=%{buildroot}
%{__rm} -f %{buildroot}%{_libdir}/*.la rm -f %{buildroot}%{_libdir}/*.la
%check %check
%{__make} check make check
%clean %clean
%{__rm} -rf %{buildroot} rm -rf %{buildroot}
%post -n libssh2-1 -p /sbin/ldconfig %post -n libssh2-1 -p /sbin/ldconfig