From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D84BA13829C for ; Sat, 4 Jun 2016 08:49:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4ECE621C01D; Sat, 4 Jun 2016 08:49:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E2D4321C01D for ; Sat, 4 Jun 2016 08:49:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 00583340B37 for ; Sat, 4 Jun 2016 08:49:31 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D054E972 for ; Sat, 4 Jun 2016 08:49:28 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1465030136.b65c47d23d4d567a767bedb6a30eb59a349dc6f2.perfinion@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sec-policy/selinux-base-policy/ X-VCS-Repository: repo/gentoo X-VCS-Files: sec-policy/selinux-base-policy/selinux-base-policy-9999.ebuild X-VCS-Directories: sec-policy/selinux-base-policy/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: b65c47d23d4d567a767bedb6a30eb59a349dc6f2 X-VCS-Branch: master Date: Sat, 4 Jun 2016 08:49:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 22bd718b-eab6-48c3-82a8-a6f207509d9c X-Archives-Hash: 80fe6f2182ec24318bf0fd25875fc9ab commit: b65c47d23d4d567a767bedb6a30eb59a349dc6f2 Author: Jason Zaman gentoo org> AuthorDate: Sat Jun 4 08:24:25 2016 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sat Jun 4 08:48:56 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b65c47d2 sec-policy/selinux-base-policy: Add systemd useflag and module Package-Manager: portage-2.2.28 .../selinux-base-policy/selinux-base-policy-9999.ebuild | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/sec-policy/selinux-base-policy/selinux-base-policy-9999.ebuild b/sec-policy/selinux-base-policy/selinux-base-policy-9999.ebuild index 21b98bd..062dec6 100644 --- a/sec-policy/selinux-base-policy/selinux-base-policy-9999.ebuild +++ b/sec-policy/selinux-base-policy/selinux-base-policy-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI="5" @@ -20,9 +20,9 @@ fi HOMEPAGE="https://www.gentoo.org/proj/en/hardened/selinux/" DESCRIPTION="SELinux policy for core modules" -IUSE="+unconfined" +IUSE="systemd +unconfined" -RDEPEND="=sec-policy/selinux-base-${PVR}" +RDEPEND="=sec-policy/selinux-base-${PVR}[systemd?]" PDEPEND="unconfined? ( sec-policy/selinux-unconfined )" DEPEND="" @@ -35,6 +35,12 @@ S="${WORKDIR}/" # itself), when reworked reinclude it. Only postinstall (where -b base.pp is # added) needs to remain then. +pkg_setup() { + if use systemd; then + MODS="${MODS} systemd" + fi +} + pkg_pretend() { for i in ${POLICY_TYPES}; do if [[ "${i}" == "targeted" ]] && ! use unconfined; then