selinux: update to 2014-05-06
Sadly, policycoreutils still fails on i686-linux.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, autoreconfHook, pkgconfig, bison, flex
|
||||
{ stdenv, fetchurl, fetchpatch, autoreconfHook, pkgconfig, bison, flex
|
||||
, python, swig2, tcl, libsepol, libselinux, libxml2, sqlite, bzip2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -9,6 +9,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "16g987ijaxabc30zyjzia4nafq49rm038y1pm4vca7i3kb67wf24";
|
||||
};
|
||||
|
||||
patches = [ ./ftbfs-invalid-operands-of-types.patch ];
|
||||
|
||||
# SWIG-TCL is broken in 3.3.8
|
||||
configureFlags = ''
|
||||
--with-tcl=${tcl}/lib
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=750331
|
||||
|
||||
Index: setools-git/secmds/replcon.cc
|
||||
===================================================================
|
||||
--- setools-git.orig/secmds/replcon.cc
|
||||
+++ setools-git/secmds/replcon.cc
|
||||
@@ -60,7 +60,7 @@ static struct option const longopts[] =
|
||||
{NULL, 0, NULL, 0}
|
||||
};
|
||||
|
||||
-extern int lsetfilecon_raw(const char *, security_context_t) __attribute__ ((weak));
|
||||
+extern int lsetfilecon_raw(const char *, const char *) __attribute__ ((weak));
|
||||
|
||||
/**
|
||||
* As that setools must work with older libselinux versions that may
|
||||
Reference in New Issue
Block a user