mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-15 19:43:50 +02:00
fwupd: update to 1.1.2.
This commit is contained in:
parent
e4493a5c56
commit
18ecba6c28
2 changed files with 23 additions and 49 deletions
|
@ -1,6 +1,6 @@
|
||||||
--- data/meson.build
|
--- data/meson.build
|
||||||
+++ data/meson.build
|
+++ data/meson.build
|
||||||
@@ -30,59 +30,18 @@ if get_option('daemon')
|
@@ -30,12 +30,12 @@ if get_option('daemon')
|
||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -9,28 +9,19 @@
|
||||||
- con2.set('libexecdir', libexecdir)
|
- con2.set('libexecdir', libexecdir)
|
||||||
- con2.set('bindir', bindir)
|
- con2.set('bindir', bindir)
|
||||||
- con2.set('datadir', datadir)
|
- con2.set('datadir', datadir)
|
||||||
-
|
+con2 = configuration_data()
|
||||||
- rw_directories = []
|
+con2.set('libexecdir', libexecdir)
|
||||||
- rw_directories += join_paths (localstatedir, 'lib', 'fwupd')
|
+con2.set('bindir', bindir)
|
||||||
- rw_directories += join_paths (default_sysconfdir, 'fwupd', 'remotes.d')
|
+con2.set('datadir', datadir)
|
||||||
- if get_option('plugin_uefi')
|
|
||||||
- rw_directories += ['-/boot/efi', '-/efi', '-/boot/EFI']
|
+if get_option('systemd')
|
||||||
- endif
|
rw_directories = []
|
||||||
-
|
rw_directories += join_paths (localstatedir, 'lib', 'fwupd')
|
||||||
- dynamic_options = []
|
rw_directories += join_paths (default_sysconfdir, 'fwupd', 'remotes.d')
|
||||||
- if systemd.version().version_compare('>= 232')
|
@@ -57,17 +57,20 @@ if get_option('systemd')
|
||||||
- dynamic_options += 'ProtectControlGroups=yes'
|
endif
|
||||||
- dynamic_options += 'ProtectKernelModules=yes'
|
con2.set('dynamic_options', '\n'.join(dynamic_options))
|
||||||
- endif
|
|
||||||
- if systemd.version().version_compare('>= 231')
|
|
||||||
- dynamic_options += 'RestrictRealtime=yes'
|
|
||||||
- dynamic_options += 'MemoryDenyWriteExecute=yes'
|
|
||||||
- dynamic_options += ['ReadWritePaths=' + ' '.join(rw_directories)]
|
|
||||||
- else
|
|
||||||
- dynamic_options += ['ReadWriteDirectories=' + ' '.join(rw_directories)]
|
|
||||||
- endif
|
|
||||||
- con2.set('dynamic_options', '\n'.join(dynamic_options))
|
|
||||||
-
|
|
||||||
- # replace @libexecdir@
|
- # replace @libexecdir@
|
||||||
- configure_file(
|
- configure_file(
|
||||||
- input : 'org.freedesktop.fwupd.service.in',
|
- input : 'org.freedesktop.fwupd.service.in',
|
||||||
|
@ -41,30 +32,8 @@
|
||||||
- 'dbus-1',
|
- 'dbus-1',
|
||||||
- 'system-services'),
|
- 'system-services'),
|
||||||
- )
|
- )
|
||||||
-
|
+endif
|
||||||
- # replace @bindir@
|
|
||||||
- configure_file(
|
|
||||||
- input : 'fwupd-offline-update.service.in',
|
|
||||||
- output : 'fwupd-offline-update.service',
|
|
||||||
- configuration : con2,
|
|
||||||
- install: true,
|
|
||||||
- install_dir: systemdunitdir,
|
|
||||||
- )
|
|
||||||
-
|
|
||||||
- # replace @dynamic_options@
|
|
||||||
- configure_file(
|
|
||||||
- input : 'fwupd.service.in',
|
|
||||||
- output : 'fwupd.service',
|
|
||||||
- configuration : con2,
|
|
||||||
- install: true,
|
|
||||||
- install_dir: systemdunitdir,
|
|
||||||
- )
|
|
||||||
-endif
|
|
||||||
+con2 = configuration_data()
|
|
||||||
+con2.set('libexecdir', libexecdir)
|
|
||||||
+con2.set('bindir', bindir)
|
|
||||||
+con2.set('datadir', datadir)
|
|
||||||
+
|
|
||||||
+# replace @libexecdir@
|
+# replace @libexecdir@
|
||||||
+configure_file(
|
+configure_file(
|
||||||
+ input : 'org.freedesktop.fwupd.service.in',
|
+ input : 'org.freedesktop.fwupd.service.in',
|
||||||
|
@ -75,3 +44,8 @@
|
||||||
+ 'dbus-1',
|
+ 'dbus-1',
|
||||||
+ 'system-services'),
|
+ 'system-services'),
|
||||||
+)
|
+)
|
||||||
|
+
|
||||||
|
+if get_option('systemd')
|
||||||
|
# replace @bindir@
|
||||||
|
configure_file(
|
||||||
|
input : 'fwupd-offline-update.service.in',
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'fwupd'
|
# Template file for 'fwupd'
|
||||||
pkgname=fwupd
|
pkgname=fwupd
|
||||||
version=1.1.1
|
version=1.1.2
|
||||||
revision=1
|
revision=1
|
||||||
build_style=meson
|
build_style=meson
|
||||||
# manpages fail to build
|
# manpages fail to build
|
||||||
|
@ -18,7 +18,7 @@ maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
||||||
license="LGPL-2.1-or-later"
|
license="LGPL-2.1-or-later"
|
||||||
homepage="https://github.com/hughsie/fwupd"
|
homepage="https://github.com/hughsie/fwupd"
|
||||||
distfiles="https://github.com/hughsie/fwupd/archive/${version}.tar.gz"
|
distfiles="https://github.com/hughsie/fwupd/archive/${version}.tar.gz"
|
||||||
checksum=6959299eebf1e0fc747174b34e12159e6da42c92d556f1485d3e70aa391c1eba
|
checksum=90e152e1fac6be10985588e21f2e7cdd47fe843afbf5f2252022f681f1f7f96b
|
||||||
nocross="depends on python3-gobject whether or not introspection is enabled"
|
nocross="depends on python3-gobject whether or not introspection is enabled"
|
||||||
conf_files="/etc/dbus-1/system.d/org.freedesktop.fwupd.conf
|
conf_files="/etc/dbus-1/system.d/org.freedesktop.fwupd.conf
|
||||||
/etc/fwupd/daemon.conf /etc/fwupd/remotes.d/*.conf"
|
/etc/fwupd/daemon.conf /etc/fwupd/remotes.d/*.conf"
|
||||||
|
|
Loading…
Add table
Reference in a new issue