summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Zaman <perfinion@gentoo.org>2018-04-25 20:19:45 +0800
committerJason Zaman <perfinion@gentoo.org>2018-04-26 19:21:52 +0800
commit0ba333cf4279ddb85e45e03d172e00f0b0e0c00d (patch)
treeeb160fb68b9f15a7b2f30bc9b47f7f88255a4a70 /sys-apps/policycoreutils
parentsys-apps/checkpolicy: update live ebuild (diff)
downloadgentoo-0ba333cf4279ddb85e45e03d172e00f0b0e0c00d.tar.gz
gentoo-0ba333cf4279ddb85e45e03d172e00f0b0e0c00d.tar.bz2
gentoo-0ba333cf4279ddb85e45e03d172e00f0b0e0c00d.zip
sys-apps/policycoreutils: update live ebuild
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'sys-apps/policycoreutils')
-rw-r--r--sys-apps/policycoreutils/policycoreutils-9999.ebuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/sys-apps/policycoreutils/policycoreutils-9999.ebuild b/sys-apps/policycoreutils/policycoreutils-9999.ebuild
index bd07eea3a4b1..aebedfb6cd4c 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
}