commit:     0ba333cf4279ddb85e45e03d172e00f0b0e0c00d
Author:     Jason Zaman <perfinion <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 25 12:19:45 2018 +0000
Commit:     Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Thu Apr 26 11:21:52 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ba333cf

sys-apps/policycoreutils: update live ebuild

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-apps/policycoreutils/policycoreutils-9999.ebuild | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-9999.ebuild 
b/sys-apps/policycoreutils/policycoreutils-9999.ebuild
index bd07eea3a4b..aebedfb6cd4 100644
--- a/sys-apps/policycoreutils/policycoreutils-9999.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-9999.ebuild
@@ -9,7 +9,7 @@ inherit multilib python-r1 toolchain-funcs bash-completion-r1
 
 MY_P="${P//_/-}"
 
-MY_RELEASEDATE="20170804"
+MY_RELEASEDATE="20180419"
 EXTRAS_VER="1.36"
 SEMNG_VER="${PV}"
 SELNX_VER="${PV}"
@@ -21,7 +21,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 DESCRIPTION="SELinux core utilities"
 HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki";
 
-if [[ ${PV} == 9999 ]] ; then
+if [[ ${PV} == 9999 ]]; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git";
        
SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2";
@@ -31,7 +31,7 @@ if [[ ${PV} == 9999 ]] ; then
 else
        
SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz
                
https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2";
-       KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
+       KEYWORDS="~amd64 ~arm64 ~mips ~x86"
        S1="${WORKDIR}/${MY_P}"
        S2="${WORKDIR}/policycoreutils-extra"
        S="${S1}"
@@ -114,7 +114,6 @@ src_compile() {
                        INOTIFYH="$(usex dbus y n)" \
                        SESANDBOX="n" \
                        CC="$(tc-getCC)" \
-                       PYLIBVER="${EPYTHON}" \
                        LIBDIR="\$(PREFIX)/$(get_libdir)"
        }
        S="${S1}" # Regular policycoreutils
@@ -128,11 +127,12 @@ src_install() {
        installation-policycoreutils() {
                einfo "Installing policycoreutils"
                emake -C "${BUILD_DIR}" DESTDIR="${D}" \
+                       AUDIT_LOG_PRIVS="y" \
                        AUDITH="$(usex audit y n)" \
                        PAMH="$(usex pam y n)" \
                        INOTIFYH="$(usex dbus y n)" \
                        SESANDBOX="n" \
-                       AUDIT_LOG_PRIV="y" \
+                       CC="$(tc-getCC)" \
                        LIBDIR="\$(PREFIX)/$(get_libdir)" \
                        install
                python_optimize
@@ -142,8 +142,6 @@ src_install() {
                einfo "Installing policycoreutils-extra"
                emake -C "${BUILD_DIR}" \
                        DESTDIR="${D}" \
-                       INOTIFYH="$(usex dbus)" \
-                       SHLIBDIR="${D}$(get_libdir)/rc" \
                        install
                python_optimize
        }

Reply via email to