Compare commits
3 Commits
Author | SHA1 | Date |
---|---|---|
Andreas Schneider | 01b7771bd4 | |
Andreas Schneider | 0dec4bd079 | |
Andreas Schneider | 4b20972eee |
|
@ -21,3 +21,5 @@ libssh-0.4.4.tar.gz.asc
|
|||
/libssh-0.6.5.tar.xz
|
||||
/libssh-0.7.0.tar.xz
|
||||
/libssh-0.7.1.tar.xz
|
||||
/libssh-0.7.2.tar.xz
|
||||
/libssh-0.7.3.tar.xz
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
From 3c8fe6e2c595ee019408249c364b3019b6c31a8a Mon Sep 17 00:00:00 2001
|
||||
From: Mike DePaulo <mikedep333@gmail.com>
|
||||
Date: Fri, 15 May 2015 22:22:13 -0400
|
||||
Subject: [PATCH] Reintroduce ssh_forward_listen() (Fixes: #194)
|
||||
|
||||
---
|
||||
src/channels.c | 5 +++++
|
||||
1 file changed, 5 insertions(+)
|
||||
|
||||
diff --git a/src/channels.c b/src/channels.c
|
||||
index 7a4e71f..db5f83a 100644
|
||||
--- a/src/channels.c
|
||||
+++ b/src/channels.c
|
||||
@@ -2206,6 +2206,11 @@ error:
|
||||
}
|
||||
|
||||
/* DEPRECATED */
|
||||
+int ssh_forward_listen(ssh_session session, const char *address, int port, int *bound_port) {
|
||||
+ return ssh_channel_listen_forward(session, address, port, bound_port);
|
||||
+}
|
||||
+
|
||||
+/* DEPRECATED */
|
||||
ssh_channel ssh_forward_accept(ssh_session session, int timeout_ms) {
|
||||
return ssh_channel_accept(session, SSH_CHANNEL_FORWARDED_TCPIP, timeout_ms, NULL);
|
||||
}
|
||||
--
|
||||
2.1.4
|
||||
|
43
libssh.spec
43
libssh.spec
|
@ -1,5 +1,5 @@
|
|||
Name: libssh
|
||||
Version: 0.7.1
|
||||
Version: 0.7.3
|
||||
Release: 1%{?dist}
|
||||
Summary: A library implementing the SSH protocol
|
||||
License: LGPLv2+
|
||||
|
@ -7,13 +7,15 @@ URL: http://www.libssh.org
|
|||
Group: System Environment/Libraries
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: https://red.libssh.org/attachments/download/154/libssh-0.7.1.tar.xz
|
||||
Source0: https://red.libssh.org/attachments/download/195/libssh-0.7.3.tar.xz
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: krb5-devel
|
||||
BuildRequires: libcmocka-devel
|
||||
|
||||
%description
|
||||
The ssh library was designed to be used by programmers needing a working SSH
|
||||
|
@ -37,10 +39,6 @@ applications that use %{name}.
|
|||
%prep
|
||||
%setup -q
|
||||
|
||||
# Remove examples, they are not packaged and do not build on EPEL 5
|
||||
sed -i -e 's|add_subdirectory(examples)||g' CMakeLists.txt
|
||||
rm -rf examples
|
||||
|
||||
%build
|
||||
if test ! -e "obj"; then
|
||||
mkdir obj
|
||||
|
@ -48,6 +46,7 @@ fi
|
|||
pushd obj
|
||||
|
||||
%cmake \
|
||||
-DWITH_TESTING=ON \
|
||||
%{_builddir}/%{name}-%{version}
|
||||
make %{?_smp_mflags} VERBOSE=1
|
||||
make doc
|
||||
|
@ -59,6 +58,9 @@ pushd obj
|
|||
make DESTDIR=%{buildroot} install
|
||||
popd
|
||||
|
||||
rm -f %{buildroot}%{_libdir}/libssh.a
|
||||
rm -f %{buildroot}%{_libdir}/libssh_threads.a
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
@ -66,6 +68,14 @@ popd
|
|||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%check
|
||||
pushd obj
|
||||
make test || {
|
||||
cat Testing/Temporary/LastTest.log;
|
||||
exit 1;
|
||||
}
|
||||
popd
|
||||
|
||||
%files
|
||||
%doc AUTHORS BSD ChangeLog COPYING README
|
||||
%{_libdir}/libssh.so.*
|
||||
|
@ -89,6 +99,27 @@ rm -rf %{buildroot}
|
|||
%{_libdir}/libssh_threads.so
|
||||
|
||||
%changelog
|
||||
* Wed Feb 24 2016 Andreas Schneider <asn@redhat.com> - 0.7.3-1
|
||||
- resolves: #1311259 - Fix CVE-2016-0739
|
||||
- resolves: #1311332 - Update to version 0.7.3
|
||||
* Fixed CVE-2016-0739
|
||||
* Fixed ssh-agent on big endian
|
||||
* Fixed some documentation issues
|
||||
- Enabled GSSAPI support
|
||||
|
||||
* Thu Oct 22 2015 Andreas Schneider <asn@redhat.com> - 0.7.2-2
|
||||
- resolves: #1271230 - Fix ssh-agent support on big endian
|
||||
|
||||
* Wed Sep 30 2015 Andreas Schneider <asn@redhat.com> - 0.7.2-1
|
||||
- Update to version 0.7.2
|
||||
* Fixed OpenSSL detection on Windows
|
||||
* Fixed return status for ssh_userauth_agent()
|
||||
* Fixed KEX to prefer hmac-sha2-256
|
||||
* Fixed sftp packet handling
|
||||
* Fixed return values of ssh_key_is_(public|private)
|
||||
* Fixed bug in global success reply
|
||||
- resolves: #1267346
|
||||
|
||||
* Tue Jun 30 2015 Andreas Schneider <asn@redhat.com> - 0.7.1-1
|
||||
- Update to version 0.7.1
|
||||
* Fixed SSH_AUTH_PARTIAL auth with auto public key
|
||||
|
|
Loading…
Reference in New Issue