summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Zaman <perfinion@gentoo.org>2015-05-09 14:02:47 +0000
committerJason Zaman <perfinion@gentoo.org>2015-05-09 14:02:47 +0000
commitf96df9366d03bc431379f245e98832908eae1bbb (patch)
tree3257070c47e6fcdbae450236e8472d0f26ed900b /sys-apps/policycoreutils
parentMark stable on amd64 (bug #540844). Remove old. (diff)
downloadgentoo-2-f96df9366d03bc431379f245e98832908eae1bbb.tar.gz
gentoo-2-f96df9366d03bc431379f245e98832908eae1bbb.tar.bz2
gentoo-2-f96df9366d03bc431379f245e98832908eae1bbb.zip
ewarn has been moved to libsemanage
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x7EF137EC935B0EAF)
Diffstat (limited to 'sys-apps/policycoreutils')
-rw-r--r--sys-apps/policycoreutils/ChangeLog5
-rw-r--r--sys-apps/policycoreutils/policycoreutils-2.4.ebuild14
2 files changed, 5 insertions, 14 deletions
diff --git a/sys-apps/policycoreutils/ChangeLog b/sys-apps/policycoreutils/ChangeLog
index 8d32c1f651eb..cc5df286cb79 100644
--- a/sys-apps/policycoreutils/ChangeLog
+++ b/sys-apps/policycoreutils/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/policycoreutils
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/ChangeLog,v 1.151 2015/04/18 21:49:41 perfinion Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/ChangeLog,v 1.152 2015/05/09 14:02:47 perfinion Exp $
+
+ 09 May 2015; Jason Zaman <perfinion@gentoo.org> policycoreutils-2.4.ebuild:
+ ewarn has been moved to libsemanage
18 Apr 2015; Jason Zaman <perfinion@gentoo.org>
-policycoreutils-2.3-r2.ebuild, -policycoreutils-2.4_rc6-r1.ebuild,
diff --git a/sys-apps/policycoreutils/policycoreutils-2.4.ebuild b/sys-apps/policycoreutils/policycoreutils-2.4.ebuild
index 8b2218e78ed9..d3b65cfaf56d 100644
--- a/sys-apps/policycoreutils/policycoreutils-2.4.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-2.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.4.ebuild,v 1.2 2015/03/04 16:05:39 swift Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.4.ebuild,v 1.3 2015/05/09 14:02:47 perfinion Exp $
EAPI="5"
PYTHON_COMPAT=( python2_7 )
@@ -144,16 +144,4 @@ src_install() {
pkg_postinst() {
# The selinux_gentoo init script is no longer needed with recent OpenRC
elog "The selinux_gentoo init script will be removed in future versions since it is not needed with OpenRC 0.13."
-
- # Migrate the SELinux semanage configuration store if not done already
- local selinuxtype=$(awk -F'=' '/SELINUXTYPE=/ {print $2}' /etc/selinux/config);
- if [ -n "${selinuxtype}" ] && [ ! -d /var/lib/selinux/${mcs}/active ] ; then
- ewarn "Since the 2.4 SELinux userspace, the policy module store is moved"
- ewarn "from /etc/selinux to /var/lib/selinux. In order to continue with"
- ewarn "the 2.4 userspace, please migrate the necessary files by executing"
- ewarn "/usr/libexec/selinux/semanage_migrate_store. Warnings about 'else'"
- ewarn "blocks can be safely ignored."
- ewarn "For more information, please see"
- ewarn "- https://github.com/SELinuxProject/selinux/wiki/Policy-Store-Migration"
- fi
}