diff options
author | 2020-02-22 13:22:12 +0800 | |
---|---|---|
committer | 2020-02-22 13:44:05 +0800 | |
commit | 4dd98c4e61b123561ce75fb5c0a0e0799c25dec1 (patch) | |
tree | 4e24deb66d305c5053eb82a54070466e530e316b /sec-policy/selinux-apm/selinux-apm-2.20180114-r2.ebuild | |
parent | dev-ruby/paint: add 2.2.0 (diff) | |
download | gentoo-4dd98c4e61b123561ce75fb5c0a0e0799c25dec1.tar.gz gentoo-4dd98c4e61b123561ce75fb5c0a0e0799c25dec1.tar.bz2 gentoo-4dd98c4e61b123561ce75fb5c0a0e0799c25dec1.zip |
sec-policy: drop old SELinux policies 2.2018
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jason Zaman <perfinion@gentoo.org>
Diffstat (limited to 'sec-policy/selinux-apm/selinux-apm-2.20180114-r2.ebuild')
-rw-r--r-- | sec-policy/selinux-apm/selinux-apm-2.20180114-r2.ebuild | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/sec-policy/selinux-apm/selinux-apm-2.20180114-r2.ebuild b/sec-policy/selinux-apm/selinux-apm-2.20180114-r2.ebuild deleted file mode 100644 index fc957a383820..000000000000 --- a/sec-policy/selinux-apm/selinux-apm-2.20180114-r2.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -IUSE="" -MODS="acpi" - -inherit selinux-policy-2 - -DESCRIPTION="SELinux policy for acpi" - -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="amd64 -arm ~arm64 ~mips x86" -fi - -pkg_postinst() { - # "apm" module got renamed to "acpi", must remove apm first - # the contexts are okay even tho the modules are not - # replaced in the same command (doesnt become unlabeled_t) - for i in ${POLICY_TYPES}; do - if semodule -s "${i}" -l | grep apm >/dev/null 2>&1; then - semodule -s "${i}" -r apm - fi - done - selinux-policy-2_pkg_postinst -} - -pkg_postrm() { - for i in ${POLICY_TYPES}; do - if semodule -s "${i}" -l | grep apm >/dev/null 2>&1; then - semodule -s "${i}" -r apm - fi - done - selinux-policy-2_pkg_postrm -} |