|
|
2883da |
%define _hardened_build 1
|
|
|
2883da |
|
|
|
2883da |
Name: libssh
|
|
|
a826d6 |
Version: 0.7.1
|
|
|
fbc29b |
Release: 7%{?dist}
|
|
|
2883da |
Summary: A library implementing the SSH protocol
|
|
|
2883da |
License: LGPLv2+
|
|
|
2883da |
URL: http://www.libssh.org
|
|
|
2883da |
Group: System Environment/Libraries
|
|
|
2883da |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
2883da |
|
|
|
a826d6 |
Source0: https://red.libssh.org/attachments/download/154/libssh-0.7.1.tar.xz
|
|
|
2883da |
|
|
|
b9d810 |
Patch1: libssh-CVE-2016-0739.patch
|
|
|
2ca34a |
Patch2: libssh-0.7.1-fix_agent_bigendian.patch
|
|
|
fbc29b |
Patch3: libssh-CVE-2018-10933.patch
|
|
|
fbc29b |
Patch4: libssh-SHA256.patch
|
|
|
fbc29b |
Patch5: libssh-fix-kbdint.patch
|
|
|
b9d810 |
|
|
|
2883da |
BuildRequires: cmake
|
|
|
2883da |
BuildRequires: doxygen
|
|
|
2883da |
BuildRequires: openssl-devel
|
|
|
2883da |
BuildRequires: pkgconfig
|
|
|
2883da |
BuildRequires: zlib-devel
|
|
|
2883da |
|
|
|
2883da |
%description
|
|
|
2883da |
The ssh library was designed to be used by programmers needing a working SSH
|
|
|
2883da |
implementation by the mean of a library. The complete control of the client is
|
|
|
2883da |
made by the programmer. With libssh, you can remotely execute programs, transfer
|
|
|
2883da |
files, use a secure and transparent tunnel for your remote programs. With its
|
|
|
2883da |
Secure FTP implementation, you can play with remote files easily, without
|
|
|
2883da |
third-party programs others than libcrypto (from openssl).
|
|
|
2883da |
|
|
|
2883da |
%package devel
|
|
|
2883da |
Summary: Development files for %{name}
|
|
|
2883da |
Group: Development/Libraries
|
|
|
2883da |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
2883da |
Requires: pkgconfig
|
|
|
2883da |
Requires: cmake
|
|
|
2883da |
|
|
|
2883da |
%description devel
|
|
|
2883da |
The %{name}-devel package contains libraries and header files for developing
|
|
|
2883da |
applications that use %{name}.
|
|
|
2883da |
|
|
|
2883da |
%prep
|
|
|
2883da |
%setup -q
|
|
|
b9d810 |
%patch1 -p1
|
|
|
2ca34a |
%patch2 -p1 -b .libssh-0.7.2-fix_agent_bigendian.patch
|
|
|
fbc29b |
%patch3 -p1 -b .libssh-CVE-2018-10933.patch
|
|
|
fbc29b |
%patch4 -p1 -b .libssh-SHA256.patch
|
|
|
fbc29b |
%patch5 -p1 -b .libssh-fix-kbdint.patch
|
|
|
2883da |
|
|
|
2883da |
# Remove examples, they are not packaged and do not build on EPEL 5
|
|
|
2883da |
sed -i -e 's|add_subdirectory(examples)||g' CMakeLists.txt
|
|
|
2883da |
rm -rf examples
|
|
|
2883da |
sed -i -e 's| -pedantic-errors||g' cmake/Modules/DefineCompilerFlags.cmake
|
|
|
2883da |
|
|
|
2883da |
%build
|
|
|
2883da |
if test ! -e "obj"; then
|
|
|
2883da |
mkdir obj
|
|
|
2883da |
fi
|
|
|
2883da |
pushd obj
|
|
|
2883da |
|
|
|
2883da |
%cmake \
|
|
|
2883da |
%{_builddir}/%{name}-%{version}
|
|
|
2883da |
make %{?_smp_mflags} VERBOSE=1 CFLAGS="-no-pedantic-errors"
|
|
|
2883da |
make doc
|
|
|
2883da |
|
|
|
2883da |
popd
|
|
|
2883da |
|
|
|
2883da |
%install
|
|
|
2883da |
pushd obj
|
|
|
2883da |
make DESTDIR=%{buildroot} install
|
|
|
2883da |
popd
|
|
|
2883da |
|
|
|
2883da |
%post -p /sbin/ldconfig
|
|
|
2883da |
|
|
|
2883da |
%postun -p /sbin/ldconfig
|
|
|
2883da |
|
|
|
2883da |
%clean
|
|
|
2883da |
rm -rf %{buildroot}
|
|
|
2883da |
|
|
|
2883da |
%files
|
|
|
2883da |
%doc AUTHORS BSD ChangeLog COPYING README
|
|
|
2883da |
%{_libdir}/libssh.so.*
|
|
|
2883da |
%{_libdir}/libssh_threads.so.*
|
|
|
2883da |
|
|
|
2883da |
%files devel
|
|
|
2883da |
%doc obj/doc/html
|
|
|
2883da |
%{_includedir}/libssh/callbacks.h
|
|
|
2883da |
%{_includedir}/libssh/legacy.h
|
|
|
2883da |
%{_includedir}/libssh/libssh.h
|
|
|
a826d6 |
%{_includedir}/libssh/libsshpp.hpp
|
|
|
2883da |
%{_includedir}/libssh/server.h
|
|
|
2883da |
%{_includedir}/libssh/sftp.h
|
|
|
2883da |
%{_includedir}/libssh/ssh2.h
|
|
|
2883da |
%dir %{_libdir}/cmake/libssh
|
|
|
2883da |
%{_libdir}/cmake/libssh/libssh-config-version.cmake
|
|
|
2883da |
%{_libdir}/cmake/libssh/libssh-config.cmake
|
|
|
2883da |
%{_libdir}/pkgconfig/libssh.pc
|
|
|
2883da |
%{_libdir}/pkgconfig/libssh_threads.pc
|
|
|
2883da |
%{_libdir}/libssh.so
|
|
|
2883da |
%{_libdir}/libssh_threads.so
|
|
|
2883da |
|
|
|
2883da |
%changelog
|
|
|
fbc29b |
* Sun Oct 28 2018 Martin Pitt <mpitt@redhat.com> - 0.7.1-7
|
|
|
fbc29b |
- resolves: #1637182 - Add SHA256 fingerprint support
|
|
|
fbc29b |
- Fix regression with keyboard interactive authentication introduced in
|
|
|
fbc29b |
previous update
|
|
|
fbc29b |
|
|
|
fbc29b |
* Tue Oct 09 2018 Andreas Schneider <asn@redhat.com> - 0.7.1-6
|
|
|
fbc29b |
- resolves: #1637257 - Fix CVE-2018-10933
|
|
|
fbc29b |
|
|
|
fbc29b |
* Thu May 03 2018 - Lokesh Mandvekar <lsm5@redhat.com> - 0.7.1-5
|
|
|
fbc29b |
- correct bogus date annoyance
|
|
|
fbc29b |
|
|
|
fbc29b |
* Thu May 03 2018 - Lokesh Mandvekar <lsm5@redhat.com> - 0.7.1-4
|
|
|
fbc29b |
- Resolves: #1574670 - bump release tag to have build shipped to
|
|
|
fbc29b |
client/workstation repos
|
|
|
fbc29b |
|
|
|
2ca34a |
* Wed Mar 22 2017 - Dominik Perpeet <dperpeet@redhat.com> - 0.7.1-3
|
|
|
2ca34a |
- Fix agent auth on big endian machines
|
|
|
2ca34a |
|
|
|
b9d810 |
* Mon Feb 22 2016 - Stef Walter <stefw@redhat.com> - 0.7.1-2
|
|
|
b9d810 |
- Security fix for CVE-2016-0739 rhbz#1305971
|
|
|
b9d810 |
|
|
|
a826d6 |
* Mon Jul 06 2015 - Stef Walter <stefw@redhat.com> - 0.7.1-1
|
|
|
a826d6 |
- Updated to 0.7.1 release rhbz#1239085
|
|
|
a826d6 |
|
|
|
2883da |
* Wed Apr 22 2015 - Stef Walter <stefw@redhat.com> - 0.6.4-4
|
|
|
2883da |
- Updated patch for CVE-2015-3146
|
|
|
2883da |
|
|
|
2883da |
* Wed Apr 22 2015 - Stef Walter <stefw@redhat.com> - 0.6.4-3
|
|
|
2883da |
- Enable _hardened_build
|
|
|
2883da |
|
|
|
2883da |
* Tue Apr 21 2015 - Stef Walter <stefw@redhat.com> - 0.6.4-2
|
|
|
2883da |
- Security fix for CVE-2015-3145.
|
|
|
2883da |
|
|
|
2883da |
* Wed Apr 01 2015 - Stef Walter <stefw@redhat.com> - 0.6.4-1
|
|
|
2883da |
- Security fix for CVE-2014-8132.
|
|
|
2883da |
|
|
|
2883da |
* Tue Mar 04 2014 - Andreas Schneider <asn@redhat.com> - 0.6.3-1
|
|
|
2883da |
- Fix CVE-2014-0017.
|
|
|
2883da |
|
|
|
2883da |
* Mon Feb 10 2014 - Andreas Schneider <asn@redhat.com> - 0.6.1-1
|
|
|
2883da |
- Update to version 0.6.1.
|
|
|
2883da |
- resolves: #1056757 - Fix scp mode.
|
|
|
2883da |
- resolves: #1053305 - Fix known_hosts heuristic.
|
|
|
2883da |
|
|
|
2883da |
* Wed Jan 08 2014 - Andreas Schneider <asn@redhat.com> - 0.6.0-1
|
|
|
2883da |
- Update to 0.6.0
|
|
|
2883da |
|
|
|
2883da |
* Fri Jul 26 2013 - Andreas Schneider <asn@redhat.com> - 0.5.5-1
|
|
|
2883da |
- Update to 0.5.5.
|
|
|
2883da |
- Clenup the spec file.
|
|
|
2883da |
|
|
|
2883da |
* Thu Jul 18 2013 Simone Caronni <negativo17@gmail.com> - 0.5.4-5
|
|
|
2883da |
- Add EPEL 5 support.
|
|
|
2883da |
- Add Debian patches to enable Doxygen documentation.
|
|
|
2883da |
|
|
|
2883da |
* Tue Jul 16 2013 Simone Caronni <negativo17@gmail.com> - 0.5.4-4
|
|
|
2883da |
- Add patch for #982685.
|
|
|
2883da |
|
|
|
2883da |
* Mon Jun 10 2013 Simone Caronni <negativo17@gmail.com> - 0.5.4-3
|
|
|
2883da |
- Clean up SPEC file and fix rpmlint complaints.
|
|
|
2883da |
|
|
|
2883da |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.4-2
|
|
|
2883da |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
2883da |
|
|
|
2883da |
* Wed Jan 23 2013 Petr Lautrbach <plautrba@redhat.com> 0.5.4-1
|
|
|
2883da |
- update to security 0.5.4 release
|
|
|
2883da |
- CVE-2013-0176 (#894407)
|
|
|
2883da |
|
|
|
2883da |
* Tue Nov 20 2012 Petr Lautrbach <plautrba@redhat.com> 0.5.3-1
|
|
|
2883da |
- update to security 0.5.3 release (#878465)
|
|
|
2883da |
|
|
|
2883da |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-2
|
|
|
2883da |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
2883da |
|
|
|
2883da |
* Thu Feb 02 2012 Petr Lautrbach <plautrba@redhat.com> 0.5.2-1
|
|
|
2883da |
- update to 0.5.2 version (#730270)
|
|
|
2883da |
|
|
|
2883da |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-2
|
|
|
2883da |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
2883da |
|
|
|
2883da |
* Wed Jun 1 2011 Jan F. Chadima <jchadima@redhat.com> - 0.5.0-1
|
|
|
2883da |
- bounce versionn to 0.5.0 (#709785)
|
|
|
2883da |
- the support for protocol v1 is disabled
|
|
|
2883da |
|
|
|
2883da |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.8-2
|
|
|
2883da |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
2883da |
|
|
|
2883da |
* Wed Jan 19 2011 Jan F. Chadima <jchadima@redhat.com> - 0.4.8-1
|
|
|
2883da |
- bounce versionn to 0.4.8 (#670456)
|
|
|
2883da |
|
|
|
2883da |
* Mon Sep 6 2010 Jan F. Chadima <jchadima@redhat.com> - 0.4.6-1
|
|
|
2883da |
- bounce versionn to 0.4.6 (#630602)
|
|
|
2883da |
|
|
|
2883da |
* Thu Jun 3 2010 Jan F. Chadima <jchadima@redhat.com> - 0.4.4-1
|
|
|
2883da |
- bounce versionn to 0.4.4 (#598592)
|
|
|
2883da |
|
|
|
2883da |
* Wed May 19 2010 Jan F. Chadima <jchadima@redhat.com> - 0.4.3-1
|
|
|
2883da |
- bounce versionn to 0.4.3 (#593288)
|
|
|
2883da |
|
|
|
2883da |
* Tue Mar 16 2010 Jan F. Chadima <jchadima@redhat.com> - 0.4.2-1
|
|
|
2883da |
- bounce versionn to 0.4.2 (#573972)
|
|
|
2883da |
|
|
|
2883da |
* Tue Feb 16 2010 Jan F. Chadima <jchadima@redhat.com> - 0.4.1-1
|
|
|
2883da |
- bounce versionn to 0.4.1 (#565870)
|
|
|
2883da |
|
|
|
2883da |
* Fri Dec 11 2009 Jan F. Chadima <jchadima@redhat.com> - 0.4.0-1
|
|
|
2883da |
- bounce versionn to 0.4.0 (#541010)
|
|
|
2883da |
|
|
|
2883da |
* Thu Nov 26 2009 Jan F. Chadima <jchadima@redhat.com> - 0.3.92-2
|
|
|
2883da |
- typo in spec file
|
|
|
2883da |
|
|
|
2883da |
* Thu Nov 26 2009 Jan F. Chadima <jchadima@redhat.com> - 0.3.92-1
|
|
|
2883da |
- bounce versionn to 0.3.92 (0.4 beta2) (#541010)
|
|
|
2883da |
|
|
|
2883da |
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 0.2-4
|
|
|
2883da |
- rebuilt with new openssl
|
|
|
2883da |
|
|
|
2883da |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-3
|
|
|
2883da |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
2883da |
|
|
|
2883da |
* Tue Jun 02 2009 Jan F. Chadima <jchadima@redhat.com> - 0.2-2
|
|
|
2883da |
- Small changes during review
|
|
|
2883da |
|
|
|
2883da |
* Mon Jun 01 2009 Jan F. Chadima <jchadima@redhat.com> - 0.2-1
|
|
|
2883da |
- Initial build
|
|
|
2883da |
|