Compare commits

...

6 Commits
master ... f28

Author SHA1 Message Date
Richard Hughes 81cb92f9c8 Add bash-completion BR 2018-06-07 14:01:05 +01:00
Richard Hughes 00636d928f New upstream release 2018-06-07 13:37:07 +01:00
Richard Hughes 01cda1d6aa New upstream release 2018-04-30 15:31:23 +01:00
Richard Hughes 0405ca71a2 New upstream release 2018-03-12 12:08:09 +00:00
Peter Robinson 4154600477 Merge branch 'master' into f28 2018-03-04 00:17:40 +00:00
Richard Hughes 14c7864c5c Use the new CDN for metadata 2018-02-23 10:31:11 +00:00
4 changed files with 56 additions and 59 deletions

3
.gitignore vendored
View File

@ -35,3 +35,6 @@
/fwupd-1.0.3.tar.xz
/fwupd-1.0.4.tar.xz
/fwupd-1.0.5.tar.xz
/fwupd-1.0.6.tar.xz
/fwupd-1.0.7.tar.xz
/fwupd-1.0.8.tar.xz

View File

@ -1,43 +0,0 @@
From 4ee0836ff3f3c5ee14965da250bc549abcbcc95c Mon Sep 17 00:00:00 2001
From: Richard Hughes <richard@hughsie.com>
Date: Wed, 21 Feb 2018 19:01:57 +0000
Subject: [PATCH] Use a CNAME to redirect to the correct CDN for metadata
The current CDN (~$100/month) is kindly sponsored by Amazon, but that won't
last forever. In the future we can switch to a 'dumb' provider like BunnyCDN
for 1/10th of the cost.
Use a CNAME we control to make switching CDN providers easy in the future.
---
data/remotes.d/lvfs-testing.conf | 2 +-
data/remotes.d/lvfs.conf | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/data/remotes.d/lvfs-testing.conf b/data/remotes.d/lvfs-testing.conf
index 75da08f1..41d9ffff 100644
--- a/data/remotes.d/lvfs-testing.conf
+++ b/data/remotes.d/lvfs-testing.conf
@@ -4,7 +4,7 @@
Enabled=false
Title=Linux Vendor Firmware Service (testing)
Keyring=gpg
-MetadataURI=https://s3.amazonaws.com/lvfsbucket/downloads/firmware-testing.xml.gz
+MetadataURI=https://cdn.fwupd.org/downloads/firmware-testing.xml.gz
ReportURI=https://fwupd.org/lvfs/firmware/report
Username=
Password=
diff --git a/data/remotes.d/lvfs.conf b/data/remotes.d/lvfs.conf
index 51d0f55e..4e971be6 100644
--- a/data/remotes.d/lvfs.conf
+++ b/data/remotes.d/lvfs.conf
@@ -4,6 +4,6 @@
Enabled=true
Title=Linux Vendor Firmware Service
Keyring=gpg
-MetadataURI=https://s3.amazonaws.com/lvfsbucket/downloads/firmware.xml.gz
+MetadataURI=https://cdn.fwupd.org/downloads/firmware.xml.gz
ReportURI=https://fwupd.org/lvfs/firmware/report
OrderBefore=fwupd
--
2.14.3

View File

@ -2,7 +2,6 @@
%global libappstream_version 0.7.4
%global libgusb_version 0.2.11
%global libsoup_version 2.51.92
%global colord_version 1.2.12
%global systemd_version 231
%global json_glib_version 1.1.1
@ -19,27 +18,20 @@
%global have_dell 1
%endif
# -Wl,-z,defs is broken
%undefine _strict_symbol_defs_build
Summary: Firmware update daemon
Name: fwupd
Version: 1.0.5
Release: 2%{?dist}
License: GPLv2+
Version: 1.0.8
Release: 1%{?dist}
License: LGPLv2+
URL: https://github.com/hughsie/fwupd
Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
# backport from master
Patch0: 0001-Use-a-CNAME-to-redirect-to-the-correct-CDN-for-metad.patch
BuildRequires: gettext
BuildRequires: glib2-devel >= %{glib2_version}
BuildRequires: libappstream-glib-devel >= %{libappstream_version}
BuildRequires: libgudev1-devel
BuildRequires: libgusb-devel >= %{libgusb_version}
BuildRequires: libsoup-devel >= %{libsoup_version}
BuildRequires: colord-devel >= %{colord_version}
BuildRequires: polkit-devel >= 0.103
BuildRequires: sqlite-devel
BuildRequires: gpgme-devel
@ -57,6 +49,8 @@ BuildRequires: gnutls-utils
BuildRequires: meson
BuildRequires: help2man
BuildRequires: json-glib-devel >= %{json_glib_version}
BuildRequires: vala
BuildRequires: bash-completion
%if 0%{?have_uefi}
BuildRequires: python3 python3-cairo python3-gobject python3-pillow
@ -124,13 +118,11 @@ Data files for installed tests.
%prep
%setup -q
%patch0 -p1 -b .no-cdn
%build
%meson \
-Dgtkdoc=true \
-Dman=true \
%if 0%{?enable_tests}
-Dtests=true \
%else
@ -156,7 +148,7 @@ Data files for installed tests.
-Dplugin_dell=false \
-Dplugin_synaptics=false \
%endif
-Dplugin_colorhug=true
-Dman=true
%meson_build
@ -187,8 +179,12 @@ mkdir -p --mode=0700 $RPM_BUILD_ROOT%{_localstatedir}/lib/fwupd/gnupg
%doc README.md AUTHORS NEWS
%license COPYING
%config(noreplace)%{_sysconfdir}/fwupd/daemon.conf
%if 0%{?have_uefi}
%config(noreplace)%{_sysconfdir}/fwupd/uefi.conf
%endif
%dir %{_libexecdir}/fwupd
%{_libexecdir}/fwupd/fwupd
%{_libexecdir}/fwupd/fwupdtool
%{_bindir}/dfu-tool
%{_bindir}/fwupdmgr
%dir %{_sysconfdir}/fwupd
@ -200,6 +196,9 @@ mkdir -p --mode=0700 $RPM_BUILD_ROOT%{_localstatedir}/lib/fwupd/gnupg
%config(noreplace)%{_sysconfdir}/pki/fwupd
%{_sysconfdir}/pki/fwupd-metadata
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.fwupd.conf
%{_datadir}/bash-completion/completions/fwupdmgr
%{_datadir}/bash-completion/completions/fwupdtool
%{_datadir}/fwupd/metainfo/org.freedesktop.fwupd*.metainfo.xml
%{_datadir}/fwupd/remotes.d/fwupd/metadata.xml
%{_datadir}/fwupd/remotes.d/vendor/firmware/README.md
%{_datadir}/dbus-1/interfaces/org.freedesktop.fwupd.xml
@ -231,7 +230,6 @@ mkdir -p --mode=0700 $RPM_BUILD_ROOT%{_localstatedir}/lib/fwupd/gnupg
%{_libdir}/fwupd-plugins-3/libfu_plugin_dfu.so
%{_libdir}/fwupd-plugins-3/libfu_plugin_ebitdo.so
%{_libdir}/fwupd-plugins-3/libfu_plugin_nitrokey.so
%{_libdir}/fwupd-plugins-3/libfu_plugin_raspberrypi.so
%{_libdir}/fwupd-plugins-3/libfu_plugin_steelseries.so
%if 0%{?have_dell}
%{_libdir}/fwupd-plugins-3/libfu_plugin_synapticsmst.so
@ -247,11 +245,13 @@ mkdir -p --mode=0700 $RPM_BUILD_ROOT%{_localstatedir}/lib/fwupd/gnupg
%endif
%{_libdir}/fwupd-plugins-3/libfu_plugin_unifying.so
%{_libdir}/fwupd-plugins-3/libfu_plugin_upower.so
%{_libdir}/fwupd-plugins-3/libfu_plugin_wacomhid.so
%ghost %{_localstatedir}/lib/fwupd/gnupg
%files devel
%{_datadir}/gir-1.0/Fwupd-2.0.gir
%{_datadir}/gtk-doc/html/libfwupd
%{_datadir}/vala/vapi
%{_includedir}/fwupd-1
%{_libdir}/libfwupd*.so
%{_libdir}/pkgconfig/fwupd.pc
@ -271,6 +271,43 @@ mkdir -p --mode=0700 $RPM_BUILD_ROOT%{_localstatedir}/lib/fwupd/gnupg
%{_datadir}/installed-tests/fwupd/*.py*
%changelog
* Thu Jun 07 2018 Richard Hughes <richard@hughsie.com> 1.0.8-1
- New upstream release
- Adjust all licensing to be 100% LGPL 2.1+
- Add a firmware diagnostic tool called fwupdtool
- Add an plugin to update some future Wacom tablets
- Add support for Motorola S-record files
- Add the Linux Foundation public GPG keys for firmware and metadata
- Allow installing more than one firmware using 'fwupdmgr install'
- Allow specifying hwids with OR relationships
- Fix a potential DoS in libdfu by limiting holes to 1MiB
- Fix Hardware-ID{0,1,2,12} compatibility with Microsoft
- Hide devices that aren't updatable by default in fwupdmgr
- Stop matching Nintendo Switch Pro in the 8bitdo plugin
* Mon Apr 30 2018 Richard Hughes <richard@hughsie.com> 1.0.7-1
- New upstream release
- Add enable-remote and disable-remote commands to fwupdmgr
- Allow requiring specific versions of libraries for firmware updates
- Don't recoldplug thunderbolt to fix a flashing failure
- Fix SQL error when running 'fwupdmgr clear-offline'
- Only enumerate Dell Docks if the type is known
- Reboot after scheduling using logind not systemd
- Show a warning with interactive prompt when enabling a remote
* Mon Mar 12 2018 Richard Hughes <richard@hughsie.com> 1.0.6-1
- New upstream release
- Add bash completion for fwupdmgr
- Add support for newest Thunderbolt chips
- Allow devices to use the runtime version when in bootloader mode
- Allow overriding ESP mount point via conf file
- Correct handling of unknown Thunderbolt devices
- Correctly detect new remotes that are manually copied
- Delete any old fwupdate capsules and efivars when launching fwupd
- Fix a crash related to when passing device to downgrade in CLI
- Fix Unifying signature writing and parsing for Texas bootloader
- Generate Vala bindings
* Fri Feb 23 2018 Richard Hughes <richard@hughsie.com> 1.0.5-2
- Use the new CDN for metadata.

View File

@ -1 +1 @@
SHA512 (fwupd-1.0.5.tar.xz) = 38cd5fe28096ec10f132f29a52ded8268d175aad752ee2706f9dcfdfa57d3714f728119ad06ff5b1f4b11aeed44cfc21b74d8dd736632a75252056214be5eba8
SHA512 (fwupd-1.0.8.tar.xz) = fae5021b08394df00f29402889eba1557c8b7458aba36f2d565ad2193539875082d0268045cdd8e31f42202e8c20faddbfe313f69193d6ead3c6e918a5b3cdfe