Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 331286 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]
[patch]
Ebuild fix for selinux
389-ds-base-1.2.11.15.ebuild.patch (text/plain), 1.34 KB, created by
Sven Vermeulen (RETIRED)
on 2012-12-03 10:12:21 UTC
(
hide
)
Description:
Ebuild fix for selinux
Filename:
MIME Type:
Creator:
Sven Vermeulen (RETIRED)
Created:
2012-12-03 10:12:21 UTC
Size:
1.34 KB
patch
obsolete
>--- 389-ds-base-1.2.11.15.ebuild.orig 2012-12-03 11:02:32.556594083 +0100 >+++ 389-ds-base-1.2.11.15.ebuild 2012-12-03 11:09:27.409002486 +0100 >@@ -55,11 +55,12 @@ > } > > src_prepare() { >- epatch "${FILESDIR}/selinux.patch" > # Fix compilation against mozldap > epatch "${FILESDIR}/389-ds-base-1.2.11-fix-mozldap.patch" > # Upstream patch, will be in 1.2.11.16, fixes CVE-2012-4450 > epatch "${FILESDIR}/389-ds-base-1.2.11.16-cve-2012-4450.patch" >+ # Fix SELinux build as per bug #445484 >+ epatch "${FILESDIR}/389-ds-base-1.2.11.15-fix-selinux-build.patch" > > # as per 389 documentation, when 64bit, export USE_64 > use amd64 && export USE_64=1 >@@ -163,20 +164,9 @@ > > pkg_postinst() { > if use selinux; then >- if has "loadpolicy" $FEATURES; then >- einfo "Inserting the following modules into the module store" >- cd /usr/share/selinux/targeted # struct policy not supported >- semodule -s dirsrv -i dirsrv.pp >- else >- elog >- elog "Policy has not been loaded. It is strongly suggested" >- elog "that the policy be loaded before continuing!!" >- elog >- elog "Automatic policy loading can be enabled by adding" >- elog "\"loadpolicy\" to the FEATURES in make.conf." >- elog >- ebeep 4 >- fi >+ local SELINUXTYPE=$(grep ^SELINUXTYPE /etc/selinux/config | cut -d '=' -f 2); >+ cd /usr/share/selinux/${SELINUXTYPE}; >+ semodule -i dirsrv.pp; > fi > > elog
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 445484
:
331284
|
331286
|
341592