2981c21
Name:		libssh2
8f106e1
Version:	1.9.0
e0deb7c
Release:	7%{?dist}
2981c21
Summary:	A library implementing the SSH2 protocol
2981c21
License:	BSD
f336757
URL:		https://www.libssh2.org/
f336757
Source0:	https://libssh2.org/download/libssh2-%{version}.tar.gz
0355577
f336757
# Fix integer overflow in SSH_MSG_DISCONNECT logic (CVE-2019-17498)
f336757
Patch1:		0001-libssh2-1.9.0-CVE-2019-17498.patch
41525ba
0587739
BuildRequires:	coreutils
0587739
BuildRequires:	findutils
0587739
BuildRequires:	gcc
0587739
BuildRequires:	make
8f106e1
BuildRequires:	openssl-devel > 1:1.0.1
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
Chris Weyl 579bb92
%setup -q
41525ba
%patch1 -p1
Chris Weyl 579bb92
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
af56e49
sed -i s/4711/47%{__isa_bits}/ tests/ssh2.{c,sh}
abdd90b
Chris Weyl 579bb92
%build
0587739
%configure --disable-silent-rules --disable-static --enable-shared
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
Chris Weyl 579bb92
# clean things up a bit for packaging
edbbfd7
make -C example clean
edbbfd7
rm -rf example/.deps
0355577
find example/ -type f '(' -name '*.am' -o -name '*.in' ')' -delete
Chris Weyl 579bb92
980b476
# avoid multilib conflict on libssh2-devel
a352ea2
mv -v example example.%{_arch}
9936af4
Chris Weyl 579bb92
%check
0908d2f
echo "Running tests for %{_arch}"
edbbfd7
# The SSH test will fail if we don't have /dev/tty, as is the case in some
edbbfd7
# versions of mock (#672713)
edbbfd7
if [ ! -c /dev/tty ]; then
2981c21
	echo Skipping SSH test due to missing /dev/tty
2981c21
	echo "exit 0" > tests/ssh2.sh
edbbfd7
fi
fc169ae
# Apparently it fails in the sparc and arm buildsystems too
fc169ae
%ifarch %{sparc} %{arm}
4256e1a
echo Skipping SSH test on sparc/arm
d8deb37
echo "exit 0" > tests/ssh2.sh
d8deb37
%endif
0908d2f
# mansyntax check fails on PPC* and aarch64 with some strange locale error
0908d2f
%ifarch ppc %{power64} aarch64
0908d2f
echo "Skipping mansyntax test on PPC* and aarch64"
fc169ae
echo "exit 0" > tests/mansyntax.sh
fc169ae
%endif
ab0e53a
LC_ALL=en_US.UTF-8 make -C tests check
Chris Weyl 579bb92
2ee9663
%ldconfig_scriptlets
Chris Weyl 579bb92
Chris Weyl 579bb92
%files
0355577
%{!?_licensedir:%global license %%doc}
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
f8c7ae2
%doc docs/BINDINGS docs/HACKING 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
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