From 6b68b271214e4cd9c6dce8cea39416d3a81f3c6d8a8844c19aecd1077778e215 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 25 Sep 2020 10:57:26 +0000 Subject: [PATCH] Accepting request 832602 from home:milsav92:branches:Base:System - Update to version 2.9.1: + This is mostly a bugfix release, notable changes include: - active modules are now tracked in a daemon state file and are automatically reloaded on next startup in case of previous unclean daemon shutdown - further improvements in object property updates while handling method calls - zram module fixes: + compatibility improvements with existing zram generators and toolkits + the zram-setup@.service systemd unit has been renamed to udisks2-zram-setup@.service + related udev rules have been separated into 90-udisks2-zram.rules + the zram.conf.d path is now configurable and defaults to /usr/lib/zram.conf.d - Update to version 2.9.0: + This 2.9.0 release brings many changes to the daemon core, internal modularity and the libudisks2 library. No public API has been removed, there is a couple of deprecations however. + There's a major change in how and when D-Bus object properties are updated. As a general rule when a method call returns affected objects should now have their properties updated by that moment. This is an ongoing task and while majority of the daemon API has been covered, there are pending issues in some of the modules. + Configurable mount options is a new big feature for this release, allowing sysadmins to re-define default mount options for each filesystem type. Extensive documentation is available at http://storaged.org/doc/udisks2-api/latest/mount_options.html + Internal module API has been reworked, modules should now be enabled separately via the new EnableModule() call that also reports initialization failures. The old org.freedesktop.UDisks2.Manager.EnableModules() call has been deprecated. + Additional feature highlights: - building the daemon can now be disabled via configure switch, only libudisks2 will be built - removed the systemd mount cleanup service, mount state is now tracked separately for persistent and non-persistent mount points and cleanup of lingering persistent mount points is performed on daemon startup (e.g. on system boot) - new LVM-VDO integration, deprecated the standalone VDO module - added support for (un)locking BitLocker devices - libudisks2 now includes generated GDBus code for compiled-in modules, separate pkg-config files are provided as well OBS-URL: https://build.opensuse.org/request/show/832602 OBS-URL: https://build.opensuse.org/package/show/Base:System/udisks2?expand=0&rev=85 --- udisks-2.8.4.tar.bz2 | 3 --- udisks-2.9.1.tar.bz2 | 3 +++ udisks2.changes | 52 ++++++++++++++++++++++++++++++++++++++++++++ udisks2.spec | 37 +++++++++++++------------------ 4 files changed, 70 insertions(+), 25 deletions(-) delete mode 100644 udisks-2.8.4.tar.bz2 create mode 100644 udisks-2.9.1.tar.bz2 diff --git a/udisks-2.8.4.tar.bz2 b/udisks-2.8.4.tar.bz2 deleted file mode 100644 index 5646bdc..0000000 --- a/udisks-2.8.4.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d28367bdacfa039719327e68300b6118427874f2dc53ff7109dedb70a7289819 -size 1619051 diff --git a/udisks-2.9.1.tar.bz2 b/udisks-2.9.1.tar.bz2 new file mode 100644 index 0000000..65bcd6b --- /dev/null +++ b/udisks-2.9.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:da25c348edebefd5614c727fd6a7c286ba114479aa3279dcd5df274da6f28646 +size 1680327 diff --git a/udisks2.changes b/udisks2.changes index 20d9598..796a33b 100644 --- a/udisks2.changes +++ b/udisks2.changes @@ -1,3 +1,55 @@ +------------------------------------------------------------------- +Sun Sep 6 07:24:30 UTC 2020 - Milan Savić + +- Update to version 2.9.1: + + This is mostly a bugfix release, notable changes include: + - active modules are now tracked in a daemon state file and + are automatically reloaded on next startup in case of + previous unclean daemon shutdown + - further improvements in object property updates while + handling method calls + - zram module fixes: + + compatibility improvements with existing zram generators + and toolkits + + the zram-setup@.service systemd unit has been renamed to + udisks2-zram-setup@.service + + related udev rules have been separated into + 90-udisks2-zram.rules + + the zram.conf.d path is now configurable and defaults to + /usr/lib/zram.conf.d + +- Update to version 2.9.0: + + This 2.9.0 release brings many changes to the daemon core, + internal modularity and the libudisks2 library. + No public API has been removed, there is a couple of + deprecations however. + + There's a major change in how and when D-Bus object properties + are updated. As a general rule when a method call returns + affected objects should now have their properties updated by + that moment. This is an ongoing task and while majority of the + daemon API has been covered, there are pending issues in some + of the modules. + + Configurable mount options is a new big feature for this + release, allowing sysadmins to re-define default mount options + for each filesystem type. Extensive documentation is available + at http://storaged.org/doc/udisks2-api/latest/mount_options.html + + Internal module API has been reworked, modules should now be + enabled separately via the new EnableModule() call that also + reports initialization failures. + The old org.freedesktop.UDisks2.Manager.EnableModules() call + has been deprecated. + + Additional feature highlights: + - building the daemon can now be disabled via configure switch, + only libudisks2 will be built + - removed the systemd mount cleanup service, mount state is now + tracked separately for persistent and non-persistent mount + points and cleanup of lingering persistent mount points is + performed on daemon startup (e.g. on system boot) + - new LVM-VDO integration, deprecated the standalone VDO module + - added support for (un)locking BitLocker devices + - libudisks2 now includes generated GDBus code for compiled-in + modules, separate pkg-config files are provided as well + ------------------------------------------------------------------- Thu Nov 14 18:35:03 UTC 2019 - Bjørn Lie diff --git a/udisks2.spec b/udisks2.spec index aab8ef8..6cf0d6a 100644 --- a/udisks2.spec +++ b/udisks2.spec @@ -1,7 +1,7 @@ # # spec file for package udisks2 # -# Copyright (c) 2019 SUSE LLC. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ %define libudisks lib%{name}-%{somajor} %define libblockdev_version 2.19 Name: udisks2 -Version: 2.8.4 +Version: 2.9.1 Release: 0 Summary: Disk Manager License: GPL-2.0-or-later AND LGPL-2.0-or-later @@ -61,6 +61,7 @@ BuildRequires: pkgconfig(polkit-agent-1) >= 0.102 BuildRequires: pkgconfig(polkit-gobject-1) >= 0.102 BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(udev) +BuildRequires: pkgconfig(uuid) Requires: %{libudisks} = %{version} # For LUKS devices Requires: cryptsetup @@ -236,42 +237,28 @@ ln -sf %{_sbindir}/service %{buildroot}/%{_sbindir}/rc%{name} %pre -n %{name} %service_add_pre udisks2.service -%service_add_pre clean-mount-point@.service %post -n %{name} %{?udev_rules_update:%udev_rules_update} %service_add_post udisks2.service -%service_add_post clean-mount-point@.service %preun -n %{name} %service_del_preun udisks2.service -SERVICES=$(systemctl show --property=Names clean-mount-point@*.service | sed -e 's/Names=//' -e '/^$/d') -if [ -n "$SERVICES" ]; then - for service in $SERVICES; do - %service_del_preun $service - done -fi %postun -n %{name} %service_del_postun udisks2.service -SERVICES=$(systemctl show --property=Names clean-mount-point@*.service | sed -e 's/Names=//' -e '/^$/d') -if [ -n "$SERVICES" ]; then - for service in $SERVICES; do - %service_del_postun $service - done -fi %pre -n %{libudisks}_zram -%service_add_pre zram-setup@.service +%service_add_pre udisks2-zram-setup@.service %post -n %{libudisks}_zram -%service_add_post zram-setup@.service +%service_add_post udisks2-zram-setup@.service %preun -n %{libudisks}_zram -%service_del_preun zram-setup@.service +%service_del_preun udisks2-zram-setup@.service %postun -n %{libudisks}_zram -%service_del_postun zram-setup@.service +%service_del_postun udisks2-zram-setup@.service %files %doc AUTHORS NEWS @@ -280,9 +267,9 @@ fi %{_prefix}/lib/tmpfiles.d/udisks2.conf %{_datadir}/bash-completion/completions/udisksctl %{_unitdir}/udisks2.service -%{_unitdir}/clean-mount-point@.service %dir %{_udevrulesdir} %{_udevrulesdir}/80-udisks2.rules +%{_udevrulesdir}/90-udisks2-zram.rules %{_sbindir}/rc%{name} %{_sbindir}/umount.udisks2 %dir %{_libexecdir}/udisks2 @@ -313,6 +300,12 @@ fi %dir %{_includedir}/udisks2/udisks %{_includedir}/udisks2/udisks/*.h %{_libdir}/pkgconfig/udisks2.pc +%{_libdir}/pkgconfig/udisks2-bcache.pc +%{_libdir}/pkgconfig/udisks2-btrfs.pc +%{_libdir}/pkgconfig/udisks2-lsm.pc +%{_libdir}/pkgconfig/udisks2-lvm2.pc +%{_libdir}/pkgconfig/udisks2-vdo.pc +%{_libdir}/pkgconfig/udisks2-zram.pc %{_datadir}/gir-1.0/UDisks-2.0.gir %files -n %{libudisks}_bcache @@ -351,7 +344,7 @@ fi %dir %{_libdir}/udisks2/modules %{_libdir}/udisks2/modules/libudisks2_zram.so %{_datadir}/polkit-1/actions/org.freedesktop.UDisks2.zram.policy -%{_unitdir}/zram-setup@.service +%{_unitdir}/udisks2-zram-setup@.service %files lang -f udisks2.lang