1 |
commit: 0ba333cf4279ddb85e45e03d172e00f0b0e0c00d |
2 |
Author: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 25 12:19:45 2018 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 26 11:21:52 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ba333cf |
7 |
|
8 |
sys-apps/policycoreutils: update live ebuild |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
sys-apps/policycoreutils/policycoreutils-9999.ebuild | 12 +++++------- |
13 |
1 file changed, 5 insertions(+), 7 deletions(-) |
14 |
|
15 |
diff --git a/sys-apps/policycoreutils/policycoreutils-9999.ebuild b/sys-apps/policycoreutils/policycoreutils-9999.ebuild |
16 |
index bd07eea3a4b..aebedfb6cd4 100644 |
17 |
--- a/sys-apps/policycoreutils/policycoreutils-9999.ebuild |
18 |
+++ b/sys-apps/policycoreutils/policycoreutils-9999.ebuild |
19 |
@@ -9,7 +9,7 @@ inherit multilib python-r1 toolchain-funcs bash-completion-r1 |
20 |
|
21 |
MY_P="${P//_/-}" |
22 |
|
23 |
-MY_RELEASEDATE="20170804" |
24 |
+MY_RELEASEDATE="20180419" |
25 |
EXTRAS_VER="1.36" |
26 |
SEMNG_VER="${PV}" |
27 |
SELNX_VER="${PV}" |
28 |
@@ -21,7 +21,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
29 |
DESCRIPTION="SELinux core utilities" |
30 |
HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki" |
31 |
|
32 |
-if [[ ${PV} == 9999 ]] ; then |
33 |
+if [[ ${PV} == 9999 ]]; then |
34 |
inherit git-r3 |
35 |
EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git" |
36 |
SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2" |
37 |
@@ -31,7 +31,7 @@ if [[ ${PV} == 9999 ]] ; then |
38 |
else |
39 |
SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz |
40 |
https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2" |
41 |
- KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86" |
42 |
+ KEYWORDS="~amd64 ~arm64 ~mips ~x86" |
43 |
S1="${WORKDIR}/${MY_P}" |
44 |
S2="${WORKDIR}/policycoreutils-extra" |
45 |
S="${S1}" |
46 |
@@ -114,7 +114,6 @@ src_compile() { |
47 |
INOTIFYH="$(usex dbus y n)" \ |
48 |
SESANDBOX="n" \ |
49 |
CC="$(tc-getCC)" \ |
50 |
- PYLIBVER="${EPYTHON}" \ |
51 |
LIBDIR="\$(PREFIX)/$(get_libdir)" |
52 |
} |
53 |
S="${S1}" # Regular policycoreutils |
54 |
@@ -128,11 +127,12 @@ src_install() { |
55 |
installation-policycoreutils() { |
56 |
einfo "Installing policycoreutils" |
57 |
emake -C "${BUILD_DIR}" DESTDIR="${D}" \ |
58 |
+ AUDIT_LOG_PRIVS="y" \ |
59 |
AUDITH="$(usex audit y n)" \ |
60 |
PAMH="$(usex pam y n)" \ |
61 |
INOTIFYH="$(usex dbus y n)" \ |
62 |
SESANDBOX="n" \ |
63 |
- AUDIT_LOG_PRIV="y" \ |
64 |
+ CC="$(tc-getCC)" \ |
65 |
LIBDIR="\$(PREFIX)/$(get_libdir)" \ |
66 |
install |
67 |
python_optimize |
68 |
@@ -142,8 +142,6 @@ src_install() { |
69 |
einfo "Installing policycoreutils-extra" |
70 |
emake -C "${BUILD_DIR}" \ |
71 |
DESTDIR="${D}" \ |
72 |
- INOTIFYH="$(usex dbus)" \ |
73 |
- SHLIBDIR="${D}$(get_libdir)/rc" \ |
74 |
install |
75 |
python_optimize |
76 |
} |