summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2014-10-19 20:13:19 +0000
committerMike Gilbert <floppym@gentoo.org>2014-10-19 20:13:19 +0000
commit6ba4af86aa1c89e965a602a7b122fafbe21201e4 (patch)
tree588f651b4c639651e701035df674739901d03bc4 /sys-apps
parentRemove old (diff)
downloadgentoo-2-6ba4af86aa1c89e965a602a7b122fafbe21201e4.tar.gz
gentoo-2-6ba4af86aa1c89e965a602a7b122fafbe21201e4.tar.bz2
gentoo-2-6ba4af86aa1c89e965a602a7b122fafbe21201e4.zip
Add use flag to control apparmor support, bug 525894 by Dainius Masiliūnas.
(Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/systemd/ChangeLog6
-rw-r--r--sys-apps/systemd/metadata.xml1
-rw-r--r--sys-apps/systemd/systemd-216-r1.ebuild7
-rw-r--r--sys-apps/systemd/systemd-9999.ebuild7
4 files changed, 14 insertions, 7 deletions
diff --git a/sys-apps/systemd/ChangeLog b/sys-apps/systemd/ChangeLog
index 5f6a34b490c0..6c434602fd71 100644
--- a/sys-apps/systemd/ChangeLog
+++ b/sys-apps/systemd/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/systemd
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/ChangeLog,v 1.312 2014/10/15 15:08:14 klausman Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/ChangeLog,v 1.313 2014/10/19 20:13:19 floppym Exp $
+
+ 19 Oct 2014; Mike Gilbert <floppym@gentoo.org> metadata.xml,
+ systemd-216-r1.ebuild, systemd-9999.ebuild:
+ Add use flag to control apparmor support, bug 525894 by Dainius Masiliūnas.
15 Oct 2014; Tobias Klausmann <klausman@gentoo.org> systemd-215-r3.ebuild:
Stable on alpha, bug 517120
diff --git a/sys-apps/systemd/metadata.xml b/sys-apps/systemd/metadata.xml
index 3ecf886b92d8..78b4a3359b77 100644
--- a/sys-apps/systemd/metadata.xml
+++ b/sys-apps/systemd/metadata.xml
@@ -7,6 +7,7 @@
</maintainer>
<use>
<!-- XXX: describe those two better -->
+ <flag name='apparmor'>Enable AppArmor support</flag>
<flag name='audit'>Enable support for <pkg>sys-process/audit</pkg></flag>
<flag name='cryptsetup'>Use libcryptsetup</flag>
<flag name='firmware-loader'>Enable user-space firmware loader (for kernels prior to 3.8)</flag>
diff --git a/sys-apps/systemd/systemd-216-r1.ebuild b/sys-apps/systemd/systemd-216-r1.ebuild
index 7c8d033f3e44..3f0f45045c43 100644
--- a/sys-apps/systemd/systemd-216-r1.ebuild
+++ b/sys-apps/systemd/systemd-216-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-216-r1.ebuild,v 1.2 2014/10/12 09:58:35 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-216-r1.ebuild,v 1.3 2014/10/19 20:13:19 floppym Exp $
EAPI=5
@@ -17,7 +17,7 @@ SRC_URI="http://www.freedesktop.org/software/systemd/${P}.tar.xz"
LICENSE="GPL-2 LGPL-2.1 MIT public-domain"
SLOT="0/2"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="acl audit cryptsetup curl doc elfutils +firmware-loader gcrypt gudev http
+IUSE="acl apparmor audit cryptsetup curl doc elfutils +firmware-loader gcrypt gudev http
idn introspection kdbus +kmod lz4 lzma pam policykit python qrcode +seccomp
selinux ssl test vanilla"
@@ -26,6 +26,7 @@ MINKV="3.8"
COMMON_DEPEND=">=sys-apps/util-linux-2.20:0=
sys-libs/libcap:0=
acl? ( sys-apps/acl:0= )
+ apparmor? ( sys-libs/libapparmor:0= )
audit? ( >=sys-process/audit-2:0= )
cryptsetup? ( >=sys-fs/cryptsetup-1.6:0= )
curl? ( net-misc/curl:0= )
@@ -182,6 +183,7 @@ multilib_src_configure() {
# Optional components/dependencies
$(multilib_native_use_enable acl)
+ $(multilib_native_use_enable apparmor)
$(multilib_native_use_enable audit)
$(multilib_native_use_enable cryptsetup libcryptsetup)
$(multilib_native_use_enable curl libcurl)
@@ -230,7 +232,6 @@ multilib_src_configure() {
$(multilib_native_enable vconsole)
# not supported (avoid automagic deps in the future)
- --disable-apparmor
--disable-chkconfig
# hardcode a few paths to spare some deps
diff --git a/sys-apps/systemd/systemd-9999.ebuild b/sys-apps/systemd/systemd-9999.ebuild
index 24bc9552074a..34b14b263915 100644
--- a/sys-apps/systemd/systemd-9999.ebuild
+++ b/sys-apps/systemd/systemd-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-9999.ebuild,v 1.141 2014/09/18 12:26:22 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-9999.ebuild,v 1.142 2014/10/19 20:13:19 floppym Exp $
EAPI=5
@@ -25,7 +25,7 @@ SRC_URI="http://www.freedesktop.org/software/systemd/${P}.tar.xz"
LICENSE="GPL-2 LGPL-2.1 MIT public-domain"
SLOT="0/2"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="acl audit cryptsetup curl doc elfutils gcrypt gudev http
+IUSE="acl apparmor audit cryptsetup curl doc elfutils gcrypt gudev http
idn introspection kdbus +kmod lz4 lzma pam policykit python qrcode +seccomp
selinux ssl test vanilla"
@@ -34,6 +34,7 @@ MINKV="3.7"
COMMON_DEPEND=">=sys-apps/util-linux-2.20:0=
sys-libs/libcap:0=
acl? ( sys-apps/acl:0= )
+ apparmor? ( sys-libs/libapparmor:0= )
audit? ( >=sys-process/audit-2:0= )
cryptsetup? ( >=sys-fs/cryptsetup-1.6:0= )
curl? ( net-misc/curl:0= )
@@ -204,6 +205,7 @@ multilib_src_configure() {
# Optional components/dependencies
$(multilib_native_use_enable acl)
+ $(multilib_native_use_enable apparmor)
$(multilib_native_use_enable audit)
$(multilib_native_use_enable cryptsetup libcryptsetup)
$(multilib_native_use_enable curl libcurl)
@@ -252,7 +254,6 @@ multilib_src_configure() {
$(multilib_native_enable vconsole)
# not supported (avoid automagic deps in the future)
- --disable-apparmor
--disable-chkconfig
# hardcode a few paths to spare some deps