2016-03-06 11:56:26 +00:00
|
|
|
# Fedora 10 onwards support noarch subpackages; by using one, we can
|
|
|
|
# put the arch-independent docs in a common subpackage and save lots
|
|
|
|
# of space on the mirrors
|
|
|
|
%if 0%{?fedora} > 9 || 0%{?rhel} > 5
|
|
|
|
%global noarch_docs_package 1
|
|
|
|
%else
|
|
|
|
%global noarch_docs_package 0
|
|
|
|
%endif
|
|
|
|
|
2013-03-26 14:56:04 +00:00
|
|
|
# Define %%{__isa_bits} for old releases
|
|
|
|
%{!?__isa_bits: %global __isa_bits %((echo '#include <bits/wordsize.h>'; echo __WORDSIZE) | cpp - | grep -Ex '32|64')}
|
|
|
|
|
2012-01-13 16:05:02 +00:00
|
|
|
Name: libssh2
|
2016-02-23 10:55:39 +00:00
|
|
|
Version: 1.7.0
|
2016-03-06 11:56:26 +00:00
|
|
|
Release: 5%{?dist}
|
2012-01-13 16:05:02 +00:00
|
|
|
Summary: A library implementing the SSH2 protocol
|
2013-04-09 15:47:40 +00:00
|
|
|
Group: System Environment/Libraries
|
2012-01-13 16:05:02 +00:00
|
|
|
License: BSD
|
|
|
|
URL: http://www.libssh2.org/
|
|
|
|
Source0: http://libssh2.org/download/libssh2-%{version}.tar.gz
|
2016-02-24 08:08:02 +00:00
|
|
|
Patch2: CVE-2016-0787.patch
|
2016-03-06 11:56:26 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
2016-03-05 17:45:34 +00:00
|
|
|
|
2016-02-23 10:55:39 +00:00
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: make
|
2012-01-13 16:05:02 +00:00
|
|
|
BuildRequires: openssl-devel
|
2016-02-23 10:55:39 +00:00
|
|
|
BuildRequires: sed
|
2012-01-13 16:05:02 +00:00
|
|
|
BuildRequires: zlib-devel
|
2012-02-01 11:06:03 +00:00
|
|
|
BuildRequires: /usr/bin/man
|
2007-11-28 01:23:22 +00:00
|
|
|
|
2012-01-13 16:01:35 +00:00
|
|
|
# Test suite requirements - we run the OpenSSH server and try to connect to it
|
2012-01-13 16:05:02 +00:00
|
|
|
BuildRequires: openssh-server
|
2016-03-06 11:56:26 +00:00
|
|
|
# We use matchpathcon to get the correct SELinux context for the ssh server
|
|
|
|
# initialization script so that it can transition correctly in an SELinux
|
|
|
|
# environment
|
|
|
|
%if !(0%{?fedora} >= 17 || 0%{?rhel} >= 7)
|
|
|
|
BuildRequires: libselinux-utils
|
|
|
|
BuildRequires: selinux-policy-targeted
|
|
|
|
%endif
|
2010-01-19 06:18:57 +00:00
|
|
|
|
2007-11-28 01:23:22 +00:00
|
|
|
%description
|
|
|
|
libssh2 is a library implementing the SSH2 protocol as defined by
|
|
|
|
Internet Drafts: SECSH-TRANS(22), SECSH-USERAUTH(25),
|
|
|
|
SECSH-CONNECTION(23), SECSH-ARCH(20), SECSH-FILEXFER(06)*,
|
|
|
|
SECSH-DHGEX(04), and SECSH-NUMBERS(10).
|
|
|
|
|
2012-01-13 16:05:02 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Development files for libssh2
|
2013-04-09 15:47:40 +00:00
|
|
|
Group: Development/Libraries
|
2012-01-13 16:05:02 +00:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: pkgconfig
|
2007-11-28 01:23:22 +00:00
|
|
|
|
2012-01-13 16:05:02 +00:00
|
|
|
%description devel
|
2012-01-13 16:01:35 +00:00
|
|
|
The libssh2-devel package contains libraries and header files for
|
|
|
|
developing applications that use libssh2.
|
2007-11-28 01:23:22 +00:00
|
|
|
|
2012-01-13 16:05:02 +00:00
|
|
|
%package docs
|
|
|
|
Summary: Documentation for libssh2
|
2013-04-09 15:47:40 +00:00
|
|
|
Group: Development/Libraries
|
2012-01-13 16:05:02 +00:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
2016-03-06 11:56:26 +00:00
|
|
|
%if %{noarch_docs_package}
|
2012-01-13 16:05:02 +00:00
|
|
|
BuildArch: noarch
|
2016-03-06 11:56:26 +00:00
|
|
|
%endif
|
2007-11-28 01:23:22 +00:00
|
|
|
|
2012-01-13 16:05:02 +00:00
|
|
|
%description docs
|
2012-01-13 16:01:35 +00:00
|
|
|
The libssh2-docs package contains man pages and examples for
|
|
|
|
developing applications that use libssh2.
|
2007-11-28 01:23:22 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
2013-03-26 14:56:04 +00:00
|
|
|
# Replace hard wired port number in the test suite to avoid collisions
|
|
|
|
# between 32-bit and 64-bit builds running on a single build-host
|
2013-03-26 12:29:19 +00:00
|
|
|
sed -i s/4711/47%{?__isa_bits}/ tests/ssh2.{c,sh}
|
|
|
|
|
2016-02-24 08:08:02 +00:00
|
|
|
# diffie_hellman_sha1: Convert bytes to bits (additional fix for CVE-2016-0787)
|
|
|
|
%patch2 -p1
|
|
|
|
|
2012-01-13 16:01:35 +00:00
|
|
|
# Make sshd transition appropriately if building in an SELinux environment
|
2012-10-01 10:40:10 +00:00
|
|
|
%if !(0%{?fedora} >= 17 || 0%{?rhel} >= 7)
|
2012-01-13 16:01:35 +00:00
|
|
|
chcon $(/usr/sbin/matchpathcon -n /etc/rc.d/init.d/sshd) tests/ssh2.sh || :
|
|
|
|
chcon -R $(/usr/sbin/matchpathcon -n /etc) tests/etc || :
|
|
|
|
chcon $(/usr/sbin/matchpathcon -n /etc/ssh/ssh_host_key) tests/etc/{host,user} || :
|
2012-10-01 10:40:10 +00:00
|
|
|
%endif
|
2010-10-12 21:37:04 +00:00
|
|
|
|
2007-11-28 01:23:22 +00:00
|
|
|
%build
|
2016-02-23 10:55:39 +00:00
|
|
|
%configure --disable-silent-rules --disable-static --enable-shared
|
2007-11-28 01:23:22 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
2013-04-03 11:25:16 +00:00
|
|
|
# Avoid polluting libssh2.pc with linker options (#947813)
|
|
|
|
sed -i -e 's|[[:space:]]-Wl,[^[:space:]]*||' libssh2.pc
|
|
|
|
|
2007-11-28 01:23:22 +00:00
|
|
|
%install
|
2016-03-06 11:56:26 +00:00
|
|
|
rm -rf %{buildroot}
|
2007-11-28 01:23:22 +00:00
|
|
|
make install DESTDIR=%{buildroot} INSTALL="install -p"
|
2016-03-05 17:45:34 +00:00
|
|
|
find %{buildroot} -name '*.la' -delete
|
2007-11-28 01:23:22 +00:00
|
|
|
|
|
|
|
# clean things up a bit for packaging
|
2012-01-13 16:01:35 +00:00
|
|
|
make -C example clean
|
|
|
|
rm -rf example/.deps
|
2016-03-05 17:45:34 +00:00
|
|
|
find example/ -type f '(' -name '*.am' -o -name '*.in' ')' -delete
|
2007-11-28 01:23:22 +00:00
|
|
|
|
2012-01-13 17:14:29 +00:00
|
|
|
# avoid multilib conflict on libssh2-devel
|
2012-04-27 12:21:06 +00:00
|
|
|
mv -v example example.%{_arch}
|
2010-10-12 21:37:04 +00:00
|
|
|
|
2007-11-28 01:23:22 +00:00
|
|
|
%check
|
2014-02-17 16:19:16 +00:00
|
|
|
echo "Running tests for %{_arch}"
|
2012-01-13 16:01:35 +00:00
|
|
|
# The SSH test will fail if we don't have /dev/tty, as is the case in some
|
|
|
|
# versions of mock (#672713)
|
|
|
|
if [ ! -c /dev/tty ]; then
|
2012-01-13 16:05:02 +00:00
|
|
|
echo Skipping SSH test due to missing /dev/tty
|
|
|
|
echo "exit 0" > tests/ssh2.sh
|
2012-01-13 16:01:35 +00:00
|
|
|
fi
|
2014-02-17 14:39:41 +00:00
|
|
|
# Apparently it fails in the sparc and arm buildsystems too
|
|
|
|
%ifarch %{sparc} %{arm}
|
2012-01-16 09:24:22 +00:00
|
|
|
echo Skipping SSH test on sparc/arm
|
2011-06-25 13:20:10 +00:00
|
|
|
echo "exit 0" > tests/ssh2.sh
|
|
|
|
%endif
|
2014-02-17 16:19:16 +00:00
|
|
|
# mansyntax check fails on PPC* and aarch64 with some strange locale error
|
|
|
|
%ifarch ppc %{power64} aarch64
|
|
|
|
echo "Skipping mansyntax test on PPC* and aarch64"
|
2014-02-17 14:39:41 +00:00
|
|
|
echo "exit 0" > tests/mansyntax.sh
|
|
|
|
%endif
|
2012-01-13 16:01:35 +00:00
|
|
|
make -C tests check
|
2007-11-28 01:23:22 +00:00
|
|
|
|
2016-03-06 11:56:26 +00:00
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
2013-04-09 15:47:40 +00:00
|
|
|
|
2007-11-28 01:23:22 +00:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
2016-03-05 17:45:34 +00:00
|
|
|
%{!?_licensedir:%global license %%doc}
|
2014-07-18 19:23:38 +00:00
|
|
|
%license COPYING
|
2016-03-05 17:45:34 +00:00
|
|
|
%doc docs/AUTHORS README RELEASE-NOTES
|
2012-01-13 16:01:35 +00:00
|
|
|
%{_libdir}/libssh2.so.1
|
|
|
|
%{_libdir}/libssh2.so.1.*
|
2007-11-28 01:23:22 +00:00
|
|
|
|
|
|
|
%files docs
|
2016-03-06 11:56:26 +00:00
|
|
|
%doc docs/BINDINGS docs/HACKING docs/TODO NEWS
|
2012-01-13 16:01:35 +00:00
|
|
|
%{_mandir}/man3/libssh2_*.3*
|
2007-11-28 01:23:22 +00:00
|
|
|
|
|
|
|
%files devel
|
2012-04-27 12:21:06 +00:00
|
|
|
%doc example.%{_arch}/
|
2012-01-13 16:01:35 +00:00
|
|
|
%{_includedir}/libssh2.h
|
|
|
|
%{_includedir}/libssh2_publickey.h
|
|
|
|
%{_includedir}/libssh2_sftp.h
|
|
|
|
%{_libdir}/libssh2.so
|
|
|
|
%{_libdir}/pkgconfig/libssh2.pc
|
2007-11-28 01:23:22 +00:00
|
|
|
|
|
|
|
%changelog
|
2016-03-06 11:56:26 +00:00
|
|
|
* Sun Mar 6 2016 Paul Howarth <paul@city-fan.org> - 1.7.0-5
|
|
|
|
- Revert parts of previous change that broke EL-5 compatibility
|
|
|
|
- Include NEWS in docs package, it's much more than RELEASE-NOTES
|
|
|
|
|
|
|
|
* Sat Mar 5 2016 Peter Robinson <pbrobinson@fedoraproject.org> - 1.7.0-4
|
2016-03-05 17:45:34 +00:00
|
|
|
- Modernise spec (no we really don't care about el4/fc4)
|
|
|
|
- Don't ship ChangeLog/NEWS, duplicates of RELEASE-NOTES
|
|
|
|
|
2016-02-24 12:12:23 +00:00
|
|
|
* Wed Feb 24 2016 Paul Howarth <paul@city-fan.org> - 1.7.0-3
|
|
|
|
- Drop UTF-8 patch, which breaks things rather than fixes them
|
|
|
|
|
2016-02-24 08:08:02 +00:00
|
|
|
* Wed Feb 24 2016 Kamil Dudka <kdudka@redhat.com> - 1.7.0-2
|
|
|
|
- diffie_hellman_sha1: Convert bytes to bits (additional fix for CVE-2016-0787)
|
|
|
|
|
2016-02-23 10:55:39 +00:00
|
|
|
* Tue Feb 23 2016 Paul Howarth <paul@city-fan.org> - 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
|
|
|
|
|
2016-02-04 03:58:15 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-11-11 09:07:53 +00:00
|
|
|
* Tue Nov 10 2015 Paul Howarth <paul@city-fan.org> - 1.6.0-3
|
|
|
|
- Fix pkg-config --libs output (#1279966)
|
|
|
|
|
2015-06-17 17:21:55 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-06-14 16:35:46 +00:00
|
|
|
* Sun Jun 14 2015 Paul Howarth <paul@city-fan.org> - 1.6.0-1
|
|
|
|
- Update to 1.6.0
|
|
|
|
- Added CMake build system
|
|
|
|
- Added libssh2_userauth_publickey_frommemory()
|
|
|
|
- See RELEASE-NOTES for details of bug fixes
|
|
|
|
|
2015-03-11 10:30:38 +00:00
|
|
|
* Wed Mar 11 2015 Paul Howarth <paul@city-fan.org> - 1.5.0-1
|
|
|
|
- Update to 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
|
|
|
|
|
2014-10-10 11:22:55 +00:00
|
|
|
* Fri Oct 10 2014 Kamil Dudka <kdudka@redhat.com> 1.4.3-16
|
|
|
|
- prevent a not-connected agent from closing STDIN (#1147717)
|
|
|
|
|
2014-08-17 06:09:50 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.3-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-07-18 19:23:38 +00:00
|
|
|
* Fri Jul 18 2014 Tom Callaway <spot@fedoraproject.org> - 1.4.3-14
|
|
|
|
- fix license handling
|
|
|
|
|
2014-06-07 05:34:36 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.3-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-03-28 10:56:56 +00:00
|
|
|
* Wed Apr 30 2014 Kamil Dudka <kdudka@redhat.com> 1.4.3-12
|
|
|
|
- Fix curl's excessive memory consumption during scp download
|
|
|
|
|
2014-02-17 16:19:16 +00:00
|
|
|
* Mon Feb 17 2014 Paul Howarth <paul@city-fan.org> - 1.4.3-11
|
|
|
|
- The aarch64 buildroot seems to have the same locale issue as the PPC one
|
|
|
|
|
2014-02-17 14:39:41 +00:00
|
|
|
* Mon Feb 17 2014 Karsten Hopp <karsten@redhat.com> 1.4.3-10
|
2014-02-17 16:19:16 +00:00
|
|
|
- Next attempt to work around a self check problem on PPC*
|
2014-02-17 14:39:41 +00:00
|
|
|
|
2014-02-17 13:26:40 +00:00
|
|
|
* Mon Feb 17 2014 Karsten Hopp <karsten@redhat.com> 1.4.3-9
|
2014-02-17 16:19:16 +00:00
|
|
|
- Skip self checks on ppc*
|
2014-02-17 13:26:40 +00:00
|
|
|
|
2013-08-14 15:49:59 +00:00
|
|
|
* Wed Aug 14 2013 Kamil Dudka <kdudka@redhat.com> 1.4.3-8
|
2014-02-17 16:19:16 +00:00
|
|
|
- Fix very slow sftp upload to localhost
|
|
|
|
- Fix a use after free in channel.c
|
2013-08-14 15:49:59 +00:00
|
|
|
|
2013-08-03 07:06:55 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.3-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-04-09 15:47:40 +00:00
|
|
|
* Tue Apr 9 2013 Paul Howarth <paul@city-fan.org> 1.4.3-6
|
|
|
|
- Revert 'Modernize the spec file' so as to retain EL-5 spec compatibility
|
|
|
|
|
2013-04-09 14:57:01 +00:00
|
|
|
* Tue Apr 9 2013 Richard W.M. Jones <rjones@redhat.com> 1.4.3-5
|
2014-02-17 16:19:16 +00:00
|
|
|
- Add three patches from upstream git required for qemu ssh block driver
|
2013-04-09 14:57:01 +00:00
|
|
|
- Modernize the spec file:
|
2014-02-17 16:19:16 +00:00
|
|
|
* Remove BuildRoot
|
|
|
|
* Remove Group
|
|
|
|
* Remove clean section
|
|
|
|
* Don't need to clean up buildroot before installing
|
2013-04-09 14:57:01 +00:00
|
|
|
|
2013-04-03 11:25:16 +00:00
|
|
|
* Wed Apr 3 2013 Paul Howarth <paul@city-fan.org> 1.4.3-4
|
|
|
|
- Avoid polluting libssh2.pc with linker options (#947813)
|
|
|
|
|
2013-03-26 12:29:19 +00:00
|
|
|
* Tue Mar 26 2013 Kamil Dudka <kdudka@redhat.com> 1.4.3-3
|
2013-04-03 11:25:16 +00:00
|
|
|
- Avoid collisions between 32-bit and 64-bit builds running on a single build
|
|
|
|
host
|
2013-03-26 12:29:19 +00:00
|
|
|
|
2013-02-14 05:17:48 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-11-28 12:47:04 +00:00
|
|
|
* Wed Nov 28 2012 Paul Howarth <paul@city-fan.org> 1.4.3-1
|
|
|
|
- Update to 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-07 14:34:30 +00:00
|
|
|
* Wed Nov 07 2012 Kamil Dudka <kdudka@redhat.com> 1.4.2-4
|
|
|
|
- examples: use stderr for messages, stdout for data (upstream commit b31e35ab)
|
2012-11-28 12:47:04 +00:00
|
|
|
- Update libssh2_hostkey_hash(3) man page (upstream commit fe8f3deb)
|
2012-11-07 14:34:30 +00:00
|
|
|
|
2012-09-26 11:19:04 +00:00
|
|
|
* Wed Sep 26 2012 Kamil Dudka <kdudka@redhat.com> 1.4.2-3
|
2012-11-28 12:47:04 +00:00
|
|
|
- Fix basic functionality of libssh2 in FIPS mode
|
|
|
|
- Skip SELinux-related quirks on recent distros to prevent a test-suite failure
|
2012-09-26 11:19:04 +00:00
|
|
|
|
2012-07-19 21:17:19 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-05-20 21:08:23 +00:00
|
|
|
* Sun May 20 2012 Paul Howarth <paul@city-fan.org> 1.4.2-1
|
|
|
|
- Update to 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-04-27 12:21:06 +00:00
|
|
|
* Fri Apr 27 2012 Paul Howarth <paul@city-fan.org> 1.4.1-2
|
|
|
|
- Fix multi-arch conflict again (#816969)
|
|
|
|
|
2012-04-05 09:46:49 +00:00
|
|
|
* Thu Apr 5 2012 Paul Howarth <paul@city-fan.org> 1.4.1-1
|
|
|
|
- Update to 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-03-19 13:58:27 +00:00
|
|
|
* Mon Mar 19 2012 Kamil Dudka <kdudka@redhat.com> 1.4.0-4
|
|
|
|
- Don't ignore transport errors when writing to channel (#804150)
|
|
|
|
|
2012-03-18 14:53:07 +00:00
|
|
|
* Sun Mar 18 2012 Paul Howarth <paul@city-fan.org> 1.4.0-3
|
|
|
|
- Don't try to use openssl's AES-CTR functions
|
|
|
|
(http://www.libssh2.org/mail/libssh2-devel-archive-2012-03/0111.shtml)
|
|
|
|
|
2012-03-16 19:24:44 +00:00
|
|
|
* Fri Mar 16 2012 Paul Howarth <paul@city-fan.org> 1.4.0-2
|
|
|
|
- fix libssh2 failing key re-exchange when write channel is saturated (#804156)
|
|
|
|
- drop %%defattr, redundant since rpm 4.4
|
|
|
|
|
2012-02-01 11:06:03 +00:00
|
|
|
* Wed Feb 1 2012 Paul Howarth <paul@city-fan.org> 1.4.0-1
|
|
|
|
- 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-01-15 23:11:01 +00:00
|
|
|
* Sun Jan 15 2012 Peter Robinson <pbrobinson@fedoraproject.org> 1.3.0-4
|
2012-01-16 09:24:22 +00:00
|
|
|
- skip the ssh test on ARM too
|
2012-01-15 23:11:01 +00:00
|
|
|
|
2012-01-13 16:01:35 +00:00
|
|
|
* Fri Jan 13 2012 Paul Howarth <paul@city-fan.org> 1.3.0-3
|
|
|
|
- make docs package noarch where possible
|
2012-01-13 17:14:29 +00:00
|
|
|
- example includes arch-specific bits, so move to devel package
|
2012-01-13 16:01:35 +00:00
|
|
|
- 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:05:02 +00:00
|
|
|
- use tabs for indentation
|
2012-01-13 16:01:35 +00:00
|
|
|
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 1.3.0-2
|
|
|
|
- rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
2012-01-13 08:29:01 +00:00
|
|
|
|
2011-09-08 09:14:41 +00:00
|
|
|
* Thu Sep 08 2011 Kamil Dudka <kdudka@redhat.com> 1.3.0-1
|
|
|
|
- update to 1.3.0
|
|
|
|
|
2012-01-13 16:01:35 +00:00
|
|
|
* Sat Jun 25 2011 Dennis Gilmore <dennis@ausil.us> 1.2.7-2
|
2011-06-25 13:20:10 +00:00
|
|
|
- sshd/loopback test fails in the sparc buildsystem
|
|
|
|
|
2010-10-12 21:37:04 +00:00
|
|
|
* Tue Oct 12 2010 Kamil Dudka <kdudka@redhat.com> 1.2.7-1
|
|
|
|
- update to 1.2.7 (#632916)
|
|
|
|
- avoid multilib conflict on libssh2-docs
|
|
|
|
- avoid build failure in mock with SELinux in the enforcing mode (#558964)
|
|
|
|
|
2010-03-13 05:15:12 +00:00
|
|
|
* Fri Mar 12 2010 Chris Weyl <cweyl@alumni.drew.edu> 1.2.4-1
|
|
|
|
- update to 1.2.4
|
|
|
|
- drop old patch0
|
|
|
|
- be more aggressive about keeping .deps from intruding into -docs
|
|
|
|
|
2010-01-20 17:44:18 +00:00
|
|
|
* Wed Jan 20 2010 Chris Weyl <cweyl@alumni.drew.edu> 1.2.2-5
|
|
|
|
- pkgconfig dep should be with -devel, not -docs
|
|
|
|
|
2010-01-19 06:18:57 +00:00
|
|
|
* Mon Jan 18 2010 Chris Weyl <cweyl@alumni.drew.edu> 1.2.2-4
|
|
|
|
- enable tests; conditionalize sshd test, which fails with a funky SElinux
|
|
|
|
error when run locally
|
|
|
|
|
2010-01-19 05:34:11 +00:00
|
|
|
* Mon Jan 18 2010 Chris Weyl <cweyl@alumni.drew.edu> 1.2.2-3
|
|
|
|
- patch w/1aba38cd7d2658146675ce1737e5090f879f306; not yet in a GA release
|
|
|
|
|
2010-01-14 17:21:15 +00:00
|
|
|
* Thu Jan 14 2010 Chris Weyl <cweyl@alumni.drew.edu> 1.2.2-2
|
|
|
|
- correct bad file entry under -devel
|
|
|
|
|
2010-01-14 17:14:53 +00:00
|
|
|
* Thu Jan 14 2010 Chris Weyl <cweyl@alumni.drew.edu> 1.2.2-1
|
|
|
|
- update to 1.2.2
|
|
|
|
- drop old patch now in upstream
|
|
|
|
- add new pkgconfig file to -devel
|
|
|
|
|
2009-09-22 03:56:35 +00:00
|
|
|
* Mon Sep 21 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.2-2
|
|
|
|
- patch based on 683aa0f6b52fb1014873c961709102b5006372fc
|
|
|
|
- disable tests (*sigh*)
|
|
|
|
|
|
|
|
* Tue Aug 25 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.2-1
|
|
|
|
- update to 1.2
|
|
|
|
|
2009-08-21 14:22:18 +00:00
|
|
|
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 1.0-4
|
|
|
|
- rebuilt with new openssl
|
|
|
|
|
2009-07-25 08:41:56 +00:00
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-25 19:06:30 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2009-02-17 04:43:59 +00:00
|
|
|
* Mon Feb 16 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.0-1
|
|
|
|
- update to 1.0
|
|
|
|
|
2009-01-17 14:32:48 +00:00
|
|
|
* Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> - 0.18-8
|
|
|
|
- rebuild with new openssl
|
|
|
|
|
2008-02-18 23:06:21 +00:00
|
|
|
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.18-7
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2007-12-05 17:46:05 +00:00
|
|
|
* Wed Dec 05 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.18-6
|
|
|
|
- rebuild for new openssl...
|
|
|
|
|
2007-11-28 01:25:14 +00:00
|
|
|
* Tue Nov 27 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.18-5
|
|
|
|
- bump
|
|
|
|
|
2007-11-28 01:23:22 +00:00
|
|
|
* Tue Nov 27 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.18-4
|
|
|
|
- add INSTALL arg to make install vs env. var
|
|
|
|
|
|
|
|
* Mon Nov 26 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.18-3
|
|
|
|
- run tests; don't package test
|
|
|
|
|
|
|
|
* Sun Nov 18 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.18-2
|
|
|
|
- split docs into -docs (they seemed... large.)
|
|
|
|
|
|
|
|
* Tue Nov 13 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.18-1
|
|
|
|
- update to 0.18
|
|
|
|
|
|
|
|
* Sun Oct 14 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.17-1
|
|
|
|
- update to 0.17
|
|
|
|
- many spec file changes
|
|
|
|
|
|
|
|
* Wed May 23 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.15-0.2.20070506
|
|
|
|
- Fix release tag
|
|
|
|
- Move manpages to -devel package
|
|
|
|
- Add Examples dir to -devel package
|
|
|
|
|
|
|
|
* Sun May 06 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.15-0.20070506.1
|
|
|
|
- Initial build
|