From 0587739ebe38abf6718b7193786e71ba020e0528 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Tue, 23 Feb 2016 10:55:39 +0000 Subject: [PATCH] Update to 1.7.0 - New upstream release 1.7.0 - diffie_hellman_sha256: Convert bytes to bits (CVE-2016-0787); see http://www.libssh2.org/adv_20160223.html - libssh2_session_set_last_error: Add function - See RELEASE-NOTES for details of bug fixes --- libssh2-1.6.0-pkgconfig.patch | 12 ------------ libssh2.spec | 22 +++++++++++++++------- sources | 2 +- 3 files changed, 16 insertions(+), 20 deletions(-) delete mode 100644 libssh2-1.6.0-pkgconfig.patch diff --git a/libssh2-1.6.0-pkgconfig.patch b/libssh2-1.6.0-pkgconfig.patch deleted file mode 100644 index 6cd69fc..0000000 --- a/libssh2-1.6.0-pkgconfig.patch +++ /dev/null @@ -1,12 +0,0 @@ -Remove LDFLAGS from pkg-config --libs output (#1279966) - ---- libssh2.pc.in -+++ libssh2.pc.in -@@ -12,6 +12,6 @@ URL: http://www.libssh2.org/ - Description: Library for SSH-based communication - Version: @LIBSSH2VER@ - Requires.private: @LIBSREQUIRED@ --Libs: -L${libdir} -lssh2 @LDFLAGS@ @LIBS@ -+Libs: -L${libdir} -lssh2 @LIBS@ - Libs.private: @LIBS@ - Cflags: -I${includedir} diff --git a/libssh2.spec b/libssh2.spec index e86ae93..8fba1eb 100644 --- a/libssh2.spec +++ b/libssh2.spec @@ -11,17 +11,21 @@ %{!?__isa_bits: %global __isa_bits %((echo '#include '; echo __WORDSIZE) | cpp - | grep -Ex '32|64')} Name: libssh2 -Version: 1.6.0 -Release: 4%{?dist} +Version: 1.7.0 +Release: 1%{?dist} Summary: A library implementing the SSH2 protocol Group: System Environment/Libraries License: BSD URL: http://www.libssh2.org/ Source0: http://libssh2.org/download/libssh2-%{version}.tar.gz Patch0: libssh2-1.4.2-utf8.patch -Patch1: libssh2-1.6.0-pkgconfig.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: gcc +BuildRequires: make BuildRequires: openssl-devel +BuildRequires: sed BuildRequires: zlib-devel BuildRequires: /usr/bin/man @@ -73,9 +77,6 @@ sed -i s/4711/47%{?__isa_bits}/ tests/ssh2.{c,sh} # Make sure things are UTF-8... %patch0 -p1 -# Fix pkg-config --libs output (#1279966) -%patch1 - # Make sshd transition appropriately if building in an SELinux environment %if !(0%{?fedora} >= 17 || 0%{?rhel} >= 7) chcon $(/usr/sbin/matchpathcon -n /etc/rc.d/init.d/sshd) tests/ssh2.sh || : @@ -84,7 +85,7 @@ chcon $(/usr/sbin/matchpathcon -n /etc/ssh/ssh_host_key) tests/etc/{host,user} | %endif %build -%configure --disable-static --enable-shared +%configure --disable-silent-rules --disable-static --enable-shared make %{?_smp_mflags} # Avoid polluting libssh2.pc with linker options (#947813) @@ -153,6 +154,13 @@ rm -rf %{buildroot} %{_libdir}/pkgconfig/libssh2.pc %changelog +* Tue Feb 23 2016 Paul Howarth - 1.7.0-1 +- Update to 1.7.0 + - diffie_hellman_sha256: Convert bytes to bits (CVE-2016-0787); see + http://www.libssh2.org/adv_20160223.html + - libssh2_session_set_last_error: Add function + - See RELEASE-NOTES for details of bug fixes + * Thu Feb 04 2016 Fedora Release Engineering - 1.6.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild diff --git a/sources b/sources index 63539e4..e4f6cdc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -00aabd6e714a5f42a4fb82ace20db1dd libssh2-1.6.0.tar.gz +b01662a210e94cccf2f76094db7dac5c libssh2-1.7.0.tar.gz