SELinux fixes and updates to 2012-09-24

This commit is contained in:
Vladimír Čunát
2013-02-24 13:25:53 +01:00
parent f6b28fad73
commit de70e3739d
10 changed files with 144 additions and 38 deletions
@@ -2,11 +2,12 @@
stdenv.mkDerivation rec {
name = "checkpolicy-${version}";
version = "2.0.23";
version = "2.1.11";
inherit (libsepol) se_release se_url;
src = fetchurl {
url = "http://userspace.selinuxproject.org/releases/20101221/devel/checkpolicy-2.0.23.tar.gz";
sha256 = "1n34ggacds7xap039r6hqkxmkd4g2wgfkxjdnv3lirq3cqqi8cnd";
url = "${se_url}/${se_release}/checkpolicy-${version}.tar.gz";
sha256 = "1wahs32l4jjlg0s3lyihdhvwmsy7yyvq5pk96q9lsiilc5vvrb06";
};
buildInputs = [ libsepol libselinux bison flex ];
@@ -14,10 +15,8 @@ stdenv.mkDerivation rec {
preBuild = '' makeFlags="$makeFlags LEX=flex LIBDIR=${libsepol}/lib PREFIX=$out" '';
meta = with stdenv.lib; {
homepage = http://userspace.selinuxproject.org/;
description = "SELinux policy compiler";
license = licenses.gpl2;
maintainers = [ maintainers.phreedom ];
platforms = platforms.linux;
inherit (libsepol.meta) homepage platforms maintainers;
};
}
}