Сравнение libselinux-3.5-r1 с libselinux-9999
/usr/portage/sys-libs/libselinux/libselinux-9999.ebuild 2023-10-09 14:52:35.556368503 +0300 | ||
---|---|---|
20 | 20 |
S="${WORKDIR}/${P}/${PN}" |
21 | 21 |
else |
22 | 22 |
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_PV}/${MY_P}.tar.gz" |
23 |
KEYWORDS="amd64 arm arm64 ~mips ~riscv x86" |
|
23 |
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~riscv ~x86" |
|
24 | 24 |
S="${WORKDIR}/${MY_P}" |
25 | 25 |
fi |
26 | 26 | |
... | ... | |
43 | 43 |
python? ( |
44 | 44 |
>=dev-lang/swig-2.0.9 |
45 | 45 |
dev-python/pip[${PYTHON_USEDEP}] |
46 |
) |
|
46 |
) |
|
47 | 47 |
ruby? ( >=dev-lang/swig-2.0.9 )" |
48 | 48 | |
49 | 49 |
src_prepare() { |
... | ... | |
145 | 145 |
# Fix bug 473502 |
146 | 146 |
for POLTYPE in ${POLICY_TYPES}; |
147 | 147 |
do |
148 |
mkdir -p "${ROOT}/etc/selinux/${POLTYPE}/contexts/files" || die |
|
149 |
touch "${ROOT}/etc/selinux/${POLTYPE}/contexts/files/file_contexts.local" || die |
|
148 |
mkdir -p /etc/selinux/${POLTYPE}/contexts/files || die |
|
149 |
touch /etc/selinux/${POLTYPE}/contexts/files/file_contexts.local || die |
|
150 | 150 |
# Fix bug 516608 |
151 | 151 |
for EXPRFILE in file_contexts file_contexts.homedirs file_contexts.local ; do |
152 |
if [[ -f "${ROOT}/etc/selinux/${POLTYPE}/contexts/files/${EXPRFILE}" ]]; then |
|
153 |
sefcontext_compile "${ROOT}/etc/selinux/${POLTYPE}/contexts/files/${EXPRFILE}" \ |
|
152 |
if [[ -f "/etc/selinux/${POLTYPE}/contexts/files/${EXPRFILE}" ]]; then |
|
153 |
sefcontext_compile /etc/selinux/${POLTYPE}/contexts/files/${EXPRFILE} \ |
|
154 | 154 |
|| die "Failed to recompile contexts" |
155 | 155 |
fi |
156 | 156 |
done |