2019-09-30 10:37:40 -04:00
|
|
|
Name: e2fsprogs
|
|
|
|
|
Version: 1.44.3
|
2020-01-13 11:40:07 +08:00
|
|
|
Release: 8
|
2019-09-30 10:37:40 -04:00
|
|
|
Summary: Second extended file system management tools
|
|
|
|
|
License: GPLv2 and LGPLv2 and MIT
|
2019-12-25 17:33:57 +08:00
|
|
|
URL: http://e2fsprogs.sourceforge.net/
|
2019-09-30 10:37:40 -04:00
|
|
|
Source0: https://www.kernel.org/pub/linux/kernel/people/tytso/%{name}/v%{version}/%{name}-%{version}.tar.xz
|
|
|
|
|
Patch6000: 6000-blkid-avoid-FPE-crash-when-probing-a-HFS-superblock-.patch
|
|
|
|
|
Patch6001: 6001-AOSP-e2fsdroid-Fix-crash-with-invalid-command-line-a.patch
|
|
|
|
|
Patch6002: 6002-e2fsck-fix-fd-leak-in-reserve_stdio_fds.patch
|
|
|
|
|
Patch6003: 6003-libext2fs-fix-uninitialized-length-in-rep_strdup.patch
|
|
|
|
|
Patch6004: 6004-tune2fs-fix-dereference-of-freed-memory-after-journa.patch
|
|
|
|
|
Patch6005: 6005-libe2p-avoid-segfault-when-s_nr_users-is-too-high.patch
|
|
|
|
|
Patch6006: 6006-e2freefrag-fix-free-blocks-count-during-live-scan.patch
|
|
|
|
|
Patch6007: 6007-e2freefrag-fix-memory-leak-in-scan_online.patch
|
|
|
|
|
Patch6008: 6008-create_inode-fix-potential-memory-leak-in-path_appen.patch
|
|
|
|
|
Patch6009: 6009-mke2fs-fix-check-for-absurdly-large-devices.patch
|
|
|
|
|
Patch9000: 9000-mke2fs-check.patch
|
|
|
|
|
|
2020-01-13 11:40:07 +08:00
|
|
|
BuildRequires: gcc git pkgconfig texinfo
|
2019-09-30 10:37:40 -04:00
|
|
|
BuildRequires: fuse-devel libblkid-devel libuuid-devel
|
|
|
|
|
|
|
|
|
|
Provides: e2fsprogs-libs%{?_isa} e2fsprogs-libs
|
|
|
|
|
Obsoletes: e2fsprogs-libs
|
|
|
|
|
Provides: libcom_err%{?_isa} libcom_err
|
|
|
|
|
Obsoletes: libcom_err
|
|
|
|
|
Provides: libss%{?_isa} libss
|
|
|
|
|
Obsoletes: libss
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The e2fsprogs package consists of a lot of tools for users to create,
|
|
|
|
|
check, modify, and correct any inconsistencies in second extended file
|
|
|
|
|
system.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Second extended file system libraries and headers
|
|
|
|
|
License: GPLv2 and LGPLv2 and MIT
|
|
|
|
|
Requires: e2fsprogs = %{version}-%{release}
|
|
|
|
|
Requires: gawk
|
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
Requires(post): info
|
|
|
|
|
Requires(preun): info
|
|
|
|
|
Provides: libcom_err-devel%{?_isa} libcom_err-devel
|
|
|
|
|
Obsoletes: libcom_err-devel
|
|
|
|
|
Provides: libss-devel%{?_isa} libss-devel
|
|
|
|
|
Obsoletes: libss-devel
|
|
|
|
|
Provides: e2fsprogs-static{?_isa} e2fsprogs-static
|
|
|
|
|
Obsoletes: e2fsprogs-static
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
This package provides libraries and header files to develop
|
|
|
|
|
second extended file system userspace programs.
|
|
|
|
|
|
|
|
|
|
%package help
|
|
|
|
|
Summary: man files for e2fsprogs
|
|
|
|
|
Requires: man
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description help
|
|
|
|
|
This packages includes man files for e2fsprogs.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{name}-%{version} -p1 -Sgit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
|
|
|
|
|
--enable-elf-shlibs --enable-nls --disable-uuidd --disable-fsck \
|
|
|
|
|
--disable-e2initrd-helper --disable-libblkid --disable-libuuid \
|
|
|
|
|
--enable-quota --with-root-prefix=/usr
|
|
|
|
|
%make_build V=1
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make install install-libs DESTDIR=%{buildroot} INSTALL="%{__install} -p" \
|
|
|
|
|
root_sbindir=%{_sbindir} root_libdir=%{_libdir}
|
|
|
|
|
chmod +w %{buildroot}%{_libdir}/*.a
|
|
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make fullcheck
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
%post devel
|
|
|
|
|
if [ -f %{_infodir}/libext2fs.info.gz ]; then
|
|
|
|
|
/sbin/install-info %{_infodir}/libext2fs.info.gz %{_infodir}/dir || :
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
%preun devel
|
|
|
|
|
if [ $1 = 0 -a -f %{_infodir}/libext2fs.info.gz ]; then
|
|
|
|
|
/sbin/install-info --delete %{_infodir}/libext2fs.info.gz %{_infodir}/dir || :
|
|
|
|
|
fi
|
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
|
%doc README RELEASE-NOTES
|
|
|
|
|
%license NOTICE
|
|
|
|
|
%config(noreplace) /etc/mke2fs.conf
|
|
|
|
|
%{_bindir}/chattr
|
|
|
|
|
%{_bindir}/lsattr
|
|
|
|
|
%{_libdir}/libe2p.so.*
|
|
|
|
|
%{_libdir}/libext2fs.so.*
|
|
|
|
|
%{_libdir}/libcom_err.so.*
|
|
|
|
|
%{_libdir}/libss.so.*
|
|
|
|
|
%{_sbindir}/*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_bindir}/compile_et
|
|
|
|
|
%{_bindir}/mk_cmds
|
|
|
|
|
%{_datadir}/et
|
|
|
|
|
%{_datadir}/ss
|
|
|
|
|
%{_infodir}/libext2fs.info*
|
|
|
|
|
%{_includedir}/e2p
|
|
|
|
|
%{_includedir}/ext2fs
|
|
|
|
|
%{_includedir}/et
|
|
|
|
|
%{_includedir}/com_err.h
|
|
|
|
|
%{_includedir}/ss
|
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
%{_libdir}/*.a
|
|
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
%{_mandir}/man5/*
|
|
|
|
|
%{_mandir}/man8/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2020-01-13 11:40:07 +08:00
|
|
|
* Mon Jan 13 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.44.3-8
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:update spec.
|
|
|
|
|
|
2019-09-30 10:37:40 -04:00
|
|
|
* Wed Sep 18 2019 luoshijie <luoshijie1@huawei.com> - 1.44.3-7
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:modify spec file to follow spec rules.
|
|
|
|
|
|
|
|
|
|
* Fri Sep 6 2019 luoshijie <luoshijie1@huawei.com> - 1.44.3-6
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:openEuler Debranding
|
|
|
|
|
|
|
|
|
|
* Tue Aug 20 2019 luoshijie <luoshijie1@huawei.com> - 1.44.3-5
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:rename patch name
|
|
|
|
|
|
|
|
|
|
* Wed Jul 10 2019 zhangyujing <zhangyujing1@huawei.com> - 1.44.3-4
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:e2freefrag: fix memory leak in scan_online()
|
|
|
|
|
create_inode: fix potential memory leak in path_append()
|
|
|
|
|
mke2fs: fix check for absurdly large devices
|
|
|
|
|
|
|
|
|
|
* Fri Mar 15 2019 zhangyujing <zhangyujing1@huawei.com> - 1.44.3-3
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:blkid avoid FPE crash when probing a HFS superblock
|
|
|
|
|
AOSP e2fsdroid Fix crash with invalid command line a
|
|
|
|
|
e2fsck fix fd leak in reserve_stdio_fds
|
|
|
|
|
libext2fs fix uninitialized length in rep_strdup
|
|
|
|
|
tune2fs fix dereference of freed memory after journa
|
|
|
|
|
libe2p avoid segfault when s_nr_users is too high
|
|
|
|
|
e2freefrag fix free blocks count during live scan
|
|
|
|
|
|
|
|
|
|
* Wed Jan 23 2019 wangxiao <wangxiao65@huawei.com> - 1.44.3-2
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:disable the metadata_csum creat by mke2fs -t ext4 by default
|
|
|
|
|
- Package init
|
|
|
|
|
|