libsepol: 2.4 -> 2.7
This commit is contained in:
parent
cb6f88ce5e
commit
880d8c16b5
@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libsepol-${version}";
|
||||
version = "2.4";
|
||||
se_release = "20150202";
|
||||
version = "2.7";
|
||||
se_release = "20170804";
|
||||
se_url = "https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases";
|
||||
|
||||
src = fetchurl {
|
||||
url = "${se_url}/${se_release}/libsepol-${version}.tar.gz";
|
||||
sha256 = "0ncnwhpc1gx4hrrb822fqkwy5h75zzngsrfkd5mlqh1jk7aib419";
|
||||
sha256 = "1rzr90d3f1g5wy1b8sh6fgnqb9migys2zgpjmpakn6lhxkc3p7fn";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ flex ];
|
||||
@ -16,9 +16,10 @@ stdenv.mkDerivation rec {
|
||||
preBuild = ''
|
||||
makeFlagsArray+=("PREFIX=$out")
|
||||
makeFlagsArray+=("DESTDIR=$out")
|
||||
makeFlagsArray+=("MAN8DIR=$out/share/man/man8")
|
||||
makeFlagsArray+=("MAN3DIR=$out/share/man/man3")
|
||||
'';
|
||||
|
||||
NIX_CFLAGS_COMPILE = [ "-Wno-error=implicit-fallthrough" ];
|
||||
|
||||
passthru = { inherit se_release se_url; };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user