e2fsprogs: 1.14.12 -> 1.14.13

This commit is contained in:
William A. Kennington III 2015-05-23 16:00:02 -07:00
parent c078890a19
commit 3f4f90b58b

View File

@ -1,34 +1,66 @@
{ stdenv, fetchurl, pkgconfig, libuuid }: { stdenv, fetchurl, pkgconfig
# Optional Dependencies
, libuuid
}:
with stdenv;
let
optLibuuid = shouldUsePkg libuuid;
in
with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "e2fsprogs-1.42.12"; name = "e2fsprogs-1.42.13";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/e2fsprogs/${name}.tar.gz"; url = "mirror://sourceforge/e2fsprogs/${name}.tar.gz";
sha256 = "0v0qcfyls0dlrjy8gx9m3s2wbkp5z3lbsr5hb7x8kp8f3bclcy71"; sha256 = "1m72lk90b5i3h9qnmss6aygrzyn8x2avy3hyaq2fb0jglkrkz6ar";
}; };
buildInputs = [ pkgconfig libuuid ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ optLibuuid ];
crossAttrs = { configureFlags = [
preConfigure = '' (mkEnable true "symlink-install" null)
export CC=$crossConfig-gcc (mkEnable true "relative-symlinks" null)
''; (mkEnable true "symlink-relative-symlinks" null)
}; (mkEnable false "compression" null)
(mkEnable true "htree" null)
# libuuid, libblkid, uuidd and fsck are in util-linux-ng (the "libuuid" dependency). (mkEnable true "elf-shlibs" null)
configureFlags = "--enable-elf-shlibs --disable-libuuid --disable-libblkid --disable-uuidd --disable-fsck --enable-symlink-install"; (mkEnable false "profile" null)
(mkEnable false "gcov" null)
(mkEnable false "jbd-debug" null)
(mkEnable false "blkid-debug" null)
(mkEnable false "testio-debug" null)
(mkEnable (optLibuuid == null) "libuuid" null)
(mkEnable (optLibuuid == null) "libblkid" null)
(mkEnable true "quota" null)
(mkEnable false "backtrace" null)
(mkEnable false "debugfs" null)
(mkEnable true "imager" null)
(mkEnable true "resizer" null)
(mkEnable true "defrag" null)
(mkEnable true "fsck" null)
(mkEnable false "e2initrd-helper" null)
(mkEnable true "tls" null)
(mkEnable false "uuidd" null) # Build is broken in 1.42.13
];
enableParallelBuilding = true; enableParallelBuilding = true;
preInstall = "installFlagsArray=('LN=ln -s')"; installFlags = [
"LN=ln -s"
];
postInstall = "make install-libs"; postInstall = ''
make install-libs
'';
meta = { meta = with stdenv.lib; {
homepage = http://e2fsprogs.sourceforge.net/; homepage = http://e2fsprogs.sourceforge.net/;
description = "Tools for creating and checking ext2/ext3/ext4 filesystems"; description = "Tools for creating and checking ext2/ext3/ext4 filesystems";
platforms = stdenv.lib.platforms.linux; license = licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.eelco ]; platforms = platforms.linux;
maintainers = with maintainers; [ eelco wkennington ];
}; };
} }