summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2011-02-01 19:26:39 +0000
committerWilliam Hubbs <williamh@gentoo.org>2011-02-01 19:26:39 +0000
commit93ddfb530e888c93a8a2eb7b8104f569439442dd (patch)
treecedc387e71cfd3b1072b519ae1a45bd009f4947a /sys-apps/openrc
parentMove up python_copy_source such that when lua is enable we do not install it ... (diff)
downloadgentoo-2-93ddfb530e888c93a8a2eb7b8104f569439442dd.tar.gz
gentoo-2-93ddfb530e888c93a8a2eb7b8104f569439442dd.tar.bz2
gentoo-2-93ddfb530e888c93a8a2eb7b8104f569439442dd.zip
add selinux use flag support for bug #351712
(Portage version: 2.2.0_alpha19/cvs/Linux i686)
Diffstat (limited to 'sys-apps/openrc')
-rw-r--r--sys-apps/openrc/ChangeLog5
-rw-r--r--sys-apps/openrc/openrc-9999.ebuild7
2 files changed, 9 insertions, 3 deletions
diff --git a/sys-apps/openrc/ChangeLog b/sys-apps/openrc/ChangeLog
index 0e4e313dba8e..e881dc9323d8 100644
--- a/sys-apps/openrc/ChangeLog
+++ b/sys-apps/openrc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/openrc
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/ChangeLog,v 1.131 2011/02/01 00:04:03 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/ChangeLog,v 1.132 2011/02/01 19:26:39 williamh Exp $
+
+ 01 Feb 2011; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild:
+ add selinux use flag support for bug #351712
31 Jan 2011; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild:
Bug #289264 is fixed upstream, so remove the sed that worked around it.
diff --git a/sys-apps/openrc/openrc-9999.ebuild b/sys-apps/openrc/openrc-9999.ebuild
index 1322b2908b6b..f3287d0f3971 100644
--- a/sys-apps/openrc/openrc-9999.ebuild
+++ b/sys-apps/openrc/openrc-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/openrc-9999.ebuild,v 1.76 2011/02/01 00:04:03 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/openrc-9999.ebuild,v 1.77 2011/02/01 19:26:39 williamh Exp $
EAPI="1"
@@ -20,7 +20,7 @@ HOMEPAGE="http://www.gentoo.org/proj/en/base/openrc/"
LICENSE="BSD-2"
SLOT="0"
-IUSE="debug elibc_glibc ncurses pam unicode kernel_linux kernel_FreeBSD"
+IUSE="debug elibc_glibc ncurses pam selinux unicode kernel_linux kernel_FreeBSD"
RDEPEND="virtual/init
kernel_FreeBSD? ( sys-process/fuser-bsd )
@@ -48,6 +48,9 @@ make_args() {
MAKE_ARGS="${MAKE_ARGS} OS=FreeBSD"
brand="FreeBSD"
fi
+ if use selinux; then
+ MAKE_ARGS="${MAKE_ARGS} MKSELINUX=yes"
+ fi
export BRANDING="Gentoo ${brand}"
}