Hello community,

here is the log from the commit of package udisks2.1217 for 
openSUSE:12.2:Update checked in at 2013-01-15 16:22:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.2:Update/udisks2.1217 (Old)
 and      /work/SRC/openSUSE:12.2:Update/.udisks2.1217.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "udisks2.1217", Maintainer is ""

Changes:
--------
New Changes file:

--- /dev/null   2013-01-09 19:40:42.352580873 +0100
+++ /work/SRC/openSUSE:12.2:Update/.udisks2.1217.new/udisks2.changes    
2013-01-15 16:22:46.000000000 +0100
@@ -0,0 +1,121 @@
+-------------------------------------------------------------------
+Wed Jan  9 00:07:37 UTC 2013 - [email protected]
+
+- Add gptfdisk requires: sgdisk is called by udisksd to modify the
+  partition tables (bnc#796853).
+
+-------------------------------------------------------------------
+Fri Dec 21 20:18:34 UTC 2012 - [email protected]
+
+- Fix name of polkit action (fdo#58629):
+  modify-device-system-other-seat -> modify-device-other-seat
+
+-------------------------------------------------------------------
+Tue Jun 26 18:18:09 UTC 2012 - [email protected]
+
+- Added udisks-hide-lvm-raid-partitions.patch in order to hide
+  partitions marked as containing LVM and RAID. This is only useful
+  for encrypted partitions (fixes fdo#51439 and bnc#737038).
+
+-------------------------------------------------------------------
+Fri May 11 14:51:00 UTC 2012 - [email protected]
+
+- Update to version 1.97.0:
+  + Several improvements for loop devices
+  + Also check for "target is busy" when checking umount(8) output
+  + UDisksCleanup: Remove stale entries when adding new ones
+  + Add work-around to show FS on CDs/USB sticks created using
+    isohybrid
+  + Several code improvements
+  + Update path to mounted-fs file in documentation
+- Changes from version 1.96.0:
+  + Actually link with libsystemd-login
+- Changes from version 1.95.0:
+  + Add multi-seat support
+  + Add versioning macros
+  + Use libacl library instead of setfacl(1)
+  + Work around missing serial/wwn on VMware hard disks
+  + Add separate polkit actions for ejecting media
+  + Make $(udisks2.device) in authentication messages include the
+    vendor/model
+  + Remove unused .filesystem-unmount-others-shared polkit action
+  + Documentation fixes and improvements
+  + Updated translations
+- Add libacl-devel BuildRequires: it's now really used.
+
+-------------------------------------------------------------------
+Wed Apr 11 09:33:59 UTC 2012 - [email protected]
+
+- Update to version 1.94.0:
+  + Pass --readonly to cryptsetup(8) if device to unlock is
+    read-only
+  + Add udev rules for identifying devices which should not be
+    shown
+  + Fix unmounting large disks when not asked to
+  + Make escaping work properly with non-ASCII UTF-8 strings
+  + Change some D-Bus types from bytestring ('ay') to UTF8 ('s')
+  + Convert some g_warning() uses to udisks_warning()
+  + Improved documentation.
+
+-------------------------------------------------------------------
+Tue Mar  6 09:00:40 UTC 2012 - [email protected]
+
+- Update to version 1.93.0:
+  + Force MediaRemovable to TRUE for e.g. SD cards using the mmc
+    layer
+  + Ensure that whatever we pass as -t to mount(8) is in a
+    whitelist
+  + Ensure that the loop file name we pass to the kernel is always
+    NUL-terminated
+  + Properly escape all device files
+  + Improved documentation.
+- Remove libacl-devel BuildRequires: not needed anymore.
+
+-------------------------------------------------------------------
+Mon Feb 27 12:57:10 UTC 2012 - [email protected]
+
+- Update to version 1.92.0:
+  + client: Fix bit shifts of flags on 32 bit
+  + Avoid using $XDG_RUNTIME_DIR/media for now
+  + Don't free object twice when deleting a loop device
+  + Use /run/media/$USER for mounting
+  + Move to /usr-only setup and get rid of hardcoded paths to /lib
+    and sbin
+- Changes from version 1.91.0:
+  + Install a systemd service file if systemd is used
+  + Ensure PATH is set
+  + Fix use of memset(3)
+  + Use org.freedesktop.UDisks2.* for errors, not
+    org.freedesktop.UDisks.*
+  + For mount options, switch from comment=udisks to x-udisks
+  + Prefer mounting in /run/user/$USER/media instead of /media
+  + With /media and /run on tmfs, switch to temporary store for
+    mounted-fs
+  + Make sure that Drive:SortKey sorts e.g. sdz before sdaa
+  + Do coldplug for block devices twice
+  + Use g_dbus_interface_dup_object() and check return value
+  + Shut up valgrind complaing about LOOP_GET_STATUS64 ioctl
+  + Fix a couple of uninitialized warnings and simplify SMART
+    self-test handling
+  + udisksctl:
+    - nuke PORT column in output of 'status' verb
+    - sort the drives using Drive:SortKey for 'status' verb
+  + Documentation fixes.
+  + Build fixes.
+  + Updated translations.
+- Add systemd-related packaging:
+  + Add pkgconfig(systemd) BuildRequires.
+  + Use %{?systemd_requires}.
+  + Call %service_{add,del}_* macros in scriptlets for
+    udisks2.service.
+- Add pkgconfig(udev) BuildRequires, now needed to find right path
+  for udev files.
+- Add libacl-devel BuildRequires, now needed.
+
+-------------------------------------------------------------------
+Sat Jan 21 10:02:13 UTC 2012 - [email protected]
+
+- New udisks2 source package, based on udisks source package.
+- First version (1.90.0).
+- udisks 2.x is parallel-installable with udisks 1.x.
+

New:
----
  fix_polkit_action_name.diff
  udisks-1.97.0.tar.bz2
  udisks-hide-lvm-raid-partitions.patch
  udisks2.changes
  udisks2.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ udisks2.spec ++++++
#
# spec file for package udisks2
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           udisks2
%define _name   udisks
Version:        1.97.0
Release:        0
Summary:        Disk Management Service, version 2
License:        GPL-2.0+
Group:          System/Daemons
Url:            http://www.freedesktop.org/wiki/Software/udisks
Source:         
http://udisks.freedesktop.org/releases/%{_name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM udisks-hide-lvm-raid-partitions.patch fdo#51439 bnc#737038 
[email protected] -- Hide partitions marked as containing LVM and RAID. This is 
only useful for encrypted partitions.
Patch0:         udisks-hide-lvm-raid-partitions.patch
Patch1:         fix_polkit_action_name.diff
# Needed to build the man pages
BuildRequires:  docbook-xsl-stylesheets
BuildRequires:  gobject-introspection-devel
BuildRequires:  intltool
BuildRequires:  libacl-devel
# For xsltproc
BuildRequires:  libxslt-devel
BuildRequires:  pkgconfig(gio-unix-2.0) >= 2.31.13
BuildRequires:  pkgconfig(glib-2.0) >= 2.31.13
BuildRequires:  pkgconfig(gudev-1.0) >= 147
BuildRequires:  pkgconfig(libatasmart) >= 0.17
BuildRequires:  pkgconfig(libsystemd-login) >= 44
BuildRequires:  pkgconfig(polkit-agent-1) >= 0.92
BuildRequires:  pkgconfig(polkit-gobject-1) >= 0.92
BuildRequires:  pkgconfig(systemd)
BuildRequires:  pkgconfig(udev)
# sgdisk is called by udisksd to modify the partition tables... thus a needed 
tool.
Requires:       gptfdisk
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{?systemd_requires}

# Upstream First - Policy:
# Never add any patches to this package without the upstream commit id
# in the patch. Any patches added here without a very good reason to make
# an exception will be silently removed with the next version update.

%description
udisks provides a daemon, D-Bus API and command line tools
for managing disks and storage devices.

%package -n libudisks2-0
Summary:        UDisks Client Library, version 2
License:        LGPL-2.0+
Group:          System/Libraries
Recommends:     %{name} = %{version}

%description -n libudisks2-0
udisks provides a daemon, D-Bus API and command line tools
for managing disks and storage devices.

%package -n typelib-1_0-UDisks-2_0
Summary:        UDisks Client Library, version 2 -- Introspection bindings
License:        LGPL-2.0+
Group:          System/Libraries

%description -n typelib-1_0-UDisks-2_0
udisks provides a daemon, D-Bus API and command line tools
for managing disks and storage devices.

This package provides the GObject Introspection bindings for
the UDisks client library.

%package devel
Summary:        Disk Management Service, version 2 -- Development Files
License:        LGPL-2.0+
Group:          Development/Libraries/C and C++
Requires:       libudisks2-0 = %{version}

%description devel
udisks provides a daemon, D-Bus API and command line tools
for managing disks and storage devices.

%lang_package
%prep
%setup -q -n %{_name}-%{version}
%patch0 -p1
%patch1 -p1

%build
export V=1
%configure \
  --disable-static
make %{?_smp_mflags}

%install
%make_install
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
%find_lang %{name}

%pre
%service_add_pre udisks2.service

%post
%service_add_post udisks2.service

%preun
%service_del_preun udisks2.service

%postun
%service_del_postun udisks2.service

%post -n libudisks2-0 -p /sbin/ldconfig

%postun -n libudisks2-0 -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS README
%{_unitdir}/udisks2.service
/lib/udev/rules.d/80-udisks2.rules
%{_sbindir}/umount.udisks2
%{_bindir}/udisksctl
%dir %{_libexecdir}/udisks2
%{_libexecdir}/udisks2/udisksd
%{_sysconfdir}/bash_completion.d/udisksctl-bash-completion.sh
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.UDisks2.conf
%{_datadir}/dbus-1/system-services/org.freedesktop.UDisks2.service
%{_datadir}/polkit-1/actions/org.freedesktop.udisks2.policy
%{_mandir}/man1/udisksctl.1%{?ext_man}
%{_mandir}/man8/udisks.8%{?ext_man}
%{_mandir}/man8/udisksd.8%{?ext_man}
%attr(0770,root,root) %dir %{_localstatedir}/lib/udisks2

%files -n libudisks2-0
%defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS README
%{_libdir}/libudisks2.so.*

%files -n typelib-1_0-UDisks-2_0
%defattr(-,root,root,-)
%{_libdir}/girepository-1.0/UDisks-2.0.typelib

%files devel
%defattr(-,root,root,-)
%{_includedir}/udisks2/
%{_libdir}/libudisks2.so
%{_libdir}/pkgconfig/udisks2.pc
%{_datadir}/gir-1.0/UDisks-2.0.gir
%doc %{_datadir}/gtk-doc/html/udisks2/

%files lang -f %{name}.lang

%changelog
++++++ fix_polkit_action_name.diff ++++++
diff --git a/src/udiskslinuxpartition.c b/src/udiskslinuxpartition.c
index 9582346..e3ae93f 100644
--- a/src/udiskslinuxpartition.c
+++ b/src/udiskslinuxpartition.c
@@ -269,7 +269,7 @@ handle_set_flags (UDisksPartition        *partition,
     }
   else if (!udisks_daemon_util_on_same_seat (daemon, object, caller_pid))
     {
-      action_id = "org.freedesktop.udisks2.modify-device-system-other-seat";
+      action_id = "org.freedesktop.udisks2.modify-device-other-seat";
     }
 
   if (!udisks_daemon_util_check_authorization_sync (daemon,
@@ -414,7 +414,7 @@ handle_set_name (UDisksPartition        *partition,
     }
   else if (!udisks_daemon_util_on_same_seat (daemon, object, caller_pid))
     {
-      action_id = "org.freedesktop.udisks2.modify-device-system-other-seat";
+      action_id = "org.freedesktop.udisks2.modify-device-other-seat";
     }
 
   if (!udisks_daemon_util_check_authorization_sync (daemon,
@@ -596,7 +596,7 @@ handle_set_type (UDisksPartition        *partition,
     }
   else if (!udisks_daemon_util_on_same_seat (daemon, object, caller_pid))
     {
-      action_id = "org.freedesktop.udisks2.modify-device-system-other-seat";
+      action_id = "org.freedesktop.udisks2.modify-device-other-seat";
     }
 
   if (!udisks_daemon_util_check_authorization_sync (daemon,
@@ -769,7 +769,7 @@ handle_delete (UDisksPartition        *partition,
     }
   else if (!udisks_daemon_util_on_same_seat (daemon, object, caller_pid))
     {
-      action_id = "org.freedesktop.udisks2.modify-device-system-other-seat";
+      action_id = "org.freedesktop.udisks2.modify-device-other-seat";
     }
 
   if (!udisks_daemon_util_check_authorization_sync (daemon,
diff --git a/src/udiskslinuxpartitiontable.c b/src/udiskslinuxpartitiontable.c
index 8f0d3d9..b553625 100644
--- a/src/udiskslinuxpartitiontable.c
+++ b/src/udiskslinuxpartitiontable.c
@@ -336,7 +336,7 @@ handle_create_partition (UDisksPartitionTable   *table,
     }
   else if (!udisks_daemon_util_on_same_seat (daemon, object, caller_pid))
     {
-      action_id = "org.freedesktop.udisks2.modify-device-system-other-seat";
+      action_id = "org.freedesktop.udisks2.modify-device-other-seat";
     }
 
   if (!udisks_daemon_util_check_authorization_sync (daemon,
++++++ udisks-hide-lvm-raid-partitions.patch ++++++
>From 8b0060a1781fffe3a3115180622e7e5f115cf644 Mon Sep 17 00:00:00 2001
From: David Zeuthen <[email protected]>
Date: Tue, 26 Jun 2012 17:56:20 +0000
Subject: Bug 51439 – udisks should hide lvm PVs

Hide partitions marked as containing LVM and RAID. This is only useful
for encrypted partitions.

https://bugs.freedesktop.org/show_bug.cgi?id=51439

Signed-off-by: David Zeuthen <[email protected]>
---
diff --git a/data/80-udisks2.rules b/data/80-udisks2.rules
index ea2a2a8..449287c 100644
--- a/data/80-udisks2.rules
+++ b/data/80-udisks2.rules
@@ -69,20 +69,24 @@ SUBSYSTEMS=="usb", ENV{ID_VENDOR}=="HP", 
ENV{ID_MODEL}=="*v125w*", ENV{ID_DRIVE_
 # ------------------------------------------------------------------------
 # Devices which should not be display in the user interface
 #
+# (note that RAID/LVM members are not normally shown in an user
+# interface so setting UDISKS_IGNORE at first does not seem to achieve
+# anything. However it helps for RAID/LVM members that are encrypted
+# using LUKS. See bug #51439.)
 
 # Apple Bootstrap partitions
 ENV{ID_PART_ENTRY_SCHEME}=="mac", ENV{ID_PART_ENTRY_TYPE}=="Apple_Bootstrap", 
ENV{UDISKS_IGNORE}="1"
 
-# special DOS partition types (EFI, hidden, etc.)
+# special DOS partition types (EFI, hidden, etc.) and RAID/LVM
 # see http://www.win.tue.nl/~aeb/partitions/partition_types-1.html
 ENV{ID_PART_ENTRY_SCHEME}=="dos", \
-  
ENV{ID_PART_ENTRY_TYPE}=="0x0|0x11|0x12|0x14|0x16|0x17|0x1b|0x1c|0x1e|0x27|0x3d|0x84|0x8d|0x90|0x91|0x92|0x93|0x97|0x98|0x9a|0x9b|0xbb|0xc2|0xc3|0xdd|0xef",
 \
+  
ENV{ID_PART_ENTRY_TYPE}=="0x0|0x11|0x12|0x14|0x16|0x17|0x1b|0x1c|0x1e|0x27|0x3d|0x84|0x8d|0x8e|0x90|0x91|0x92|0x93|0x97|0x98|0x9a|0x9b|0xbb|0xc2|0xc3|0xdd|0xef|0xfd",
 \
   ENV{UDISKS_IGNORE}="1"
 
-# special GUID-identified partition types (EFI System Partition, BIOS Boot 
partition)
+# special GUID-identified partition types (EFI System Partition, BIOS Boot 
partition, RAID/LVM)
 # see http://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_GUIDs
 ENV{ID_PART_ENTRY_SCHEME}=="gpt", \
-  
ENV{ID_PART_ENTRY_TYPE}=="c12a7328-f81f-11d2-ba4b-00a0c93ec93b|21686148-6449-6e6f-744e-656564454649",
 \
+  
ENV{ID_PART_ENTRY_TYPE}=="c12a7328-f81f-11d2-ba4b-00a0c93ec93b|21686148-6449-6e6f-744e-656564454649|a19d880f-05fc-4d3b-a006-743f0f84911e|e6d6d379-f507-44c2-a23c-238f2a3df928",
 \
   ENV{UDISKS_IGNORE}="1"
 
 # MAC recovery/tool partitions which are useless on Linux
--
cgit v0.9.0.2-2-gbebe
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to