Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 331284 Details for
Bug 445484
<net-nds/389-ds-base-1.3.0.2-r1 fails to build in hardened selinux profile
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Fix against selinux/Makefile to use current SELINUXTYPE instead of hardcoded "targeted"
389-ds-base-1.2.11.15-fix-selinux-build.patch (text/plain), 724 bytes, created by
Sven Vermeulen (RETIRED)
on 2012-12-03 10:02:38 UTC
(
hide
)
Description:
Fix against selinux/Makefile to use current SELINUXTYPE instead of hardcoded "targeted"
Filename:
MIME Type:
Creator:
Sven Vermeulen (RETIRED)
Created:
2012-12-03 10:02:38 UTC
Size:
724 bytes
patch
obsolete
>diff -ur 389-ds-base-1.2.11.15.orig/selinux/Makefile 389-ds-base-1.2.11.15/selinux/Makefile >--- 389-ds-base-1.2.11.15.orig/selinux/Makefile 2012-12-03 10:48:25.235766427 +0100 >+++ 389-ds-base-1.2.11.15/selinux/Makefile 2012-12-03 10:57:10.191276891 +0100 >@@ -1,5 +1,6 @@ >-POLICY_MAKEFILE = /usr/share/selinux/devel/Makefile >-POLICY_DIR = $(DESTDIR)/usr/share/selinux/targeted >+SELINUXTYPE=$(shell grep ^SELINUXTYPE /etc/selinux/config | cut -d '=' -f 2) >+POLICY_MAKEFILE = /usr/share/selinux/$(SELINUXTYPE)/include/Makefile >+POLICY_DIR = $(DESTDIR)/usr/share/selinux/$(SELINUXTYPE) > > all: > if [ ! -e $(POLICY_MAKEFILE) ]; then echo "You need to install the SELinux policy development tools (selinux-policy)" && exit 1; fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 445484
:
331284
|
331286
|
341592