Browse Source

hannes:


			
			
				rocklinux
			
			
		
hannes 20 years ago
parent
commit
e5694c4e40
3 changed files with 23 additions and 0 deletions
  1. +6
    -0
      package/hannes/checkpolicy/checkpolicy.conf
  2. +6
    -0
      package/hannes/libsepol/libsepol.conf
  3. +11
    -0
      package/hannes/setools/makefile.patch

+ 6
- 0
package/hannes/checkpolicy/checkpolicy.conf

@ -20,4 +20,10 @@
#
# --- ROCK-COPYRIGHT-NOTE-END ---
checkpolicy_premake()
{
sed -i -e 's/MLS=n/MLS=y/' Makefile
}
var_append makeinstopt ' ' "DESTDIR=$root/"
hook_add premake 5 "checkpolicy_premake"

+ 6
- 0
package/hannes/libsepol/libsepol.conf

@ -20,4 +20,10 @@
#
# --- ROCK-COPYRIGHT-NOTE-END ---
libsepol_premake()
{
sed -i -e 's/MLS=n/MLS=y/' src/Makefile
}
var_append makeinstopt ' ' "DESTDIR=$root/"
hook_add premake 5 "libsepol_premake"

+ 11
- 0
package/hannes/setools/makefile.patch

@ -0,0 +1,11 @@
--- ./Makefile.orig 2004-12-02 22:46:22.524886160 +0100
+++ ./Makefile 2004-12-02 22:46:40.170203664 +0100
@@ -51,7 +51,7 @@
# -DCONFIG_SECURITY_SELINUX_MLS
# compiles library to be compatible with MLS
## in the policy (experimental, see Readme)
-CC_DEFINES =
+CC_DEFINES = -DCONFIG_SECURITY_SELINUX_MLS
ifeq ($(USE_LIBSELINUX), 1)
CC_DEFINES += -DLIBSELINUX

Loading…
Cancel
Save