summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Zaman <perfinion@gentoo.org>2016-11-20 13:23:05 +0800
committerJason Zaman <perfinion@gentoo.org>2016-11-20 13:26:22 +0800
commit5b7c76509acb99328a43eb782420a7cc55866bd4 (patch)
treeb545460a74fd7091b630b7457b1f252f77f220a5 /sys-apps/policycoreutils/policycoreutils-9999.ebuild
parentsys-libs/libsemanage: update build paths patch for live ebuild (diff)
downloadgentoo-5b7c76509acb99328a43eb782420a7cc55866bd4.tar.gz
gentoo-5b7c76509acb99328a43eb782420a7cc55866bd4.tar.bz2
gentoo-5b7c76509acb99328a43eb782420a7cc55866bd4.zip
sys-apps/policycoreutils: some utils have been split out into separate packages
Package-Manager: portage-2.3.0
Diffstat (limited to 'sys-apps/policycoreutils/policycoreutils-9999.ebuild')
-rw-r--r--sys-apps/policycoreutils/policycoreutils-9999.ebuild12
1 files changed, 4 insertions, 8 deletions
diff --git a/sys-apps/policycoreutils/policycoreutils-9999.ebuild b/sys-apps/policycoreutils/policycoreutils-9999.ebuild
index df8eb4a41b99..37ac23d060fe 100644
--- a/sys-apps/policycoreutils/policycoreutils-9999.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-9999.ebuild
@@ -62,10 +62,12 @@ DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python]
# pax-utils for scanelf used by rlpkg
RDEPEND="${DEPEND}
- dev-python/sepolgen
app-misc/pax-utils
!<sys-apps/openrc-0.14"
+PDEPEND="sys-apps/semodule-utils
+ sys-apps/selinux-python"
+
src_unpack() {
# Override default one because we need the SRC_URI ones even in case of 9999 ebuilds
default
@@ -164,15 +166,9 @@ src_install() {
keepdir /var/lib/selinux
# Set version-specific scripts
- for pyscript in audit2allow sepolgen-ifgen sepolicy chcat; do
- python_replicate_script "${ED}/usr/bin/${pyscript}"
- done
- for pyscript in semanage rlpkg; do
+ for pyscript in rlpkg; do
python_replicate_script "${ED}/usr/sbin/${pyscript}"
done
-
- dodir /usr/share/doc/${PF}/mcstrans/examples
- cp -dR "${S1}"/mcstrans/share/examples/* "${D}/usr/share/doc/${PF}/mcstrans/examples" || die
}
pkg_postinst() {