Compare commits

...

11 Commits
master ... f26

Author SHA1 Message Date
Richard Hughes 090c19266b New upstream release 2018-02-23 14:39:28 +00:00
Richard Hughes 73fff7dfa1 New upstream release 2017-08-03 11:40:32 +01:00
Richard Hughes a476ab35c0 Disable BuildArch: noarch for the labels sub-package 2017-07-04 16:43:50 +01:00
Richard Hughes d858990a70 New upstream release 2017-07-04 16:29:12 +01:00
Richard Hughes 6c1c385b69 New upstream release 2017-06-15 09:47:20 +01:00
Richard Hughes fa15343b4c New upstream release 2017-06-07 16:22:37 +01:00
Richard Hughes 372a9cdf07 Backport several fixes 2017-05-23 14:13:47 +01:00
Richard Hughes c84d28b482 Fix build 2017-05-22 20:40:31 +01:00
Richard Hughes b8d29d56e7 New upstream release 2017-05-22 20:21:39 +01:00
Richard Hughes 9534780777 New upstream release 2017-04-20 16:56:37 +01:00
Bastien Nocera 88d6aee591 + fwupd-0.8.1-2
Release claimed devices on error, fixes unusable input devices
2017-03-23 17:09:34 +01:00
4 changed files with 207 additions and 76 deletions

7
.gitignore vendored
View File

@ -22,3 +22,10 @@
/fwupd-0.7.5.tar.xz
/fwupd-0.8.0.tar.xz
/fwupd-0.8.1.tar.xz
/fwupd-0.8.2.tar.xz
/fwupd-0.9.2.tar.xz
/fwupd-0.9.3.tar.xz
/fwupd-0.9.4.tar.xz
/fwupd-0.9.5.tar.xz
/fwupd-0.9.6.tar.xz
/fwupd-0.9.9.tar.xz

View File

@ -1,29 +0,0 @@
From 96e1ea6b265728aad5bf43f18009abb3befc34a0 Mon Sep 17 00:00:00 2001
From: Richard Hughes <richard@hughsie.com>
Date: Thu, 11 Aug 2016 18:24:14 +0100
Subject: [PATCH] Switch to the Amazon S3 CDN for firmware metadata
This is much more scalable than millions of clients hitting a single
OpenShift instance.
---
data/fwupd.conf | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/data/fwupd.conf b/data/fwupd.conf
index 5aacd5c..3ec448b 100644
--- a/data/fwupd.conf
+++ b/data/fwupd.conf
@@ -3,8 +3,8 @@
# The download URI to use for LVFS metadata
#
# If you want to use testing firmware then change this value to:
-# https://secure-lvfs.rhcloud.com/downloads/firmware-testing.xml.gz
-DownloadURI=https://secure-lvfs.rhcloud.com/downloads/firmware.xml.gz
+# https://s3.amazonaws.com/lvfsbucket/downloads/firmware-testing.xml.gz
+DownloadURI=https://s3.amazonaws.com/lvfsbucket/downloads/firmware.xml.gz
# If we should verify option ROM images
EnableOptionROM=true
--
2.7.4

View File

@ -1,20 +1,26 @@
%global glib2_version 2.45.8
%global libappstream_version 0.5.10
%global libgusb_version 0.2.9
%global libappstream_version 0.6.13
%global libgusb_version 0.2.11
%global libsoup_version 2.51.92
%global colord_version 1.2.12
%global systemd_version 231
%ifarch x86_64 %{ix86}
%global have_smbios 1
%global enable_tests 1
%global enable_dummy 1
# fwupdate is only available on these arches
%ifarch x86_64 aarch64
%global have_uefi 1
%endif
# FIXME: should also be aarch64, but efivar not present there yet
%ifarch x86_64 %{ix86}
%global have_uefi 1
# libsmbios is only available on x86, and fwupdate is available on just x86_64
%ifarch x86_64
%global have_dell 1
%endif
Summary: Firmware update daemon
Name: fwupd
Version: 0.8.1
Version: 0.9.9
Release: 1%{?dist}
License: GPLv2+
URL: https://github.com/hughsie/fwupd
@ -23,17 +29,15 @@ Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.
BuildRequires: docbook-utils
BuildRequires: gettext
BuildRequires: glib2-devel >= %{glib2_version}
BuildRequires: intltool
BuildRequires: libappstream-glib-devel >= %{libappstream_version}
BuildRequires: libgudev1-devel
BuildRequires: libgusb-devel >= %{libgusb_version}
BuildRequires: libsoup-devel >= %{libsoup_version}
BuildRequires: colord-devel >= 1.0.0
BuildRequires: colord-devel >= %{colord_version}
BuildRequires: polkit-devel >= 0.103
BuildRequires: libgcab1-devel
BuildRequires: sqlite-devel
BuildRequires: gpgme-devel
BuildRequires: systemd
BuildRequires: systemd >= %{systemd_version}
BuildRequires: libarchive-devel
BuildRequires: gobject-introspection-devel
BuildRequires: gcab
@ -41,8 +45,23 @@ BuildRequires: valgrind
BuildRequires: valgrind-devel
BuildRequires: elfutils-libelf-devel
BuildRequires: gtk-doc
BuildRequires: libuuid-devel
BuildRequires: gnutls-devel
BuildRequires: gnutls-utils
BuildRequires: meson
%if 0%{?have_smbios}
%if 0%{?have_uefi}
BuildRequires: python3 python3-cairo python3-gobject python3-pillow
BuildRequires: pango-devel
BuildRequires: cairo-devel cairo-gobject-devel
BuildRequires: freetype
BuildRequires: fontconfig
BuildRequires: dejavu-sans-fonts
BuildRequires: adobe-source-han-sans-cn-fonts
%endif
%if 0%{?have_dell}
BuildRequires: efivar-devel
BuildRequires: libsmbios-devel >= 2.3.0
%endif
@ -59,6 +78,10 @@ Requires: glib2%{?_isa} >= %{glib2_version}
Requires: libappstream-glib%{?_isa} >= %{libappstream_version}
Requires: libgusb%{?_isa} >= %{libgusb_version}
Requires: libsoup%{?_isa} >= %{libsoup_version}
Requires: fwupd-labels = %{version}-%{release}
Requires: bubblewrap
Recommends: python3
Obsoletes: fwupd-sign < 0.1.6
Obsoletes: libebitdo < 0.7.5-3
@ -87,43 +110,71 @@ Requires: libdfu%{?_isa} = %{version}-%{release}
%description -n libdfu-devel
Files for development with libdfu.
%package labels
Summary: Rendered labels for display during system firmware updates.
# BuildArch: noarch is disabled as we can get "different" .BMP files even when
# running the build on the same architecture due to the randomness introduced
# by the TTF files.
%description labels
Rendered labels for display during system firmware updates.
%package tests
Summary: Data files for installed tests
BuildArch: noarch
%description tests
Data files for installed tests.
%prep
%setup -q
%build
%configure \
--disable-static \
--disable-thunderbolt \
--enable-gtk-doc \
--enable-colorhug \
%if 0%{?have_uefi}
--enable-uefi \
%else
--disable-uefi \
%endif
%if 0%{?have_smbios}
--enable-dell \
--enable-synaptics \
%else
--disable-dell \
--disable-synaptics \
%endif
--disable-rpath \
--disable-silent-rules \
--disable-dependency-tracking
make %{?_smp_mflags}
%meson \
-Denable-doc=true \
-Denable-man=true \
%if 0%{?enable_tests}
-Denable-tests=true \
%else
-Denable-tests=false \
%endif
%if 0%{?enable_dummy}
-Denable-dummy=true \
%else
-Denable-dummy=false \
%endif
-Denable-thunderbolt=true \
%if 0%{?have_uefi}
-Denable-uefi=true \
-Denable-uefi-labels=true \
%else
-Denable-uefi=false \
-Denable-uefi-labels=false \
%endif
%if 0%{?have_dell}
-Denable-dell=true \
-Denable-synaptics=true \
%else
-Denable-dell=false \
-Denable-synaptics=false \
%endif
-Denable-colorhug=true
%meson_build
%if 0%{?enable_tests}
%check
%meson_test
%endif
%install
make install DESTDIR=$RPM_BUILD_ROOT
find %{buildroot} -name '*.la' -exec rm -f {} ';'
mkdir --mode=0700 $RPM_BUILD_ROOT%{_localstatedir}/lib/fwupd/gnupg
%meson_install
mkdir -p --mode=0700 $RPM_BUILD_ROOT%{_localstatedir}/lib/fwupd/gnupg
%find_lang %{name}
%check
make check VERBOSE=1
%post
/sbin/ldconfig
%systemd_post fwupd.service
@ -145,39 +196,50 @@ make check VERBOSE=1
%dir %{_libexecdir}/fwupd
%{_libexecdir}/fwupd/fwupd
%{_bindir}/fwupdmgr
%dir %{_sysconfdir}/fwupd
%dir %{_sysconfdir}/fwupd/remotes.d
%{_sysconfdir}/fwupd/remotes.d/fwupd.conf
%{_sysconfdir}/fwupd/remotes.d/lvfs.conf
%{_sysconfdir}/fwupd/remotes.d/lvfs-testing.conf
%{_sysconfdir}/fwupd/remotes.d/vendor.conf
%{_sysconfdir}/pki/fwupd
%{_sysconfdir}/pki/fwupd-metadata
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.fwupd.conf
%{_datadir}/app-info/xmls/org.freedesktop.fwupd.xml
%{_datadir}/fwupd/remotes.d/fwupd/metadata.xml
%{_datadir}/fwupd/remotes.d/vendor/firmware/README.md
%{_datadir}/dbus-1/interfaces/org.freedesktop.fwupd.xml
%{_datadir}/polkit-1/actions/org.freedesktop.fwupd.policy
%{_datadir}/polkit-1/rules.d/org.freedesktop.fwupd.rules
%{_datadir}/dbus-1/system-services/org.freedesktop.fwupd.service
%{_datadir}/man/man1/fwupdmgr.1.gz
%{_datadir}/metainfo/org.freedesktop.fwupd.metainfo.xml
%{_datadir}/fwupd/firmware-packager
%{_unitdir}/fwupd-offline-update.service
%{_unitdir}/fwupd.service
%{_unitdir}/system-update.target.wants/
%dir %{_localstatedir}/lib/fwupd
%{_localstatedir}/lib/fwupd/builder/README.md
%{_libdir}/libfwupd*.so.*
%{_libdir}/girepository-1.0/Fwupd-1.0.typelib
%dir %{_localstatedir}/cache/app-info
%dir %{_localstatedir}/cache/app-info/icons
%dir %{_localstatedir}/cache/app-info/xmls
/usr/lib/udev/rules.d/*.rules
%dir %{_libdir}/fwupd-plugins-2
%{_libdir}/fwupd-plugins-2/libfu_plugin_altos.so
%{_libdir}/fwupd-plugins-2/libfu_plugin_amt.so
%{_libdir}/fwupd-plugins-2/libfu_plugin_colorhug.so
%if 0%{?have_smbios}
%if 0%{?have_dell}
%{_libdir}/fwupd-plugins-2/libfu_plugin_dell.so
%endif
%{_libdir}/fwupd-plugins-2/libfu_plugin_dfu.so
%{_libdir}/fwupd-plugins-2/libfu_plugin_ebitdo.so
%{_libdir}/fwupd-plugins-2/libfu_plugin_raspberrypi.so
%{_libdir}/fwupd-plugins-2/libfu_plugin_steelseries.so
%if 0%{?have_smbios}
%if 0%{?have_dell}
%{_libdir}/fwupd-plugins-2/libfu_plugin_synapticsmst.so
%endif
%if 0%{?enable_dummy}
%{_libdir}/fwupd-plugins-2/libfu_plugin_test.so
%endif
%{_libdir}/fwupd-plugins-2/libfu_plugin_thunderbolt.so
%{_libdir}/fwupd-plugins-2/libfu_plugin_udev.so
%if 0%{?have_uefi}
%{_libdir}/fwupd-plugins-2/libfu_plugin_uefi.so
@ -209,7 +271,98 @@ make check VERBOSE=1
%{_libdir}/libdfu*.so
%{_libdir}/pkgconfig/dfu.pc
%files labels
%if 0%{?have_uefi}
%{_datadir}/locale/*/LC_IMAGES/fwupd*
%endif
%files tests
%dir %{_datadir}/installed-tests/fwupd
%{_datadir}/installed-tests/fwupd/firmware-example.xml.gz
%{_datadir}/installed-tests/fwupd/firmware-example.xml.gz.asc
%{_datadir}/installed-tests/fwupd/*.test
%{_datadir}/installed-tests/fwupd/*.cab
%{_datadir}/installed-tests/fwupd/*.sh
%{_datadir}/installed-tests/fwupd/*.py*
%changelog
* Fri Feb 23 2018 Richard Hughes <richard@hughsie.com> 0.9.9-1
- New upstream release
- Block owned TPM updates on Dell hardware
- Catch invalid Dell dock component requests
- Disable the dell plugin if libsmbios fails
- Enforce the thunderbolt controller version is xx.yy
- Fix crash when enumerating with dock connected but UEFI capsule off
- Handle "native" thunderbolt mode (Yehezkel Bernat)
- Ignore useless thunderbolt device types
- Never include release checksums for older firmware versions
- Use a CNAME to redirect to the correct CDN for metadata
* Thu Aug 03 2017 Richard Hughes <richard@hughsie.com> 0.9.6-1
- New upstream release
- Add --version option to fwupdmgr
- Display all errors recorded by efi_error tracing
- Don't log a warning when an unknown unifying report is parsed
- Fix a hang on 32 bit machines
- Make sure the unifying percentage completion goes from 0% to 100%
- Support embedded devices with local firmware metadata
- Use new GUsb functionality to fix flashing Unifying devices
* Tue Jul 04 2017 Richard Hughes <richard@hughsie.com> 0.9.5-1
- New upstream release
- Add a plugin to get the version of the AMT ME interface
- Allow flashing Unifying devices in bootloader modes
- Filter by Unifying SwId when making HID++2.0 requests
- Fix downgrades when version_lowest is set
- Fix the self tests when running on PPC64 big endian
- Use the UFY DeviceID prefix for Unifying devices
* Thu Jun 15 2017 Richard Hughes <richard@hughsie.com> 0.9.4-1
- New upstream release
- Add installed tests that use the daemon
- Add the ability to restrict firmware to specific vendors
- Compile with newer versions of meson
- Fix a common crash when refreshing metadata
- Generate a images for status messages during system firmware update
- Show progress download when refreshing metadata
- Use the correct type signature in the D-Bus introspection file
* Wed Jun 07 2017 Richard Hughes <richard@hughsie.com> 0.9.3-1
- New upstream release
- Add a 'downgrade' command to fwupdmgr
- Add a 'get-releases' command to fwupdmgr
- Add support for Microsoft HardwareIDs
- Allow downloading metadata from more than just the LVFS
- Allow multiple checksums on devices and releases
- Correctly open Unifying devices with original factory firmware
- Do not expect a Unifying reply when issuing a REBOOT command
- Do not re-download firmware that exists in the cache
- Fix a problem when testing for a Dell system
- Fix flashing new firmware to 8bitdo controllers
* Tue May 23 2017 Richard Hughes <richard@hughsie.com> 0.9.2-2
- Backport several fixes for updating Unifying devices
* Mon May 22 2017 Richard Hughes <richard@hughsie.com> 0.9.2-1
- New upstream release
- Add support for Unifying DFU features
- Do not spew a critial warning when parsing an invalid URI
- Ensure steelseries device is closed if it returns an invalid packet
- Ignore spaces in the Unifying version prefix
* Thu Apr 20 2017 Richard Hughes <richard@hughsie.com> 0.8.2-1
- New upstream release
- Add a config option to allow runtime disabling plugins by name
- Add DFU quirk for OpenPICC and SIMtrace
- Create directories in /var/cache as required
- Fix the Requires lines in the dfu pkg-config file
- Only try to mkdir the localstatedir if we have the right permissions
- Support proxy servers in fwupdmgr
* Thu Mar 23 2017 Bastien Nocera <bnocera@redhat.com> - 0.8.1-2
+ fwupd-0.8.1-2
- Release claimed devices on error, fixes unusable input devices
* Mon Feb 27 2017 Richard Hughes <richard@hughsie.com> 0.8.1-1
- New upstream release
- Adjust systemd confinement restrictions

View File

@ -1 +1 @@
SHA512 (fwupd-0.8.1.tar.xz) = 421505296e06806eb95f74a6d55a4a1f13a9b0f62549b706a3c93e014be3949b0e370f7a4a757e994ed7e8cd6e1b0a5f1da33567190ac74182affa828cf6a30b
SHA512 (fwupd-0.9.9.tar.xz) = 0a2d7ca90f7232d2c65c2fab6b2f37642d09bb45abfbefaafd381a7e51721cc92a5fe2ab6f22f2396f58d524636e9a61a206336bb7fb1d7286b18d588f2dd2f7