2022-04-29 07:02:24 +00:00
|
|
|
{ stdenv, lib, fetchurl, bash, gitUpdater }:
|
2014-02-17 14:24:43 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-07-09 13:17:19 +00:00
|
|
|
pname = "pax-utils";
|
2022-04-29 07:02:24 +00:00
|
|
|
version = "1.3.4";
|
2014-02-17 14:24:43 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-11-06 01:56:39 +00:00
|
|
|
url = "mirror://gentoo/distfiles/${pname}-${version}.tar.xz";
|
2022-04-29 07:02:24 +00:00
|
|
|
sha256 = "sha256-i67S+cWujgzaG5x1mQhkEBr8ZPrQpGFuEPP/jviRBAs=";
|
2014-02-17 14:24:43 +00:00
|
|
|
};
|
|
|
|
|
2021-10-30 10:31:23 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
|
|
|
buildInputs = [ bash ];
|
|
|
|
|
2017-03-22 01:13:39 +00:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
2014-02-17 14:24:43 +00:00
|
|
|
|
2022-04-29 07:02:24 +00:00
|
|
|
passthru.updateScript = gitUpdater {
|
|
|
|
inherit pname version;
|
|
|
|
url = "https://anongit.gentoo.org/git/proj/pax-utils.git";
|
|
|
|
rev-prefix = "v";
|
|
|
|
};
|
|
|
|
|
2019-07-09 13:17:19 +00:00
|
|
|
meta = with lib; {
|
2017-03-22 01:13:39 +00:00
|
|
|
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.
|
|
|
|
'';
|
2019-07-09 13:17:19 +00:00
|
|
|
homepage = "https://wiki.gentoo.org/wiki/Hardened/PaX_Utilities";
|
2021-09-05 09:13:58 +00:00
|
|
|
license = licenses.gpl2Only;
|
2017-03-22 01:13:39 +00:00
|
|
|
platforms = platforms.unix;
|
2016-11-20 21:28:46 +00:00
|
|
|
maintainers = with maintainers; [ thoughtpolice joachifm ];
|
2014-02-17 14:24:43 +00:00
|
|
|
};
|
|
|
|
}
|