selinux-sandbox: 2.7 -> 2.9
This commit is contained in:
parent
0278e8387e
commit
d09152cb28
@ -9,12 +9,12 @@ with python3.pkgs;
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "selinux-sandbox";
|
pname = "selinux-sandbox";
|
||||||
version = "2.7";
|
version = "2.9";
|
||||||
se_release = "20170804";
|
inherit (policycoreutils) se_release se_url;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${se_release}/selinux-sandbox-${version}.tar.gz";
|
url = "${se_url}/${se_release}/selinux-sandbox-${version}.tar.gz";
|
||||||
sha256 = "0hf5chm90iapb42njaps6p5460ys3ajh5446ja544vdbh01n544l";
|
sha256 = "0qj20jyi8v1653xdqj5yak3wwbvg5bw8f2jmx8fpahl6y1bmz481";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ wrapPython ];
|
nativeBuildInputs = [ wrapPython ];
|
||||||
@ -42,10 +42,10 @@ stdenv.mkDerivation rec {
|
|||||||
--replace "/usr/bin/test" "${coreutils}/bin/test" \
|
--replace "/usr/bin/test" "${coreutils}/bin/test" \
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preBuild = ''
|
makeFlags = [
|
||||||
makeFlagsArray+=("PREFIX=$out")
|
"PREFIX=$(out)"
|
||||||
makeFlagsArray+=("DESTDIR=$out")
|
"SYSCONFDIR=$(out)/etc/sysconfig"
|
||||||
'';
|
];
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
wrapPythonPrograms
|
wrapPythonPrograms
|
||||||
|
Loading…
Reference in New Issue
Block a user