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}/
33 mkdir -pv %{DIR_APP}/build
35 # At run time libblkid looks for the BLKID_DEBUG environment variable to
36 # enable debbugging, with getenv(3). Some suid-root programs use libblkid,
37 # such as mount(1). e2fsprogs includes a safe_getenv() function, which calls
38 # __secure_getenv() from libc. __secure_getenv will restrict some environment
39 # variables if the user is suid or sgid. So, this command replaces getenv()
42 -e 's/getenv("BLKID_DEBUG")/safe_getenv("BLKID_DEBUG")/' \
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 cd build && make check
71 make install install-libs DESTDIR=%{BUILDROOT}
84 package %{name}-debuginfo