|
|
95421e |
%global glib2_version 2.36
|
|
|
95421e |
%global gobject_introspection_version 1.30.0
|
|
|
95421e |
%global polkit_version 0.102
|
|
|
95421e |
%global systemd_version 208
|
|
|
95421e |
%global libatasmart_version 0.17
|
|
|
95421e |
%global dbus_version 1.4.0
|
|
|
95421e |
%global with_gtk_doc 1
|
|
|
95421e |
%global libblockdev_version 2.19
|
|
|
95421e |
|
|
|
95421e |
%define with_bcache 1
|
|
|
95421e |
%define with_btrfs 1
|
|
|
95421e |
%define with_vdo 1
|
|
|
95421e |
%define with_lsm 1
|
|
|
95421e |
%define with_zram 1
|
|
|
95421e |
%define with_lvmcache 1
|
|
|
95421e |
|
|
|
95421e |
# valid options are 'luks1' or 'luks2'
|
|
|
95421e |
%define default_luks_encryption luks1
|
|
|
95421e |
|
|
|
95421e |
%define is_fedora 0%{?rhel} == 0
|
|
|
95421e |
|
|
|
95421e |
|
|
|
95421e |
# bcache is not available on RHEL
|
|
|
95421e |
%if (0%{?rhel}) || %{with_bcache} == 0
|
|
|
95421e |
%define with_bcache 0
|
|
|
95421e |
%endif
|
|
|
95421e |
|
|
|
95421e |
# btrfs is not available on RHEL > 7
|
|
|
95421e |
%if 0%{?rhel} > 7 || %{with_btrfs} == 0
|
|
|
95421e |
%define with_btrfs 0
|
|
|
95421e |
%endif
|
|
|
95421e |
|
|
|
95421e |
# vdo is not available on Fedora
|
|
|
95421e |
%if (0%{?fedora}) || %{with_vdo} == 0
|
|
|
95421e |
%define with_vdo 0
|
|
|
95421e |
%endif
|
|
|
95421e |
|
|
|
95421e |
# vdo is not available on i686
|
|
|
95421e |
%ifnarch x86_64 aarch64 ppc64le s390x
|
|
|
95421e |
%define with_vdo 0
|
|
|
95421e |
%endif
|
|
|
95421e |
|
|
|
95421e |
# feature parity with existing RHEL 7 packages
|
|
|
95421e |
%if (0%{?rhel}) && (0%{?rhel} <= 7)
|
|
|
95421e |
%define with_lsm 0
|
|
|
95421e |
%define with_zram 0
|
|
|
95421e |
%define with_lvmcache 0
|
|
|
95421e |
%endif
|
|
|
95421e |
|
|
|
95421e |
# default to LUKS2 for RHEL > 7
|
|
|
95421e |
%if 0%{?rhel} > 7
|
|
|
95421e |
%define default_luks_encryption luks2
|
|
|
95421e |
%endif
|
|
|
95421e |
|
|
|
95421e |
|
|
|
95421e |
Name: udisks2
|
|
|
95421e |
Summary: Disk Manager
|
|
|
4efee1 |
Version: 2.8.3
|
|
|
95421e |
Release: 2%{?dist}
|
|
|
95421e |
License: GPLv2+
|
|
|
95421e |
Group: System Environment/Libraries
|
|
|
95421e |
URL: https://github.com/storaged-project/udisks
|
|
|
95421e |
Source0: https://github.com/storaged-project/udisks/releases/download/udisks-%{version}/udisks-%{version}.tar.bz2
|
|
|
4efee1 |
Patch0: 0001-tests-Reflect-new-location-of-D-Bus-service-files.patch
|
|
|
4efee1 |
Patch1: 0002-integration-test-Do-not-copy-config-files-when-testi.patch
|
|
|
4efee1 |
Patch2: 0001-udiskslinuxpartition-Fix-potential-NULL-dereference.patch
|
|
|
95421e |
|
|
|
95421e |
BuildRequires: glib2-devel >= %{glib2_version}
|
|
|
95421e |
BuildRequires: gobject-introspection-devel >= %{gobject_introspection_version}
|
|
|
95421e |
BuildRequires: libgudev1-devel >= %{systemd_version}
|
|
|
95421e |
BuildRequires: libatasmart-devel >= %{libatasmart_version}
|
|
|
95421e |
BuildRequires: polkit-devel >= %{polkit_version}
|
|
|
4efee1 |
BuildRequires: systemd >= %{systemd_version}
|
|
|
95421e |
BuildRequires: systemd-devel >= %{systemd_version}
|
|
|
95421e |
BuildRequires: libacl-devel
|
|
|
95421e |
BuildRequires: chrpath
|
|
|
95421e |
BuildRequires: gtk-doc
|
|
|
4efee1 |
BuildRequires: gettext-devel
|
|
|
95421e |
BuildRequires: redhat-rpm-config
|
|
|
95421e |
BuildRequires: libblockdev-devel >= %{libblockdev_version}
|
|
|
95421e |
BuildRequires: libblockdev-part-devel >= %{libblockdev_version}
|
|
|
95421e |
BuildRequires: libblockdev-loop-devel >= %{libblockdev_version}
|
|
|
95421e |
BuildRequires: libblockdev-swap-devel >= %{libblockdev_version}
|
|
|
95421e |
BuildRequires: libblockdev-mdraid-devel >= %{libblockdev_version}
|
|
|
95421e |
BuildRequires: libblockdev-fs-devel >= %{libblockdev_version}
|
|
|
95421e |
BuildRequires: libblockdev-crypto-devel >= %{libblockdev_version}
|
|
|
95421e |
BuildRequires: libmount-devel
|
|
|
95421e |
|
|
|
95421e |
Requires: libblockdev >= %{libblockdev_version}
|
|
|
95421e |
Requires: libblockdev-part >= %{libblockdev_version}
|
|
|
95421e |
Requires: libblockdev-loop >= %{libblockdev_version}
|
|
|
95421e |
Requires: libblockdev-swap >= %{libblockdev_version}
|
|
|
95421e |
Requires: libblockdev-mdraid >= %{libblockdev_version}
|
|
|
95421e |
Requires: libblockdev-fs >= %{libblockdev_version}
|
|
|
95421e |
Requires: libblockdev-crypto >= %{libblockdev_version}
|
|
|
95421e |
|
|
|
95421e |
# Needed for the systemd-related macros used in this file
|
|
|
95421e |
%{?systemd_requires}
|
|
|
95421e |
BuildRequires: systemd
|
|
|
95421e |
|
|
|
95421e |
# Needed to pull in the system bus daemon
|
|
|
95421e |
Requires: dbus >= %{dbus_version}
|
|
|
95421e |
# Needed to pull in the udev daemon
|
|
|
95421e |
Requires: udev >= %{systemd_version}
|
|
|
95421e |
# We need at least this version for bugfixes/features etc.
|
|
|
95421e |
Requires: libatasmart >= %{libatasmart_version}
|
|
|
95421e |
# For mount, umount, mkswap
|
|
|
95421e |
Requires: util-linux
|
|
|
95421e |
# For mkfs.ext3, mkfs.ext3, e2label
|
|
|
95421e |
Requires: e2fsprogs
|
|
|
95421e |
# For mkfs.xfs, xfs_admin
|
|
|
95421e |
Requires: xfsprogs
|
|
|
95421e |
# For mkfs.vfat
|
|
|
95421e |
Requires: dosfstools
|
|
|
95421e |
Requires: gdisk
|
|
|
95421e |
# For ejecting removable disks
|
|
|
95421e |
Requires: eject
|
|
|
95421e |
# For utab monitor
|
|
|
95421e |
Requires: libmount
|
|
|
95421e |
|
|
|
95421e |
Requires: lib%{name}%{?_isa} = %{version}-%{release}
|
|
|
95421e |
|
|
|
95421e |
# For mkntfs (not available on rhel or on ppc/ppc64)
|
|
|
95421e |
%if ! 0%{?rhel}
|
|
|
95421e |
%ifnarch ppc ppc64
|
|
|
95421e |
Requires: ntfsprogs
|
|
|
95421e |
%endif
|
|
|
95421e |
%endif
|
|
|
95421e |
|
|
|
95421e |
# For /proc/self/mountinfo, only available in 2.6.26 or higher
|
|
|
95421e |
Conflicts: kernel < 2.6.26
|
|
|
95421e |
|
|
|
95421e |
Provides: storaged = %{version}-%{release}
|
|
|
95421e |
Obsoletes: storaged
|
|
|
95421e |
|
|
|
95421e |
%description
|
|
|
95421e |
The Udisks project provides a daemon, tools and libraries to access and
|
|
|
95421e |
manipulate disks, storage devices and technologies.
|
|
|
95421e |
|
|
|
95421e |
%package -n lib%{name}
|
|
|
95421e |
Summary: Dynamic library to access the udisksd daemon
|
|
|
95421e |
Group: System Environment/Libraries
|
|
|
95421e |
License: LGPLv2+
|
|
|
95421e |
Provides: libstoraged = %{version}-%{release}
|
|
|
95421e |
Obsoletes: libstoraged
|
|
|
95421e |
|
|
|
95421e |
%description -n lib%{name}
|
|
|
95421e |
This package contains the dynamic library, which provides
|
|
|
95421e |
access to the udisksd daemon.
|
|
|
95421e |
|
|
|
95421e |
%package -n %{name}-iscsi
|
|
|
95421e |
Summary: Module for iSCSI
|
|
|
95421e |
Group: System Environment/Libraries
|
|
|
95421e |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
95421e |
License: LGPLv2+
|
|
|
95421e |
Requires: iscsi-initiator-utils
|
|
|
95421e |
BuildRequires: iscsi-initiator-utils-devel
|
|
|
95421e |
Provides: storaged-iscsi = %{version}-%{release}
|
|
|
95421e |
Obsoletes: storaged-iscsi
|
|
|
95421e |
|
|
|
95421e |
%description -n %{name}-iscsi
|
|
|
95421e |
This package contains module for iSCSI configuration.
|
|
|
95421e |
|
|
|
95421e |
%package -n %{name}-lvm2
|
|
|
95421e |
Summary: Module for LVM2
|
|
|
95421e |
Group: System Environment/Libraries
|
|
|
95421e |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
95421e |
License: LGPLv2+
|
|
|
95421e |
Requires: lvm2
|
|
|
95421e |
Requires: libblockdev-lvm >= %{libblockdev_version}
|
|
|
95421e |
BuildRequires: lvm2-devel
|
|
|
95421e |
BuildRequires: libblockdev-lvm-devel >= %{libblockdev_version}
|
|
|
95421e |
Provides: storaged-lvm2 = %{version}-%{release}
|
|
|
95421e |
Obsoletes: storaged-lvm2
|
|
|
95421e |
|
|
|
95421e |
%description -n %{name}-lvm2
|
|
|
95421e |
This package contains module for LVM2 configuration.
|
|
|
95421e |
|
|
|
95421e |
%package -n lib%{name}-devel
|
|
|
95421e |
Summary: Development files for lib%{name}
|
|
|
95421e |
Group: Development/Libraries
|
|
|
95421e |
Requires: lib%{name}%{?_isa} = %{version}-%{release}
|
|
|
95421e |
License: LGPLv2+
|
|
|
95421e |
Provides: libstoraged-devel = %{version}-%{release}
|
|
|
95421e |
Obsoletes: libstoraged-devel
|
|
|
95421e |
|
|
|
95421e |
%description -n lib%{name}-devel
|
|
|
95421e |
This package contains the development files for the library lib%{name}, a
|
|
|
95421e |
dynamic library, which provides access to the udisksd daemon.
|
|
|
95421e |
|
|
|
95421e |
%if 0%{?with_bcache}
|
|
|
95421e |
%package -n %{name}-bcache
|
|
|
95421e |
Summary: Module for Bcache
|
|
|
95421e |
Group: System Environment/Libraries
|
|
|
95421e |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
95421e |
License: LGPLv2+
|
|
|
95421e |
Requires: libblockdev-kbd >= %{libblockdev_version}
|
|
|
95421e |
BuildRequires: libblockdev-kbd-devel >= %{libblockdev_version}
|
|
|
95421e |
Provides: storaged-bcache = %{version}-%{release}
|
|
|
95421e |
Obsoletes: storaged-bcache
|
|
|
95421e |
|
|
|
95421e |
%description -n %{name}-bcache
|
|
|
95421e |
This package contains module for Bcache configuration.
|
|
|
95421e |
%endif
|
|
|
95421e |
|
|
|
95421e |
%if 0%{?with_btrfs}
|
|
|
95421e |
%package -n %{name}-btrfs
|
|
|
95421e |
Summary: Module for BTRFS
|
|
|
95421e |
Group: System Environment/Libraries
|
|
|
95421e |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
95421e |
License: LGPLv2+
|
|
|
95421e |
Requires: libblockdev-btrfs >= %{libblockdev_version}
|
|
|
95421e |
BuildRequires: libblockdev-btrfs-devel >= %{libblockdev_version}
|
|
|
95421e |
Provides: storaged-btrfs = %{version}-%{release}
|
|
|
95421e |
Obsoletes: storaged-btrfs
|
|
|
95421e |
|
|
|
95421e |
%description -n %{name}-btrfs
|
|
|
95421e |
This package contains module for BTRFS configuration.
|
|
|
95421e |
%endif
|
|
|
95421e |
|
|
|
95421e |
%if 0%{?with_lsm}
|
|
|
95421e |
%package -n %{name}-lsm
|
|
|
95421e |
Summary: Module for LSM
|
|
|
95421e |
Group: System Environment/Libraries
|
|
|
95421e |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
95421e |
License: LGPLv2+
|
|
|
95421e |
Requires: libstoragemgmt
|
|
|
95421e |
BuildRequires: libstoragemgmt-devel
|
|
|
95421e |
BuildRequires: libconfig-devel
|
|
|
95421e |
Provides: storaged-lsm = %{version}-%{release}
|
|
|
95421e |
Obsoletes: storaged-lsm
|
|
|
95421e |
|
|
|
95421e |
%description -n %{name}-lsm
|
|
|
95421e |
This package contains module for LSM configuration.
|
|
|
95421e |
%endif
|
|
|
95421e |
|
|
|
95421e |
%if 0%{?with_zram}
|
|
|
95421e |
%package -n %{name}-zram
|
|
|
95421e |
Summary: Module for ZRAM
|
|
|
95421e |
Group: System Environment/Libraries
|
|
|
95421e |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
95421e |
License: LGPLv2+
|
|
|
95421e |
Requires: libblockdev-kbd >= %{libblockdev_version}
|
|
|
95421e |
Requires: libblockdev-swap >= %{libblockdev_version}
|
|
|
95421e |
BuildRequires: libblockdev-kbd-devel >= %{libblockdev_version}
|
|
|
95421e |
BuildRequires: libblockdev-swap-devel
|
|
|
95421e |
Provides: storaged-zram = %{version}-%{release}
|
|
|
95421e |
Obsoletes: storaged-zram
|
|
|
95421e |
|
|
|
95421e |
%description -n %{name}-zram
|
|
|
95421e |
This package contains module for ZRAM configuration.
|
|
|
95421e |
%endif
|
|
|
95421e |
|
|
|
95421e |
%if 0%{?with_vdo}
|
|
|
95421e |
%package -n %{name}-vdo
|
|
|
95421e |
Summary: Module for VDO
|
|
|
95421e |
Group: System Environment/Libraries
|
|
|
95421e |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
95421e |
License: LGPLv2+
|
|
|
95421e |
Requires: vdo
|
|
|
95421e |
Requires: libblockdev-vdo >= %{libblockdev_version}
|
|
|
95421e |
BuildRequires: libblockdev-vdo-devel >= %{libblockdev_version}
|
|
|
95421e |
|
|
|
95421e |
%description -n %{name}-vdo
|
|
|
95421e |
This package contains module for VDO management.
|
|
|
95421e |
%endif
|
|
|
95421e |
|
|
|
95421e |
%prep
|
|
|
95421e |
%setup -q -n udisks-%{version}
|
|
|
95421e |
%patch0 -p1
|
|
|
4efee1 |
%patch1 -p1
|
|
|
4efee1 |
%patch2 -p1
|
|
|
4efee1 |
sed -i udisks/udisks2.conf.in -e "s/encryption=luks1/encryption=%{default_luks_encryption}/"
|
|
|
95421e |
|
|
|
95421e |
%build
|
|
|
95421e |
autoreconf -ivf
|
|
|
95421e |
# modules need to be explicitly enabled
|
|
|
95421e |
%configure \
|
|
|
95421e |
--sysconfdir=/etc \
|
|
|
95421e |
%if %{with_gtk_doc}
|
|
|
95421e |
--enable-gtk-doc \
|
|
|
95421e |
%else
|
|
|
95421e |
--disable-gtk-doc \
|
|
|
95421e |
%endif
|
|
|
95421e |
%if 0%{?with_bcache}
|
|
|
95421e |
--enable-bcache \
|
|
|
95421e |
%endif
|
|
|
95421e |
%if 0%{?with_btrfs}
|
|
|
95421e |
--enable-btrfs \
|
|
|
95421e |
%endif
|
|
|
95421e |
%if 0%{?with_vdo}
|
|
|
95421e |
--enable-vdo \
|
|
|
95421e |
%endif
|
|
|
95421e |
%if 0%{?with_zram}
|
|
|
95421e |
--enable-zram \
|
|
|
95421e |
%endif
|
|
|
95421e |
%if 0%{?with_lsm}
|
|
|
95421e |
--enable-lsm \
|
|
|
95421e |
%endif
|
|
|
95421e |
%if 0%{?with_lvmcache}
|
|
|
95421e |
--enable-lvmcache \
|
|
|
95421e |
%endif
|
|
|
95421e |
--enable-lvm2 \
|
|
|
95421e |
--enable-iscsi
|
|
|
95421e |
make %{?_smp_mflags}
|
|
|
95421e |
|
|
|
95421e |
%install
|
|
|
95421e |
make install DESTDIR=%{buildroot}
|
|
|
95421e |
%if %{with_gtk_doc} == 0
|
|
|
95421e |
rm -fr %{buildroot}/%{_datadir}/gtk-doc/html/udisks2
|
|
|
95421e |
%endif
|
|
|
95421e |
|
|
|
95421e |
find %{buildroot} -name \*.la -o -name \*.a | xargs rm
|
|
|
95421e |
|
|
|
95421e |
chrpath --delete %{buildroot}/%{_sbindir}/umount.udisks2
|
|
|
95421e |
chrpath --delete %{buildroot}/%{_bindir}/udisksctl
|
|
|
95421e |
chrpath --delete %{buildroot}/%{_libexecdir}/udisks2/udisksd
|
|
|
95421e |
|
|
|
95421e |
%find_lang udisks2
|
|
|
95421e |
|
|
|
95421e |
%post -n %{name}
|
|
|
95421e |
%systemd_post udisks2.service
|
|
|
95421e |
%systemd_post clean-mount-point@.service
|
|
|
95421e |
udevadm control --reload
|
|
|
95421e |
udevadm trigger
|
|
|
95421e |
|
|
|
95421e |
%preun -n %{name}
|
|
|
95421e |
%systemd_preun udisks2.service
|
|
|
95421e |
%systemd_preun clean-mount-point@.service
|
|
|
95421e |
|
|
|
95421e |
%postun -n %{name}
|
|
|
95421e |
%systemd_postun_with_restart udisks2.service
|
|
|
95421e |
%systemd_postun clean-mount-point@.service
|
|
|
95421e |
|
|
|
95421e |
%ldconfig_scriptlets -n lib%{name}
|
|
|
95421e |
|
|
|
95421e |
%if 0%{?with_zram}
|
|
|
95421e |
%post -n %{name}-zram
|
|
|
95421e |
%systemd_post zram-setup@.service
|
|
|
95421e |
|
|
|
95421e |
%preun -n %{name}-zram
|
|
|
95421e |
%systemd_preun zram-setup@.service
|
|
|
95421e |
|
|
|
95421e |
%postun -n %{name}-zram
|
|
|
95421e |
%systemd_postun zram-setup@.service
|
|
|
95421e |
%endif
|
|
|
95421e |
|
|
|
95421e |
%files -f udisks2.lang
|
|
|
95421e |
%doc README.md AUTHORS NEWS HACKING
|
|
|
95421e |
%license COPYING
|
|
|
95421e |
|
|
|
95421e |
%dir %{_sysconfdir}/udisks2
|
|
|
95421e |
%if %{is_fedora}
|
|
|
95421e |
%dir %{_sysconfdir}/udisks2/modules.conf.d
|
|
|
95421e |
%endif
|
|
|
95421e |
%{_sysconfdir}/udisks2/udisks2.conf
|
|
|
95421e |
|
|
|
4efee1 |
%{_datadir}/dbus-1/system.d/org.freedesktop.UDisks2.conf
|
|
|
95421e |
%{_datadir}/bash-completion/completions/udisksctl
|
|
|
4efee1 |
%{_tmpfilesdir}/%{name}.conf
|
|
|
95421e |
%{_unitdir}/udisks2.service
|
|
|
95421e |
%{_unitdir}/clean-mount-point@.service
|
|
|
95421e |
%{_udevrulesdir}/80-udisks2.rules
|
|
|
95421e |
%{_sbindir}/umount.udisks2
|
|
|
95421e |
|
|
|
95421e |
|
|
|
95421e |
%dir %{_libdir}/udisks2
|
|
|
95421e |
%dir %{_libdir}/udisks2/modules
|
|
|
95421e |
%dir %{_libexecdir}/udisks2
|
|
|
95421e |
%{_libexecdir}/udisks2/udisksd
|
|
|
95421e |
|
|
|
95421e |
%{_bindir}/udisksctl
|
|
|
95421e |
|
|
|
95421e |
%{_mandir}/man1/udisksctl.1*
|
|
|
95421e |
%{_mandir}/man5/udisks2.conf.5*
|
|
|
95421e |
%{_mandir}/man8/udisksd.8*
|
|
|
95421e |
%{_mandir}/man8/udisks.8*
|
|
|
95421e |
%{_mandir}/man8/umount.udisks2.8*
|
|
|
95421e |
|
|
|
95421e |
%{_datadir}/polkit-1/actions/org.freedesktop.UDisks2.policy
|
|
|
95421e |
%{_datadir}/dbus-1/system-services/org.freedesktop.UDisks2.service
|
|
|
95421e |
|
|
|
95421e |
# Permissions for local state data are 0700 to avoid leaking information
|
|
|
95421e |
# about e.g. mounts to unprivileged users
|
|
|
95421e |
%attr(0700,root,root) %dir %{_localstatedir}/lib/udisks2
|
|
|
95421e |
|
|
|
95421e |
%files -n lib%{name}
|
|
|
95421e |
%{_libdir}/libudisks2.so.*
|
|
|
95421e |
%{_libdir}/girepository-1.0/UDisks-2.0.typelib
|
|
|
95421e |
|
|
|
95421e |
%files -n %{name}-lvm2
|
|
|
95421e |
%{_libdir}/udisks2/modules/libudisks2_lvm2.so
|
|
|
95421e |
%{_datadir}/polkit-1/actions/org.freedesktop.UDisks2.lvm2.policy
|
|
|
95421e |
|
|
|
95421e |
%files -n %{name}-iscsi
|
|
|
95421e |
%{_libdir}/udisks2/modules/libudisks2_iscsi.so
|
|
|
95421e |
%{_datadir}/polkit-1/actions/org.freedesktop.UDisks2.iscsi.policy
|
|
|
95421e |
|
|
|
95421e |
%files -n lib%{name}-devel
|
|
|
95421e |
%{_libdir}/libudisks2.so
|
|
|
95421e |
%dir %{_includedir}/udisks2
|
|
|
95421e |
%dir %{_includedir}/udisks2/udisks
|
|
|
95421e |
%{_includedir}/udisks2/udisks/*.h
|
|
|
95421e |
%{_datadir}/gir-1.0/UDisks-2.0.gir
|
|
|
95421e |
%if %{with_gtk_doc}
|
|
|
95421e |
%dir %{_datadir}/gtk-doc/html/udisks2
|
|
|
95421e |
%{_datadir}/gtk-doc/html/udisks2/*
|
|
|
95421e |
%endif
|
|
|
95421e |
%{_libdir}/pkgconfig/udisks2.pc
|
|
|
95421e |
|
|
|
95421e |
%if 0%{?with_bcache}
|
|
|
95421e |
%files -n %{name}-bcache
|
|
|
95421e |
%{_libdir}/udisks2/modules/libudisks2_bcache.so
|
|
|
95421e |
%{_datadir}/polkit-1/actions/org.freedesktop.UDisks2.bcache.policy
|
|
|
95421e |
%endif
|
|
|
95421e |
|
|
|
95421e |
%if 0%{?with_btrfs}
|
|
|
95421e |
%files -n %{name}-btrfs
|
|
|
95421e |
%{_libdir}/udisks2/modules/libudisks2_btrfs.so
|
|
|
95421e |
%{_datadir}/polkit-1/actions/org.freedesktop.UDisks2.btrfs.policy
|
|
|
95421e |
%endif
|
|
|
95421e |
|
|
|
95421e |
%if 0%{?with_lsm}
|
|
|
95421e |
%files -n %{name}-lsm
|
|
|
95421e |
%dir %{_sysconfdir}/udisks2/modules.conf.d
|
|
|
95421e |
%{_libdir}/udisks2/modules/libudisks2_lsm.so
|
|
|
95421e |
%{_mandir}/man5/udisks2_lsm.conf.*
|
|
|
95421e |
%{_datadir}/polkit-1/actions/org.freedesktop.UDisks2.lsm.policy
|
|
|
95421e |
%attr(0600,root,root) %{_sysconfdir}/udisks2/modules.conf.d/udisks2_lsm.conf
|
|
|
95421e |
%endif
|
|
|
95421e |
|
|
|
95421e |
%if 0%{?with_zram}
|
|
|
95421e |
%files -n %{name}-zram
|
|
|
95421e |
%dir %{_sysconfdir}/udisks2/modules.conf.d
|
|
|
95421e |
%{_libdir}/udisks2/modules/libudisks2_zram.so
|
|
|
95421e |
%{_datadir}/polkit-1/actions/org.freedesktop.UDisks2.zram.policy
|
|
|
95421e |
%{_unitdir}/zram-setup@.service
|
|
|
95421e |
%endif
|
|
|
95421e |
|
|
|
95421e |
%if 0%{?with_vdo}
|
|
|
95421e |
%files -n %{name}-vdo
|
|
|
95421e |
%{_libdir}/udisks2/modules/libudisks2_vdo.so
|
|
|
95421e |
%{_datadir}/polkit-1/actions/org.freedesktop.UDisks2.vdo.policy
|
|
|
95421e |
%endif
|
|
|
95421e |
|
|
|
95421e |
%changelog
|
|
|
4efee1 |
* Fri Jun 14 2019 Tomas Bzatek <tbzatek@redhat.com> - 2.8.3-2
|
|
|
4efee1 |
- Minor test fixes
|
|
|
4efee1 |
- Fix potential NULL dereference in UDisksLinuxPartition
|
|
|
4efee1 |
|
|
|
4efee1 |
* Thu Jun 13 2019 Tomas Bzatek <tbzatek@redhat.com> - 2.8.3-1
|
|
|
4efee1 |
- Rebased to upstream 2.8.3 release (#1685210)
|
|
|
4efee1 |
- Fix leaking filedescriptors (#1614774)
|
|
|
4efee1 |
- Fix udisksctl pager scrolling (#1662336)
|
|
|
4efee1 |
- Fix LVM2 plugin CreateSnapshot() error (#1668291)
|
|
|
4efee1 |
- Add ISCSI plugin GetInitiatorNameRaw() method (#1710257)
|
|
|
4efee1 |
|
|
|
95421e |
* Mon Oct 08 2018 Vojtech Trefny <vtrefny@redhat.com> - 2.8.0-2
|
|
|
95421e |
- Fix string format vulnerability
|
|
|
95421e |
Resolves: rhbz#1632831
|
|
|
95421e |
|
|
|
95421e |
* Mon Aug 13 2018 Tomas Bzatek <tbzatek@redhat.com> - 2.8.0-1
|
|
|
95421e |
- Version 2.8.0
|
|
|
95421e |
|
|
|
95421e |
* Tue Jul 24 2018 Adam Williamson <awilliam@redhat.com> - 2.7.7-3
|
|
|
95421e |
- Rebuild for new libconfig
|
|
|
95421e |
|
|
|
95421e |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.7-2
|
|
|
95421e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
95421e |
|
|
|
95421e |
* Wed Jul 04 2018 Vojtech Trefny <vtrefny@redhat.com> - 2.7.7-1
|
|
|
95421e |
- Version 2.7.7
|
|
|
95421e |
|
|
|
95421e |
* Thu Feb 08 2018 Vojtech Trefny <vtrefny@redhat.com> - 2.7.6-1
|
|
|
95421e |
- Version 2.7.6
|
|
|
95421e |
|
|
|
95421e |
* Fri Feb 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.7.5-2
|
|
|
95421e |
- Switch to %%ldconfig_scriptlets
|
|
|
95421e |
|
|
|
95421e |
* Mon Dec 04 2017 Vojtech Trefny <vtrefny@redhat.com> - 2.7.5-1
|
|
|
95421e |
- Version 2.7.5
|
|
|
95421e |
|
|
|
95421e |
* Wed Nov 01 2017 Vojtech Trefny <vtrefny@redhat.com> - 2.7.4-1
|
|
|
95421e |
- Version 2.7.4
|
|
|
95421e |
|
|
|
95421e |
* Thu Aug 31 2017 Vojtech Trefny <vtrefny@redhat.com> - 2.7.3-1
|
|
|
95421e |
- Version 2.7.3
|
|
|
95421e |
|
|
|
95421e |
* Thu Aug 03 2017 Vojtech Trefny <vtrefny@redhat.com> - 2.7.2-1
|
|
|
95421e |
- Version 2.7.2
|
|
|
95421e |
|
|
|
95421e |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.1-3
|
|
|
95421e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
95421e |
|
|
|
95421e |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.1-2
|
|
|
95421e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
95421e |
|
|
|
95421e |
* Mon Jul 03 2017 Vojtech Trefny <vtrefny@redhat.com> - 2.7.1-1
|
|
|
95421e |
- Version 2.7.1
|
|
|
95421e |
|
|
|
95421e |
* Tue Jun 20 2017 Vojtech Trefny <vtrefny@redhat.com> - 2.7.0-3
|
|
|
95421e |
- Do not try to remove changed_blacklist hash table in finalize
|
|
|
95421e |
|
|
|
95421e |
* Mon Jun 19 2017 Vojtech Trefny <vtrefny@redhat.com> - 2.7.0-2
|
|
|
95421e |
- Fix how UDisksClient filters property changes
|
|
|
95421e |
|
|
|
95421e |
* Fri Jun 02 2017 Vojtech Trefny <vtrefny@redhat.com> - 2.7.0-1
|
|
|
95421e |
- Version 2.7.0
|
|
|
95421e |
|
|
|
95421e |
* Mon May 15 2017 Vojtech Trefny <vtrefny@redhat.com> - 2.6.5-1
|
|
|
95421e |
- Version 2.6.5
|
|
|
95421e |
|
|
|
95421e |
* Tue Mar 14 2017 Vojtech Trefny <vtrefny@redhat.com> - 2.6.4-1
|
|
|
95421e |
- Version 2.6.4
|
|
|
95421e |
|
|
|
95421e |
* Mon Nov 14 2016 Tomas Smetana <tsmetana@redhat.com> - 2.6.3-1
|
|
|
95421e |
- Version 2.6.3
|
|
|
95421e |
|
|
|
95421e |
* Thu Jun 16 2016 Tomas Smetana <tsmetana@redhat.com> - 2.6.2-1
|
|
|
95421e |
- Version 2.6.2; aimed to replace udisks2
|
|
|
95421e |
|
|
|
95421e |
* Wed Apr 27 2016 Peter Hatina <phatina@redhat.com> - 2.6.0-3
|
|
|
95421e |
- Add support for libblockdev-part plugin which replaces
|
|
|
95421e |
parted calls
|
|
|
95421e |
|
|
|
95421e |
* Wed Mar 16 2016 Peter Hatina <phatina@redhat.com> - 2.6.0-2
|
|
|
95421e |
- Fix permissions set for storaged_lsm.conf so it is readable only by root
|
|
|
95421e |
|
|
|
95421e |
* Mon Mar 14 2016 Peter Hatina <phatina@redhat.com> - 2.6.0-1
|
|
|
95421e |
- Upgrade to 2.6.0
|
|
|
95421e |
|
|
|
95421e |
* Wed Feb 10 2016 Peter Hatina <phatina@redhat.com> - 2.5.0-3
|
|
|
95421e |
- Package template zram-setup@.service file
|
|
|
95421e |
|
|
|
95421e |
* Wed Feb 10 2016 Peter Hatina <phatina@redhat.com> - 2.5.0-2
|
|
|
95421e |
- Add udisksd configuration file and its man page
|
|
|
95421e |
|
|
|
95421e |
* Thu Jan 28 2016 Peter Hatina <phatina@redhat.com> - 2.5.0-1
|
|
|
95421e |
- UDisks2 drop-in replacement
|
|
|
95421e |
|
|
|
95421e |
* Thu Jan 21 2016 Peter Hatina <phatina@redhat.com> - 2.4.0-3
|
|
|
95421e |
- Redesign subpackage dependencies
|
|
|
95421e |
- Make GTK documentation generation configurable
|
|
|
95421e |
|
|
|
95421e |
* Wed Jan 20 2016 Peter Hatina <phatina@redhat.com> - 2.4.0-2
|
|
|
95421e |
- Reload udev rules and trigger events when installed
|
|
|
95421e |
|
|
|
95421e |
* Wed Jan 13 2016 Peter Hatina <phatina@redhat.com> - 2.4.0-1
|
|
|
95421e |
- Upgrade to 2.4.0
|
|
|
95421e |
|
|
|
95421e |
* Wed Sep 30 2015 Peter Hatina <phatina@redhat.com> - 2.3.0-2
|
|
|
95421e |
- Add Fedora/RHEL package configuration options
|
|
|
95421e |
|
|
|
95421e |
* Mon Sep 14 2015 Peter Hatina <phatina@redhat.com> - 2.3.0-1
|
|
|
95421e |
- Change BuildRequires from pkgconfig macro to -devel packages
|
|
|
95421e |
- Upgrade to 2.3.0
|
|
|
95421e |
|
|
|
95421e |
* Mon Aug 24 2015 Peter Hatina <phatina@redhat.com> - 2.2.0-1
|
|
|
95421e |
- Upgrade to 2.2.0
|
|
|
95421e |
|
|
|
95421e |
* Fri Jul 3 2015 Peter Hatina <phatina@redhat.com> - 2.1.1-1
|
|
|
95421e |
- Upgrade to 2.1.1
|
|
|
95421e |
|
|
|
95421e |
* Wed Jun 24 2015 Peter Hatina <phatina@redhat.com> - 2.1.0-4
|
|
|
95421e |
- Add Requires for storaged modules
|
|
|
95421e |
|
|
|
95421e |
* Wed Jun 24 2015 Peter Hatina <phatina@redhat.com> - 2.1.0-3
|
|
|
95421e |
- Changes for EPEL-7
|
|
|
95421e |
- Lower systemd required version to 208
|
|
|
95421e |
- Rewrite BuildRequires for systemd-devel
|
|
|
95421e |
|
|
|
95421e |
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-2
|
|
|
95421e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
95421e |
|
|
|
95421e |
* Thu Jun 11 2015 Peter Hatina <phatina@redhat.com> - 2.1.0-1
|
|
|
95421e |
- Update to upstream 2.1.0
|
|
|
95421e |
|
|
|
95421e |
* Thu Apr 02 2015 Peter Hatina <phatina@redhat.com> - 2.0.0-1
|
|
|
95421e |
- Rebase to the new Storaged implementation
|
|
|
95421e |
- Upstream: https://storaged.org
|
|
|
95421e |
|
|
|
95421e |
* Tue Sep 16 2014 Stef Walter <stefw@redhat.com> - 0.3.1-1
|
|
|
95421e |
- Update to upstream 0.3.1
|
|
|
95421e |
|
|
|
95421e |
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-3
|
|
|
95421e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
95421e |
|
|
|
95421e |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-2
|
|
|
95421e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
95421e |
|
|
|
95421e |
* Tue Apr 08 2014 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.3.0-1
|
|
|
95421e |
- Update to upstream 0.3.0
|
|
|
95421e |
|
|
|
95421e |
* Fri Jan 31 2014 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.2.0-1
|
|
|
95421e |
- Update to upstream 0.2.0
|
|
|
95421e |
|
|
|
95421e |
* Thu Jan 16 2014 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.1.0-2
|
|
|
95421e |
- Removed double systemd BuildRequire
|
|
|
95421e |
- Rewritten summary and description
|
|
|
95421e |
|
|
|
95421e |
* Sun Jan 12 2014 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.1.0-1
|
|
|
95421e |
- Rename from udisks2-lvm
|