mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-13 16:06:59 +02:00
sys-libs/libsepol: sync with Gentoo
Commit-Ref: ea4cd1f216
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
This commit is contained in:
parent
7132f52f46
commit
c4a353d0f8
@ -1,2 +1 @@
|
|||||||
DIST libsepol-3.1.tar.gz 473842 BLAKE2B ef1d596c4d53cc0a87e899ef4aeb5bf29c9d6b8303632ddc866c100d30debd8aedd0e8b38cb4ce3141b80421cd914148ff072e492d63dc2dacf03ac2ce59ca5a SHA512 4b5f4e82853ff3e9b4fac2dbdea5c2fc3bb7b508af912217ac4b75da6540fbcd77aa314ab95cd9dfa94fbc4a885000656a663c1a152f65b4cf6970ea0b6034ab
|
DIST libsepol-3.5.tar.gz 497522 BLAKE2B dad2d346605be53fe41aef69e2e4bd4f1ce68a15f0b9307deb6b66bbe7bf06a9ee6be580e60d2f19aebbc8ee5041ac8a7b831b51342ba7c7089e1f1a447e7691 SHA512 66f45a9f4951589855961955db686b006b4c0cddead6ac49ad238a0e4a34775905bd10fb8cf0c0ff2ab64f9b7d8366b97fcd5b19c382dec39971a2835cc765c8
|
||||||
DIST libsepol-3.2.tar.gz 477749 BLAKE2B 6f35387c0373869672080e151f212c081389f6799539124353aa1749ae2648669b2e237a271297c1c212b7a9e0c35f05edfff1bb724c8a15993e8fb8c599ac2e SHA512 1a6b3489ff766958a4b444b9be63a794267243aed303d3e7d87278f11be492dbf603a0c8181c4c5e01cb0e1ceb43810a77f738f0b9bd1d7d2be67053f9c67a6f
|
|
||||||
|
@ -1,51 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="7"
|
|
||||||
|
|
||||||
inherit toolchain-funcs multilib-minimal
|
|
||||||
|
|
||||||
MY_P="${P//_/-}"
|
|
||||||
MY_RELEASEDATE="20200710"
|
|
||||||
|
|
||||||
DESCRIPTION="SELinux binary policy representation library"
|
|
||||||
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}/${MY_P}/${PN}"
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_RELEASEDATE}/${MY_P}.tar.gz"
|
|
||||||
KEYWORDS="amd64 ~arm ~arm64 ~mips x86"
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
# tests are not meant to be run outside of the full SELinux userland repo
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
eapply_user
|
|
||||||
multilib_copy_sources
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_compile() {
|
|
||||||
tc-export CC AR RANLIB
|
|
||||||
|
|
||||||
# https://bugs.gentoo.org/706730
|
|
||||||
local -x CFLAGS="${CFLAGS} -fcommon"
|
|
||||||
|
|
||||||
emake \
|
|
||||||
LIBDIR="\$(PREFIX)/$(get_libdir)" \
|
|
||||||
SHLIBDIR="/$(get_libdir)"
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install() {
|
|
||||||
emake DESTDIR="${D}" \
|
|
||||||
LIBDIR="\$(PREFIX)/$(get_libdir)" \
|
|
||||||
SHLIBDIR="/$(get_libdir)" \
|
|
||||||
install
|
|
||||||
}
|
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI="7"
|
EAPI="7"
|
||||||
@ -17,7 +17,7 @@ if [[ ${PV} == 9999 ]]; then
|
|||||||
S="${WORKDIR}/${P}/${PN}"
|
S="${WORKDIR}/${P}/${PN}"
|
||||||
else
|
else
|
||||||
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_PV}/${MY_P}.tar.gz"
|
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_PV}/${MY_P}.tar.gz"
|
||||||
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
|
KEYWORDS="amd64 arm arm64 ~mips ~riscv x86"
|
||||||
S="${WORKDIR}/${MY_P}"
|
S="${WORKDIR}/${MY_P}"
|
||||||
fi
|
fi
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI="7"
|
EAPI="7"
|
||||||
@ -17,7 +17,7 @@ if [[ ${PV} == 9999 ]]; then
|
|||||||
S="${WORKDIR}/${P}/${PN}"
|
S="${WORKDIR}/${P}/${PN}"
|
||||||
else
|
else
|
||||||
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_PV}/${MY_P}.tar.gz"
|
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_PV}/${MY_P}.tar.gz"
|
||||||
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
|
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~riscv ~x86"
|
||||||
S="${WORKDIR}/${MY_P}"
|
S="${WORKDIR}/${MY_P}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<maintainer type="project">
|
<maintainer type="project">
|
||||||
<email>selinux@gentoo.org</email>
|
<email>selinux@gentoo.org</email>
|
||||||
|
Loading…
Reference in New Issue
Block a user