2014-02-17 14:24:20 +00:00
|
|
|
{ fetchurl, stdenv }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "paxctl-${version}";
|
|
|
|
version = "0.7";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2014-02-27 12:08:09 +00:00
|
|
|
url = "http://pax.grsecurity.net/${name}.tar.bz2";
|
2014-02-17 14:24:20 +00:00
|
|
|
sha256 = "1j6dg6wd1v7na5i4xj8zmbff0mdqdnw6cvqy0rsbz5anra27f1zp";
|
|
|
|
};
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
sed "s|--owner 0 --group 0||g" -i Makefile
|
|
|
|
'';
|
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"DESTDIR=$(out)"
|
|
|
|
"MANDIR=share/man/man1"
|
|
|
|
];
|
|
|
|
|
2014-02-22 19:11:33 +00:00
|
|
|
meta = with stdenv.lib; {
|
2014-02-17 14:24:20 +00:00
|
|
|
description = "A tool for controlling PaX flags on a per binary basis";
|
|
|
|
homepage = "https://pax.grsecurity.net";
|
2014-02-22 19:11:33 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ thoughtpolice wizeman ];
|
2014-02-17 14:24:20 +00:00
|
|
|
};
|
|
|
|
}
|