2009-06-04 13:12:03 +00:00
|
|
|
Name: libssh
|
2018-08-10 13:06:09 +00:00
|
|
|
Version: 0.8.0
|
|
|
|
Release: 1%{?dist}
|
2014-01-08 11:58:36 +00:00
|
|
|
Summary: A library implementing the SSH protocol
|
2009-06-04 13:12:03 +00:00
|
|
|
License: LGPLv2+
|
2014-02-10 09:33:15 +00:00
|
|
|
URL: http://www.libssh.org
|
2013-06-10 09:33:03 +00:00
|
|
|
|
2018-08-10 13:06:09 +00:00
|
|
|
Source0: https://www.libssh.org/files/0.8/%{name}-%{version}.tar.xz
|
|
|
|
Source1: https://www.libssh.org/files/0.8/%{name}-%{version}.tar.xz.asc
|
|
|
|
Source2: https://cryptomilk.org/gpgkey-8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D.gpg#/%{name}.keyring
|
2017-12-29 15:34:52 +00:00
|
|
|
|
2013-06-10 09:33:03 +00:00
|
|
|
BuildRequires: cmake
|
2013-07-19 07:00:36 +00:00
|
|
|
BuildRequires: doxygen
|
2018-03-07 17:07:07 +00:00
|
|
|
BuildRequires: gcc-c++
|
2018-08-10 13:10:58 +00:00
|
|
|
BuildRequires: gnupg2
|
2009-06-04 13:12:03 +00:00
|
|
|
BuildRequires: openssl-devel
|
2014-12-19 16:06:57 +00:00
|
|
|
BuildRequires: pkgconfig
|
2013-07-26 07:25:47 +00:00
|
|
|
BuildRequires: zlib-devel
|
2016-02-24 14:10:43 +00:00
|
|
|
BuildRequires: krb5-devel
|
|
|
|
BuildRequires: libcmocka-devel
|
2009-06-04 13:12:03 +00:00
|
|
|
|
|
|
|
%description
|
2013-06-10 09:33:03 +00:00
|
|
|
The ssh library was designed to be used by programmers needing a working SSH
|
|
|
|
implementation by the mean of a library. The complete control of the client is
|
|
|
|
made by the programmer. With libssh, you can remotely execute programs, transfer
|
|
|
|
files, use a secure and transparent tunnel for your remote programs. With its
|
|
|
|
Secure FTP implementation, you can play with remote files easily, without
|
|
|
|
third-party programs others than libcrypto (from openssl).
|
2009-06-04 13:12:03 +00:00
|
|
|
|
|
|
|
%package devel
|
2013-07-19 07:00:36 +00:00
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2009-06-04 13:12:03 +00:00
|
|
|
|
|
|
|
%description devel
|
2013-06-10 09:33:03 +00:00
|
|
|
The %{name}-devel package contains libraries and header files for developing
|
|
|
|
applications that use %{name}.
|
2009-06-04 13:12:03 +00:00
|
|
|
|
|
|
|
%prep
|
2018-08-10 13:06:09 +00:00
|
|
|
gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
|
2017-12-29 15:34:52 +00:00
|
|
|
%autosetup -p1
|
2015-06-30 07:45:26 +00:00
|
|
|
|
2009-06-04 13:12:03 +00:00
|
|
|
%build
|
2013-07-26 07:25:47 +00:00
|
|
|
if test ! -e "obj"; then
|
|
|
|
mkdir obj
|
|
|
|
fi
|
|
|
|
pushd obj
|
|
|
|
|
2017-03-11 15:49:36 +00:00
|
|
|
%cmake .. \
|
2018-08-10 13:06:09 +00:00
|
|
|
-DUNIT_TESTING=ON
|
2017-03-11 15:49:36 +00:00
|
|
|
|
2018-03-07 17:07:07 +00:00
|
|
|
%make_build VERBOSE=1
|
2013-07-19 07:00:36 +00:00
|
|
|
make doc
|
2009-06-04 13:12:03 +00:00
|
|
|
|
2013-07-26 07:25:47 +00:00
|
|
|
popd
|
|
|
|
|
2009-06-04 13:12:03 +00:00
|
|
|
%install
|
2017-03-11 15:49:36 +00:00
|
|
|
make DESTDIR=%{buildroot} install/fast -C obj
|
2009-06-04 13:12:03 +00:00
|
|
|
|
2017-03-11 15:49:36 +00:00
|
|
|
## unpackaged files
|
|
|
|
# static libs forced on using WITH_TESTING
|
|
|
|
rm -fv %{buildroot}%{_libdir}/libssh.a
|
2016-02-24 14:10:43 +00:00
|
|
|
|
2018-01-31 16:35:24 +00:00
|
|
|
%ldconfig_scriptlets
|
2009-06-04 13:12:03 +00:00
|
|
|
|
2016-02-24 14:10:43 +00:00
|
|
|
%check
|
|
|
|
pushd obj
|
2018-08-10 13:06:09 +00:00
|
|
|
ctest --output-on-failure
|
2016-02-24 14:10:43 +00:00
|
|
|
popd
|
|
|
|
|
2009-06-04 13:12:03 +00:00
|
|
|
%files
|
2017-03-11 15:49:36 +00:00
|
|
|
%doc AUTHORS BSD ChangeLog README
|
|
|
|
%license COPYING
|
|
|
|
%{_libdir}/libssh.so.4*
|
2009-06-04 13:12:03 +00:00
|
|
|
|
|
|
|
%files devel
|
2013-07-19 07:00:36 +00:00
|
|
|
%doc obj/doc/html
|
2017-03-11 15:49:36 +00:00
|
|
|
%{_includedir}/libssh/
|
|
|
|
# own this to avoid dep on cmake -- rex
|
|
|
|
%dir %{_libdir}/cmake/
|
|
|
|
%{_libdir}/cmake/libssh/
|
2013-07-26 07:25:47 +00:00
|
|
|
%{_libdir}/pkgconfig/libssh.pc
|
|
|
|
%{_libdir}/libssh.so
|
2009-06-04 13:12:03 +00:00
|
|
|
|
|
|
|
%changelog
|
2018-08-10 13:06:09 +00:00
|
|
|
* Fri Aug 10 2018 Andreas Schneider <asn@redhat.com> - 0.8.0-1
|
|
|
|
- Update to version 0.8.0
|
|
|
|
https://www.libssh.org/2018/08/10/libssh-0-8-0/
|
|
|
|
|
2018-07-13 08:52:44 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.5-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-03-07 17:07:07 +00:00
|
|
|
* Wed Mar 07 2018 Rex Dieter <rdieter@fedoraproject.org> - 0.7.5-8
|
|
|
|
- BR: gcc-c++, use %%make_build
|
|
|
|
|
2018-02-07 23:24:49 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.5-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-02-01 08:54:09 +00:00
|
|
|
* Thu Feb 01 2018 Andreas Schneider <asn@redhat.com> - 0.7.5-6
|
|
|
|
- resolves: #1540021 - Build against OpenSSL 1.1
|
|
|
|
|
2018-01-31 16:35:24 +00:00
|
|
|
* Wed Jan 31 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.5-5
|
|
|
|
- Switch to %%ldconfig_scriptlets
|
|
|
|
|
2017-12-29 15:34:52 +00:00
|
|
|
* Fri Dec 29 2017 Andreas Schneider <asn@redhat.com> - 0.7.5-4
|
|
|
|
- Fix parsing ssh_config
|
|
|
|
|
2017-08-03 02:19:42 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.5-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 19:45:58 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-04-26 21:20:21 +00:00
|
|
|
* Wed Apr 26 2017 Peter Robinson <pbrobinson@fedoraproject.org> 0.7.5-1
|
|
|
|
- Update to version 0.7.5
|
|
|
|
|
2017-03-11 15:49:36 +00:00
|
|
|
* Sat Mar 11 2017 Rex Dieter <rdieter@fedoraproject.org> - 0.7.4-2
|
|
|
|
- BR: compat-openssl10-devel (f26+, #1423088)
|
|
|
|
- use %%license
|
|
|
|
- -devel: drop hardcoded pkgconfig dep (let autodeps handle it)
|
|
|
|
- %%files: track library sonames, simplify -devel
|
|
|
|
- %%install: use 'install/fast' target
|
|
|
|
- .spec cosmetics, drop deprecated %%clean section
|
|
|
|
|
2017-02-08 10:49:20 +00:00
|
|
|
* Wed Feb 08 2017 Andreas Schneider <asn@redhat.com> - 0.7.4-1
|
|
|
|
- Update to version 0.7.4
|
|
|
|
* Added id_ed25519 to the default identity list
|
|
|
|
* Fixed sftp EOF packet handling
|
|
|
|
* Fixed ssh_send_banner() to confirm with RFC 4253
|
|
|
|
* Fixed some memory leaks
|
|
|
|
- resolves: #1419007
|
|
|
|
|
2016-02-24 14:10:43 +00:00
|
|
|
* 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
|
|
|
|
|
2016-02-04 03:58:07 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-10-22 08:58:21 +00:00
|
|
|
* Thu Oct 22 2015 Andreas Schneider <asn@redhat.com> - 0.7.2-2
|
|
|
|
- resolves: #1271230 - Fix ssh-agent support on big endian
|
|
|
|
|
2015-09-30 08:57:04 +00:00
|
|
|
* 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
|
|
|
|
|
2015-06-30 07:45:26 +00:00
|
|
|
* 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
|
|
|
|
* Fixed memory leak in session options
|
|
|
|
* Fixed allocation of ed25519 public keys
|
|
|
|
* Fixed channel exit-status and exit-signal
|
|
|
|
* Reintroduce ssh_forward_listen()
|
|
|
|
|
2015-06-17 17:21:44 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-05-21 19:27:53 +00:00
|
|
|
* Thu May 21 2015 Orion Poplawski <orion@cora.nwra.com> - 0.7.0-2
|
|
|
|
- Add patch to fix undefined symbol: ssh_forward_listen (bug #1221310)
|
|
|
|
|
2015-05-11 09:57:21 +00:00
|
|
|
* Mon May 11 2015 Andreas Schneider <asn@redhat.com> - 0.7.0-1
|
|
|
|
- Update to version 0.7.0
|
|
|
|
* Added support for ed25519 keys
|
|
|
|
* Added SHA2 algorithms for HMAC
|
|
|
|
* Added improved and more secure buffer handling code
|
|
|
|
* Added callback for auth_none_function
|
|
|
|
* Added support for ECDSA private key signing
|
|
|
|
* Added more tests
|
|
|
|
* Fixed a lot of bugs
|
|
|
|
* Improved API documentation
|
|
|
|
|
2015-05-04 13:00:39 +00:00
|
|
|
* Thu Apr 30 2015 Andreas Schneider <asn@redhat.com> - 0.6.5-1
|
|
|
|
- resolves: #1213775 - Security fix for CVE-2015-3146
|
|
|
|
- resolves: #1218076 - Security fix for CVE-2015-3146
|
|
|
|
|
2014-12-19 16:06:57 +00:00
|
|
|
* Fri Dec 19 2014 - Andreas Schneider <asn@redhat.com> - 0.6.4-1
|
|
|
|
- Security fix for CVE-2014-8132.
|
|
|
|
|
2014-08-17 06:09:22 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 05:34:15 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-03-04 16:38:28 +00:00
|
|
|
* Tue Mar 04 2014 - Andreas Schneider <asn@redhat.com> - 0.6.3-1
|
|
|
|
- Fix CVE-2014-0017.
|
|
|
|
|
2014-02-10 09:33:15 +00:00
|
|
|
* Mon Feb 10 2014 - Andreas Schneider <asn@redhat.com> - 0.6.1-1
|
|
|
|
- Update to version 0.6.1.
|
|
|
|
- resolves: #1056757 - Fix scp mode.
|
|
|
|
- resolves: #1053305 - Fix known_hosts heuristic.
|
|
|
|
|
2014-01-08 11:58:36 +00:00
|
|
|
* Wed Jan 08 2014 - Andreas Schneider <asn@redhat.com> - 0.6.0-1
|
|
|
|
- Update to 0.6.0
|
|
|
|
|
2013-07-26 07:25:47 +00:00
|
|
|
* Fri Jul 26 2013 - Andreas Schneider <asn@redhat.com> - 0.5.5-1
|
|
|
|
- Update to 0.5.5.
|
|
|
|
- Clenup the spec file.
|
|
|
|
|
2013-07-19 07:00:36 +00:00
|
|
|
* Thu Jul 18 2013 Simone Caronni <negativo17@gmail.com> - 0.5.4-5
|
|
|
|
- Add EPEL 5 support.
|
|
|
|
- Add Debian patches to enable Doxygen documentation.
|
|
|
|
|
2013-07-16 06:36:27 +00:00
|
|
|
* Tue Jul 16 2013 Simone Caronni <negativo17@gmail.com> - 0.5.4-4
|
|
|
|
- Add patch for #982685.
|
|
|
|
|
2013-06-10 09:33:03 +00:00
|
|
|
* Mon Jun 10 2013 Simone Caronni <negativo17@gmail.com> - 0.5.4-3
|
|
|
|
- Clean up SPEC file and fix rpmlint complaints.
|
|
|
|
|
2013-02-14 05:17:37 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2013-01-23 16:34:27 +00:00
|
|
|
* Wed Jan 23 2013 Petr Lautrbach <plautrba@redhat.com> 0.5.4-1
|
|
|
|
- update to security 0.5.4 release
|
|
|
|
- CVE-2013-0176 (#894407)
|
|
|
|
|
2012-11-20 15:38:47 +00:00
|
|
|
* Tue Nov 20 2012 Petr Lautrbach <plautrba@redhat.com> 0.5.3-1
|
|
|
|
- update to security 0.5.3 release (#878465)
|
|
|
|
|
2012-07-19 21:17:02 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-02-02 12:15:54 +00:00
|
|
|
* Thu Feb 02 2012 Petr Lautrbach <plautrba@redhat.com> 0.5.2-1
|
|
|
|
- update to 0.5.2 version (#730270)
|
|
|
|
|
2012-01-13 08:28:51 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-06-03 04:04:39 +00:00
|
|
|
* Wed Jun 1 2011 Jan F. Chadima <jchadima@redhat.com> - 0.5.0-1
|
|
|
|
- bounce versionn to 0.5.0 (#709785)
|
|
|
|
- the support for protocol v1 is disabled
|
|
|
|
|
2011-02-08 11:50:35 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.8-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-19 15:43:39 +00:00
|
|
|
* Wed Jan 19 2011 Jan F. Chadima <jchadima@redhat.com> - 0.4.8-1
|
|
|
|
- bounce versionn to 0.4.8 (#670456)
|
|
|
|
|
2010-08-12 14:28:15 +00:00
|
|
|
* Mon Sep 6 2010 Jan F. Chadima <jchadima@redhat.com> - 0.4.6-1
|
|
|
|
- bounce versionn to 0.4.6 (#630602)
|
|
|
|
|
2010-06-03 11:23:18 +00:00
|
|
|
* Thu Jun 3 2010 Jan F. Chadima <jchadima@redhat.com> - 0.4.4-1
|
|
|
|
- bounce versionn to 0.4.4 (#598592)
|
|
|
|
|
2010-05-19 05:11:46 +00:00
|
|
|
* Wed May 19 2010 Jan F. Chadima <jchadima@redhat.com> - 0.4.3-1
|
|
|
|
- bounce versionn to 0.4.3 (#593288)
|
|
|
|
|
2010-03-16 11:32:42 +00:00
|
|
|
* Tue Mar 16 2010 Jan F. Chadima <jchadima@redhat.com> - 0.4.2-1
|
|
|
|
- bounce versionn to 0.4.2 (#573972)
|
|
|
|
|
2010-02-16 15:35:00 +00:00
|
|
|
* Tue Feb 16 2010 Jan F. Chadima <jchadima@redhat.com> - 0.4.1-1
|
|
|
|
- bounce versionn to 0.4.1 (#565870)
|
|
|
|
|
2009-12-11 08:25:09 +00:00
|
|
|
* Fri Dec 11 2009 Jan F. Chadima <jchadima@redhat.com> - 0.4.0-1
|
|
|
|
- bounce versionn to 0.4.0 (#541010)
|
|
|
|
|
2009-11-26 10:00:53 +00:00
|
|
|
* Thu Nov 26 2009 Jan F. Chadima <jchadima@redhat.com> - 0.3.92-2
|
|
|
|
- typo in spec file
|
|
|
|
|
2009-11-26 08:26:31 +00:00
|
|
|
* Thu Nov 26 2009 Jan F. Chadima <jchadima@redhat.com> - 0.3.92-1
|
|
|
|
- bounce versionn to 0.3.92 (0.4 beta2) (#541010)
|
|
|
|
|
2009-08-21 14:21:43 +00:00
|
|
|
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 0.2-4
|
|
|
|
- rebuilt with new openssl
|
|
|
|
|
2009-07-25 08:41:42 +00:00
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-06-04 13:12:03 +00:00
|
|
|
* Tue Jun 02 2009 Jan F. Chadima <jchadima@redhat.com> - 0.2-2
|
|
|
|
- Small changes during review
|
|
|
|
|
|
|
|
* Mon Jun 01 2009 Jan F. Chadima <jchadima@redhat.com> - 0.2-1
|
|
|
|
- Initial build
|
2009-11-26 09:10:53 +00:00
|
|
|
|