Compare commits
16 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
2226acf981 | ||
|
9c1ffac407 | ||
|
3970170867 | ||
|
15098a6910 | ||
|
66b1dfdfa3 | ||
|
a9ff6b7df8 | ||
|
9f146333a4 | ||
|
4c8ba62eed | ||
|
e135188703 | ||
|
c8726a39d0 | ||
|
a9069a503a | ||
|
e8850214d4 | ||
|
2e819146d2 | ||
|
aa3a58b40a | ||
|
016270f751 | ||
|
829c7df5c0 |
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,3 +1,8 @@
|
||||
/f2fs-tools-1.0.0.tar.gz
|
||||
/f2fs-tools-1.1.0.tar.gz
|
||||
/f2fs-tools-1.2.0.tar.gz
|
||||
/f2fs-tools-1.4.0.tar.gz
|
||||
/f2fs-tools-1.4.1.tar.gz
|
||||
/f2fs-tools-1.7.0.tar.gz
|
||||
/f2fs-tools-1.8.0.tar.gz
|
||||
/f2fs-tools-1.10.0.tar.gz
|
||||
|
11
f2fs-tools-1.4.0-bigendian.patch
Normal file
11
f2fs-tools-1.4.0-bigendian.patch
Normal file
@ -0,0 +1,11 @@
|
||||
diff -up f2fs-tools-1.4.0/include/f2fs_fs.h.orig f2fs-tools-1.4.0/include/f2fs_fs.h
|
||||
--- f2fs-tools-1.4.0/include/f2fs_fs.h.orig 2015-01-03 09:45:23.000000000 +0100
|
||||
+++ f2fs-tools-1.4.0/include/f2fs_fs.h 2015-01-03 09:45:20.000000000 +0100
|
||||
@@ -34,6 +34,7 @@ typedef unsigned long pgoff_t;
|
||||
#define cpu_to_le32(x) ((__u32)(x))
|
||||
#define cpu_to_le64(x) ((__u64)(x))
|
||||
#elif __BYTE_ORDER == __BIG_ENDIAN
|
||||
+#include <byteswap.h>
|
||||
#define le16_to_cpu(x) bswap_16(x)
|
||||
#define le32_to_cpu(x) bswap_32(x)
|
||||
#define le64_to_cpu(x) bswap_64(x)
|
11
f2fs-tools-1.8.0-bigendian.patch
Normal file
11
f2fs-tools-1.8.0-bigendian.patch
Normal file
@ -0,0 +1,11 @@
|
||||
diff -up f2fs-tools-1.4.0/include/f2fs_fs.h.orig f2fs-tools-1.4.0/include/f2fs_fs.h
|
||||
--- f2fs-tools-1.4.0/include/f2fs_fs.h.orig 2015-01-03 09:45:23.000000000 +0100
|
||||
+++ f2fs-tools-1.4.0/include/f2fs_fs.h 2015-01-03 09:45:20.000000000 +0100
|
||||
@@ -34,6 +34,7 @@ typedef unsigned long pgoff_t;
|
||||
#define cpu_to_le32(x) ((__u32)(x))
|
||||
#define cpu_to_le64(x) ((__u64)(x))
|
||||
#elif __BYTE_ORDER == __BIG_ENDIAN
|
||||
+#include <byteswap.h>
|
||||
#define le16_to_cpu(x) bswap_16(x)
|
||||
#define le32_to_cpu(x) bswap_32(x)
|
||||
#define le64_to_cpu(x) bswap_64(x)
|
@ -1,15 +1,17 @@
|
||||
Name: f2fs-tools
|
||||
Version: 1.2.0
|
||||
Release: 1%{?dist}
|
||||
Version: 1.10.0
|
||||
Release: 2%{?dist}
|
||||
Summary: Tools for Flash-Friendly File System (F2FS)
|
||||
License: GPLv2+
|
||||
URL: http://sourceforge.net/projects/f2fs-tools/
|
||||
Source0: http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git/snapshot/%{name}-%{version}.tar.gz
|
||||
Patch0: f2fs-tools-1.8.0-bigendian.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: uuid-devel
|
||||
BuildRequires: libuuid-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: libselinux-devel
|
||||
|
||||
%description
|
||||
NAND flash memory-based storage devices, such as SSD, and SD cards,
|
||||
@ -43,6 +45,7 @@ that use %{name}
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .bigendian
|
||||
sed -i 's/AC_PROG_LIBTOOL/LT_INIT/' configure.ac
|
||||
|
||||
%build
|
||||
@ -54,6 +57,9 @@ make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} INSTALL="install -p" CP="cp -p" sbindir=%{_sbindir} install
|
||||
mkdir -m 755 -p %{buildroot}%{_includedir}
|
||||
install -m 644 include/f2fs_fs.h %{buildroot}%{_includedir}
|
||||
install -m 644 mkfs/f2fs_format_utils.h %{buildroot}%{_includedir}
|
||||
rm -f %{buildroot}/%{_libdir}/*.la
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
@ -64,15 +70,71 @@ rm -f %{buildroot}/%{_libdir}/*.la
|
||||
%{_sbindir}/mkfs.f2fs
|
||||
%{_sbindir}/fibmap.f2fs
|
||||
%{_sbindir}/fsck.f2fs
|
||||
%{_sbindir}/mkfs.f2fs
|
||||
%{_sbindir}/dump.f2fs
|
||||
%{_sbindir}/parse.f2fs
|
||||
%{_sbindir}/defrag.f2fs
|
||||
%{_sbindir}/resize.f2fs
|
||||
%{_sbindir}/sload.f2fs
|
||||
%{_sbindir}/f2fstat
|
||||
%{_sbindir}/f2fscrypt
|
||||
%{_libdir}/*.so.*
|
||||
%{_mandir}/man8/mkfs.f2fs.8*
|
||||
%{_mandir}/man8/*f2*.gz
|
||||
|
||||
%files devel
|
||||
%{_includedir}/*.h
|
||||
%{_libdir}/*.so
|
||||
|
||||
%changelog
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Thu Feb 08 2018 Filipe Rosset <rosset.filipe@gmail.com> - 1.10.0-1
|
||||
- Update to 1.10.0
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Sat Aug 12 2017 Eduardo Echeverria <echevemaster@gmail.com> - 1.8.0-1
|
||||
- Update to 1.8.0
|
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Sat Oct 08 2016 Eduardo Echeverria <echevemaster@gmail.com> - 1.7.0-1
|
||||
- Bumped to 1.7.0
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Sat Aug 8 2015 Eduardo Echeverria <echevemaster@gmail.com> - 1.4.1-1
|
||||
- Updated to 1.4.1
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Sat Jan 03 2015 Dan Horák <dan[at]danny.cz> - 1.4.0-3
|
||||
- fix build on big endian arches
|
||||
|
||||
* Fri Dec 26 2014 Jonathan Dieter <jdieter@lesbg.com> - 1.4.0-2
|
||||
- Add missing header to development package
|
||||
|
||||
* Thu Dec 25 2014 Eduardo Echeverria <echevemaster@gmail.com> - 1.4.0-1
|
||||
- Update to the latest upstream version
|
||||
|
||||
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Sun Jan 19 2014 Eduardo Echeverria <echevemaster@gmail.com> - 1.2.0-1
|
||||
- Update to the latest upstream version
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user