Gentoo Archives: gentoo-commits

From: Jason Zaman <perfinion@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sec-policy/selinux-base-policy/
Date: Sun, 09 Jan 2022 05:46:55
Message-Id: 1641707162.27c82e515cd528feba5bfc69875b37ffa7afe745.perfinion@gentoo
1 commit: 27c82e515cd528feba5bfc69875b37ffa7afe745
2 Author: Jason Zaman <perfinion <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 9 05:43:23 2022 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 9 05:46:02 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27c82e51
7
8 sec-policy/selinux-base-policy: Fix use of $ROOT in src_compile
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>
12
13 .../selinux-base-policy/selinux-base-policy-2.20200818-r2.ebuild | 4 ++--
14 .../selinux-base-policy/selinux-base-policy-2.20210203-r1.ebuild | 4 ++--
15 .../selinux-base-policy/selinux-base-policy-2.20210908-r1.ebuild | 4 ++--
16 sec-policy/selinux-base-policy/selinux-base-policy-9999.ebuild | 4 ++--
17 4 files changed, 8 insertions(+), 8 deletions(-)
18
19 diff --git a/sec-policy/selinux-base-policy/selinux-base-policy-2.20200818-r2.ebuild b/sec-policy/selinux-base-policy/selinux-base-policy-2.20200818-r2.ebuild
20 index 8f43b477ccee..9e42cf570b5f 100644
21 --- a/sec-policy/selinux-base-policy/selinux-base-policy-2.20200818-r2.ebuild
22 +++ b/sec-policy/selinux-base-policy/selinux-base-policy-2.20200818-r2.ebuild
23 @@ -1,4 +1,4 @@
24 -# Copyright 1999-2021 Gentoo Authors
25 +# Copyright 1999-2022 Gentoo Authors
26 # Distributed under the terms of the GNU General Public License v2
27
28 EAPI="7"
29 @@ -72,7 +72,7 @@ src_prepare() {
30
31 src_compile() {
32 for i in ${POLICY_TYPES}; do
33 - emake NAME=$i SHAREDIR="${ROOT}"/usr/share/selinux -C "${S}"/${i}
34 + emake NAME=$i SHAREDIR="${SYSROOT%/}/usr/share/selinux" -C "${S}"/${i}
35 done
36 }
37
38
39 diff --git a/sec-policy/selinux-base-policy/selinux-base-policy-2.20210203-r1.ebuild b/sec-policy/selinux-base-policy/selinux-base-policy-2.20210203-r1.ebuild
40 index cb444f4de09d..612ab55a8ac5 100644
41 --- a/sec-policy/selinux-base-policy/selinux-base-policy-2.20210203-r1.ebuild
42 +++ b/sec-policy/selinux-base-policy/selinux-base-policy-2.20210203-r1.ebuild
43 @@ -1,4 +1,4 @@
44 -# Copyright 1999-2021 Gentoo Authors
45 +# Copyright 1999-2022 Gentoo Authors
46 # Distributed under the terms of the GNU General Public License v2
47
48 EAPI="7"
49 @@ -77,7 +77,7 @@ src_prepare() {
50
51 src_compile() {
52 for i in ${POLICY_TYPES}; do
53 - emake NAME=$i SHAREDIR="${ROOT}"/usr/share/selinux -C "${S}"/${i}
54 + emake NAME=$i SHAREDIR="${SYSROOT%/}/usr/share/selinux" -C "${S}"/${i}
55 done
56 }
57
58
59 diff --git a/sec-policy/selinux-base-policy/selinux-base-policy-2.20210908-r1.ebuild b/sec-policy/selinux-base-policy/selinux-base-policy-2.20210908-r1.ebuild
60 index cb444f4de09d..612ab55a8ac5 100644
61 --- a/sec-policy/selinux-base-policy/selinux-base-policy-2.20210908-r1.ebuild
62 +++ b/sec-policy/selinux-base-policy/selinux-base-policy-2.20210908-r1.ebuild
63 @@ -1,4 +1,4 @@
64 -# Copyright 1999-2021 Gentoo Authors
65 +# Copyright 1999-2022 Gentoo Authors
66 # Distributed under the terms of the GNU General Public License v2
67
68 EAPI="7"
69 @@ -77,7 +77,7 @@ src_prepare() {
70
71 src_compile() {
72 for i in ${POLICY_TYPES}; do
73 - emake NAME=$i SHAREDIR="${ROOT}"/usr/share/selinux -C "${S}"/${i}
74 + emake NAME=$i SHAREDIR="${SYSROOT%/}/usr/share/selinux" -C "${S}"/${i}
75 done
76 }
77
78
79 diff --git a/sec-policy/selinux-base-policy/selinux-base-policy-9999.ebuild b/sec-policy/selinux-base-policy/selinux-base-policy-9999.ebuild
80 index adeb92d6f444..c6f79d31df40 100644
81 --- a/sec-policy/selinux-base-policy/selinux-base-policy-9999.ebuild
82 +++ b/sec-policy/selinux-base-policy/selinux-base-policy-9999.ebuild
83 @@ -1,4 +1,4 @@
84 -# Copyright 1999-2021 Gentoo Authors
85 +# Copyright 1999-2022 Gentoo Authors
86 # Distributed under the terms of the GNU General Public License v2
87
88 EAPI="7"
89 @@ -77,7 +77,7 @@ src_prepare() {
90
91 src_compile() {
92 for i in ${POLICY_TYPES}; do
93 - emake NAME=$i SHAREDIR="${ROOT}"/usr/share/selinux -C "${S}"/${i}
94 + emake NAME=$i SHAREDIR="${SYSROOT%/}/usr/share/selinux" -C "${S}"/${i}
95 done
96 }