$ git diff --patch-with-stat --summary 31fdaffcc31216fc1aa0cfde521c8fb3420ca71c..f9cd71aff3832fc9066407b4da799bdfd56286ce
.abf.yml | 2 +-
udisks-2.1.0-mount-system-internal.patch | 8 ++++----
udisks2.spec | 20 +++++++++++++++-----
3 files changed, 20 insertions(+), 10 deletions(-)
diff --git a/.abf.yml b/.abf.yml
index 14c4146..ecc99a1 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,2 +1,2 @@
sources:
- udisks-2.1.8.tar.bz2: 8e38580b435986570bb7b784facf387757d2de43
+ udisks-2.7.4.tar.bz2: af4de5bd0a8976d6fc9816fa5085a6297b4c9f9d
diff --git a/udisks-2.1.0-mount-system-internal.patch b/udisks-2.1.0-mount-system-internal.patch
index 56132b1..1390e7b 100644
--- a/udisks-2.1.0-mount-system-internal.patch
+++ b/udisks-2.1.0-mount-system-internal.patch
@@ -1,6 +1,6 @@
-diff -Naur udisks-2.1.7/data/org.freedesktop.udisks2.policy.in udisks-2.1.7.tpg/data/org.freedesktop.udisks2.policy.in
---- udisks-2.1.7/data/org.freedesktop.udisks2.policy.in 2016-02-29 16:18:12.000000000 +0000
-+++ udisks-2.1.7.tpg/data/org.freedesktop.udisks2.policy.in 2016-05-31 16:39:48.253591934 +0000
+diff -Naur udisks-2.1.7/data/org.freedesktop.UDisks2.policy.in udisks-2.1.7.tpg/data/org.freedesktop.UDisks2.policy.in
+--- udisks-2.1.7/data/org.freedesktop.UDisks2.policy.in 2016-02-29 16:18:12.000000000 +0000
++++ udisks-2.1.7.tpg/data/org.freedesktop.UDisks2.policy.in 2016-05-31 16:39:48.253591934 +0000
@@ -29,7 +29,7 @@
<defaults>
<allow_any>auth_admin</allow_any>
@@ -9,4 +9,4 @@ diff -Naur udisks-2.1.7/data/org.freedesktop.udisks2.policy.in udisks-2.1.7.tpg/
+ <allow_active>yes</allow_active>
</defaults>
</action>
-
+
diff --git a/udisks2.spec b/udisks2.spec
index d40257b..20d6127 100644
--- a/udisks2.spec
+++ b/udisks2.spec
@@ -5,16 +5,16 @@
Summary: Disk Manager
Name: udisks2
-Version: 2.1.8
+Version: 2.7.4
Release: 1
License: GPLv2+
Group: System/Libraries
Url: http://www.freedesktop.org/wiki/Software/udisks
-Source0: http://udisks.freedesktop.org/releases/udisks-%{version}.tar.bz2
+Source: https://github.com/storaged-project/udisks/archive/udisks-%{version}.tar.bz2
Patch0: udisks-1.92.0-link.patch
Patch2: udisks-2.1.0-mount-system-internal.patch
# Mount to /media
-Patch3: udisks-2.1.4-no-multiseat.patch
+#Patch3: udisks-2.1.4-no-multiseat.patch
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.31.13
BuildRequires: pkgconfig(gmodule-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.31.13
@@ -24,6 +24,13 @@ BuildRequires: pkgconfig(libatasmart) >= 0.19
BuildRequires: pkgconfig(polkit-gobject-1) >= 0.92
BuildRequires: pkgconfig(polkit-agent-1) >= 0.92
BuildRequires: pkgconfig(libsystemd) >= 230
+BuildRequires: pkgconfig(blockdev)
+BuildRequires: bd_mdraid-devel
+BuildRequires: bd_part-devel
+BuildRequires: bd_loop-devel
+BuildRequires: bd_swap-devel
+BuildRequires: bd_fs-devel
+BuildRequires: bd_crypto-devel
BuildRequires: intltool
BuildRequires: gnome-common
BuildRequires: gettext-devel
@@ -61,8 +68,8 @@ managing disks and storage devices. This package is for the udisks 2.x
series.
%files -f %{name}.lang
-%doc README AUTHORS NEWS COPYING HACKING
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.UDisks2.conf
+%{_sysconfdir}/udisks2/udisks2.conf
%{_datadir}/bash-completion/completions/udisksctl
/lib/udev/rules.d/80-udisks2.rules
%{_sbindir}/umount.udisks2
@@ -70,10 +77,12 @@ series.
%{_libexecdir}/udisks2/udisksd
%{_bindir}/udisksctl
%{_mandir}/man1/*
+%{_mandir}/man5/*
%{_mandir}/man8/*
-%{_datadir}/polkit-1/actions/org.freedesktop.udisks2.policy
+%{_datadir}/polkit-1/actions/org.freedesktop.UDisks2.policy
%{_datadir}/dbus-1/system-services/org.freedesktop.UDisks2.service
%{_unitdir}/udisks2.service
+%{_unitdir}/clean-mount-point@.service
# Permissions for local state data are 0700 to avoid leaking information
# about e.g. mounts to unprivileged users
%attr(0700,root,root) %dir %{_localstatedir}/lib/udisks2
@@ -123,6 +132,7 @@ libudisks2, a dynamic library, which provides access to the udisks
daemon. This package is for the udisks 2.x series.
%files -n %{devname}
+%doc AUTHORS NEWS COPYING HACKING
%{_libdir}/libudisks2.so
%dir %{_includedir}/udisks2
%dir %{_includedir}/udisks2/udisks