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