summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Zaman <perfinion@gentoo.org>2017-02-23 17:16:15 +0800
committerJason Zaman <perfinion@gentoo.org>2017-02-23 19:14:36 +0800
commit3cf57e95956bd2d4410374b64c85857f7f5de5ee (patch)
tree85ac22d12221839d218d9eb545b8ea8865089677 /sys-apps/policycoreutils
parentsys-apps/semodule-utils: update live ebuild (diff)
downloadgentoo-3cf57e95956bd2d4410374b64c85857f7f5de5ee.tar.gz
gentoo-3cf57e95956bd2d4410374b64c85857f7f5de5ee.tar.bz2
gentoo-3cf57e95956bd2d4410374b64c85857f7f5de5ee.zip
sys-apps/policycoreutils: update live ebuild
dont dep on sepolgen, its part of selinux-python now python libs and include dir are now properly detected so dont need to pass in several python scripts have also moved to selinux-python Package-Manager: portage-2.3.3
Diffstat (limited to 'sys-apps/policycoreutils')
-rw-r--r--sys-apps/policycoreutils/policycoreutils-9999.ebuild16
1 files changed, 6 insertions, 10 deletions
diff --git a/sys-apps/policycoreutils/policycoreutils-9999.ebuild b/sys-apps/policycoreutils/policycoreutils-9999.ebuild
index f3d243985dff..7ea78aa6e4bf 100644
--- a/sys-apps/policycoreutils/policycoreutils-9999.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-9999.ebuild
@@ -64,7 +64,6 @@ 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"
@@ -139,7 +138,6 @@ src_install() {
INOTIFYH="$(usex dbus)" \
SESANDBOX="n" \
AUDIT_LOG_PRIV="y" \
- PYLIBVER="${EPYTHON}" \
LIBDIR="\$(PREFIX)/$(get_libdir)" \
install
python_optimize
@@ -147,7 +145,11 @@ src_install() {
installation-extras() {
einfo "Installing policycoreutils-extra"
- emake -C "${BUILD_DIR}" DESTDIR="${D}" INOTIFYH="$(usex dbus)" SHLIBDIR="${D}$(get_libdir)/rc" install
+ emake -C "${BUILD_DIR}" \
+ DESTDIR="${D}" \
+ INOTIFYH="$(usex dbus)" \
+ SHLIBDIR="${D}$(get_libdir)/rc" \
+ install
python_optimize
}
@@ -169,15 +171,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() {