mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-11 15:06:58 +02:00
sys-apps/semodule-utils: Sync with Gentoo
It's from Gentoo commit 06d590f646f7282e379019be3cfda0d8849af734.
This commit is contained in:
parent
399ebfad20
commit
6dd562bb39
@ -1,2 +1,3 @@
|
||||
DIST semodule-utils-3.6.tar.gz 12844 BLAKE2B e5e7501c412649f471e89cc89569d6c51421e0b46f172f243ce778bbe3a2c658ef9a92e3f3e1e07fb3358e25f63e004b6bd4b56619472fbcae8cb5b916d54170 SHA512 16b58bbafcaef9a2e8e34a20d0e1e4024a9044024de8fa3137c5ba1b9af600afac51c15ccb648dd6bff77747c047f4c9feafeea07c19b1eb14955acc92697a48
|
||||
DIST semodule-utils-3.7.tar.gz 12896 BLAKE2B 7487c74585e281f6c44e9977efb85e89bf01d93285c6cc6593dd876e948cc385ec9f11b52f3fc182b2bac3621bcc89c53fc217c41b1a01d586274139b0a40fa6 SHA512 133f76ddff0cc4121e59560f4167e15288cc7f6172a39b49ea631803f6e3365fef95166a55498fa2e036de85466e37bb6ec164ef60855eef8c888c9b384b0120
|
||||
DIST semodule-utils-3.8.tar.gz 12905 BLAKE2B 13c863ab3240e24f6d6069ed29bfa51133d593fa779040852b45640403482f0087b15de351a63a04c75940cdacb901c9c865257785aaf19cb13fbef8ebac2e8d SHA512 2983607b171201a66fcf8299ffa77e0a9c4d3042a360eb961ec470af27b528db995c959cee9934ce6b3f6de4e2f28db587c5b25ebe7e74386136874f704bc2d0
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
@ -17,7 +17,7 @@ if [[ ${PV} == *9999 ]] ; then
|
||||
S="${WORKDIR}/${P}/${PN}"
|
||||
else
|
||||
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_PV}/${MY_P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~riscv ~x86"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~mips ~riscv x86"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
fi
|
||||
|
||||
|
42
sdk_container/src/third_party/portage-stable/sys-apps/semodule-utils/semodule-utils-3.8.ebuild
vendored
Normal file
42
sdk_container/src/third_party/portage-stable/sys-apps/semodule-utils/semodule-utils-3.8.ebuild
vendored
Normal file
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
MY_PV="${PV//_/-}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
DESCRIPTION="SELinux policy module utilities"
|
||||
HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki"
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git"
|
||||
S="${WORKDIR}/${P}/${PN}"
|
||||
else
|
||||
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_PV}/${MY_P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND=">=sys-libs/libsepol-${PV}:="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i 's/-Werror//g' "${S}"/*/Makefile || die "Failed to remove Werror"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
}
|
Loading…
Reference in New Issue
Block a user