Accepting request 846944 from 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/846944
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/udisks2?expand=0&rev=40
This commit is contained in:
Dominique Leuenberger 2020-11-09 12:56:14 +00:00 committed by Git OBS Bridge
commit 55e9391e5c
4 changed files with 70 additions and 25 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d28367bdacfa039719327e68300b6118427874f2dc53ff7109dedb70a7289819
size 1619051

3
udisks-2.9.1.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:da25c348edebefd5614c727fd6a7c286ba114479aa3279dcd5df274da6f28646
size 1680327

View File

@ -1,3 +1,55 @@
-------------------------------------------------------------------
Sun Sep 6 07:24:30 UTC 2020 - Milan Savić <milsav92@outlook.com>
- 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 <bjorn.lie@gmail.com> Thu Nov 14 18:35:03 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package udisks2 # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -20,7 +20,7 @@
%define libudisks lib%{name}-%{somajor} %define libudisks lib%{name}-%{somajor}
%define libblockdev_version 2.19 %define libblockdev_version 2.19
Name: udisks2 Name: udisks2
Version: 2.8.4 Version: 2.9.1
Release: 0 Release: 0
Summary: Disk Manager Summary: Disk Manager
License: GPL-2.0-or-later AND LGPL-2.0-or-later 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(polkit-gobject-1) >= 0.102
BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(udev) BuildRequires: pkgconfig(udev)
BuildRequires: pkgconfig(uuid)
Requires: %{libudisks} = %{version} Requires: %{libudisks} = %{version}
# For LUKS devices # For LUKS devices
Requires: cryptsetup Requires: cryptsetup
@ -236,42 +237,28 @@ ln -sf %{_sbindir}/service %{buildroot}/%{_sbindir}/rc%{name}
%pre -n %{name} %pre -n %{name}
%service_add_pre udisks2.service %service_add_pre udisks2.service
%service_add_pre clean-mount-point@.service
%post -n %{name} %post -n %{name}
%{?udev_rules_update:%udev_rules_update} %{?udev_rules_update:%udev_rules_update}
%service_add_post udisks2.service %service_add_post udisks2.service
%service_add_post clean-mount-point@.service
%preun -n %{name} %preun -n %{name}
%service_del_preun udisks2.service %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} %postun -n %{name}
%service_del_postun udisks2.service %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 %pre -n %{libudisks}_zram
%service_add_pre zram-setup@.service %service_add_pre udisks2-zram-setup@.service
%post -n %{libudisks}_zram %post -n %{libudisks}_zram
%service_add_post zram-setup@.service %service_add_post udisks2-zram-setup@.service
%preun -n %{libudisks}_zram %preun -n %{libudisks}_zram
%service_del_preun zram-setup@.service %service_del_preun udisks2-zram-setup@.service
%postun -n %{libudisks}_zram %postun -n %{libudisks}_zram
%service_del_postun zram-setup@.service %service_del_postun udisks2-zram-setup@.service
%files %files
%doc AUTHORS NEWS %doc AUTHORS NEWS
@ -280,9 +267,9 @@ fi
%{_prefix}/lib/tmpfiles.d/udisks2.conf %{_prefix}/lib/tmpfiles.d/udisks2.conf
%{_datadir}/bash-completion/completions/udisksctl %{_datadir}/bash-completion/completions/udisksctl
%{_unitdir}/udisks2.service %{_unitdir}/udisks2.service
%{_unitdir}/clean-mount-point@.service
%dir %{_udevrulesdir} %dir %{_udevrulesdir}
%{_udevrulesdir}/80-udisks2.rules %{_udevrulesdir}/80-udisks2.rules
%{_udevrulesdir}/90-udisks2-zram.rules
%{_sbindir}/rc%{name} %{_sbindir}/rc%{name}
%{_sbindir}/umount.udisks2 %{_sbindir}/umount.udisks2
%dir %{_libexecdir}/udisks2 %dir %{_libexecdir}/udisks2
@ -313,6 +300,12 @@ fi
%dir %{_includedir}/udisks2/udisks %dir %{_includedir}/udisks2/udisks
%{_includedir}/udisks2/udisks/*.h %{_includedir}/udisks2/udisks/*.h
%{_libdir}/pkgconfig/udisks2.pc %{_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 %{_datadir}/gir-1.0/UDisks-2.0.gir
%files -n %{libudisks}_bcache %files -n %{libudisks}_bcache
@ -351,7 +344,7 @@ fi
%dir %{_libdir}/udisks2/modules %dir %{_libdir}/udisks2/modules
%{_libdir}/udisks2/modules/libudisks2_zram.so %{_libdir}/udisks2/modules/libudisks2_zram.so
%{_datadir}/polkit-1/actions/org.freedesktop.UDisks2.zram.policy %{_datadir}/polkit-1/actions/org.freedesktop.UDisks2.zram.policy
%{_unitdir}/zram-setup@.service %{_unitdir}/udisks2-zram-setup@.service
%files lang -f udisks2.lang %files lang -f udisks2.lang