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