2021-12-06 16:07:01 +00:00
|
|
|
{ stdenv, lib, fetchurl, bash }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "pax-utils";
|
2021-09-18 10:52:07 +00:00
|
|
|
version = "1.3.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-12-06 16:07:01 +00:00
|
|
|
url = "mirror://gentoo/distfiles/${pname}-${version}.tar.xz";
|
2021-09-18 10:52:07 +00:00
|
|
|
sha256 = "sha256-7sp/vZi8Zr6tSncADCAl2fF+qCAbhCRYgkBs4AubaxQ=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
|
|
|
buildInputs = [ bash ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
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";
|
2021-09-18 10:52:07 +00:00
|
|
|
license = licenses.gpl2Only;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ thoughtpolice joachifm ];
|
|
|
|
};
|
|
|
|
}
|