forked from mirrors/nixpkgs
paxtest: init at 0.9.14
This commit is contained in:
parent
33cf0792b1
commit
bffc446394
pkgs
28
pkgs/os-specific/linux/paxtest/default.nix
Normal file
28
pkgs/os-specific/linux/paxtest/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "paxtest-${version}";
|
||||||
|
version = "0.9.14";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://www.grsecurity.net/~spender/${name}.tar.gz";
|
||||||
|
sha256 = "0j40h3x42k5mr5gc5np4wvr9cdf9szk2f46swf42zny8rlgxiskx";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
make $makeFlags RUNDIR=$out/bin/ linux
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
find . -executable -exec cp {} $out/bin \;
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Test various memory protection measures";
|
||||||
|
license = licenses.gpl2;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainer = [ maintainers.copumpkin ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
|
@ -10469,6 +10469,8 @@ let
|
||||||
|
|
||||||
paxctl = callPackage ../os-specific/linux/paxctl { };
|
paxctl = callPackage ../os-specific/linux/paxctl { };
|
||||||
|
|
||||||
|
paxtest = callPackage ../os-specific/linux/paxtest { };
|
||||||
|
|
||||||
pax-utils = callPackage ../os-specific/linux/pax-utils { };
|
pax-utils = callPackage ../os-specific/linux/pax-utils { };
|
||||||
|
|
||||||
pcmciaUtils = callPackage ../os-specific/linux/pcmciautils {
|
pcmciaUtils = callPackage ../os-specific/linux/pcmciautils {
|
||||||
|
|
Loading…
Reference in a new issue