|
|
aebde2 |
%global glib2_version 2.50
|
|
|
aebde2 |
%global gobject_introspection_version 1.30.0
|
|
|
aebde2 |
%global polkit_version 0.102
|
|
|
aebde2 |
%global systemd_version 208
|
|
|
aebde2 |
%global libatasmart_version 0.17
|
|
|
aebde2 |
%global dbus_version 1.4.0
|
|
|
aebde2 |
%global with_gtk_doc 1
|
|
|
aebde2 |
%global libblockdev_version 2.25
|
|
|
aebde2 |
|
|
|
aebde2 |
%define with_bcache 1
|
|
|
aebde2 |
%define with_btrfs 1
|
|
|
aebde2 |
%define with_lsm 1
|
|
|
aebde2 |
%define with_zram 1
|
|
|
aebde2 |
%define with_lvmcache 1
|
|
|
aebde2 |
|
|
|
aebde2 |
# valid options are 'luks1' or 'luks2'
|
|
|
aebde2 |
%define default_luks_encryption luks1
|
|
|
aebde2 |
|
|
|
aebde2 |
%define is_fedora 0%{?rhel} == 0
|
|
|
aebde2 |
%define is_git %(git show > /dev/null 2>&1 && echo 1 || echo 0)
|
|
|
aebde2 |
%define git_hash %(git log -1 --pretty=format:"%h" || true)
|
|
|
aebde2 |
%define build_date %(date '+%Y%m%d')
|
|
|
aebde2 |
|
|
|
aebde2 |
|
|
|
aebde2 |
# bcache and zram are not available on RHEL
|
|
|
aebde2 |
%if (0%{?rhel})
|
|
|
aebde2 |
%define with_bcache 0
|
|
|
aebde2 |
%define with_zram 0
|
|
|
aebde2 |
%endif
|
|
|
aebde2 |
|
|
|
aebde2 |
# btrfs is not available on RHEL > 7
|
|
|
aebde2 |
%if 0%{?rhel} > 7
|
|
|
aebde2 |
%define with_btrfs 0
|
|
|
aebde2 |
%endif
|
|
|
aebde2 |
|
|
|
595043 |
# ... but CentOS Hyperscale SIG restores Btrfs support
|
|
|
595043 |
%if 0%{?rhel} > 7 && 0%{?centos_hs}
|
|
|
595043 |
%define with_btrfs 1
|
|
|
595043 |
%endif
|
|
|
595043 |
|
|
|
aebde2 |
# feature parity with existing RHEL 7 packages
|
|
|
aebde2 |
%if (0%{?rhel}) && (0%{?rhel} <= 7)
|
|
|
aebde2 |
%define with_lsm 0
|
|
|
aebde2 |
%define with_lvmcache 0
|
|
|
aebde2 |
%endif
|
|
|
aebde2 |
|
|
|
aebde2 |
# default to LUKS2 for RHEL > 7
|
|
|
aebde2 |
%if 0%{?rhel} > 7
|
|
|
aebde2 |
%define default_luks_encryption luks2
|
|
|
aebde2 |
%endif
|
|
|
aebde2 |
|
|
|
aebde2 |
|
|
|
aebde2 |
Name: udisks2
|
|
|
aebde2 |
Summary: Disk Manager
|
|
|
68b050 |
Version: 2.9.4
|
|
|
595043 |
Release: 2.1%{?dist}
|
|
|
aebde2 |
License: GPLv2+
|
|
|
aebde2 |
URL: https://github.com/storaged-project/udisks
|
|
|
aebde2 |
Source0: https://github.com/storaged-project/udisks/releases/download/udisks-%{version}/udisks-%{version}.tar.bz2
|
|
|
aebde2 |
# https://github.com/storaged-project/udisks/pull/847
|
|
|
68b050 |
Patch0: ignore-apple-boot-part.patch
|
|
|
68b050 |
# https://bugzilla.redhat.com/show_bug.cgi?id=2001549
|
|
|
68b050 |
Patch1: udisks-2.10.0-static_daemon_resources_free.patch
|
|
|
68b050 |
Patch2: udisks-2.10.0-lvm2_teardown_tests.patch
|
|
|
aebde2 |
|
|
|
aebde2 |
BuildRequires: make
|
|
|
aebde2 |
BuildRequires: glib2-devel >= %{glib2_version}
|
|
|
aebde2 |
BuildRequires: gobject-introspection-devel >= %{gobject_introspection_version}
|
|
|
aebde2 |
BuildRequires: libgudev1-devel >= %{systemd_version}
|
|
|
aebde2 |
BuildRequires: libatasmart-devel >= %{libatasmart_version}
|
|
|
aebde2 |
BuildRequires: polkit-devel >= %{polkit_version}
|
|
|
aebde2 |
BuildRequires: systemd >= %{systemd_version}
|
|
|
aebde2 |
BuildRequires: systemd-devel >= %{systemd_version}
|
|
|
aebde2 |
BuildRequires: libacl-devel
|
|
|
aebde2 |
BuildRequires: chrpath
|
|
|
aebde2 |
BuildRequires: gtk-doc
|
|
|
aebde2 |
BuildRequires: gettext-devel
|
|
|
aebde2 |
BuildRequires: redhat-rpm-config
|
|
|
aebde2 |
BuildRequires: libblockdev-devel >= %{libblockdev_version}
|
|
|
aebde2 |
BuildRequires: libblockdev-part-devel >= %{libblockdev_version}
|
|
|
aebde2 |
BuildRequires: libblockdev-loop-devel >= %{libblockdev_version}
|
|
|
aebde2 |
BuildRequires: libblockdev-swap-devel >= %{libblockdev_version}
|
|
|
aebde2 |
BuildRequires: libblockdev-mdraid-devel >= %{libblockdev_version}
|
|
|
aebde2 |
BuildRequires: libblockdev-fs-devel >= %{libblockdev_version}
|
|
|
aebde2 |
BuildRequires: libblockdev-crypto-devel >= %{libblockdev_version}
|
|
|
aebde2 |
BuildRequires: libmount-devel
|
|
|
aebde2 |
BuildRequires: libuuid-devel
|
|
|
aebde2 |
|
|
|
aebde2 |
Requires: libblockdev >= %{libblockdev_version}
|
|
|
aebde2 |
Requires: libblockdev-part >= %{libblockdev_version}
|
|
|
aebde2 |
Requires: libblockdev-loop >= %{libblockdev_version}
|
|
|
aebde2 |
Requires: libblockdev-swap >= %{libblockdev_version}
|
|
|
aebde2 |
Requires: libblockdev-mdraid >= %{libblockdev_version}
|
|
|
aebde2 |
Requires: libblockdev-fs >= %{libblockdev_version}
|
|
|
aebde2 |
Requires: libblockdev-crypto >= %{libblockdev_version}
|
|
|
aebde2 |
|
|
|
aebde2 |
# Needed for the systemd-related macros used in this file
|
|
|
aebde2 |
%{?systemd_requires}
|
|
|
aebde2 |
BuildRequires: systemd
|
|
|
aebde2 |
|
|
|
aebde2 |
# Needed to pull in the system bus daemon
|
|
|
aebde2 |
Requires: dbus >= %{dbus_version}
|
|
|
aebde2 |
# Needed to pull in the udev daemon
|
|
|
aebde2 |
Requires: udev >= %{systemd_version}
|
|
|
aebde2 |
# We need at least this version for bugfixes/features etc.
|
|
|
aebde2 |
Requires: libatasmart >= %{libatasmart_version}
|
|
|
aebde2 |
# For mount, umount, mkswap
|
|
|
aebde2 |
Requires: util-linux
|
|
|
aebde2 |
# For mkfs.ext3, mkfs.ext3, e2label
|
|
|
aebde2 |
Requires: e2fsprogs
|
|
|
aebde2 |
# For mkfs.xfs, xfs_admin
|
|
|
aebde2 |
Requires: xfsprogs
|
|
|
aebde2 |
# For mkfs.vfat
|
|
|
aebde2 |
Requires: dosfstools
|
|
|
aebde2 |
Requires: gdisk
|
|
|
aebde2 |
# For ejecting removable disks
|
|
|
aebde2 |
Requires: eject
|
|
|
aebde2 |
# For utab monitor
|
|
|
aebde2 |
Requires: libmount
|
|
|
aebde2 |
|
|
|
aebde2 |
%if ! (0%{?rhel} && 0%{?rhel} < 8)
|
|
|
aebde2 |
# Not really needed but doesn't make much sense to use UDisks without polkit
|
|
|
aebde2 |
# (weak deps don't work on older versions of RHEL)
|
|
|
aebde2 |
Recommends: polkit
|
|
|
aebde2 |
%endif
|
|
|
aebde2 |
|
|
|
aebde2 |
Requires: lib%{name}%{?_isa} = %{version}-%{release}
|
|
|
aebde2 |
|
|
|
aebde2 |
# For mkntfs (not available on rhel or on ppc/ppc64)
|
|
|
aebde2 |
%if ! 0%{?rhel}
|
|
|
aebde2 |
%ifnarch ppc ppc64
|
|
|
aebde2 |
Requires: ntfsprogs
|
|
|
aebde2 |
%endif
|
|
|
aebde2 |
%endif
|
|
|
aebde2 |
|
|
|
aebde2 |
# For /proc/self/mountinfo, only available in 2.6.26 or higher
|
|
|
aebde2 |
Conflicts: kernel < 2.6.26
|
|
|
aebde2 |
|
|
|
aebde2 |
Provides: storaged = %{version}-%{release}
|
|
|
aebde2 |
Obsoletes: storaged
|
|
|
aebde2 |
|
|
|
aebde2 |
%description
|
|
|
aebde2 |
The Udisks project provides a daemon, tools and libraries to access and
|
|
|
aebde2 |
manipulate disks, storage devices and technologies.
|
|
|
aebde2 |
|
|
|
aebde2 |
%package -n lib%{name}
|
|
|
aebde2 |
Summary: Dynamic library to access the udisksd daemon
|
|
|
aebde2 |
License: LGPLv2+
|
|
|
aebde2 |
Provides: libstoraged = %{version}-%{release}
|
|
|
aebde2 |
Obsoletes: libstoraged
|
|
|
aebde2 |
|
|
|
aebde2 |
%description -n lib%{name}
|
|
|
aebde2 |
This package contains the dynamic library, which provides
|
|
|
aebde2 |
access to the udisksd daemon.
|
|
|
aebde2 |
|
|
|
aebde2 |
%package -n %{name}-iscsi
|
|
|
aebde2 |
Summary: Module for iSCSI
|
|
|
aebde2 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
aebde2 |
License: LGPLv2+
|
|
|
aebde2 |
Requires: iscsi-initiator-utils
|
|
|
aebde2 |
BuildRequires: iscsi-initiator-utils-devel
|
|
|
aebde2 |
Provides: storaged-iscsi = %{version}-%{release}
|
|
|
aebde2 |
Obsoletes: storaged-iscsi
|
|
|
aebde2 |
|
|
|
aebde2 |
%description -n %{name}-iscsi
|
|
|
aebde2 |
This package contains module for iSCSI configuration.
|
|
|
aebde2 |
|
|
|
aebde2 |
%package -n %{name}-lvm2
|
|
|
aebde2 |
Summary: Module for LVM2
|
|
|
aebde2 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
aebde2 |
License: LGPLv2+
|
|
|
aebde2 |
Requires: lvm2
|
|
|
aebde2 |
Requires: libblockdev-lvm >= %{libblockdev_version}
|
|
|
aebde2 |
BuildRequires: lvm2-devel
|
|
|
aebde2 |
BuildRequires: libblockdev-lvm-devel >= %{libblockdev_version}
|
|
|
aebde2 |
Provides: storaged-lvm2 = %{version}-%{release}
|
|
|
aebde2 |
Obsoletes: storaged-lvm2
|
|
|
aebde2 |
|
|
|
aebde2 |
%description -n %{name}-lvm2
|
|
|
aebde2 |
This package contains module for LVM2 configuration.
|
|
|
aebde2 |
|
|
|
aebde2 |
%package -n lib%{name}-devel
|
|
|
aebde2 |
Summary: Development files for lib%{name}
|
|
|
aebde2 |
Requires: lib%{name}%{?_isa} = %{version}-%{release}
|
|
|
aebde2 |
License: LGPLv2+
|
|
|
aebde2 |
Provides: libstoraged-devel = %{version}-%{release}
|
|
|
aebde2 |
Obsoletes: libstoraged-devel
|
|
|
aebde2 |
|
|
|
aebde2 |
%description -n lib%{name}-devel
|
|
|
aebde2 |
This package contains the development files for the library lib%{name}, a
|
|
|
aebde2 |
dynamic library, which provides access to the udisksd daemon.
|
|
|
aebde2 |
|
|
|
aebde2 |
%if 0%{?with_bcache}
|
|
|
aebde2 |
%package -n %{name}-bcache
|
|
|
aebde2 |
Summary: Module for Bcache
|
|
|
aebde2 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
aebde2 |
License: LGPLv2+
|
|
|
aebde2 |
Requires: libblockdev-kbd >= %{libblockdev_version}
|
|
|
aebde2 |
BuildRequires: libblockdev-kbd-devel >= %{libblockdev_version}
|
|
|
aebde2 |
Provides: storaged-bcache = %{version}-%{release}
|
|
|
aebde2 |
Obsoletes: storaged-bcache
|
|
|
aebde2 |
|
|
|
aebde2 |
%description -n %{name}-bcache
|
|
|
aebde2 |
This package contains module for Bcache configuration.
|
|
|
aebde2 |
%endif
|
|
|
aebde2 |
|
|
|
aebde2 |
%if 0%{?with_btrfs}
|
|
|
aebde2 |
%package -n %{name}-btrfs
|
|
|
aebde2 |
Summary: Module for BTRFS
|
|
|
aebde2 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
aebde2 |
License: LGPLv2+
|
|
|
aebde2 |
Requires: libblockdev-btrfs >= %{libblockdev_version}
|
|
|
aebde2 |
BuildRequires: libblockdev-btrfs-devel >= %{libblockdev_version}
|
|
|
aebde2 |
Provides: storaged-btrfs = %{version}-%{release}
|
|
|
aebde2 |
Obsoletes: storaged-btrfs
|
|
|
aebde2 |
|
|
|
aebde2 |
%description -n %{name}-btrfs
|
|
|
aebde2 |
This package contains module for BTRFS configuration.
|
|
|
aebde2 |
%endif
|
|
|
aebde2 |
|
|
|
aebde2 |
%if 0%{?with_lsm}
|
|
|
aebde2 |
%package -n %{name}-lsm
|
|
|
aebde2 |
Summary: Module for LSM
|
|
|
aebde2 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
aebde2 |
License: LGPLv2+
|
|
|
aebde2 |
Requires: libstoragemgmt
|
|
|
aebde2 |
BuildRequires: libstoragemgmt-devel
|
|
|
aebde2 |
BuildRequires: libconfig-devel
|
|
|
aebde2 |
Provides: storaged-lsm = %{version}-%{release}
|
|
|
aebde2 |
Obsoletes: storaged-lsm
|
|
|
aebde2 |
|
|
|
aebde2 |
%description -n %{name}-lsm
|
|
|
aebde2 |
This package contains module for LSM configuration.
|
|
|
aebde2 |
%endif
|
|
|
aebde2 |
|
|
|
aebde2 |
%if 0%{?with_zram}
|
|
|
aebde2 |
%package -n %{name}-zram
|
|
|
aebde2 |
Summary: Module for ZRAM
|
|
|
aebde2 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
aebde2 |
License: LGPLv2+
|
|
|
aebde2 |
Requires: libblockdev-kbd >= %{libblockdev_version}
|
|
|
aebde2 |
Requires: libblockdev-swap >= %{libblockdev_version}
|
|
|
aebde2 |
BuildRequires: libblockdev-kbd-devel >= %{libblockdev_version}
|
|
|
aebde2 |
BuildRequires: libblockdev-swap-devel
|
|
|
aebde2 |
Provides: storaged-zram = %{version}-%{release}
|
|
|
aebde2 |
Obsoletes: storaged-zram
|
|
|
aebde2 |
|
|
|
aebde2 |
%description -n %{name}-zram
|
|
|
aebde2 |
This package contains module for ZRAM configuration.
|
|
|
aebde2 |
%endif
|
|
|
aebde2 |
|
|
|
aebde2 |
%prep
|
|
|
aebde2 |
%autosetup -p1 -n udisks-%{version}
|
|
|
aebde2 |
sed -i udisks/udisks2.conf.in -e "s/encryption=luks1/encryption=%{default_luks_encryption}/"
|
|
|
aebde2 |
rm -f src/tests/dbus-tests/config_h.py
|
|
|
aebde2 |
|
|
|
aebde2 |
%build
|
|
|
aebde2 |
autoreconf -ivf
|
|
|
aebde2 |
# modules need to be explicitly enabled
|
|
|
aebde2 |
%configure \
|
|
|
aebde2 |
%if %{with_gtk_doc}
|
|
|
aebde2 |
--enable-gtk-doc \
|
|
|
aebde2 |
%else
|
|
|
aebde2 |
--disable-gtk-doc \
|
|
|
aebde2 |
%endif
|
|
|
aebde2 |
%if 0%{?with_bcache}
|
|
|
aebde2 |
--enable-bcache \
|
|
|
aebde2 |
%endif
|
|
|
aebde2 |
%if 0%{?with_btrfs}
|
|
|
aebde2 |
--enable-btrfs \
|
|
|
aebde2 |
%endif
|
|
|
aebde2 |
--disable-vdo \
|
|
|
aebde2 |
%if 0%{?with_zram}
|
|
|
aebde2 |
--enable-zram \
|
|
|
aebde2 |
%endif
|
|
|
aebde2 |
%if 0%{?with_lsm}
|
|
|
aebde2 |
--enable-lsm \
|
|
|
aebde2 |
%endif
|
|
|
aebde2 |
%if 0%{?with_lvmcache}
|
|
|
aebde2 |
--enable-lvmcache \
|
|
|
aebde2 |
%endif
|
|
|
aebde2 |
--enable-lvm2 \
|
|
|
aebde2 |
--enable-iscsi
|
|
|
aebde2 |
make %{?_smp_mflags}
|
|
|
aebde2 |
|
|
|
aebde2 |
%install
|
|
|
aebde2 |
make install DESTDIR=%{buildroot}
|
|
|
aebde2 |
%if %{with_gtk_doc} == 0
|
|
|
aebde2 |
rm -fr %{buildroot}/%{_datadir}/gtk-doc/html/udisks2
|
|
|
aebde2 |
%endif
|
|
|
aebde2 |
|
|
|
aebde2 |
find %{buildroot} -name \*.la -o -name \*.a | xargs rm
|
|
|
aebde2 |
|
|
|
aebde2 |
chrpath --delete %{buildroot}/%{_sbindir}/umount.udisks2
|
|
|
aebde2 |
chrpath --delete %{buildroot}/%{_bindir}/udisksctl
|
|
|
aebde2 |
chrpath --delete %{buildroot}/%{_libexecdir}/udisks2/udisksd
|
|
|
aebde2 |
|
|
|
aebde2 |
%find_lang udisks2
|
|
|
aebde2 |
|
|
|
aebde2 |
%post -n %{name}
|
|
|
aebde2 |
%systemd_post udisks2.service
|
|
|
aebde2 |
# skip retriggering if udevd isn't even accessible, e.g. containers or
|
|
|
aebde2 |
# rpm-ostree-based systems
|
|
|
aebde2 |
if [ -S /run/udev/control ]; then
|
|
|
aebde2 |
udevadm control --reload
|
|
|
aebde2 |
udevadm trigger
|
|
|
aebde2 |
fi
|
|
|
aebde2 |
|
|
|
aebde2 |
%preun -n %{name}
|
|
|
aebde2 |
%systemd_preun udisks2.service
|
|
|
aebde2 |
|
|
|
aebde2 |
%postun -n %{name}
|
|
|
aebde2 |
%systemd_postun_with_restart udisks2.service
|
|
|
aebde2 |
|
|
|
aebde2 |
%ldconfig_scriptlets -n lib%{name}
|
|
|
aebde2 |
|
|
|
aebde2 |
%if 0%{?with_zram}
|
|
|
aebde2 |
%post -n %{name}-zram
|
|
|
aebde2 |
%systemd_post udisks2-zram-setup@.service
|
|
|
aebde2 |
if [ -S /run/udev/control ]; then
|
|
|
aebde2 |
udevadm control --reload
|
|
|
aebde2 |
udevadm trigger
|
|
|
aebde2 |
fi
|
|
|
aebde2 |
|
|
|
aebde2 |
%preun -n %{name}-zram
|
|
|
aebde2 |
%systemd_preun udisks2-zram-setup@.service
|
|
|
aebde2 |
|
|
|
aebde2 |
%postun -n %{name}-zram
|
|
|
aebde2 |
%systemd_postun udisks2-zram-setup@.service
|
|
|
aebde2 |
%endif
|
|
|
aebde2 |
|
|
|
aebde2 |
%files -f udisks2.lang
|
|
|
aebde2 |
%doc README.md AUTHORS NEWS HACKING
|
|
|
aebde2 |
%license COPYING
|
|
|
aebde2 |
|
|
|
aebde2 |
%dir %{_sysconfdir}/udisks2
|
|
|
aebde2 |
%if %{is_fedora}
|
|
|
aebde2 |
%dir %{_sysconfdir}/udisks2/modules.conf.d
|
|
|
aebde2 |
%endif
|
|
|
aebde2 |
%{_sysconfdir}/udisks2/udisks2.conf
|
|
|
aebde2 |
%{_sysconfdir}/udisks2/mount_options.conf.example
|
|
|
aebde2 |
|
|
|
aebde2 |
%{_datadir}/dbus-1/system.d/org.freedesktop.UDisks2.conf
|
|
|
aebde2 |
%{_datadir}/bash-completion/completions/udisksctl
|
|
|
aebde2 |
%{_tmpfilesdir}/%{name}.conf
|
|
|
aebde2 |
%{_unitdir}/udisks2.service
|
|
|
aebde2 |
%{_udevrulesdir}/80-udisks2.rules
|
|
|
aebde2 |
%{_sbindir}/umount.udisks2
|
|
|
aebde2 |
|
|
|
aebde2 |
|
|
|
aebde2 |
%dir %{_libdir}/udisks2
|
|
|
aebde2 |
%dir %{_libdir}/udisks2/modules
|
|
|
aebde2 |
%dir %{_libexecdir}/udisks2
|
|
|
aebde2 |
%{_libexecdir}/udisks2/udisksd
|
|
|
aebde2 |
|
|
|
aebde2 |
%{_bindir}/udisksctl
|
|
|
aebde2 |
|
|
|
aebde2 |
%{_mandir}/man1/udisksctl.1*
|
|
|
aebde2 |
%{_mandir}/man5/udisks2.conf.5*
|
|
|
aebde2 |
%{_mandir}/man8/udisksd.8*
|
|
|
aebde2 |
%{_mandir}/man8/udisks.8*
|
|
|
aebde2 |
%{_mandir}/man8/umount.udisks2.8*
|
|
|
aebde2 |
|
|
|
aebde2 |
%{_datadir}/polkit-1/actions/org.freedesktop.UDisks2.policy
|
|
|
aebde2 |
%{_datadir}/dbus-1/system-services/org.freedesktop.UDisks2.service
|
|
|
aebde2 |
|
|
|
aebde2 |
# Permissions for local state data are 0700 to avoid leaking information
|
|
|
aebde2 |
# about e.g. mounts to unprivileged users
|
|
|
aebde2 |
%attr(0700,root,root) %dir %{_localstatedir}/lib/udisks2
|
|
|
aebde2 |
|
|
|
aebde2 |
%files -n lib%{name}
|
|
|
aebde2 |
%{_libdir}/libudisks2.so.*
|
|
|
aebde2 |
%{_libdir}/girepository-1.0/UDisks-2.0.typelib
|
|
|
aebde2 |
|
|
|
aebde2 |
%files -n %{name}-lvm2
|
|
|
aebde2 |
%{_libdir}/udisks2/modules/libudisks2_lvm2.so
|
|
|
aebde2 |
%{_datadir}/polkit-1/actions/org.freedesktop.UDisks2.lvm2.policy
|
|
|
aebde2 |
|
|
|
aebde2 |
%files -n %{name}-iscsi
|
|
|
aebde2 |
%{_libdir}/udisks2/modules/libudisks2_iscsi.so
|
|
|
aebde2 |
%{_datadir}/polkit-1/actions/org.freedesktop.UDisks2.iscsi.policy
|
|
|
aebde2 |
|
|
|
aebde2 |
%files -n lib%{name}-devel
|
|
|
aebde2 |
%{_libdir}/libudisks2.so
|
|
|
aebde2 |
%dir %{_includedir}/udisks2
|
|
|
aebde2 |
%dir %{_includedir}/udisks2/udisks
|
|
|
aebde2 |
%{_includedir}/udisks2/udisks/*.h
|
|
|
aebde2 |
%{_datadir}/gir-1.0/UDisks-2.0.gir
|
|
|
aebde2 |
%if %{with_gtk_doc}
|
|
|
aebde2 |
%dir %{_datadir}/gtk-doc/html/udisks2
|
|
|
aebde2 |
%{_datadir}/gtk-doc/html/udisks2/*
|
|
|
aebde2 |
%endif
|
|
|
aebde2 |
%{_libdir}/pkgconfig/udisks2.pc
|
|
|
aebde2 |
%{_libdir}/pkgconfig/udisks2-lvm2.pc
|
|
|
aebde2 |
%{_libdir}/pkgconfig/udisks2-iscsi.pc
|
|
|
aebde2 |
%if 0%{?with_bcache}
|
|
|
aebde2 |
%{_libdir}/pkgconfig/udisks2-bcache.pc
|
|
|
aebde2 |
%endif
|
|
|
aebde2 |
%if 0%{?with_btrfs}
|
|
|
aebde2 |
%{_libdir}/pkgconfig/udisks2-btrfs.pc
|
|
|
aebde2 |
%endif
|
|
|
aebde2 |
%if 0%{?with_lsm}
|
|
|
aebde2 |
%{_libdir}/pkgconfig/udisks2-lsm.pc
|
|
|
aebde2 |
%endif
|
|
|
aebde2 |
%if 0%{?with_zram}
|
|
|
aebde2 |
%{_libdir}/pkgconfig/udisks2-zram.pc
|
|
|
aebde2 |
%endif
|
|
|
aebde2 |
|
|
|
aebde2 |
%if 0%{?with_bcache}
|
|
|
aebde2 |
%files -n %{name}-bcache
|
|
|
aebde2 |
%{_libdir}/udisks2/modules/libudisks2_bcache.so
|
|
|
aebde2 |
%{_datadir}/polkit-1/actions/org.freedesktop.UDisks2.bcache.policy
|
|
|
aebde2 |
%endif
|
|
|
aebde2 |
|
|
|
aebde2 |
%if 0%{?with_btrfs}
|
|
|
aebde2 |
%files -n %{name}-btrfs
|
|
|
aebde2 |
%{_libdir}/udisks2/modules/libudisks2_btrfs.so
|
|
|
aebde2 |
%{_datadir}/polkit-1/actions/org.freedesktop.UDisks2.btrfs.policy
|
|
|
aebde2 |
%endif
|
|
|
aebde2 |
|
|
|
aebde2 |
%if 0%{?with_lsm}
|
|
|
aebde2 |
%files -n %{name}-lsm
|
|
|
aebde2 |
%dir %{_sysconfdir}/udisks2/modules.conf.d
|
|
|
aebde2 |
%{_libdir}/udisks2/modules/libudisks2_lsm.so
|
|
|
aebde2 |
%{_mandir}/man5/udisks2_lsm.conf.*
|
|
|
aebde2 |
%{_datadir}/polkit-1/actions/org.freedesktop.UDisks2.lsm.policy
|
|
|
aebde2 |
%attr(0600,root,root) %{_sysconfdir}/udisks2/modules.conf.d/udisks2_lsm.conf
|
|
|
aebde2 |
%endif
|
|
|
aebde2 |
|
|
|
aebde2 |
%if 0%{?with_zram}
|
|
|
aebde2 |
%files -n %{name}-zram
|
|
|
aebde2 |
%dir %{_sysconfdir}/udisks2/modules.conf.d
|
|
|
aebde2 |
%{_libdir}/udisks2/modules/libudisks2_zram.so
|
|
|
aebde2 |
%{_datadir}/polkit-1/actions/org.freedesktop.UDisks2.zram.policy
|
|
|
aebde2 |
%{_unitdir}/udisks2-zram-setup@.service
|
|
|
aebde2 |
%{_udevrulesdir}/90-udisks2-zram.rules
|
|
|
aebde2 |
%endif
|
|
|
aebde2 |
|
|
|
aebde2 |
%changelog
|
|
|
595043 |
* Sat Jan 15 2022 Neal Gompa <ngompa@centosproject.org> - 2.9.4-2.1
|
|
|
595043 |
- Enable Btrfs for CentOS Hyperscale SIG
|
|
|
595043 |
|
|
|
68b050 |
* Tue Oct 26 2021 Tomas Bzatek <tbzatek@redhat.com> - 2.9.4-2
|
|
|
68b050 |
- Gating test fix
|
|
|
68b050 |
|
|
|
68b050 |
* Tue Oct 26 2021 Tomas Bzatek <tbzatek@redhat.com> - 2.9.4-1
|
|
|
68b050 |
- Version 2.9.4 (#2010363)
|
|
|
68b050 |
- CVE-2021-3802: Harden the default mount options for ext filesystems (#2004423)
|
|
|
68b050 |
- Fix double free on daemon exit (unaligned fastbin chunk) (#2001549)
|
|
|
68b050 |
|
|
|
aebde2 |
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 2.9.2-6
|
|
|
aebde2 |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
aebde2 |
Related: rhbz#1991688
|
|
|
aebde2 |
|
|
|
aebde2 |
* Thu Apr 22 2021 Tomas Bzatek <tbzatek@redhat.com> - 2.9.2-5
|
|
|
aebde2 |
- Fix Drive.ATA test failures
|
|
|
aebde2 |
|
|
|
aebde2 |
* Tue Apr 20 2021 Tomas Bzatek <tbzatek@redhat.com> - 2.9.2-4
|
|
|
aebde2 |
- Fix a couple of issues found by Coverity (#1938890)
|
|
|
aebde2 |
- Ignore systemd "Extended Boot Loader" GPT partition
|
|
|
aebde2 |
|
|
|
aebde2 |
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.9.2-3
|
|
|
aebde2 |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
aebde2 |
|
|
|
aebde2 |
* Fri Mar 26 2021 Tomas Bzatek <tbzatek@redhat.com> - 2.9.2-2
|
|
|
aebde2 |
- Fix FAT mkfs with dosfstools >= 4.2
|
|
|
aebde2 |
- udiskslinuxdriveata: Use GTask to apply configuration in a thread
|
|
|
aebde2 |
- Limit allowed module names
|
|
|
aebde2 |
- 80-udisks2.rules: Ignore Apple boot partition from livecd-tools
|
|
|
aebde2 |
|
|
|
aebde2 |
* Thu Feb 04 2021 Tomas Bzatek <tbzatek@redhat.com> - 2.9.2-1
|
|
|
aebde2 |
- Version 2.9.2
|
|
|
aebde2 |
|
|
|
aebde2 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.1-3
|
|
|
aebde2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
aebde2 |
|
|
|
aebde2 |
* Mon Sep 07 2020 Neal Gompa <ngompa13@gmail.com> - 2.9.1-2
|
|
|
aebde2 |
- Fix conditional around polkit Recommends for building on EL7
|
|
|
aebde2 |
|
|
|
aebde2 |
* Wed Aug 12 2020 Tomas Bzatek <tbzatek@redhat.com> - 2.9.1-1
|
|
|
aebde2 |
- Version 2.9.1
|
|
|
aebde2 |
- Renamed zram-setup@.service to udisks2-zram-setup@.service
|
|
|
aebde2 |
|
|
|
aebde2 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.0-2
|
|
|
aebde2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
aebde2 |
|
|
|
aebde2 |
* Tue May 26 2020 Tomas Bzatek <tbzatek@redhat.com> - 2.9.0-1
|
|
|
aebde2 |
- Version 2.9.0
|
|
|
aebde2 |
|
|
|
aebde2 |
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.4-4
|
|
|
aebde2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
aebde2 |
|
|
|
aebde2 |
* Tue Oct 01 2019 Jonathan Lebon <jonathan@jlebon.com> - 2.8.4-3
|
|
|
aebde2 |
- Don't trigger udev if socket is not accessible
|
|
|
aebde2 |
|
|
|
aebde2 |
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.4-2
|
|
|
aebde2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
aebde2 |
|
|
|
aebde2 |
* Mon Jul 22 2019 Tomas Bzatek <tbzatek@redhat.com> - 2.8.4-1
|
|
|
aebde2 |
- Version 2.8.4
|
|
|
aebde2 |
|
|
|
aebde2 |
* Thu Jun 13 2019 Tomas Bzatek <tbzatek@redhat.com> - 2.8.3-1
|
|
|
aebde2 |
- Version 2.8.3
|
|
|
aebde2 |
|
|
|
aebde2 |
* Fri Mar 15 2019 Debarshi Ray <rishi@fedoraproject.org> - 2.8.2-2
|
|
|
aebde2 |
- Update for tmpfiles.d snippet
|
|
|
aebde2 |
|
|
|
aebde2 |
* Mon Mar 04 2019 Tomas Bzatek <tbzatek@redhat.com> - 2.8.2-1
|
|
|
aebde2 |
- Version 2.8.2
|
|
|
aebde2 |
|
|
|
aebde2 |
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.1-2
|
|
|
aebde2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
aebde2 |
|
|
|
aebde2 |
* Wed Sep 26 2018 Vojtech Trefny <vtrefny@redhat.com> - 2.8.1-1
|
|
|
aebde2 |
- Version 2.8.1
|
|
|
aebde2 |
|
|
|
aebde2 |
* Fri Sep 14 2018 Adam Williamson <awilliam@redhat.com> - 2.8.0-2
|
|
|
aebde2 |
- Backport PR #576 to fix udev multipath device check (see RHBZ#1628192)
|
|
|
aebde2 |
|
|
|
aebde2 |
* Mon Aug 13 2018 Tomas Bzatek <tbzatek@redhat.com> - 2.8.0-1
|
|
|
aebde2 |
- Version 2.8.0
|
|
|
aebde2 |
|
|
|
aebde2 |
* Tue Jul 24 2018 Adam Williamson <awilliam@redhat.com> - 2.7.7-3
|
|
|
aebde2 |
- Rebuild for new libconfig
|
|
|
aebde2 |
|
|
|
aebde2 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.7-2
|
|
|
aebde2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
aebde2 |
|
|
|
aebde2 |
* Wed Jul 04 2018 Vojtech Trefny <vtrefny@redhat.com> - 2.7.7-1
|
|
|
aebde2 |
- Version 2.7.7
|
|
|
aebde2 |
|
|
|
aebde2 |
* Thu Feb 08 2018 Vojtech Trefny <vtrefny@redhat.com> - 2.7.6-1
|
|
|
aebde2 |
- Version 2.7.6
|
|
|
aebde2 |
|
|
|
aebde2 |
* Fri Feb 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.7.5-2
|
|
|
aebde2 |
- Switch to %%ldconfig_scriptlets
|
|
|
aebde2 |
|
|
|
aebde2 |
* Mon Dec 04 2017 Vojtech Trefny <vtrefny@redhat.com> - 2.7.5-1
|
|
|
aebde2 |
- Version 2.7.5
|
|
|
aebde2 |
|
|
|
aebde2 |
* Wed Nov 01 2017 Vojtech Trefny <vtrefny@redhat.com> - 2.7.4-1
|
|
|
aebde2 |
- Version 2.7.4
|
|
|
aebde2 |
|
|
|
aebde2 |
* Thu Aug 31 2017 Vojtech Trefny <vtrefny@redhat.com> - 2.7.3-1
|
|
|
aebde2 |
- Version 2.7.3
|
|
|
aebde2 |
|
|
|
aebde2 |
* Thu Aug 03 2017 Vojtech Trefny <vtrefny@redhat.com> - 2.7.2-1
|
|
|
aebde2 |
- Version 2.7.2
|
|
|
aebde2 |
|
|
|
aebde2 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.1-3
|
|
|
aebde2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
aebde2 |
|
|
|
aebde2 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.1-2
|
|
|
aebde2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
aebde2 |
|
|
|
aebde2 |
* Mon Jul 03 2017 Vojtech Trefny <vtrefny@redhat.com> - 2.7.1-1
|
|
|
aebde2 |
- Version 2.7.1
|
|
|
aebde2 |
|
|
|
aebde2 |
* Tue Jun 20 2017 Vojtech Trefny <vtrefny@redhat.com> - 2.7.0-3
|
|
|
aebde2 |
- Do not try to remove changed_blacklist hash table in finalize
|
|
|
aebde2 |
|
|
|
aebde2 |
* Mon Jun 19 2017 Vojtech Trefny <vtrefny@redhat.com> - 2.7.0-2
|
|
|
aebde2 |
- Fix how UDisksClient filters property changes
|
|
|
aebde2 |
|
|
|
aebde2 |
* Fri Jun 02 2017 Vojtech Trefny <vtrefny@redhat.com> - 2.7.0-1
|
|
|
aebde2 |
- Version 2.7.0
|
|
|
aebde2 |
|
|
|
aebde2 |
* Mon May 15 2017 Vojtech Trefny <vtrefny@redhat.com> - 2.6.5-1
|
|
|
aebde2 |
- Version 2.6.5
|
|
|
aebde2 |
|
|
|
aebde2 |
* Tue Mar 14 2017 Vojtech Trefny <vtrefny@redhat.com> - 2.6.4-1
|
|
|
aebde2 |
- Version 2.6.4
|
|
|
aebde2 |
|
|
|
aebde2 |
* Mon Nov 14 2016 Tomas Smetana <tsmetana@redhat.com> - 2.6.3-1
|
|
|
aebde2 |
- Version 2.6.3
|
|
|
aebde2 |
|
|
|
aebde2 |
* Thu Jun 16 2016 Tomas Smetana <tsmetana@redhat.com> - 2.6.2-1
|
|
|
aebde2 |
- Version 2.6.2; aimed to replace udisks2
|
|
|
aebde2 |
|
|
|
aebde2 |
* Wed Apr 27 2016 Peter Hatina <phatina@redhat.com> - 2.6.0-3
|
|
|
aebde2 |
- Add support for libblockdev-part plugin which replaces
|
|
|
aebde2 |
parted calls
|
|
|
aebde2 |
|
|
|
aebde2 |
* Wed Mar 16 2016 Peter Hatina <phatina@redhat.com> - 2.6.0-2
|
|
|
aebde2 |
- Fix permissions set for storaged_lsm.conf so it is readable only by root
|
|
|
aebde2 |
|
|
|
aebde2 |
* Mon Mar 14 2016 Peter Hatina <phatina@redhat.com> - 2.6.0-1
|
|
|
aebde2 |
- Upgrade to 2.6.0
|
|
|
aebde2 |
|
|
|
aebde2 |
* Wed Feb 10 2016 Peter Hatina <phatina@redhat.com> - 2.5.0-3
|
|
|
aebde2 |
- Package template zram-setup@.service file
|
|
|
aebde2 |
|
|
|
aebde2 |
* Wed Feb 10 2016 Peter Hatina <phatina@redhat.com> - 2.5.0-2
|
|
|
aebde2 |
- Add udisksd configuration file and its man page
|
|
|
aebde2 |
|
|
|
aebde2 |
* Thu Jan 28 2016 Peter Hatina <phatina@redhat.com> - 2.5.0-1
|
|
|
aebde2 |
- UDisks2 drop-in replacement
|
|
|
aebde2 |
|
|
|
aebde2 |
* Thu Jan 21 2016 Peter Hatina <phatina@redhat.com> - 2.4.0-3
|
|
|
aebde2 |
- Redesign subpackage dependencies
|
|
|
aebde2 |
- Make GTK documentation generation configurable
|
|
|
aebde2 |
|
|
|
aebde2 |
* Wed Jan 20 2016 Peter Hatina <phatina@redhat.com> - 2.4.0-2
|
|
|
aebde2 |
- Reload udev rules and trigger events when installed
|
|
|
aebde2 |
|
|
|
aebde2 |
* Wed Jan 13 2016 Peter Hatina <phatina@redhat.com> - 2.4.0-1
|
|
|
aebde2 |
- Upgrade to 2.4.0
|
|
|
aebde2 |
|
|
|
aebde2 |
* Wed Sep 30 2015 Peter Hatina <phatina@redhat.com> - 2.3.0-2
|
|
|
aebde2 |
- Add Fedora/RHEL package configuration options
|
|
|
aebde2 |
|
|
|
aebde2 |
* Mon Sep 14 2015 Peter Hatina <phatina@redhat.com> - 2.3.0-1
|
|
|
aebde2 |
- Change BuildRequires from pkgconfig macro to -devel packages
|
|
|
aebde2 |
- Upgrade to 2.3.0
|
|
|
aebde2 |
|
|
|
aebde2 |
* Mon Aug 24 2015 Peter Hatina <phatina@redhat.com> - 2.2.0-1
|
|
|
aebde2 |
- Upgrade to 2.2.0
|
|
|
aebde2 |
|
|
|
aebde2 |
* Fri Jul 3 2015 Peter Hatina <phatina@redhat.com> - 2.1.1-1
|
|
|
aebde2 |
- Upgrade to 2.1.1
|
|
|
aebde2 |
|
|
|
aebde2 |
* Wed Jun 24 2015 Peter Hatina <phatina@redhat.com> - 2.1.0-4
|
|
|
aebde2 |
- Add Requires for storaged modules
|
|
|
aebde2 |
|
|
|
aebde2 |
* Wed Jun 24 2015 Peter Hatina <phatina@redhat.com> - 2.1.0-3
|
|
|
aebde2 |
- Changes for EPEL-7
|
|
|
aebde2 |
- Lower systemd required version to 208
|
|
|
aebde2 |
- Rewrite BuildRequires for systemd-devel
|
|
|
aebde2 |
|
|
|
aebde2 |
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-2
|
|
|
aebde2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
aebde2 |
|
|
|
aebde2 |
* Thu Jun 11 2015 Peter Hatina <phatina@redhat.com> - 2.1.0-1
|
|
|
aebde2 |
- Update to upstream 2.1.0
|
|
|
aebde2 |
|
|
|
aebde2 |
* Thu Apr 02 2015 Peter Hatina <phatina@redhat.com> - 2.0.0-1
|
|
|
aebde2 |
- Rebase to the new Storaged implementation
|
|
|
aebde2 |
- Upstream: https://storaged.org
|
|
|
aebde2 |
|
|
|
aebde2 |
* Tue Sep 16 2014 Stef Walter <stefw@redhat.com> - 0.3.1-1
|
|
|
aebde2 |
- Update to upstream 0.3.1
|
|
|
aebde2 |
|
|
|
aebde2 |
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-3
|
|
|
aebde2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
aebde2 |
|
|
|
aebde2 |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-2
|
|
|
aebde2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
aebde2 |
|
|
|
aebde2 |
* Tue Apr 08 2014 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.3.0-1
|
|
|
aebde2 |
- Update to upstream 0.3.0
|
|
|
aebde2 |
|
|
|
aebde2 |
* Fri Jan 31 2014 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.2.0-1
|
|
|
aebde2 |
- Update to upstream 0.2.0
|
|
|
aebde2 |
|
|
|
aebde2 |
* Thu Jan 16 2014 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.1.0-2
|
|
|
aebde2 |
- Removed double systemd BuildRequire
|
|
|
aebde2 |
- Rewritten summary and description
|
|
|
aebde2 |
|
|
|
aebde2 |
* Sun Jan 12 2014 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.1.0-1
|
|
|
aebde2 |
- Rename from udisks2-lvm
|