summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Klimaszewski <steev@gentoo.org>2008-02-12 13:01:15 +0000
committerStephen Klimaszewski <steev@gentoo.org>2008-02-12 13:01:15 +0000
commit37ccb3feed57c23d7f68f0c6cfcca71b0c55d07d (patch)
treeac5231a40dc76ecd0ffc2d1f89647298a08b439c /sys-apps
parentSparc stable, Security Bug #185713. (diff)
downloadgentoo-2-37ccb3feed57c23d7f68f0c6cfcca71b0c55d07d.tar.gz
gentoo-2-37ccb3feed57c23d7f68f0c6cfcca71b0c55d07d.tar.bz2
gentoo-2-37ccb3feed57c23d7f68f0c6cfcca71b0c55d07d.zip
Disable libaudit when not using SELinux. Should close bug #209571.
Thanks to jamatik <jamatik@wheep.de> for reporting. (Portage version: 2.1.4.3)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/dbus/ChangeLog6
-rw-r--r--sys-apps/dbus/dbus-1.1.4.ebuild6
2 files changed, 9 insertions, 3 deletions
diff --git a/sys-apps/dbus/ChangeLog b/sys-apps/dbus/ChangeLog
index 855b1e962d72..96f6dcca8b00 100644
--- a/sys-apps/dbus/ChangeLog
+++ b/sys-apps/dbus/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/dbus
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/dbus/ChangeLog,v 1.208 2008/02/07 00:56:52 steev Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/dbus/ChangeLog,v 1.209 2008/02/12 13:01:15 steev Exp $
+
+ 12 Feb 2008; Steev Klimaszewski <steev@gentoo.org> dbus-1.1.4.ebuild:
+ Disable libaudit when not using SELinux. Should close bug #209571.
+ Thanks to jamatik <jamatik@wheep.de> for reporting.
07 Feb 2008; Steev Klimaszewski <steev@gentoo.org> dbus-1.1.4.ebuild:
Only patch if we are building with use X, the patch causes an error when
diff --git a/sys-apps/dbus/dbus-1.1.4.ebuild b/sys-apps/dbus/dbus-1.1.4.ebuild
index 566f4d3f9c30..f6d695e4fbc6 100644
--- a/sys-apps/dbus/dbus-1.1.4.ebuild
+++ b/sys-apps/dbus/dbus-1.1.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/dbus/dbus-1.1.4.ebuild,v 1.6 2008/02/07 02:09:51 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/dbus/dbus-1.1.4.ebuild,v 1.7 2008/02/12 13:01:15 steev Exp $
inherit eutils multilib autotools flag-o-matic
@@ -39,12 +39,14 @@ src_compile() {
local myconf=""
hasq test ${FEATURES} && myconf="${myconf} --enable-tests=yes"
-
+ # libaudit is *only* used in DBus wrt SELinux support, so disable it, if
+ # not on an SELinux profile.
econf \
$(use_with X x) \
$(use_enable kernel_linux inotify) \
$(use_enable kernel_FreeBSD kqueue) \
$(use_enable selinux) \
+ $(use_enable selinux libaudit) \
$(use_enable debug verbose-mode) \
$(use_enable debug asserts) \
--with-xml=expat \