2981c21
Name:		libssh2
c797fc9
Version:	1.11.0
8af3a39
Release:	4%{?dist}
2981c21
Summary:	A library implementing the SSH2 protocol
96fdcab
License:	BSD-3-Clause
f336757
URL:		https://www.libssh2.org/
f336757
Source0:	https://libssh2.org/download/libssh2-%{version}.tar.gz
75902ed
Source1:	https://libssh2.org/download/libssh2-%{version}.tar.gz.asc
75902ed
# Daniel Stenberg's GPG keys; linked from https://daniel.haxx.se/address.html
75902ed
Source2:	https://daniel.haxx.se/mykey.asc
c797fc9
Patch1:		libssh2-1.11.0-strict-modes.patch
c797fc9
Patch2:		libssh2-1.11.0-ssh-rsa-test.patch
0355577
0587739
BuildRequires:	coreutils
0587739
BuildRequires:	findutils
0587739
BuildRequires:	gcc
75902ed
BuildRequires:	gnupg2
0587739
BuildRequires:	make
c797fc9
BuildRequires:	openssl-devel > 1:1.0.2
c797fc9
BuildRequires:	pkgconfig
0587739
BuildRequires:	sed
2981c21
BuildRequires:	zlib-devel
d2c802f
BuildRequires:	/usr/bin/man
Chris Weyl 579bb92
9974fca
# Test suite requirements
9974fca
# Full groff (not just groff-base) needed for the mansyntax check
9974fca
BuildRequires:	groff
9974fca
# We run the OpenSSH server and try to connect to it
2981c21
BuildRequires:	openssh-server
ab0e53a
# Need a valid locale to run the mansyntax check
ab0e53a
%if 0%{?fedora} > 23 || 0%{?rhel} > 7
ab0e53a
BuildRequires:	glibc-langpack-en
ab0e53a
%endif
Chris Weyl ce5ce38
Chris Weyl 579bb92
%description
Chris Weyl 579bb92
libssh2 is a library implementing the SSH2 protocol as defined by
Chris Weyl 579bb92
Internet Drafts: SECSH-TRANS(22), SECSH-USERAUTH(25),
Chris Weyl 579bb92
SECSH-CONNECTION(23), SECSH-ARCH(20), SECSH-FILEXFER(06)*,
Chris Weyl 579bb92
SECSH-DHGEX(04), and SECSH-NUMBERS(10).
Chris Weyl 579bb92
2981c21
%package	devel
2981c21
Summary:	Development files for libssh2
af56e49
Requires:	%{name}%{?_isa} = %{version}-%{release}
2981c21
Requires:	pkgconfig
Chris Weyl 579bb92
2981c21
%description	devel
edbbfd7
The libssh2-devel package contains libraries and header files for
edbbfd7
developing applications that use libssh2.
Chris Weyl 579bb92
2981c21
%package	docs
2981c21
Summary:	Documentation for libssh2
2981c21
Requires:	%{name} = %{version}-%{release}
2981c21
BuildArch:	noarch
Chris Weyl 579bb92
2981c21
%description	docs
edbbfd7
The libssh2-docs package contains man pages and examples for
edbbfd7
developing applications that use libssh2.
Chris Weyl 579bb92
Chris Weyl 579bb92
%prep
75902ed
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
Chris Weyl 579bb92
%setup -q
Chris Weyl 579bb92
c797fc9
# Group-writeable directories in the hierarchy above where we
c797fc9
# run the tests from can cause failures due to openssh's strict
c797fc9
# permissions checks. Adding this option helps the tests to run
c797fc9
# more reliably on a variety of build systems.
c797fc9
%patch -P 1
c797fc9
47f7114
# In 8.8 OpenSSH disabled sha1 rsa-sha keys out of the box,
47f7114
# so we need to re-enable them as a workaround for the test
47f7114
# suite until upstream updates the tests.
47f7114
# See: https://github.com/libssh2/libssh2/issues/630
47f7114
%if 0%{?fedora} > 33 || 0%{?rhel} > 8
c797fc9
%patch -P 2
47f7114
%endif
47f7114
976807e
# Replace hard wired port number in the test suite to avoid collisions
976807e
# between 32-bit and 64-bit builds running on a single build-host
c797fc9
sed -i s/4711/47%{?__isa_bits}/ tests/{openssh_fixture.c,test_ssh{2.c,d.test}}
abdd90b
Chris Weyl 579bb92
%build
c797fc9
# Test suite fails to compile if we use --disable-static
c797fc9
# https://github.com/libssh2/libssh2/issues/1056
c797fc9
%configure \
c797fc9
	--disable-silent-rules \
c797fc9
	--enable-shared \
c797fc9
	--disable-docker-tests
8f106e1
%{make_build}
Chris Weyl 579bb92
Chris Weyl 579bb92
%install
8f106e1
%{make_install} INSTALL="install -p"
0355577
find %{buildroot} -name '*.la' -delete
Chris Weyl 579bb92
c797fc9
# Remove static library that we only built for testing
c797fc9
rm -v %{buildroot}%{_libdir}/libssh2.a
c797fc9
c797fc9
# Clean things up a bit for packaging
edbbfd7
make -C example clean
c797fc9
find example/ -type f \
c797fc9
	'(' -name '*.am' -o -name '*.in' -o -name CMakeLists.txt ')' \
c797fc9
	-print -delete
Chris Weyl 579bb92
c797fc9
# Remove redundant references to libdir in pkg-config file
c797fc9
sed -i	-e 's|-L%{_libdir} ||g' \
c797fc9
	-e 's|-L[$]{libdir} ||g' %{buildroot}%{_libdir}/pkgconfig/libssh2.pc
c797fc9
c797fc9
# Avoid multilib conflict on libssh2-devel
a352ea2
mv -v example example.%{_arch}
9936af4
Chris Weyl 579bb92
%check
ab0e53a
LC_ALL=en_US.UTF-8 make -C tests check
Chris Weyl 579bb92
2ee9663
%ldconfig_scriptlets
Chris Weyl 579bb92
Chris Weyl 579bb92
%files
a53677d
%license COPYING
0355577
%doc docs/AUTHORS README RELEASE-NOTES
edbbfd7
%{_libdir}/libssh2.so.1
edbbfd7
%{_libdir}/libssh2.so.1.*
Chris Weyl 579bb92
Chris Weyl 579bb92
%files docs
c797fc9
%doc docs/BINDINGS.md docs/HACKING.md docs/TODO NEWS
edbbfd7
%{_mandir}/man3/libssh2_*.3*
Chris Weyl 579bb92
Chris Weyl 579bb92
%files devel
a352ea2
%doc example.%{_arch}/
edbbfd7
%{_includedir}/libssh2.h
edbbfd7
%{_includedir}/libssh2_publickey.h
edbbfd7
%{_includedir}/libssh2_sftp.h
edbbfd7
%{_libdir}/libssh2.so
edbbfd7
%{_libdir}/pkgconfig/libssh2.pc
Chris Weyl 579bb92
Chris Weyl 579bb92
%changelog
8af3a39
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.0-4
8af3a39
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
8af3a39
8db75a6
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.0-3
8db75a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
8db75a6
afe9bca
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.0-2
afe9bca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
afe9bca
c797fc9
* Thu Jun  1 2023 Paul Howarth <paul@city-fan.org> - 1.11.0-1
c797fc9
- Update to 1.11.0 (rhbz#2211200)
c797fc9
  - Adds support for encrypt-then-mac (ETM) MACs
c797fc9
  - Adds support for AES-GCM crypto protocols
c797fc9
  - Adds support for sk-ecdsa-sha2-nistp256 and sk-ssh-ed25519 keys
c797fc9
  - Adds support for RSA certificate authentication
c797fc9
  - Adds FIDO support with *_sk() functions
c797fc9
  - Adds RSA-SHA2 key upgrading to OpenSSL, WinCNG, mbedTLS, OS400 backends
c797fc9
  - Adds Agent Forwarding and libssh2_agent_sign()
c797fc9
  - Adds support for Channel Signal message libssh2_channel_signal_ex()
c797fc9
  - Adds support to get the user auth banner message libssh2_userauth_banner()
c797fc9
  - Adds LIBSSH2_NO_{MD5, HMAC_RIPEMD, DSA, RSA, RSA_SHA1, ECDSA, ED25519,
c797fc9
    AES_CBC, AES_CTR, BLOWFISH, RC4, CAST, 3DES} options
c797fc9
  - Adds direct stream UNIX sockets with libssh2_channel_direct_streamlocal_ex()
c797fc9
  - Adds wolfSSL support to CMake file
c797fc9
  - Adds mbedTLS 3.x support
c797fc9
  - Adds LibreSSL 3.5 support
c797fc9
  - Adds support for CMake "unity" builds
c797fc9
  - Adds CMake support for building shared and static libs in a single pass
c797fc9
  - Adds symbol hiding support to CMake
c797fc9
  - Adds support for libssh2.rc for all build tools
c797fc9
  - Adds .zip, .tar.xz and .tar.bz2 release tarballs
c797fc9
  - Enables ed25519 key support for LibreSSL 3.7.0 or higher
c797fc9
  - Improves OpenSSL 1.1 and 3 compatibility
c797fc9
  - Now requires OpenSSL 1.0.2 or newer
c797fc9
  - Now requires CMake 3.1 or newer
c797fc9
  - SFTP: Adds libssh2_sftp_open_ex_r() and libssh2_sftp_open_r() extended APIs
c797fc9
  - SFTP: No longer has a packet limit when reading a directory
c797fc9
  - SFTP: Now parses attribute extensions if they exist
c797fc9
  - SFTP: No longer will busy loop if SFTP fails to initialize
c797fc9
  - SFTP: Now clear various errors as expected
c797fc9
  - SFTP: No longer skips files if the line buffer is too small
c797fc9
  - SCP: Add option to not quote paths
c797fc9
  - SCP: Enables 64-bit offset support unconditionally
c797fc9
  - Now skips leading \r and \n characters in banner_receive()
c797fc9
  - Enables secure memory zeroing with all build tools on all platforms
c797fc9
  - No longer logs SSH_MSG_REQUEST_FAILURE packets from keepalive
c797fc9
  - Speed up base64 encoding by 7x
c797fc9
  - Assert if there is an attempt to write a value that is too large
c797fc9
  - WinCNG: fix memory leak in _libssh2_dh_secret()
c797fc9
  - Added protection against possible null pointer dereferences
c797fc9
  - Agent now handles overly large comment lengths
c797fc9
  - Now ensure KEX replies don't include extra bytes
c797fc9
  - Fixed possible buffer overflow when receiving SSH_MSG_USERAUTH_BANNER
c797fc9
  - Fixed possible buffer overflow in keyboard interactive code path
c797fc9
  - Fixed overlapping memcpy()
c797fc9
  - Fixed Windows UWP builds
c797fc9
  - Fixed DLL import name
c797fc9
  - Renamed local RANDOM_PADDING macro to avoid unexpected define on Windows
c797fc9
  - Support for building with gcc versions older than 8
c797fc9
  - Improvements to CMake, Makefile, NMakefile, GNUmakefile, autoreconf files
c797fc9
  - Restores ANSI C89 compliance
c797fc9
  - Enabled new compiler warnings and fixed/silenced them
c797fc9
  - Improved error messages
c797fc9
  - Now uses CIFuzz
c797fc9
  - Numerous minor code improvements
c797fc9
  - Improvements to CI builds
c797fc9
  - Improvements to unit tests
c797fc9
  - Improvements to doc files
c797fc9
  - Improvements to example files
c797fc9
  - Removed "old gex" build option
c797fc9
  - Removed no-encryption/no-mac builds
c797fc9
  - Removed support for NetWare and Watcom wmake build files
c797fc9
- Avoid use of deprecated patch syntax
c797fc9
- Build static library but don't package it since it's required for the
c797fc9
  test suite (https://github.com/libssh2/libssh2/issues/1056)
c797fc9
- Remove redundant references to %%{_libdir} from pkgconfig file
c797fc9
- Add patch to work around strict permissions issues for sshd tests
c797fc9
66974e7
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-7
66974e7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
66974e7
75902ed
* Fri Oct 28 2022 Todd Zullinger <tmz@pobox.com> - 1.10.0-6
75902ed
- Verify upstream release signatures
75902ed
c48c355
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-5
c48c355
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
c48c355
47f7114
* Sun Jan 23 2022 Paul Howarth <paul@city-fan.org> - 1.10.0-4
47f7114
- In 8.8 OpenSSH disabled sha1 rsa-sha keys out of the box,
47f7114
  so we need to re-enable them as a workaround for the test
47f7114
  suite until upstream updates the tests
47f7114
  See: https://github.com/libssh2/libssh2/issues/630
47f7114
- Drop other test workarounds, none of them being needed any longer
47f7114
ff63c9b
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-3
ff63c9b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
ff63c9b
ab29cf2
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 1.10.0-2
ab29cf2
- Rebuilt with OpenSSL 3.0.0
ab29cf2
9784ae6
* Mon Aug 30 2021 Paul Howarth <paul@city-fan.org> - 1.10.0-1
9784ae6
- Update to 1.10.0
9784ae6
  - Adds agent forwarding support
9784ae6
  - Adds OpenSSH Agent support on Windows
9784ae6
  - Adds ECDSA key support using the Mbed TLS backend
9784ae6
  - Adds ECDSA cert authentication
9784ae6
  - Adds diffie-hellman-group14-sha256, diffie-hellman-group16-sha512,
9784ae6
    diffie-hellman-group18-sha512 key exchanges
9784ae6
  - Adds support for PKIX key reading when using ed25519 with OpenSSL
9784ae6
  - Adds support for EWOULDBLOCK on VMS systems
9784ae6
  - Adds support for building with OpenSSL 3
9784ae6
  - Adds support for using FIPS mode in OpenSSL
9784ae6
  - Adds debug symbols when building with MSVC
9784ae6
  - Adds support for building on the 3DS
9784ae6
  - Adds unicode build support on Windows
9784ae6
  - Restores os400 building
9784ae6
  - Increases min, max and opt Diffie Hellman group values
9784ae6
  - Improves portability of the make file
9784ae6
  - Improves timeout behaviour with 2FA keyboard auth
9784ae6
  - Various improvements to the Wincng backend
9784ae6
  - Fixes reading partial packet replies when using an agent
9784ae6
  - Fixes Diffie Hellman key exchange on Windows 1903+ builds
9784ae6
  - Fixes building tests with older versions of OpenSSL
9784ae6
  - Fixes possible multiple definition warnings
9784ae6
  - Fixes potential cast issues _libssh2_ecdsa_key_get_curve_type()
9784ae6
  - Fixes potential use after free if libssh2_init() is called twice
9784ae6
  - Improved linking when using Mbed TLS
9784ae6
  - Fixes call to libssh2_crypto_exit() if crypto hasn't been initialized
9784ae6
  - Fixes crash when loading public keys with no id
9784ae6
  - Fixes possible out of bounds read when exchanging keys
9784ae6
  - Fixes possible out of bounds read when reading packets
9784ae6
  - Fixes possible out of bounds read when opening an X11 connection
9784ae6
  - Fixes possible out of bounds read when ecdh host keys
9784ae6
  - Fixes possible hang when trying to read a disconnected socket
9784ae6
  - Fixes a crash when using the delayed compression option
9784ae6
  - Fixes read error with large known host entries
9784ae6
  - Fixes various warnings
9784ae6
  - Fixes various small memory leaks
9784ae6
  - Improved error handling, various detailed errors will now be reported
9784ae6
  - Builds are now using OSS-Fuzz
9784ae6
  - Builds now use autoreconf instead of a custom build script
9784ae6
  - cmake now respects install directory
9784ae6
  - Improved CI backend
9784ae6
  - Updated HACKING-CRYPTO documentation
9784ae6
  - Use markdown file extensions
9784ae6
  - Improved unit tests
9784ae6
258ac8b
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-8
258ac8b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
258ac8b
e0deb7c
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-7
e0deb7c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
e0deb7c
f7ade19
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-6
f7ade19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
f7ade19
f336757
* Fri Mar 27 2020 Paul Howarth <paul@city-fan.org> - 1.9.0-5
f336757
- Switch to https:// upstream URLs
9974fca
- Full groff (not just groff-base) needed for the mansyntax check
f336757
4d27689
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-4
4d27689
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
4d27689
41525ba
* Wed Oct 30 2019 Kamil Dudka <kdudka@redhat.com> - 1.9.0-3
f336757
- Fix integer overflow in SSH_MSG_DISCONNECT logic (CVE-2019-17498)
41525ba
3d91502
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-2
3d91502
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
3d91502
8f106e1
* Thu Jun 20 2019 Paul Howarth <paul@city-fan.org> - 1.9.0-1
8f106e1
- Update to 1.9.0
6957951
  - Fixed integer overflow leading to out-of-bounds read (CVE-2019-13115)
8f106e1
  - Adds ECDSA keys and host key support when using OpenSSL
8f106e1
  - Adds ED25519 key and host key support when using OpenSSL 1.1.1
8f106e1
  - Adds OpenSSH style key file reading
8f106e1
  - Adds AES CTR mode support when using WinCNG
8f106e1
  - Adds PEM passphrase protected file support for libgcrypt and WinCNG
8f106e1
  - Adds SHA256 hostkey fingerprint
8f106e1
  - Adds libssh2_agent_get_identity_path() and libssh2_agent_set_identity_path()
8f106e1
  - Adds explicit zeroing of sensitive data in memory
8f106e1
  - Adds additional bounds checks to network buffer reads
8f106e1
  - Adds the ability to use the server default permissions when creating sftp directories
8f106e1
  - Adds support for building with OpenSSL no engine flag
8f106e1
  - Adds support for building with LibreSSL
8f106e1
  - Increased sftp packet size to 256k
8f106e1
  - Fixed oversized packet handling in sftp
8f106e1
  - Fixed building with OpenSSL 1.1
8f106e1
  - Fixed a possible crash if sftp stat gets an unexpected response
8f106e1
  - Fixed incorrect parsing of the KEX preference string value
8f106e1
  - Fixed conditional RSA and AES-CTR support
8f106e1
  - Fixed a small memory leak during the key exchange process
8f106e1
  - Fixed a possible memory leak of the ssh banner string
8f106e1
  - Fixed various small memory leaks in the backends
8f106e1
  - Fixed possible out of bounds read when parsing public keys from the server
8f106e1
  - Fixed possible out of bounds read when parsing invalid PEM files
8f106e1
  - No longer null terminates the scp remote exec command
8f106e1
  - Now handle errors when Diffie Hellman key pair generation fails
8f106e1
  - Fixed compiling on Windows with the flag STDCALL=ON
8f106e1
  - Improved building instructions
8f106e1
  - Improved unit tests
8f106e1
- Needs OpenSSL ≥ 1.0.1 now as ECC support is assumed
8f106e1
- Modernize spec somewhat as EL-6 can no longer be supported
8f106e1
69ee8f7
* Tue Mar 26 2019 Paul Howarth <paul@city-fan.org> - 1.8.2-1
69ee8f7
- Update to 1.8.2
69ee8f7
  - Fixed the misapplied userauth patch that broke 1.8.1
69ee8f7
  - Moved the MAX size declarations from the public header
69ee8f7
7dfb17d
* Tue Mar 19 2019 Paul Howarth <paul@city-fan.org> - 1.8.1-1
7dfb17d
- Update to 1.8.1
7dfb17d
  - Fixed possible integer overflow when reading a specially crafted packet
7dfb17d
    (CVE-2019-3855)
7dfb17d
  - Fixed possible integer overflow in userauth_keyboard_interactive with a
7dfb17d
    number of extremely long prompt strings (CVE-2019-3863)
7dfb17d
  - Fixed possible integer overflow if the server sent an extremely large
7dfb17d
    number of keyboard prompts (CVE-2019-3856)
7dfb17d
  - Fixed possible out of bounds read when processing a specially crafted
7dfb17d
    packet (CVE-2019-3861)
7dfb17d
  - Fixed possible integer overflow when receiving a specially crafted exit
7dfb17d
    signal message channel packet (CVE-2019-3857)
7dfb17d
  - Fixed possible out of bounds read when receiving a specially crafted exit
7dfb17d
    status message channel packet (CVE-2019-3862)
7dfb17d
  - Fixed possible zero byte allocation when reading a specially crafted SFTP
7dfb17d
    packet (CVE-2019-3858)
7dfb17d
  - Fixed possible out of bounds reads when processing specially crafted SFTP
7dfb17d
    packets (CVE-2019-3860)
7dfb17d
  - Fixed possible out of bounds reads in _libssh2_packet_require(v)
7dfb17d
    (CVE-2019-3859)
7dfb17d
- Fix mis-applied patch in the fix of CVE-2019-3859
7dfb17d
  - https://github.com/libssh2/libssh2/issues/325
7dfb17d
  - https://github.com/libssh2/libssh2/pull/327
7dfb17d
ab0e53a
* Mon Feb  4 2019 Paul Howarth <paul@city-fan.org> - 1.8.0-10
ab0e53a
- Explicitly run the test suite in the en_US.UTF-8 locale to work around flaky
ab0e53a
  locale settings in mock builders
ab0e53a
4fcb4f9
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-9
4fcb4f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
4fcb4f9
d1bae72
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-8
d1bae72
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
d1bae72
339e430
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-7
339e430
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
339e430
2ee9663
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.8.0-6
2ee9663
- Switch to %%ldconfig_scriptlets
2ee9663
af56e49
* Tue Sep 12 2017 Paul Howarth <paul@city-fan.org> - 1.8.0-5
af56e49
- scp: Do not NUL-terminate the command for remote exec (#1489736, GH#208)
af56e49
- Make devel package dependency on main package arch-specific
af56e49
- Drop EL-5 support
af56e49
  - noarch sub-packages always available now
af56e49
  - Drop legacy Group: and BuildRoot: tags
af56e49
  - Drop explicit buildroot cleaning
af56e49
  - %%{__isa_bits} always defined now
af56e49
29d026f
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-4
29d026f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
29d026f
30a5673
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-3
30a5673
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
30a5673
e44a6af
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-2
e44a6af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e44a6af
a9c954e
* Tue Oct 25 2016 Paul Howarth <paul@city-fan.org> - 1.8.0-1
a9c954e
- Update to 1.8.0
a9c954e
  - Added a basic dockerised test suite
a9c954e
  - crypto: Add support for the mbedTLS backend
a9c954e
  - See RELEASE-NOTES for details of bug fixes
a9c954e
999a09c
* Thu Oct 20 2016 Kamil Dudka <kdudka@redhat.com> - 1.7.0-7
a9c954e
- Make curl test-suite work again with valgrind enabled
999a09c
975ba11
* Tue Oct 11 2016 Tomáš Mráz <tmraz@redhat.com> - 1.7.0-6
a9c954e
- Rebuild with OpenSSL 1.1.0
975ba11
f8c7ae2
* Sun Mar  6 2016 Paul Howarth <paul@city-fan.org> - 1.7.0-5
f8c7ae2
- Revert parts of previous change that broke EL-5 compatibility
f8c7ae2
- Include NEWS in docs package, it's much more than RELEASE-NOTES
f8c7ae2
f8c7ae2
* Sat Mar  5 2016 Peter Robinson <pbrobinson@fedoraproject.org> - 1.7.0-4
0355577
- Modernise spec (no we really don't care about el4/fc4)
0355577
- Don't ship ChangeLog/NEWS, duplicates of RELEASE-NOTES
0355577
f9f6b45
* Wed Feb 24 2016 Paul Howarth <paul@city-fan.org> - 1.7.0-3
f9f6b45
- Drop UTF-8 patch, which breaks things rather than fixes them
f9f6b45
2d448ce
* Wed Feb 24 2016 Kamil Dudka <kdudka@redhat.com> - 1.7.0-2
2d448ce
- diffie_hellman_sha1: Convert bytes to bits (additional fix for CVE-2016-0787)
2d448ce
0587739
* Tue Feb 23 2016 Paul Howarth <paul@city-fan.org> - 1.7.0-1
0587739
- Update to 1.7.0
0587739
  - diffie_hellman_sha256: Convert bytes to bits (CVE-2016-0787); see
0587739
    http://www.libssh2.org/adv_20160223.html
0587739
  - libssh2_session_set_last_error: Add function
0587739
  - See RELEASE-NOTES for details of bug fixes
0587739
1ce9bf4
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-4
1ce9bf4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
1ce9bf4
eb27184
* Tue Nov 10 2015 Paul Howarth <paul@city-fan.org> - 1.6.0-3
eb27184
- Fix pkg-config --libs output (#1279966)
eb27184
576be02
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-2
576be02
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
576be02
80ed1cc
* Sun Jun 14 2015 Paul Howarth <paul@city-fan.org> - 1.6.0-1
80ed1cc
- Update to 1.6.0
80ed1cc
  - Added CMake build system
80ed1cc
  - Added libssh2_userauth_publickey_frommemory()
80ed1cc
  - See RELEASE-NOTES for details of bug fixes
80ed1cc
33cf970
* Wed Mar 11 2015 Paul Howarth <paul@city-fan.org> - 1.5.0-1
33cf970
- Update to 1.5.0
33cf970
  - See RELEASE-NOTES for details of bug fixes and enhancements
33cf970
  - Security Advisory for CVE-2015-1782, using SSH_MSG_KEXINIT data unbounded
33cf970
384b1c0
* Fri Oct 10 2014 Kamil Dudka <kdudka@redhat.com> 1.4.3-16
384b1c0
- prevent a not-connected agent from closing STDIN (#1147717)
384b1c0
aa67a47
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.3-15
aa67a47
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
aa67a47
a53677d
* Fri Jul 18 2014 Tom Callaway <spot@fedoraproject.org> - 1.4.3-14
a53677d
- fix license handling
a53677d
d7ba310
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.3-13
d7ba310
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
d7ba310
5881ed4
* Wed Apr 30 2014 Kamil Dudka <kdudka@redhat.com> 1.4.3-12
5881ed4
- Fix curl's excessive memory consumption during scp download
5881ed4
0908d2f
* Mon Feb 17 2014 Paul Howarth <paul@city-fan.org> - 1.4.3-11
0908d2f
- The aarch64 buildroot seems to have the same locale issue as the PPC one
0908d2f
fc169ae
* Mon Feb 17 2014 Karsten Hopp <karsten@redhat.com> 1.4.3-10
0908d2f
- Next attempt to work around a self check problem on PPC*
fc169ae
0816533
* Mon Feb 17 2014 Karsten Hopp <karsten@redhat.com> 1.4.3-9
0908d2f
- Skip self checks on ppc*
0816533
68034f3
* Wed Aug 14 2013 Kamil Dudka <kdudka@redhat.com> 1.4.3-8
0908d2f
- Fix very slow sftp upload to localhost
0908d2f
- Fix a use after free in channel.c
68034f3
bddd40f
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.3-7
bddd40f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
bddd40f
10b73a0
* Tue Apr  9 2013 Paul Howarth <paul@city-fan.org> 1.4.3-6
10b73a0
- Revert 'Modernize the spec file' so as to retain EL-5 spec compatibility
10b73a0
e533939
* Tue Apr  9 2013 Richard W.M. Jones <rjones@redhat.com> 1.4.3-5
0908d2f
- Add three patches from upstream git required for qemu ssh block driver
e533939
- Modernize the spec file:
0908d2f
  * Remove BuildRoot
0908d2f
  * Remove Group
0908d2f
  * Remove clean section
0908d2f
  * Don't need to clean up buildroot before installing
e533939
7899b80
* Wed Apr  3 2013 Paul Howarth <paul@city-fan.org> 1.4.3-4
7899b80
- Avoid polluting libssh2.pc with linker options (#947813)
7899b80
abdd90b
* Tue Mar 26 2013 Kamil Dudka <kdudka@redhat.com> 1.4.3-3
7899b80
- Avoid collisions between 32-bit and 64-bit builds running on a single build
7899b80
  host
abdd90b
8cfe889
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.3-2
8cfe889
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
8cfe889
c256d18
* Wed Nov 28 2012 Paul Howarth <paul@city-fan.org> 1.4.3-1
c256d18
- Update to 1.4.3
c256d18
  - compression: add support for zlib@openssh.com
c256d18
  - sftp_read: return error if a too large package arrives
c256d18
  - libssh2_hostkey_hash.3: update the description of return value
c256d18
  - Fixed MSVC NMakefile
c256d18
  - examples: use stderr for messages, stdout for data
c256d18
  - openssl: do not leak memory when handling errors
c256d18
  - improved handling of disabled MD5 algorithm in OpenSSL
c256d18
  - known_hosts: Fail when parsing unknown keys in known_hosts file
c256d18
  - configure: gcrypt doesn't come with pkg-config support
c256d18
  - session_free: wrong variable used for keeping state
c256d18
  - libssh2_userauth_publickey_fromfile_ex.3: mention publickey == NULL
c256d18
  - comp_method_zlib_decomp: handle Z_BUF_ERROR when inflating
c256d18
- Drop upstreamed patches
c256d18
4e05bd0
* Wed Nov 07 2012 Kamil Dudka <kdudka@redhat.com> 1.4.2-4
4e05bd0
- examples: use stderr for messages, stdout for data (upstream commit b31e35ab)
c256d18
- Update libssh2_hostkey_hash(3) man page (upstream commit fe8f3deb)
4e05bd0
8576e20
* Wed Sep 26 2012 Kamil Dudka <kdudka@redhat.com> 1.4.2-3
c256d18
- Fix basic functionality of libssh2 in FIPS mode
c256d18
- Skip SELinux-related quirks on recent distros to prevent a test-suite failure
8576e20
b1dbb78
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.2-2
b1dbb78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b1dbb78
8e792e7
* Sun May 20 2012 Paul Howarth <paul@city-fan.org> 1.4.2-1
8e792e7
- Update to 1.4.2
8e792e7
  - Return LIBSSH2_ERROR_SOCKET_DISCONNECT on EOF when reading banner
8e792e7
  - userauth.c: fread() from public key file to correctly detect any errors
8e792e7
  - configure.ac: add option to disable build of the example applications
8e792e7
  - added 'Requires.private:' line to libssh2.pc
8e792e7
  - SFTP: filter off incoming "zombie" responses
8e792e7
  - gettimeofday: no need for a replacement under cygwin
8e792e7
  - SSH_MSG_CHANNEL_REQUEST: default to want_reply
8e792e7
  - win32/libssh2_config.h: remove hardcoded #define LIBSSH2_HAVE_ZLIB
8e792e7
a352ea2
* Fri Apr 27 2012 Paul Howarth <paul@city-fan.org> 1.4.1-2
a352ea2
- Fix multi-arch conflict again (#816969)
a352ea2
e3d0f1a
* Thu Apr  5 2012 Paul Howarth <paul@city-fan.org> 1.4.1-1
e3d0f1a
- Update to 1.4.1
e3d0f1a
  - Build error with gcrypt backend
e3d0f1a
  - Always do "forced" window updates to avoid corner case stalls
e3d0f1a
  - aes: the init function fails when OpenSSL has AES support
e3d0f1a
  - transport_send: finish in-progress key exchange before sending data
e3d0f1a
  - channel_write: acknowledge transport errors
e3d0f1a
  - examples/x11.c: make sure sizeof passed to read operation is correct
e3d0f1a
  - examples/x11.c: fix suspicious sizeof usage
e3d0f1a
  - sftp_packet_add: verify the packet before accepting it
e3d0f1a
  - SFTP: preserve the original error code more
e3d0f1a
  - sftp_packet_read: adjust window size as necessary
e3d0f1a
  - Use safer snprintf rather then sprintf in several places
e3d0f1a
  - Define and use LIBSSH2_INVALID_SOCKET instead of INVALID_SOCKET
e3d0f1a
  - sftp_write: cannot return acked data *and* EAGAIN
e3d0f1a
  - sftp_read: avoid data *and* EAGAIN
e3d0f1a
  - libssh2.h: add missing prototype for libssh2_session_banner_set()
e3d0f1a
- Drop upstream patches now included in release tarball
e3d0f1a
8e8214a
* Mon Mar 19 2012 Kamil Dudka <kdudka@redhat.com> 1.4.0-4
8e8214a
- Don't ignore transport errors when writing to channel (#804150)
8e8214a
1d6da84
* Sun Mar 18 2012 Paul Howarth <paul@city-fan.org> 1.4.0-3
1d6da84
- Don't try to use openssl's AES-CTR functions
1d6da84
  (http://www.libssh2.org/mail/libssh2-devel-archive-2012-03/0111.shtml)
1d6da84
12e9f5a
* Fri Mar 16 2012 Paul Howarth <paul@city-fan.org> 1.4.0-2
12e9f5a
- fix libssh2 failing key re-exchange when write channel is saturated (#804156)
12e9f5a
- drop %%defattr, redundant since rpm 4.4
12e9f5a
d2c802f
* Wed Feb  1 2012 Paul Howarth <paul@city-fan.org> 1.4.0-1
d2c802f
- update to 1.4.0
d2c802f
  - added libssh2_session_supported_algs()
d2c802f
  - added libssh2_session_banner_get()
d2c802f
  - added libssh2_sftp_get_channel()
d2c802f
  - libssh2.h: bump the default window size to 256K
d2c802f
  - sftp-seek: clear EOF flag
d2c802f
  - userauth: provide more informations if ssh pub key extraction fails
d2c802f
  - ssh2_exec: skip error outputs for EAGAIN
d2c802f
  - LIBSSH2_SFTP_PACKET_MAXLEN: increase to 80000
d2c802f
  - knownhost_check(): don't dereference ext if NULL is passed
d2c802f
  - knownhost_add: avoid dereferencing uninitialized memory on error path
d2c802f
  - OpenSSL EVP: fix threaded use of structs
d2c802f
  - _libssh2_channel_read: react on errors from receive_window_adjust
d2c802f
  - sftp_read: cap the read ahead maximum amount
af56e49
  - _libssh2_channel_read: fix non-blocking window adjusting
d2c802f
- add upstream patch fixing undefined function reference in libgcrypt backend
d2c802f
- BR: /usr/bin/man for test suite
d2c802f
d70bd6d
* Sun Jan 15 2012 Peter Robinson <pbrobinson@fedoraproject.org> 1.3.0-4
4256e1a
- skip the ssh test on ARM too
d70bd6d
edbbfd7
* Fri Jan 13 2012 Paul Howarth <paul@city-fan.org> 1.3.0-3
edbbfd7
- make docs package noarch where possible
980b476
- example includes arch-specific bits, so move to devel package
edbbfd7
- use patch rather than scripted iconv to fix character encoding
edbbfd7
- don't make assumptions about SELinux context types used for the ssh server
edbbfd7
  in the test suite
edbbfd7
- skip the ssh test if /dev/tty isn't present, as in some versions of mock
edbbfd7
- make the %%files list more explicit
2981c21
- use tabs for indentation
edbbfd7
edbbfd7
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 1.3.0-2
edbbfd7
- rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
b46de2a
13e3a89
* Thu Sep 08 2011 Kamil Dudka <kdudka@redhat.com> 1.3.0-1
13e3a89
- update to 1.3.0
13e3a89
edbbfd7
* Sat Jun 25 2011 Dennis Gilmore <dennis@ausil.us> 1.2.7-2
d8deb37
- sshd/loopback test fails in the sparc buildsystem
d8deb37
9936af4
* Tue Oct 12 2010 Kamil Dudka <kdudka@redhat.com> 1.2.7-1
9936af4
- update to 1.2.7 (#632916)
9936af4
- avoid multilib conflict on libssh2-docs
9936af4
- avoid build failure in mock with SELinux in the enforcing mode (#558964)
9936af4
Chris Weyl 92c18b1
* Fri Mar 12 2010 Chris Weyl <cweyl@alumni.drew.edu> 1.2.4-1
Chris Weyl 92c18b1
- update to 1.2.4
Chris Weyl 92c18b1
- drop old patch0
Chris Weyl 92c18b1
- be more aggressive about keeping .deps from intruding into -docs
Chris Weyl 92c18b1
Chris Weyl e9dc94c
* Wed Jan 20 2010 Chris Weyl <cweyl@alumni.drew.edu> 1.2.2-5
Chris Weyl e9dc94c
- pkgconfig dep should be with -devel, not -docs
Chris Weyl e9dc94c
Chris Weyl ce5ce38
* Mon Jan 18 2010 Chris Weyl <cweyl@alumni.drew.edu> 1.2.2-4
Chris Weyl ce5ce38
- enable tests; conditionalize sshd test, which fails with a funky SElinux
Chris Weyl ce5ce38
  error when run locally
Chris Weyl ce5ce38
Chris Weyl 8d25ddb
* Mon Jan 18 2010 Chris Weyl <cweyl@alumni.drew.edu> 1.2.2-3
Chris Weyl 8d25ddb
- patch w/1aba38cd7d2658146675ce1737e5090f879f306; not yet in a GA release
Chris Weyl 8d25ddb
Chris Weyl 4358534
* Thu Jan 14 2010 Chris Weyl <cweyl@alumni.drew.edu> 1.2.2-2
Chris Weyl 4358534
- correct bad file entry under -devel
Chris Weyl 4358534
Chris Weyl 3265846
* Thu Jan 14 2010 Chris Weyl <cweyl@alumni.drew.edu> 1.2.2-1
Chris Weyl 3265846
- update to 1.2.2
Chris Weyl 3265846
- drop old patch now in upstream
Chris Weyl 3265846
- add new pkgconfig file to -devel
Chris Weyl 3265846
Chris Weyl 6b0d8a1
* Mon Sep 21 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.2-2
Chris Weyl 6b0d8a1
- patch based on 683aa0f6b52fb1014873c961709102b5006372fc
Chris Weyl 6b0d8a1
- disable tests (*sigh*)
Chris Weyl 6b0d8a1
Chris Weyl 6b0d8a1
* Tue Aug 25 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.2-1
Chris Weyl 6b0d8a1
- update to 1.2
Chris Weyl 6b0d8a1
8eb74aa
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 1.0-4
8eb74aa
- rebuilt with new openssl
8eb74aa
b0c3267
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-3
b0c3267
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
b0c3267
ea10ac3
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2
ea10ac3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
ea10ac3
Chris Weyl 5f58f79
* Mon Feb 16 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.0-1
Chris Weyl 5f58f79
- update to 1.0
Chris Weyl 5f58f79
5bb5071
* Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> - 0.18-8
5bb5071
- rebuild with new openssl
5bb5071
2572431
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.18-7
2572431
- Autorebuild for GCC 4.3
2572431
Chris Weyl a74497a
* Wed Dec 05 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.18-6
Chris Weyl a74497a
- rebuild for new openssl...
Chris Weyl a74497a
Chris Weyl ca69061
* Tue Nov 27 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.18-5
Chris Weyl ca69061
- bump
Chris Weyl ca69061
Chris Weyl 579bb92
* Tue Nov 27 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.18-4
Chris Weyl 579bb92
- add INSTALL arg to make install vs env. var
Chris Weyl 579bb92
Chris Weyl 579bb92
* Mon Nov 26 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.18-3
Chris Weyl 579bb92
- run tests; don't package test
Chris Weyl 579bb92
Chris Weyl 579bb92
* Sun Nov 18 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.18-2
Chris Weyl 579bb92
- split docs into -docs (they seemed... large.)
Chris Weyl 579bb92
Chris Weyl 579bb92
* Tue Nov 13 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.18-1
Chris Weyl 579bb92
- update to 0.18
Chris Weyl 579bb92
Chris Weyl 579bb92
* Sun Oct 14 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.17-1
Chris Weyl 579bb92
- update to 0.17
Chris Weyl 579bb92
- many spec file changes
Chris Weyl 579bb92
Chris Weyl 579bb92
* Wed May 23 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.15-0.2.20070506
Chris Weyl 579bb92
- Fix release tag
Chris Weyl 579bb92
- Move manpages to -devel package
Chris Weyl 579bb92
- Add Examples dir to -devel package
Chris Weyl 579bb92
Chris Weyl 579bb92
* Sun May 06 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.15-0.20070506.1
Chris Weyl 579bb92
- Initial build