Browse Source

spice package update

Signed-off-by: virtbuilder_pel7x64builder0 <virtbuilder@powerel.org>
master
virtbuilder_pel7x64builder0 6 years ago
parent
commit
9718b7f455
  1. BIN
      SOURCES/cfergeau-29AC6C82.keyring
  2. 289
      SPECS/spice.spec

BIN
SOURCES/cfergeau-29AC6C82.keyring

Binary file not shown.

289
SPECS/spice.spec

@ -1,50 +1,33 @@
Name: spice Name: spice
Version: 0.14.0 Version: 0.14.1
Release: 2%{?dist} Release: 1%{?dist}
Summary: Implements the SPICE protocol Summary: Implements the SPICE protocol
Group: User Interface/Desktops Group: User Interface/Desktops
License: LGPLv2+ License: LGPLv2+
URL: http://www.spice-space.org/ URL: http://www.spice-space.org/
Source0: http://www.spice-space.org/download/releases/%{name}-%{version}.tar.bz2 Source0: http://www.spice-space.org/download/releases/%{name}-%{version}.tar.bz2
Patch1: 0001-inputs-channel-Check-message-size-handling-migration.patch Source1: http://www.spice-space.org/download/releases/%{name}-%{version}.tar.bz2.sign
Patch2: 0002-red-channel-Remove-red_channel_init_outgoing_message.patch Source2: cfergeau-29AC6C82.keyring
Patch3: 0003-reds-Remove-leak-allocating-migration-state.patch
Patch4: 0004-tests-Check-leaks-registering-migration-interface.patch
Patch5: 0005-Notify-client-of-the-creation-of-new-channels-dynami.patch
Patch6: 0006-stream-device-Add-device-to-handle-streaming.patch
Patch7: 0007-stream-device-Start-parsing-new-protocol-from-guest.patch
Patch8: 0008-stream-channel-Write-a-base-channel-to-implement-the.patch
Patch9: 0009-stream-channel-Start-implementing-DisplayChannel-pro.patch
Patch10: 0010-stream-device-Create-channel-for-stream-device.patch
Patch11: 0011-stream-device-Handle-streaming-data-from-device-to-c.patch
Patch12: 0012-stream-channel-Allows-not-fixed-size.patch
Patch13: 0013-stream-channel-Allows-to-register-callback-to-get-ne.patch
Patch14: 0014-stream-channel-Support-client-connection-disconnecti.patch
Patch15: 0015-stream-channel-Do-not-show-an-empty-blank-screen-on-.patch
Patch16: 0016-char-device-Do-not-stop-and-clear-interface-on-reset.patch
Patch17: 0017-stream-device-Start-supporting-resetting-device-when.patch
Patch18: 0018-stream-device-Create-channel-when-needed.patch
Patch19: 0019-stream-device-Limit-sending-queue-from-guest-to-serv.patch
Patch20: 0020-stream-channel-Activate-streaming-report-from-client.patch


# https://bugzilla.redhat.com/show_bug.cgi?id=613529 # https://bugzilla.redhat.com/show_bug.cgi?id=613529
%if 0%{?rhel} %if 0%{?rhel} && 0%{?rhel} <= 7
ExclusiveArch: x86_64 ExclusiveArch: x86_64
%else %else
ExclusiveArch: i686 x86_64 armv6l armv7l armv7hl ExclusiveArch: %{ix86} x86_64 %{arm} aarch64
%endif %endif


BuildRequires: gcc
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: glib2-devel >= 2.22 BuildRequires: glib2-devel >= 2.22
BuildRequires: spice-protocol >= 0.12.10 BuildRequires: spice-protocol >= 0.12.3
BuildRequires: celt051-devel BuildRequires: opus-devel
BuildRequires: pixman-devel alsa-lib-devel openssl-devel libjpeg-turbo-devel BuildRequires: pixman-devel openssl-devel libjpeg-devel
BuildRequires: libcacard-devel cyrus-sasl-devel BuildRequires: libcacard-devel cyrus-sasl-devel
BuildRequires: lz4-devel BuildRequires: lz4-devel
BuildRequires: pyparsing BuildRequires: gstreamer1-devel gstreamer1-plugins-base-devel
BuildRequires: opus-devel BuildRequires: orc-devel
BuildRequires: git BuildRequires: gnupg2
BuildRequires: autoconf automake libtool BuildRequires: git-core


%description %description
The Simple Protocol for Independent Computing Environments (SPICE) is The Simple Protocol for Independent Computing Environments (SPICE) is
@ -75,7 +58,6 @@ Summary: Header files, libraries and development documentation for spice-
Group: Development/Libraries Group: Development/Libraries
Requires: %{name}-server%{?_isa} = %{version}-%{release} Requires: %{name}-server%{?_isa} = %{version}-%{release}
Requires: pkgconfig Requires: pkgconfig
Requires: spice-protocol >= 0.12.3


%description server-devel %description server-devel
This package contains the header files, static libraries and development This package contains the header files, static libraries and development
@ -84,12 +66,13 @@ using spice-server, you will need to install spice-server-devel.




%prep %prep
gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
%autosetup -S git_am %autosetup -S git_am




%build %build
autoreconf -fi %define configure_client --disable-client
%configure --enable-smartcard --disable-client %configure --enable-smartcard --disable-client --enable-lz4 --enable-gstreamer=1.0
make %{?_smp_mflags} WARN_CFLAGS='' V=1 make %{?_smp_mflags} WARN_CFLAGS='' V=1




@ -100,12 +83,13 @@ rm -f %{buildroot}%{_libdir}/libspice-server.la
mkdir -p %{buildroot}%{_libexecdir} mkdir -p %{buildroot}%{_libexecdir}




%post server -p /sbin/ldconfig %ldconfig_scriptlets server
%postun server -p /sbin/ldconfig




%files server %files server
%doc COPYING README NEWS %{!?_licensedir:%global license %%doc}
%license COPYING
%doc README NEWS
%{_libdir}/libspice-server.so.1* %{_libdir}/libspice-server.so.1*


%files server-devel %files server-devel
@ -115,165 +99,104 @@ mkdir -p %{buildroot}%{_libexecdir}




%changelog %changelog
* Thu Oct 12 2017 Christophe Fergeau <cfergeau@redhat.com> - 0.14.0-2 * Fri Aug 17 2018 Christophe Fergeau <cfergeau@redhat.com> - 0.14.1-1
- Add streaming patches for use with spice-streaming-agent - New upstream release
Related: rhbz#1478356 - Disable celt 0.5.1 support, Opus support has been there for 4 years, so
celt should no longer be needed

* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.14.0-3
- Switch to %%ldconfig_scriptlets

* Wed Nov 08 2017 Merlin Mathesius <mmathesi@redhat.com> - 0.14.0-2
- Cleanup spec file conditionals


* Wed Oct 11 2017 Christophe Fergeau <cfergeau@redhat.com> - 0.14.0-1 * Wed Oct 11 2017 Christophe Fergeau <cfergeau@redhat.com> - 0.14.0-1
- Rebase to 0.14.0 release - Update to new stable release
Resolves: rhbz#1472948
* Tue Sep 26 2017 Christophe Fergeau <christophe@redhat.com> - 0.13.91-1
- Update to latest upstream release


* Fri Sep 22 2017 Christophe Fergeau <cfergeau@redhat.com> 0.13.90-2 * Thu Aug 24 2017 Christophe Fergeau <cfergeau@redhat.com> - 0.13.90-3
- Add lz4-devel BuildRequires - Add missing (new) BuildRequires, remove obsolete one
Resolves: rhbz#1460191
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.90-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild


* Wed Jul 26 2017 Christophe Fergeau <cfergeau@redhat.com> 0.13.90-1 * Wed Jul 26 2017 Christophe Fergeau <cfergeau@redhat.com> 0.13.90-1
- Rebase to latest upstream release - Update to latest upstream release (0.13.90)
Resolves: rhbz#1472948

* Mon Feb 06 2017 Christophe Fergeau <cfergeau@redhat.com> 0.13.3-2
* Fri Jul 14 2017 Jonathon Jongsma <jjongsma@redhat.com> - 0.12.8-4 - Add upstream patches fixing CVE-2016-9577 and CVE-2016-9578
- build with opus support
Resolves: rhbz#1456832 * Mon Nov 21 2016 Christophe Fergeau <cfergeau@redhat.com> 0.13.3-1

- Update to spice 0.13.3
* Fri Jun 30 2017 Christophe Fergeau <cfergeau@redhat.com> 0.12.8-3
- Prevent potential buffer/integer overflows with invalid MonitorsConfig messages * Fri Aug 05 2016 Christophe Fergeau <cfergeau@redhat.com> - 0.13.2-1
sent from an authenticated client - Update to spice 0.13.2
Resolves: CVE-2017-7506

* Tue Jun 14 2016 Peter Robinson <pbrobinson@fedoraproject.org> 0.13.1-2
* Tue Apr 25 2017 Christophe Fergeau <cfergeau@redhat.com> 0.12.8-2 - Use %%license
- Drop clients immediatly if the magic they send is wrong - Build on aarch64
Resolves: rhbz#1416692

* Wed Apr 13 2016 Christophe Fergeau <cfergeau@redhat.com> 0.13.1-1
* Mon Jan 16 2017 Christophe Fergeau <cfergeau@redhat.com> 0.12.8-1 - Update to 0.13.1 release. This is a development release, but by the
- Rebase to spice-server 0.12.8 time Fedora 25 gets released, a stable 0.14.0 should be released.
Resolves: rhbz#1388947
Resolves: rhbz#1377551 * Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.6-2
Resolves: rhbz#1283202 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Fri Dec 09 2016 Frediano Ziglio <fziglio@redhat.com> - 0.12.4-20
- Fix buffer overflow in main_channel_alloc_msg_rcv_buf when reading large * Tue Oct 06 2015 Christophe Fergeau <cfergeau@redhat.com> 0.12.6-1
messages. - Update to new 0.12.6 upstream release
Resolves: CVE-2016-9577
- Fix remote DoS via crafted message. * Wed Jul 29 2015 Christophe Fergeau <cfergeau@redhat.com> 0.12.5-9
Resolves: CVE-2016-9578 - Drop patch added in previous build which is no longer needed with
* Fri Sep 09 2016 Christophe Fergeau <cfergeau@redhat.com> 0.12.4-19 spice-protocol 0.12.9 (and actually is actually breaking QEMU compilation
- Ensure SPICE_MIGRATE_COMPLETED is sent in all cases when it's needed. without an additional patch)
Resolves: rhbz#1352836
* Fri Jul 01 2016 Christophe Fergeau <cfergeau@redhat.com> - 0.12.4-18 * Fri Jul 03 2015 Christophe Fergeau <cfergeau@redhat.com> 0.12.5-8
- Fix crash when connecting to VM using smartcard passthrough - Add upstream patch avoiding a regression in spice-protocol 0.12.8 which
Resolves: rhbz#1340899 breaks SPICE support in QEMU
- Fix hang after unredirecting a USB device
Resolves: rhbz#1338752 * Thu Jul 02 2015 Christophe Fergeau <cfergeau@redhat.com> 0.12.5-7
- Backport spice_qxl_set_max_monitors() - Fix migration race condition which causes a crash when triggered
Resolves: rhbz#1283202 Resolves: rhbz#1238212
* Wed Apr 27 2016 Christophe Fergeau <cfergeau@redhat.com> - 0.12.4-17
- Fix crash when the client sends a wrong header (for example when using spice-html5) * Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.5-6
Resolves: rhbz#1281442 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
- Fix crash when guest provides wrong address
Resolves: rhbz#1264356 * Mon Aug 25 2014 Christophe Fergeau <cfergeau@redhat.com> 0.12.5-5
- Fix thread-safety issue causing a crash when playing a Youtube video spanning - Fix advertised sound playback/recording rates in public headers
multiple monitors Resolves: rhbz#1129961 (QEMU would need a rebuild though)
Resolves: rhbz#1253375
- Add patches reducing QEMU wake-ups * Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.5-4
Related: rhbz#912763, rhbz#1186146 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
- Fix use-after-free after resetting a VM
Resolves: rhbz#1281455 * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.5-3
- Send KeepAlive probes every 10 minutes - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
Resolves: rhbz#1298590
- Add client to guest volume synchronization * Mon May 19 2014 Christophe Fergeau <cfergeau@redhat.com> 0.12.5-2
Resolves: rhbz#1264107 - Add missing BuildRequires in order to enable Opus support


* Mon Apr 25 2016 Christophe Fergeau <cfergeau@redhat.com> - 0.12.4-16 * Mon May 19 2014 Christophe Fergeau <cfergeau@redhat.com> 0.12.5-1
- Use autosetup - Update to new 0.12.5 release
Related: CVE-2016-0749
- Fix heap-based memory corruption within smartcard handling * Wed Oct 30 2013 Christophe Fergeau <cfergeau@redhat.com> 0.12.4-3
Resolves: CVE-2016-0749 - Add patch fixing CVE-2013-4282
- Fix host memory access from guest with invalid primary surface parameters
Resolves: CVE-2016-2150

* Wed Sep 23 2015 Frediano Ziglio <fziglio@redhat.com> 0.12.4-15
- CVE-2015-5260 CVE-2015-5261 fixed various security flaws
Resolves: rhbz#1267134

* Thu Sep 10 2015 Frediano Ziglio <fziglio@redhat.com> 0.12.4-14
- Validate surface_id
Resolves: rhbz#1260971

* Tue Jul 21 2015 Frediano Ziglio <fziglio@redhat.com> 0.12.4-13
- Clean stale statistics file before creating a new one
Resolves: rhbz#1177326

* Fri Jul 10 2015 Fabiano Fidêncio <fidencio@redhat.com> 0.12.4-12
- Fix a backport issue on Patch0040.
Related: rhbz#1071176
Resolves: rhbz#1241860

* Thu Jul 09 2015 Fabiano Fidêncio <fidencio@redhat.com> 0.12.4-11
- Don't assert on invalid client message
Resolves: rhbz#1227410
- Don't truncate large 'now' values in _spice_timer_set
Resolves: rhbz#1227408
- Avoid race conditions reading monitor configs from guest
Resolves: rhbz#1239128
- Lock the pixmap image cache for the entire fill_bits call
Resolves: rhbz#1235443

* Wed Jul 08 2015 Fabiano Fidêncio <fidencio@redhat.com> 0.12.4-10
- Fix qemu segmentation fault (core dumped) when boot KVM guest with
spice in FIPS enabled mode.
Resolves: rhbz#1071176

* Mon Jan 05 2015 Marc-Andre Lureau <marcandre.lureau@redhat.com> 0.12.4-9
- Allow recent TLS/SSL methods, block SSLv2/SSLv3. Resolves: rhbz#1175540

* Tue Oct 21 2014 Christophe Fergeau <cfergeau@redhat.com> 0.12.4-8
- Fix defects reported by Coverity
Resolves: rhbz#885717
- Validate surface bounding box sent from QXL driver
Resolves: rhbz#1052856
- Fix assertion sometimes happening during migration while a client is
connected
Resolves: rhbz#1035184
- Fix crash when restarting VM with old client
Resolves: rhbz#1145919

* Thu Sep 18 2014 Christophe Fergeau <cfergeau@redhat.com> 0.12.4-7
- Fix assert in mjpeg_encoder_adjust_params_to_bit_rate()
Resolves: rhbz#1086823
- Fix "Spice-ERROR **: reds.c:1464:reds_send_link_ack: assertion
`link->link_mess->channel_type == SPICE_CHANNEL_MAIN' failed" assertion
Resolves: rhbz#1058625
- Lower a monitor-config warning to debug level
Resolves: rhbz#1119220
- mjpeg: Don't warn on unsupported image formats
Resolves: rhbz#1070028

* Thu Aug 07 2014 Marc-Andre Lureau <marcandre.lureau@redhat.com> 0.12.4-6
- Fix invalid surface clearing
Resolves: rhbz#1029646

* Wed Jan 29 2014 Christophe Fergeau <cfergeau@redhat.com> 0.12.4-5
- Fix qemu crash during migration with reboot
Resolves: rhbz#1016795
- Monitor whether the client is alive
Resolves: rhbz#1016790

* Tue Oct 15 2013 Christophe Fergeau <cfergeau@redhat.com> 0.12.4-3
- Fix spice-server crash when client sends a password which is too long
Resolves: CVE-2013-4282


* Fri Sep 13 2013 Christophe Fergeau <cfergeau@redhat.com> 0.12.4-2 * Fri Sep 13 2013 Christophe Fergeau <cfergeau@redhat.com> 0.12.4-2
- Add upstream patch fixing rhbz#995041 - Add upstream patch fixing rhbz#995041


* Fri Aug 2 2013 Hans de Goede <hdegoede@redhat.com> - 0.12.4-1 * Fri Aug 2 2013 Hans de Goede <hdegoede@redhat.com> - 0.12.4-1
- New upstream bug-fix release 0.12.4
- Add patches from upstream git to fix sound-channel-free crash (rhbz#986407) - Add patches from upstream git to fix sound-channel-free crash (rhbz#986407)
- Add Obsoletes for dropped spice-client sub-package - Add Obsoletes for dropped spice-client sub-package


* Mon Jul 22 2013 Yonit Halperin <yhalperi@redhat.com> 0.12.4-1
- New upstream release 0.12.4
- Require libjpeg-turbo-devel instead of libjpeg-devel
- Remove "BuildRequires: spice-protocol" from spice-server
- Add "Requires: spice-protocol" to spice-server-devel.

* Thu May 23 2013 Christophe Fergeau <cfergeau@redhat.com> 0.12.3-2 * Thu May 23 2013 Christophe Fergeau <cfergeau@redhat.com> 0.12.3-2
- Stop building spicec, it's obsolete and superseded by remote-viewer - Stop building spicec, it's obsolete and superseded by remote-viewer
(part of virt-viewer) (part of virt-viewer)

Loading…
Cancel
Save