Accepting request 135841 from GNOME:Next

Update to version 1.99.0.

Build is disabled, as the G:N branch is frozen.

rpmlintrc is a 'temporary' thing, and is being tracked in https://bugzilla.novell.com/show_bug.cgi?id=779404 until the sec review happens.

OBS-URL: https://build.opensuse.org/request/show/135841
OBS-URL: https://build.opensuse.org/package/show/Base:System/udisks2?expand=0&rev=15
This commit is contained in:
Andreas Jaeger 2012-10-10 07:14:49 +00:00 committed by Git OBS Bridge
parent c2b5d3b833
commit 9dd6f6d3f1
6 changed files with 30 additions and 55 deletions

View File

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

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

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

View File

@ -1,47 +0,0 @@
From 8b0060a1781fffe3a3115180622e7e5f115cf644 Mon Sep 17 00:00:00 2001
From: David Zeuthen <zeuthen@gmail.com>
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 <zeuthen@gmail.com>
---
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

1
udisks-rpmlintrc Normal file
View File

@ -0,0 +1 @@
setBadness("polkit-unauthorized-privilege", 100);

View File

@ -1,3 +1,27 @@
-------------------------------------------------------------------
Tue Sep 25 09:19:57 UTC 2012 - dimstar@opensuse.org
- Update to version 1.99.0:
+ Catch up with latest polkit guidance
+ Don't require auth for Standby'ing non-system drives on own
seat
+ Mark Realtek rts5229 based card readers as flash drives
+ Black-list seemingly invalid WWN for SAMSUNG SP1604N hard disks
+ Ignore non-Linux software on SanDisk Cruzer
+ Add drive configuration interfaces and configuration files
+ Add "Linux Filesystem" GPT partition type
+ Add support for VMWare filesystem types and GPT partition types
+ Update integration tests.
+ Bugs fixed:
- fdo#51439: udisks should hide lvm PVs
- Changes from version 1.98.0:
+ Drive: Refuse to eject drives that appear to be in use
+ udisksd: work if polkitd is not available
+ Updated documentations
+ Bugs fixed:
- fdo49842: Unhandled rootfs on bind mount
- Drop udisks-hide-lvm-raid-partitions.patch: fixed upstream.
-------------------------------------------------------------------
Tue Sep 25 09:14:34 UTC 2012 - vuntz@opensuse.org

View File

@ -18,15 +18,13 @@
Name: udisks2
%define _name udisks
Version: 1.97.0
Version: 1.99.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 gber@opensuse.org -- Hide partitions marked as containing LVM and RAID. This is only useful for encrypted partitions.
Patch0: udisks-hide-lvm-raid-partitions.patch
# PATCH-FIX-UPSTREAM systemd-dynamic-check.diff fdo#55309 bnc#769570 tiwai@suse.de -- Add a check of running systemd so that it still works with sysvinit
Patch1: systemd-dynamic-check.diff
# Needed to build the man pages
@ -37,7 +35,7 @@ BuildRequires: gobject-introspection-devel
BuildRequires: intltool
BuildRequires: libacl-devel
# For xsltproc
BuildRequires: libxslt-devel
BuildRequires: xsltproc
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.31.13
BuildRequires: pkgconfig(glib-2.0) >= 2.31.13
BuildRequires: pkgconfig(gudev-1.0) >= 147
@ -95,7 +93,6 @@ for managing disks and storage devices.
%lang_package
%prep
%setup -q -n %{_name}-%{version}
%patch0 -p1
%patch1 -p1
%build