|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
Summary: Utilities for managing ext2, ext3, and ext4 file systems
|
|
|
|
|
Name: e2fsprogs
|
|
|
|
|
Version: 1.45.6
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Release: 5.1%{?dist}
|
|
|
|
|
|
|
|
|
|
# License tags based on COPYING file distinctions for various components
|
|
|
|
|
License: GPLv2
|
|
|
|
@ -26,8 +26,8 @@ BuildRequires: libblkid-devel
|
|
|
|
|
BuildRequires: libuuid-devel
|
|
|
|
|
BuildRequires: gettext
|
|
|
|
|
BuildRequires: multilib-rpm-config
|
|
|
|
|
BuildRequires: systemd
|
|
|
|
|
|
|
|
|
|
Patch0: e2fsprogs-1.45.6-Makefile.in-Disable-e2scrub.patch
|
|
|
|
|
Patch1: e2fsprogs-1.45.6-Revert-fuse2fs-install-fuse2fs-in-usr-bin-instead-of.patch
|
|
|
|
|
Patch2: e2fsprogs-1.45.6-mke2fs.conf-Introduce-rhel6-and-rhel7-fs_type.patch
|
|
|
|
|
Patch3: e2fsprogs-1.45.6-man-Add-note-about-RHEL8-supported-features-and-moun.patch
|
|
|
|
@ -201,10 +201,28 @@ parses a command table to generate a simple command-line interface parser.
|
|
|
|
|
|
|
|
|
|
It was originally inspired by the Multics SubSystem library.
|
|
|
|
|
|
|
|
|
|
%package -n e2scrub
|
|
|
|
|
Summary: Online Ext4 metadata consistency checking tool and service
|
|
|
|
|
License: GPLv2 and LGPLv2
|
|
|
|
|
Recommends: /usr/sbin/sendmail
|
|
|
|
|
Requires: systemd
|
|
|
|
|
Requires: util-linux
|
|
|
|
|
Requires: lvm2
|
|
|
|
|
Requires: e2fsprogs%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description -n e2scrub
|
|
|
|
|
This package includes e2scrub script that can check ext[234] file system
|
|
|
|
|
metadata consistency while the file system is online. It also containes a
|
|
|
|
|
systemd service that can be enabled to do consistency check periodically.
|
|
|
|
|
|
|
|
|
|
The file system consistency check can be performed online and does not
|
|
|
|
|
require the file system to be unmounted. It uses lvm snapshots to do this
|
|
|
|
|
which means that it can only be done on file systems that are on a lvm
|
|
|
|
|
managed device with some free space available in respective volume group.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
%patch0 -p1
|
|
|
|
|
%patch1 -p1
|
|
|
|
|
%patch2 -p1
|
|
|
|
|
%patch3 -p1
|
|
|
|
@ -264,6 +282,8 @@ It was originally inspired by the Multics SubSystem library.
|
|
|
|
|
%patch57 -p1
|
|
|
|
|
%patch58 -p1
|
|
|
|
|
|
|
|
|
|
%global _udevdir %{_prefix}/lib/udev/rules.d
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
|
|
|
|
|
--enable-elf-shlibs --enable-nls --disable-uuidd --disable-fsck \
|
|
|
|
@ -375,6 +395,9 @@ exit 0
|
|
|
|
|
%{_mandir}/man8/resize2fs.8*
|
|
|
|
|
%{_mandir}/man8/tune2fs.8*
|
|
|
|
|
|
|
|
|
|
# We do not install e2scrub cron job so just exclude it
|
|
|
|
|
%exclude %{_libdir}/e2fsprogs/e2scrub_all_cron
|
|
|
|
|
|
|
|
|
|
%files libs
|
|
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
|
%license NOTICE
|
|
|
|
@ -424,7 +447,25 @@ exit 0
|
|
|
|
|
%{_mandir}/man1/mk_cmds.1*
|
|
|
|
|
%{_libdir}/pkgconfig/ss.pc
|
|
|
|
|
|
|
|
|
|
%files -n e2scrub
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/e2scrub.conf
|
|
|
|
|
%{_sbindir}/e2scrub
|
|
|
|
|
%{_sbindir}/e2scrub_all
|
|
|
|
|
%{_mandir}/man8/e2scrub.8*
|
|
|
|
|
%{_mandir}/man8/e2scrub_all.8*
|
|
|
|
|
%{_libdir}/e2fsprogs/e2scrub_fail
|
|
|
|
|
%{_unitdir}/e2scrub@.service
|
|
|
|
|
%{_unitdir}/e2scrub_all.service
|
|
|
|
|
%{_unitdir}/e2scrub_all.timer
|
|
|
|
|
%{_unitdir}/e2scrub_fail@.service
|
|
|
|
|
%{_unitdir}/e2scrub_reap.service
|
|
|
|
|
%{_udevdir}/96-e2scrub.rules
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Dec 28 2023 Brian J. Murrell <brian@intelinx.bc.ca> 1.45.6-5.1
|
|
|
|
|
- Build and package e2scrub package
|
|
|
|
|
- remove e2fsprogs-1.45.6-Makefile.in-Disable-e2scrub.patch
|
|
|
|
|
|
|
|
|
|
* Wed May 11 2022 Lukas Czerner <lczerner@redhat.com> 1.45.6-5
|
|
|
|
|
- Update e2fsprogs with upstream fixes and improvements (#2083621)
|
|
|
|
|
- Fix out-of-bounds read/write via crafter filesystem (#2073548)
|
|
|
|
|