31 lines
904 B
Nix
31 lines
904 B
Nix
{ stdenv, lib, fetchurl, bash }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "pax-utils";
|
|
version = "1.3.3";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gentoo/distfiles/${pname}-${version}.tar.xz";
|
|
sha256 = "sha256-7sp/vZi8Zr6tSncADCAl2fF+qCAbhCRYgkBs4AubaxQ=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
|
|
buildInputs = [ bash ];
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
meta = with lib; {
|
|
description = "ELF utils that can check files for security relevant properties";
|
|
longDescription = ''
|
|
A suite of ELF tools to aid auditing systems. Contains
|
|
various ELF related utils for ELF32, ELF64 binaries useful
|
|
for displaying PaX and security info on a large groups of
|
|
binary files.
|
|
'';
|
|
homepage = "https://wiki.gentoo.org/wiki/Hardened/PaX_Utilities";
|
|
license = licenses.gpl2Only;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ thoughtpolice joachifm ];
|
|
};
|
|
}
|