1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = System/Filesystems
11 url = http://e2fsprogs.sourceforge.net/
13 summary = Utilities for managing the extended (ext2/ext3/ext4) filesystems.
16 The e2fsprogs package contains a number of utilities for creating,
17 checking, modifying, and correcting any inconsistencies in second
18 and third extended (ext2/ext3) filesystems.
21 source_dl = http://prdownloads.sourceforge.net/%{name}/
31 mkdir -pv %{DIR_APP}/build
33 # At run time libblkid looks for the BLKID_DEBUG environment variable to
34 # enable debbugging, with getenv(3). Some suid-root programs use libblkid,
35 # such as mount(1). e2fsprogs includes a safe_getenv() function, which calls
36 # __secure_getenv() from libc. __secure_getenv will restrict some environment
37 # variables if the user is suid or sgid. So, this command replaces getenv()
40 -e 's/getenv("BLKID_DEBUG")/safe_getenv("BLKID_DEBUG")/' \
44 CFLAGS += -fno-strict-aliasing
46 configure_options += \
47 --with-root-prefix="" \
59 make %{PARALLELISMFLAGS}
63 # Create empty mtab file if it does not exist.
64 [ -e /etc/mtab ] || touch /etc/mtab
66 # Disable failing test to fallocate sparse files and big files on a blockmap fs.
68 # test_filesys: ***** FILE SYSTEM WAS MODIFIED *****
69 # test_filesys: 13/4096 files (7.7% non-contiguous), 12422/65536 blocks
72 # But the test fails because the Inode 12 and 13 have differnet permissions.
73 # ( 0644 instead of 0666 ).
74 # -Inode: 12 Type: regular Mode: 0666 Flags: 0x0
75 # +Inode: 12 Type: regular Mode: 0644 Flags: 0x0
76 rm -rvf tests/d_fallocate_blkmap
79 cd build && make check
84 make install install-libs DESTDIR=%{BUILDROOT}
107 summary = Common error description library.
109 This is the common error description library, part of e2fsprogs.
113 %{libdir}/libcom_err.so.*
117 package libcom_err-devel
118 summary = Development files for libcom_err.
119 description = %{summary}
123 %{libdir}/libcom_err.so
124 %{libdir}/pkgconfig/com_err.pc
125 %{includedir}/com_err.h
128 %{mandir}/man1/compile_et.1*
129 %{mandir}/man3/com_err.3*
134 summary = Command line interface parsing library.
136 This is libss, a command line interface parsing library, part of e2fsprogs.
145 summary = Development files for libss.
146 description = %{summary}
151 %{libdir}/pkgconfig/ss.pc
154 %{mandir}/man1/mk_cmds.1*
157 package %{name}-debuginfo