Commit Graph

73 Commits

Author SHA1 Message Date
Paul Howarth f9f6b45015 Drop UTF-8 patch, which breaks things rather than fixes them 2016-02-24 12:12:23 +00:00
Kamil Dudka 2d448ce083 Resolves: CVE-2016-0787 - diffie_hellman_sha1: Convert bytes to bits 2016-02-24 09:08:02 +01:00
Paul Howarth 0587739ebe 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
2016-02-23 10:55:39 +00:00
Dennis Gilmore 1ce9bf4210 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 03:58:15 +00:00
Paul Howarth eb27184133 Fix pkg-config --libs output (#1279966) 2015-11-11 11:34:14 +00:00
Dennis Gilmore 576be02309 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 17:21:55 +00:00
Paul Howarth 80ed1ccaeb Update to 1.6.0
- New upstream release 1.6.0
  - Added CMake build system
  - Added libssh2_userauth_publickey_frommemory()
  - See RELEASE-NOTES for details of bug fixes
2015-06-14 17:35:46 +01:00
Paul Howarth 62cea02db3 Merge branch 'master' into f21
Conflicts:
	libssh2.spec
2015-03-11 10:55:17 +00:00
Paul Howarth 33cf9702d8 Update to 1.5.0
- New upstream release 1.5.0
  - See RELEASE-NOTES for details of bug fixes and enhancements
  - Security Advisory for CVE-2015-1782, using SSH_MSG_KEXINIT data unbounded
2015-03-11 10:33:45 +00:00
Kamil Dudka 61ab33f548 Resolves: #1147717 - prevent a not-connected agent from closing STDIN 2014-10-10 13:25:08 +02:00
Kamil Dudka 384b1c0765 Resolves: #1147717 - prevent a not-connected agent from closing STDIN 2014-10-10 13:22:55 +02:00
Peter Robinson 48f7eb2d50 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-17 06:10:03 +00:00
Peter Robinson aa67a47340 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-17 06:09:50 +00:00
Tom Callaway f3791deea4 fix license handling 2014-07-18 15:23:59 -04:00
Tom Callaway a53677d01b fix license handling 2014-07-18 15:23:38 -04:00
Dennis Gilmore d7ba3102d3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 00:34:36 -05:00
Kamil Dudka 5881ed4686 Fix curl's excessive memory consumption during scp download 2014-04-30 15:06:59 +02:00
Paul Howarth 0908d2fabd The aarch64 buildroot seems to have the same locale issue as the PPC one 2014-02-17 16:19:16 +00:00
Karsten Hopp fc169ae47c next attempt to work around a self check problem on PPC* 2014-02-17 15:39:41 +01:00
Karsten Hopp 0816533a63 skip self checks on ppc* 2014-02-17 14:26:40 +01:00
Kamil Dudka 343e650ca6 fix a use after free in channel.c 2013-08-14 17:54:06 +02:00
Kamil Dudka 68034f3fb2 fix very slow sftp upload to localhost 2013-08-14 17:52:22 +02:00
Dennis Gilmore bddd40fef5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 02:06:55 -05:00
Paul Howarth 10b73a08d7 Revert 'Modernize the spec file' so as to retain EL-5 spec compatibility 2013-04-09 16:47:40 +01:00
Richard W.M. Jones fe8b55ff64 Add three patches from upstream git required for qemu ssh block driver. 2013-04-09 16:01:28 +01:00
Richard W.M. Jones e53393977d Modernize the spec file:
* Remove BuildRoot.
  * Remove Group.
  * Remove clean section.
  * Don't need to clean up buildroot before installing.
2013-04-09 15:57:01 +01:00
Paul Howarth 7899b8095f Avoid polluting libssh2.pc with linker options (#947813) 2013-04-03 12:25:16 +01:00
Paul Howarth 976807eeb4 Retain EL-5 compatibility 2013-03-26 14:56:04 +00:00
Kamil Dudka abdd90b894 avoid collisions between 32bit and 64bit builds
... running on a single build-host
2013-03-26 13:43:20 +01:00
Dennis Gilmore 8cfe889c9e - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-13 23:17:48 -06:00
Paul Howarth c256d188f4 Update to 1.4.3
- New upstream release 1.4.3
  - compression: add support for zlib@openssh.com
  - sftp_read: return error if a too large package arrives
  - libssh2_hostkey_hash.3: update the description of return value
  - Fixed MSVC NMakefile
  - examples: use stderr for messages, stdout for data
  - openssl: do not leak memory when handling errors
  - improved handling of disabled MD5 algorithm in OpenSSL
  - known_hosts: Fail when parsing unknown keys in known_hosts file
  - configure: gcrypt doesn't come with pkg-config support
  - session_free: wrong variable used for keeping state
  - libssh2_userauth_publickey_fromfile_ex.3: mention publickey == NULL
  - comp_method_zlib_decomp: handle Z_BUF_ERROR when inflating
- Drop upstreamed patches
2012-11-28 12:47:04 +00:00
Kamil Dudka 91ca20147c update libssh2_hostkey_hash(3) man page
[upstream commit fe8f3deb]
2012-11-07 15:35:06 +01:00
Kamil Dudka 4e05bd07c3 examples: use stderr for messages, stdout for data
[upstream commit b31e35ab]
2012-11-07 15:34:30 +01:00
Kamil Dudka 15d584a147 defuzz patches 2012-10-01 12:42:40 +02:00
Kamil Dudka 529c6ce524 skip SELinux-related quirks on recent distros
... to prevent a test-suite failure
2012-10-01 12:40:10 +02:00
Kamil Dudka 8576e20313 fix basic functionality of libssh2 in FIPS mode 2012-10-01 12:39:11 +02:00
Dennis Gilmore b1dbb78e83 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-19 16:17:19 -05:00
Paul Howarth 8e792e752c Update to 1.4.2
- New upstream release 1.4.2
  - Return LIBSSH2_ERROR_SOCKET_DISCONNECT on EOF when reading banner
  - userauth.c: fread() from public key file to correctly detect any errors
  - configure.ac: add option to disable build of the example applications
  - added 'Requires.private:' line to libssh2.pc
  - SFTP: filter off incoming "zombie" responses
  - gettimeofday: no need for a replacement under cygwin
  - SSH_MSG_CHANNEL_REQUEST: default to want_reply
  - win32/libssh2_config.h: remove hardcoded #define LIBSSH2_HAVE_ZLIB
2012-05-20 22:08:23 +01:00
Paul Howarth a352ea2406 Fix multi-arch conflict again (#816969) 2012-04-27 13:21:06 +01:00
Paul Howarth e3d0f1a309 Update to 1.4.1
- New upstream release 1.4.1
  - Build error with gcrypt backend
  - Always do "forced" window updates to avoid corner case stalls
  - aes: the init function fails when OpenSSL has AES support
  - transport_send: finish in-progress key exchange before sending data
  - channel_write: acknowledge transport errors
  - examples/x11.c: make sure sizeof passed to read operation is correct
  - examples/x11.c: fix suspicious sizeof usage
  - sftp_packet_add: verify the packet before accepting it
  - SFTP: preserve the original error code more
  - sftp_packet_read: adjust window size as necessary
  - Use safer snprintf rather then sprintf in several places
  - Define and use LIBSSH2_INVALID_SOCKET instead of INVALID_SOCKET
  - sftp_write: cannot return acked data *and* EAGAIN
  - sftp_read: avoid data *and* EAGAIN
  - libssh2.h: add missing prototype for libssh2_session_banner_set()
- Drop upstream patches now included in release tarball
2012-04-05 10:46:49 +01:00
Kamil Dudka 8e8214ab77 Don't ignore transport errors when writing to channel (#804150) 2012-03-19 15:03:20 +01:00
Paul Howarth 1d6da849c3 Don't try to use openssl's AES-CTR functions
The code supporting openssl's AES-CTR functions does not currently work:
(http://www.libssh2.org/mail/libssh2-devel-archive-2012-03/0111.shtml)
2012-03-18 14:53:07 +00:00
Paul Howarth 12e9f5a79f Fix libssh2 failing key re-exchange when write channel is saturated (#804156) 2012-03-16 19:24:57 +00:00
Paul Howarth d2c802f8e0 Update to 1.4.0
- Update to 1.4.0
  - Added libssh2_session_supported_algs()
  - Added libssh2_session_banner_get()
  - Added libssh2_sftp_get_channel()
  - libssh2.h: bump the default window size to 256K
  - sftp-seek: clear EOF flag
  - userauth: provide more informations if ssh pub key extraction fails
  - ssh2_exec: skip error outputs for EAGAIN
  - LIBSSH2_SFTP_PACKET_MAXLEN: increase to 80000
  - knownhost_check(): don't dereference ext if NULL is passed
  - knownhost_add: avoid dereferencing uninitialized memory on error path
  - OpenSSL EVP: fix threaded use of structs
  - _libssh2_channel_read: react on errors from receive_window_adjust
  - sftp_read: cap the read ahead maximum amount
  - _libssh2_channel_read: fix non-blocking window adjusting
- Add upstream patch fixing undefined function reference in libgcrypt backend
- BR: /usr/bin/man for test suite
2012-02-01 11:06:03 +00:00
Paul Howarth 4256e1a18e Comment clean-up 2012-01-16 09:24:22 +00:00
Peter Robinson d70bd6d322 Disable some tests on ARM 2012-01-15 23:11:01 +00:00
Paul Howarth 980b4761ee example includes arch-specific bits, so move to devel package 2012-01-13 17:14:29 +00:00
Paul Howarth 2981c211df use tabs for indentation 2012-01-13 16:05:02 +00:00
Paul Howarth edbbfd779a Spec clean-up
- make docs package noarch where possible
- use patch rather than scripted iconv to fix character encoding
- don't make assumptions about SELinux context types used for the ssh server
  in the test suite
- skip the ssh test if /dev/tty isn't present, as in some versions of mock
- make the %files list more explicit
2012-01-13 16:01:35 +00:00
Dennis Gilmore b46de2ab55 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-13 02:29:01 -06:00