mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-16 09:26:58 +02:00
Merge pull request #172 from kinvolk/tormath1/selinux
selinux: update eclass, libsepol to 3.1 and semodule-utils
This commit is contained in:
commit
b827c6557c
8
sdk_container/src/third_party/portage-stable/acct-group/messagebus/messagebus-0-r1.ebuild
vendored
Normal file
8
sdk_container/src/third_party/portage-stable/acct-group/messagebus/messagebus-0-r1.ebuild
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
# Copyright 2019-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit acct-group
|
||||
|
||||
ACCT_GROUP_ID=101
|
7
sdk_container/src/third_party/portage-stable/acct-group/messagebus/metadata.xml
vendored
Normal file
7
sdk_container/src/third_party/portage-stable/acct-group/messagebus/metadata.xml
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>freedesktop-bugs@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
11
sdk_container/src/third_party/portage-stable/acct-user/messagebus/messagebus-0-r1.ebuild
vendored
Normal file
11
sdk_container/src/third_party/portage-stable/acct-user/messagebus/messagebus-0-r1.ebuild
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
# Copyright 2019-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit acct-user
|
||||
|
||||
ACCT_USER_ID=101
|
||||
ACCT_USER_GROUPS=( messagebus )
|
||||
|
||||
acct-user_add_deps
|
7
sdk_container/src/third_party/portage-stable/acct-user/messagebus/metadata.xml
vendored
Normal file
7
sdk_container/src/third_party/portage-stable/acct-user/messagebus/metadata.xml
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>freedesktop-bugs@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Eclass for installing SELinux policy, and optionally
|
||||
@ -7,7 +7,7 @@
|
||||
# @ECLASS: selinux-policy-2.eclass
|
||||
# @MAINTAINER:
|
||||
# selinux@gentoo.org
|
||||
# @SUPPORTED_EAPIS: 5 6
|
||||
# @SUPPORTED_EAPIS: 6 7
|
||||
# @BLURB: This eclass supports the deployment of the various SELinux modules in sec-policy
|
||||
# @DESCRIPTION:
|
||||
# The selinux-policy-2.eclass supports deployment of the various SELinux modules
|
||||
@ -75,8 +75,8 @@
|
||||
: ${SELINUX_GIT_BRANCH:="master"};
|
||||
|
||||
case "${EAPI:-0}" in
|
||||
0|1|2|3|4) die "EAPI<5 is not supported";;
|
||||
5|6) : ;;
|
||||
0|1|2|3|4|5) die "EAPI<6 is not supported";;
|
||||
6|7) : ;;
|
||||
*) die "unknown EAPI" ;;
|
||||
esac
|
||||
|
||||
@ -87,10 +87,6 @@ case ${BASEPOL} in
|
||||
EGIT_CHECKOUT_DIR="${WORKDIR}/refpolicy";;
|
||||
esac
|
||||
|
||||
if [[ ${EAPI:-0} == 5 ]]; then
|
||||
inherit eutils
|
||||
fi
|
||||
|
||||
IUSE=""
|
||||
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:SELinux"
|
||||
@ -117,9 +113,15 @@ else
|
||||
RDEPEND=">=sys-apps/policycoreutils-2.0.82
|
||||
>=sec-policy/selinux-base-policy-${PV}"
|
||||
fi
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/m4
|
||||
>=sys-apps/checkpolicy-2.0.21"
|
||||
if [[ ${EAPI} == 6 ]]; then
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/m4
|
||||
>=sys-apps/checkpolicy-2.0.21"
|
||||
else
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="sys-devel/m4
|
||||
>=sys-apps/checkpolicy-2.0.21"
|
||||
fi
|
||||
|
||||
EXPORT_FUNCTIONS src_unpack src_prepare src_compile src_install pkg_postinst pkg_postrm
|
||||
|
||||
@ -156,25 +158,13 @@ selinux-policy-2_src_prepare() {
|
||||
# Patch the sources with the base patchbundle
|
||||
if [[ -n ${BASEPOL} ]] && [[ "${BASEPOL}" != "9999" ]]; then
|
||||
cd "${S}"
|
||||
if [[ ${EAPI:-0} == 5 ]]; then
|
||||
EPATCH_MULTI_MSG="Applying SELinux policy updates ... " \
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_SOURCE="${WORKDIR}" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch
|
||||
else
|
||||
einfo "Applying SELinux policy updates ... "
|
||||
eapply -p0 "${WORKDIR}/0001-full-patch-against-stable-release.patch"
|
||||
fi
|
||||
einfo "Applying SELinux policy updates ... "
|
||||
eapply -p0 "${WORKDIR}/0001-full-patch-against-stable-release.patch"
|
||||
fi
|
||||
|
||||
# Call in epatch_user. We do this early on as we start moving
|
||||
# Call in eapply_user. We do this early on as we start moving
|
||||
# files left and right hereafter.
|
||||
if [[ ${EAPI:-0} == 5 ]]; then
|
||||
epatch_user
|
||||
else
|
||||
eapply_user
|
||||
fi
|
||||
eapply_user
|
||||
|
||||
# Copy additional files to the 3rd_party/ location
|
||||
if [[ "$(declare -p POLICY_FILES 2>/dev/null 2>&1)" == "declare -a"* ]] ||
|
||||
@ -189,18 +179,12 @@ selinux-policy-2_src_prepare() {
|
||||
|
||||
# Apply the additional patches refered to by the module ebuild.
|
||||
# But first some magic to differentiate between bash arrays and strings
|
||||
if [[ "$(declare -p POLICY_PATCH 2>/dev/null 2>&1)" == "declare -a"* ]] ||
|
||||
[[ -n ${POLICY_PATCH} ]]; then
|
||||
cd "${S}/refpolicy/policy/modules"
|
||||
for POLPATCH in ${POLICY_PATCH[@]};
|
||||
do
|
||||
if [[ ${EAPI:-0} == 5 ]]; then
|
||||
epatch "${POLPATCH}"
|
||||
else
|
||||
eapply "${POLPATCH}"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
cd "${S}/refpolicy/policy/modules"
|
||||
for POLPATCH in ${POLICY_PATCH[@]};
|
||||
do
|
||||
einfo "Installing ${POLPATCH}"
|
||||
eapply -p0 "${POLPATCH}"
|
||||
done
|
||||
|
||||
# Collect only those files needed for this particular module
|
||||
for i in ${MODS}; do
|
||||
|
2
sdk_container/src/third_party/portage-stable/sys-apps/semodule-utils/Manifest
vendored
Normal file
2
sdk_container/src/third_party/portage-stable/sys-apps/semodule-utils/Manifest
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
DIST semodule-utils-3.1.tar.gz 14257 BLAKE2B c8c9a1ce7c9c4f53b1f4c728d16b149fdc284f4cff8b4fce0cb59b77d37d6d7e9bf2102c7177c4eaf94677af6147e42d8d0bd55c0bf3a358968d0162d5a6c65a SHA512 b92794bbfbce5834ee7f62fddb40b5506e9291e8fa7c5d669b2e281089b8f8dc40c4522ea287ac5deffdaee751442ba8e691e2ac45fdd378b60d5d6b2527d157
|
||||
DIST semodule-utils-3.2.tar.gz 14260 BLAKE2B 35c071c96071028d4a912a89b88d02672f1fb8c2d8d23c3cb472b607dad55acdf351ef870b4d52bb2bed7b816a199c18947afcd16e77b66268822288feb4af2a SHA512 f937647cc22f7ed719908bad64415d706fd97cf1dce484dbca2484b05b3295de40e31bec643b6caaf4e8be742b1f911428d393c5e2d1d0ae39a2a37fd3be9bc1
|
12
sdk_container/src/third_party/portage-stable/sys-apps/semodule-utils/metadata.xml
vendored
Normal file
12
sdk_container/src/third_party/portage-stable/sys-apps/semodule-utils/metadata.xml
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>selinux@gentoo.org</email>
|
||||
<name>SELinux Team</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="cpe">cpe:/a:redhat:policycoreutils</remote-id>
|
||||
<remote-id type="github">SELinuxProject/selinux</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
52
sdk_container/src/third_party/portage-stable/sys-apps/semodule-utils/semodule-utils-3.1.ebuild
vendored
Normal file
52
sdk_container/src/third_party/portage-stable/sys-apps/semodule-utils/semodule-utils-3.1.ebuild
vendored
Normal file
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
MY_RELEASEDATE="20200710"
|
||||
SEPOL_VER="${PV}"
|
||||
SELNX_VER="${PV}"
|
||||
|
||||
MY_P="${P//_/-}"
|
||||
IUSE=""
|
||||
|
||||
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
|
||||
|
||||
DESCRIPTION="SELinux policy module utilities"
|
||||
HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND=">=sys-libs/libsepol-${SEPOL_VER}:="
|
||||
|
||||
# flatcar changes: add a weak blocker on policycoreutils-2.4
|
||||
# to prevent file collisions
|
||||
# policycoreutils-2.4 and semodule-utils provide the same files
|
||||
RDEPEND="${DEPEND}
|
||||
!=sys-apps/policycoreutils-2.4-r2
|
||||
"
|
||||
|
||||
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
|
||||
}
|
41
sdk_container/src/third_party/portage-stable/sys-apps/semodule-utils/semodule-utils-3.2.ebuild
vendored
Normal file
41
sdk_container/src/third_party/portage-stable/sys-apps/semodule-utils/semodule-utils-3.2.ebuild
vendored
Normal file
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
IUSE=""
|
||||
|
||||
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/${PV}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="SELinux policy module utilities"
|
||||
HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki"
|
||||
|
||||
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
|
||||
}
|
41
sdk_container/src/third_party/portage-stable/sys-apps/semodule-utils/semodule-utils-9999.ebuild
vendored
Normal file
41
sdk_container/src/third_party/portage-stable/sys-apps/semodule-utils/semodule-utils-9999.ebuild
vendored
Normal file
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
IUSE=""
|
||||
|
||||
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/${PV}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="SELinux policy module utilities"
|
||||
HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki"
|
||||
|
||||
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
|
||||
}
|
@ -1,336 +0,0 @@
|
||||
# ChangeLog for sys-libs/libsepol
|
||||
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/ChangeLog,v 1.76 2015/06/09 15:34:29 swift Exp $
|
||||
|
||||
*libsepol-9999 (09 Jun 2015)
|
||||
|
||||
09 Jun 2015; Sven Vermeulen <swift@gentoo.org> +libsepol-9999.ebuild:
|
||||
Adding libsepol-9999 to better support upstream integrations
|
||||
|
||||
10 May 2015; Jason Zaman <perfinion@gentoo.org> libsepol-2.4.ebuild:
|
||||
stabilize selinux 2.4 userland
|
||||
|
||||
18 Apr 2015; Jason Zaman <perfinion@gentoo.org> -libsepol-2.4_rc6.ebuild,
|
||||
-libsepol-2.4_rc7.ebuild:
|
||||
Drop old RCs
|
||||
|
||||
*libsepol-2.4 (04 Feb 2015)
|
||||
|
||||
04 Feb 2015; Jason Zaman <perfinion@gentoo.org> +libsepol-2.4.ebuild:
|
||||
Version bump
|
||||
|
||||
*libsepol-2.4_rc7 (06 Dec 2014)
|
||||
|
||||
06 Dec 2014; Jason Zaman <perfinion@gentoo.org> +libsepol-2.4_rc7.ebuild,
|
||||
-libsepol-2.4_rc2.ebuild, -libsepol-2.4_rc5.ebuild:
|
||||
version bump and ebuild clean up, drop old RC
|
||||
|
||||
*libsepol-2.4_rc6 (14 Nov 2014)
|
||||
|
||||
14 Nov 2014; Sven Vermeulen <swift@gentoo.org> +libsepol-2.4_rc6.ebuild:
|
||||
Bump to rc6
|
||||
|
||||
*libsepol-2.4_rc5 (29 Oct 2014)
|
||||
|
||||
29 Oct 2014; Sven Vermeulen <swift@gentoo.org> +libsepol-2.4_rc5.ebuild,
|
||||
-libsepol-2.4_rc4.ebuild:
|
||||
Bump to 2.4_rc5
|
||||
|
||||
*libsepol-2.4_rc4 (07 Oct 2014)
|
||||
|
||||
07 Oct 2014; Sven Vermeulen <swift@gentoo.org> +libsepol-2.4_rc4.ebuild:
|
||||
Bump to 2.4-rc4
|
||||
|
||||
*libsepol-2.4_rc2 (21 Sep 2014)
|
||||
|
||||
21 Sep 2014; Sven Vermeulen <swift@gentoo.org> +libsepol-2.4_rc2.ebuild,
|
||||
libsepol-2.3.ebuild:
|
||||
Noved to github; also add in masked 2.4 series
|
||||
|
||||
05 Aug 2014; Sven Vermeulen <swift@gentoo.org> -libsepol-2.1.9-r3.ebuild:
|
||||
Remove old ebuilds
|
||||
|
||||
30 Jul 2014; Sven Vermeulen <swift@gentoo.org> libsepol-2.3.ebuild:
|
||||
Fix bug #514194 - Stabilization of SELinux userspace 2.3
|
||||
|
||||
10 May 2014; Sven Vermeulen <swift@gentoo.org> -libsepol-2.1.9-r1.ebuild,
|
||||
-libsepol-2.1.9-r2.ebuild, -libsepol-2.3_rc1.ebuild,
|
||||
-files/libsepol-2.1.4-fix_role_fix_callback.patch:
|
||||
Spring cleanup
|
||||
|
||||
*libsepol-2.3 (09 May 2014)
|
||||
|
||||
09 May 2014; Sven Vermeulen <swift@gentoo.org> +libsepol-2.3.ebuild:
|
||||
Bump for 2.3 release
|
||||
|
||||
*libsepol-2.3_rc1 (28 Apr 2014)
|
||||
|
||||
28 Apr 2014; Sven Vermeulen <swift@gentoo.org> +libsepol-2.3_rc1.ebuild:
|
||||
2.3-rc1 release
|
||||
|
||||
20 Jan 2014; Sven Vermeulen <swift@gentoo.org> -libsepol-2.1.8.ebuild,
|
||||
-libsepol-2.1.8-r1.ebuild, libsepol-2.2.ebuild:
|
||||
Stabilize for x86 and amd64
|
||||
|
||||
23 Dec 2013; Sven Vermeulen <swift@gentoo.org> -libsepol-2.1.8.ebuild,
|
||||
-libsepol-2.1.8-r1.ebuild:
|
||||
Cleanup old versions
|
||||
|
||||
*libsepol-2.2 (04 Nov 2013)
|
||||
|
||||
04 Nov 2013; Sven Vermeulen <swift@gentoo.org> +libsepol-2.2.ebuild:
|
||||
New libsepol release
|
||||
|
||||
04 Nov 2013; Sven Vermeulen <swift@gentoo.org> libsepol-2.1.9-r3.ebuild:
|
||||
Stabilize
|
||||
|
||||
*libsepol-2.1.9-r3 (23 Aug 2013)
|
||||
|
||||
23 Aug 2013; Sven Vermeulen <swift@gentoo.org> +libsepol-2.1.9-r3.ebuild:
|
||||
Fix bug #481782 - Put right library paths in libsepol.pc file to get proper
|
||||
pkg-config --libs output
|
||||
|
||||
*libsepol-2.1.9-r2 (15 Aug 2013)
|
||||
|
||||
15 Aug 2013; Sven Vermeulen <swift@gentoo.org> +libsepol-2.1.9-r2.ebuild:
|
||||
Improving multilib for libsepol
|
||||
|
||||
07 Jul 2013; Sven Vermeulen <swift@gentoo.org> -libsepol-2.1.4-r1.ebuild:
|
||||
Summar cleaning
|
||||
|
||||
16 Jun 2013; Sven Vermeulen <swift@gentoo.org> libsepol-2.1.9-r1.ebuild:
|
||||
Stabilization
|
||||
|
||||
*libsepol-2.1.9-r1 (25 Apr 2013)
|
||||
|
||||
25 Apr 2013; Sven Vermeulen <swift@gentoo.org> +libsepol-2.1.9-r1.ebuild:
|
||||
New upstream release
|
||||
|
||||
30 Dec 2012; Sven Vermeulen libsepol-2.1.8-r1.ebuild:
|
||||
Stabilize
|
||||
|
||||
*libsepol-2.1.8-r1 (09 Dec 2012)
|
||||
|
||||
09 Dec 2012; <swift@gentoo.org> +libsepol-2.1.8-r1.ebuild:
|
||||
Adding proper RANLIB support, see bug #444374
|
||||
|
||||
17 Nov 2012; <swift@gentoo.org> libsepol-2.1.8.ebuild:
|
||||
Stabilization
|
||||
|
||||
13 Oct 2012; <swift@gentoo.org> libsepol-2.1.8.ebuild:
|
||||
Supporting user-provided patches using epatch_user
|
||||
|
||||
*libsepol-2.1.8 (09 Oct 2012)
|
||||
|
||||
09 Oct 2012; <swift@gentoo.org> +libsepol-2.1.8.ebuild:
|
||||
Introducing upstream release
|
||||
|
||||
03 Oct 2012; Mike Frysinger <vapier@gentoo.org> libsepol-2.1.4-r1.ebuild:
|
||||
Update to EAPI=4.
|
||||
|
||||
13 May 2012; <swift@gentoo.org> -libsepol-2.1.0.ebuild:
|
||||
Removing obsoleted ebuild
|
||||
|
||||
29 Apr 2012; <swift@gentoo.org> libsepol-2.1.4-r1.ebuild:
|
||||
Stabilization
|
||||
|
||||
*libsepol-2.1.4-r1 (31 Mar 2012)
|
||||
|
||||
31 Mar 2012; <swift@gentoo.org> +libsepol-2.1.4-r1.ebuild,
|
||||
+files/libsepol-2.1.4-fix_role_fix_callback.patch:
|
||||
Bump to version 2.1.4
|
||||
|
||||
12 Nov 2011; <swift@gentoo.org> -libsepol-2.0.41.ebuild,
|
||||
-libsepol-2.0.42.ebuild:
|
||||
removing deprecated ebuilds
|
||||
|
||||
23 Oct 2011; <swift@gentoo.org> libsepol-2.1.0.ebuild:
|
||||
Stabilization (tracker #384231)
|
||||
|
||||
12 Aug 2011; Anthony G. Basile <blueness@gentoo.org> -libsepol-2.0.32.ebuild,
|
||||
-files/libsepol-2.0.32-expand_rule.diff, -libsepol-2.0.37.ebuild:
|
||||
Removed deprecated versions
|
||||
|
||||
*libsepol-2.1.0 (03 Aug 2011)
|
||||
|
||||
03 Aug 2011; Anthony G. Basile <blueness@gentoo.org> +libsepol-2.1.0.ebuild:
|
||||
Bump to 20110727 SELinux userspace release
|
||||
|
||||
*libsepol-2.0.42 (15 Jul 2011)
|
||||
|
||||
15 Jul 2011; Anthony G. Basile <blueness@gentoo.org> +libsepol-2.0.42.ebuild:
|
||||
Bump to 2.0.42 - proxy for SwifT
|
||||
|
||||
28 May 2011; Anthony G. Basile <blueness@gentoo.org> libsepol-2.0.32.ebuild,
|
||||
libsepol-2.0.37.ebuild:
|
||||
Make RDEPEND explicit
|
||||
|
||||
28 May 2011; Anthony G. Basile <blueness@gentoo.org> libsepol-2.0.41.ebuild:
|
||||
Stable amd64 x86
|
||||
|
||||
13 Feb 2011; Anthony G. Basile <blueness@gentoo.org> metadata.xml:
|
||||
Updated metadata.xml to reflect new selinux herd.
|
||||
|
||||
05 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
|
||||
libsepol-2.0.41.ebuild:
|
||||
Respect AR and CC.
|
||||
|
||||
*libsepol-2.0.41 (05 Feb 2011)
|
||||
|
||||
05 Feb 2011; Anthony G. Basile <blueness@gentoo.org>
|
||||
+libsepol-2.0.41.ebuild:
|
||||
New upstream release.
|
||||
|
||||
23 Sep 2009; Patrick Lauer <patrick@gentoo.org> libsepol-2.0.32.ebuild,
|
||||
libsepol-2.0.37.ebuild:
|
||||
Remove virtual/libc
|
||||
|
||||
*libsepol-2.0.37 (02 Aug 2009)
|
||||
|
||||
02 Aug 2009; Chris PeBenito <pebenito@gentoo.org> +libsepol-2.0.37.ebuild:
|
||||
New upstream release.
|
||||
|
||||
18 Jul 2009; Chris PeBenito <pebenito@gentoo.org>
|
||||
-files/libsepol-1.12.2.diff, -libsepol-1.16.11.ebuild,
|
||||
libsepol-2.0.32.ebuild:
|
||||
Mark stable. Remove old ebuilds.
|
||||
|
||||
*libsepol-2.0.32 (03 Oct 2008)
|
||||
|
||||
03 Oct 2008; Chris PeBenito <pebenito@gentoo.org>
|
||||
+files/libsepol-2.0.32-expand_rule.diff, +libsepol-2.0.32.ebuild:
|
||||
Initial commit of 2.0 libsepol.
|
||||
|
||||
10 Sep 2008; Chris PeBenito <pebenito@gentoo.org> libsepol-1.16.11.ebuild:
|
||||
Tests cannot be run in the ebuild, they are supposed to be ran on the full
|
||||
SELinux userland repo.
|
||||
|
||||
13 May 2008; Chris PeBenito <pebenito@gentoo.org> -libsepol-1.10.ebuild,
|
||||
-libsepol-1.12-r1.ebuild, -libsepol-1.16.3.ebuild,
|
||||
-libsepol-1.16.6.ebuild, libsepol-1.16.11.ebuild:
|
||||
Mark 1.16.11 stable, clear old ebuilds.
|
||||
|
||||
*libsepol-1.16.11 (07 Feb 2008)
|
||||
|
||||
07 Feb 2008; Chris PeBenito <pebenito@gentoo.org>
|
||||
-libsepol-1.16.10.ebuild, +libsepol-1.16.11.ebuild:
|
||||
sys-libs/libsepol: upstream bugfix release.
|
||||
|
||||
*libsepol-1.16.10 (29 Jan 2008)
|
||||
|
||||
29 Jan 2008; Chris PeBenito <pebenito@gentoo.org>
|
||||
+libsepol-1.16.10.ebuild:
|
||||
New upstream bugfix release.
|
||||
|
||||
*libsepol-1.16.6 (18 Oct 2007)
|
||||
|
||||
18 Oct 2007; Chris PeBenito <pebenito@gentoo.org> +libsepol-1.16.6.ebuild:
|
||||
New upstream release.
|
||||
|
||||
04 Jun 2007; Chris PeBenito <pebenito@gentoo.org> libsepol-1.16.3.ebuild:
|
||||
Mark stable.
|
||||
|
||||
*libsepol-1.16.3 (10 May 2007)
|
||||
|
||||
10 May 2007; Chris PeBenito <pebenito@gentoo.org> +libsepol-1.16.3.ebuild:
|
||||
New stable bugfix release.
|
||||
|
||||
17 Apr 2007; Chris PeBenito <pebenito@gentoo.org> libsepol-1.16.2.ebuild:
|
||||
This was a critical bug fix for SELinux policy linking, mark stable.
|
||||
|
||||
*libsepol-1.16.2 (04 Apr 2007)
|
||||
|
||||
04 Apr 2007; Chris PeBenito <pebenito@gentoo.org> +libsepol-1.16.2.ebuild:
|
||||
Add bugfix release to fix boolean mapping problem.
|
||||
|
||||
25 Mar 2007; Chris PeBenito <pebenito@gentoo.org> libsepol-1.16.0.ebuild:
|
||||
Mark stable.
|
||||
|
||||
*libsepol-1.16.0 (15 Feb 2007)
|
||||
|
||||
15 Feb 2007; Chris PeBenito <pebenito@gentoo.org> +libsepol-1.16.0.ebuild:
|
||||
New upstream release.
|
||||
|
||||
09 Oct 2006; Chris PeBenito <pebenito@gentoo.org> libsepol-1.12.28.ebuild:
|
||||
Stable to make repoman happy.
|
||||
|
||||
*libsepol-1.12.28 (05 Oct 2006)
|
||||
|
||||
05 Oct 2006; Chris PeBenito <pebenito@gentoo.org>
|
||||
+libsepol-1.12.28.ebuild:
|
||||
Add SVN snapshot.
|
||||
|
||||
31 Jul 2006; Chris PeBenito <pebenito@gentoo.org> libsepol-1.12-r1.ebuild:
|
||||
Mark stable, long overdue.
|
||||
|
||||
*libsepol-1.12-r1 (27 Mar 2006)
|
||||
|
||||
27 Mar 2006; Chris PeBenito <pebenito@gentoo.org>
|
||||
+files/libsepol-1.12.2.diff, -libsepol-1.12.ebuild,
|
||||
+libsepol-1.12-r1.ebuild:
|
||||
Uptream bugfix patch, including a fix for big endian machines. Users of big
|
||||
endian systems should remerge checkpolicy as it statically links against
|
||||
libsepol.
|
||||
|
||||
*libsepol-1.12 (18 Mar 2006)
|
||||
|
||||
18 Mar 2006; Chris PeBenito <pebenito@gentoo.org> +libsepol-1.12.ebuild:
|
||||
New upstream release.
|
||||
|
||||
22 Feb 2006; Stephen Bennett <spb@gentoo.org> libsepol-1.10.ebuild:
|
||||
Alpha stable
|
||||
|
||||
19 Feb 2006; Joshua Kinard <kumba@gentoo.org> libsepol-1.10.ebuild:
|
||||
Marked stable on mips.
|
||||
|
||||
17 Jan 2006; Chris PeBenito <pebenito@gentoo.org> libsepol-1.10.ebuild:
|
||||
Mark stable, x86, amd64, ppc, sparc.
|
||||
|
||||
14 Jan 2006; Stephen Bennett <spb@gentoo.org> libsepol-1.10.ebuild:
|
||||
Added ~alpha
|
||||
|
||||
*libsepol-1.10 (09 Dec 2005)
|
||||
|
||||
09 Dec 2005; Chris PeBenito <pebenito@gentoo.org> -libsepol-1.4.ebuild,
|
||||
+libsepol-1.10.ebuild:
|
||||
New upstream release.
|
||||
|
||||
09 Sep 2005; Chris PeBenito <pebenito@gentoo.org> libsepol-1.6.ebuild:
|
||||
Mark stable.
|
||||
|
||||
*libsepol-1.6 (25 Jun 2005)
|
||||
|
||||
25 Jun 2005; Chris PeBenito <pebenito@gentoo.org> +libsepol-1.6.ebuild:
|
||||
New upstream release.
|
||||
|
||||
10 May 2005; Stephen Bennett <spb@gentoo.org> libsepol-1.4.ebuild:
|
||||
mips stable
|
||||
|
||||
01 May 2005; Stephen Bennett <spb@gentoo.org> libsepol-1.4.ebuild:
|
||||
Added ~mips.
|
||||
|
||||
01 May 2005; Chris PeBenito <pebenito@gentoo.org> libsepol-1.4.ebuild:
|
||||
Mark stable.
|
||||
|
||||
*libsepol-1.4 (13 Mar 2005)
|
||||
|
||||
13 Mar 2005; Chris PeBenito <pebenito@gentoo.org> +libsepol-1.4.ebuild:
|
||||
New upstream release.
|
||||
|
||||
07 Jan 2005; Chris PeBenito <pebenito@gentoo.org> libsepol-1.0.ebuild,
|
||||
libsepol-1.2.ebuild:
|
||||
Mark 1.2 stable. Change glibc dep to libc virtual.
|
||||
|
||||
15 Nov 2004; Chris PeBenito <pebenito@gentoo.org> libsepol-1.2.ebuild:
|
||||
Fix non mls compile.
|
||||
|
||||
*libsepol-1.2 (14 Nov 2004)
|
||||
|
||||
14 Nov 2004; Chris PeBenito <pebenito@gentoo.org> +libsepol-1.2.ebuild:
|
||||
New upstream release.
|
||||
|
||||
*libsepol-1.0 (07 Sep 2004)
|
||||
|
||||
07 Sep 2004; Chris PeBenito <pebenito@gentoo.org> +metadata.xml,
|
||||
+libsepol-1.0.ebuild:
|
||||
Initial commit.
|
@ -1,9 +1,2 @@
|
||||
DIST libsepol-2.2.tar.gz 209622 SHA256 77a4b27006295805bdbd7f240038cb32a49be1d60847d413899501702933fc0f SHA512 96e489eb29f5256fbcb1a522d3738e0c5f05fff55041989c7c26331987abc71d80ed8fdbe228aadb60248869552c5d62fa5721b6218fb093ad027bfb44fac772 WHIRLPOOL 4d1eeaa0e1964461b0b28de9e3d19e38bb28e386413280c8ef45919906c25abaf575a3ecd0f40dce0de82800d34b5e1c3d5060f1e93d0270e5fe3c3105964305
|
||||
DIST libsepol-2.3.tar.gz 209570 SHA256 cc8d8642c3b7b95d6928d65dcbca2ab0627abc1c05166637851e63c1a6eae68f SHA512 5155645642f7f09c7e1d17736d7ce1654c973d1feb9401ee67aad0a96f9bd561105b4ab1f564c60362821985023ac523d20ed40da0e5a52973f7984217ad0d03 WHIRLPOOL 15b19d021c4a52cfdae118a7a1ddd7057722286553a0e1dccfe5d92f0b8c5b1291388b8bb8d37b8f5e51fd162f57708746ccde67d0d9ae035506839cf9ba3bc0
|
||||
DIST libsepol-2.4.tar.gz 570822 SHA256 299015d59932404c6b69d365fdecffe5c0e2f9c44e08b47286a4bfc02ee49659 SHA512 95d25c90e3447d7b0d3e2ef5a404aed8bd946d7458ccbc57538bb9e9bd0cfa394022171ef4772ae4f1ea2422c0c4bd8c852badd28f79088d131062cee80f53fd WHIRLPOOL 407b7b335cb366e1773975cec843e9ebb6ca31c0ee9c69cd2ac1636efa63e1ee787cec1041f7a5d7fb37177730f20cadd2ed60bdf10f0f6d32e41f85e012ad43
|
||||
EBUILD libsepol-2.2.ebuild 1119 SHA256 db15c0b5eef9bcf2e2f8f674d7e049c3a3d8f624f264a25f95731696a01006ad SHA512 38ae2154a881706b32cfbb4360ced2f8e172fef4063622328c282475713ed1f7b6782458485c1b36b9b45df3726850bc985fe86c080ebcd83662546942a95574 WHIRLPOOL bfe72fe659d9b5bde7410d52132112e4ffb36ffd867ed63a32859fca6216fe5ddd5035629be44225c0d57a60390aba74294ab81f30a55a3b7f0c479102d0c554
|
||||
EBUILD libsepol-2.3.ebuild 1122 SHA256 ac07de9320bf187e3002fcc21a2afeedf9647c81cf122a695bab8fec565886a0 SHA512 e268fc109ac2016ceb271ffc807ff7a42ab3937ade353de9257745b7f23f4b0ae6d6481a81df965e941269b594ae540226bd6fde25259e5e05d80b22a8a26642 WHIRLPOOL c1f8db7e00aa4cbf3bc67f7efbdd35b677289437a9ac2b56ea4acb9eb0c8690cb2a00344e523b0ddcc0458c8304c4fd85703ec542561afd59071cf061e6faf5e
|
||||
EBUILD libsepol-2.4.ebuild 974 SHA256 3f3171d7d09421be8e0d19f119a19650480ca9b092a6fdf4c0604416318eee0e SHA512 3024aaf43155902bba79f8d0f1bdc50dd7e214bedefa7cff484aac1cf1d9f965c58fbdad0ccd09409187c56627f1d080a4e8debe535066ced2d636e9c41b6f94 WHIRLPOOL 73a5aff68bb9b14d7c7fc22e91af73676b9b267afb673b6a46066787bba7000238651dafae95e9880a4b3329d9d49d46d90ccf6dee7e4189f7c3ab6d9133a7db
|
||||
EBUILD libsepol-9999.ebuild 1160 SHA256 95a2493fbd74a152b52e65d2803542be8b6a484acbb8f643ff639c2079b48758 SHA512 197f15e5d631d530003a8d9c705b23794577a49d3858c8fda10c6688b5a7e2b4d06b23d859494271a30842b798ec381ac3ce62a257c3cb0900ff9c5823747395 WHIRLPOOL afe384ee200f551ac3d291c67f0bcc040abf12c3f03c9239e46c6f1a80e09565cefb1b86f97b5a46b9df36070235681141b2a2ac0336466450c728a6d3af2e91
|
||||
MISC ChangeLog 10342 SHA256 a41401fcb4dfd0082c5d55d20e95da9b3eff6a309f6e2ef97b9034f53cd96184 SHA512 be504b6afa14d27e557d678a504466eab37fd519ca7fb1f083f2a8a247d9a5ba832c820d6a5096a5ca0a0f13b54d5b1c527def12e134137535440493122d3184 WHIRLPOOL 2973b3b8e6449ad1ec6f6a250a9a148800a5d6d533abfbe58795e74aff9e82610bb032c5031ea7465c2058e0b3cac7585dea9da3c58421194793847a3fbbe238
|
||||
MISC metadata.xml 342 SHA256 ed13835913bdc7371bc7f4f0abbf6c73ac791143b1d5c09b66f20a4c47a53de8 SHA512 90a40ba3ed6c670abe9fe8809596b9100e9038172420376ef06516e1ff27f32ac17923d87b72390d68adc171e741f1c6c6edd0ad5d457647e31005c81495a5cb WHIRLPOOL 302e9800dfe3c8a2ad168cf4307667c6f83d56a21e6cc540f9902b2639f7c405f5203f20c42ba97b3a4a129c6dd22f87f5460445f6629abf840621def11dc9ec
|
||||
DIST libsepol-3.1.tar.gz 473842 BLAKE2B ef1d596c4d53cc0a87e899ef4aeb5bf29c9d6b8303632ddc866c100d30debd8aedd0e8b38cb4ce3141b80421cd914148ff072e492d63dc2dacf03ac2ce59ca5a SHA512 4b5f4e82853ff3e9b4fac2dbdea5c2fc3bb7b508af912217ac4b75da6540fbcd77aa314ab95cd9dfa94fbc4a885000656a663c1a152f65b4cf6970ea0b6034ab
|
||||
DIST libsepol-3.2.tar.gz 477749 BLAKE2B 6f35387c0373869672080e151f212c081389f6799539124353aa1749ae2648669b2e237a271297c1c212b7a9e0c35f05edfff1bb724c8a15993e8fb8c599ac2e SHA512 1a6b3489ff766958a4b444b9be63a794267243aed303d3e7d87278f11be492dbf603a0c8181c4c5e01cb0e1ceb43810a77f738f0b9bd1d7d2be67053f9c67a6f
|
||||
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit multilib toolchain-funcs eutils multilib-minimal
|
||||
|
||||
DESCRIPTION="SELinux binary policy representation library"
|
||||
HOMEPAGE="http://userspace.selinuxproject.org"
|
||||
SRC_URI="http://userspace.selinuxproject.org/releases/20131030/${P}.tar.gz"
|
||||
# https://dev.gentoo.org/~swift/patches/${PN}/patchbundle-${P}-r1.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
# tests are not meant to be run outside of the
|
||||
# full SELinux userland repo
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
# EPATCH_MULTI_MSG="Applying libsepol patches ... " \
|
||||
# EPATCH_SUFFIX="patch" \
|
||||
# EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
|
||||
# EPATCH_FORCE="yes" \
|
||||
# epatch
|
||||
|
||||
epatch_user
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
tc-export RANLIB;
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" SHLIBDIR="\$(DESTDIR)/$(get_libdir)" \
|
||||
emake AR="$(tc-getAR)" CC="$(tc-getCC)"
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" SHLIBDIR="\$(DESTDIR)/$(get_libdir)" \
|
||||
emake DESTDIR="${D}" install
|
||||
}
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit multilib toolchain-funcs eutils multilib-minimal
|
||||
|
||||
MY_P="${P//_/-}"
|
||||
|
||||
DESCRIPTION="SELinux binary policy representation library"
|
||||
HOMEPAGE="http://userspace.selinuxproject.org"
|
||||
SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20140506/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
# tests are not meant to be run outside of the
|
||||
# full SELinux userland repo
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
# EPATCH_MULTI_MSG="Applying libsepol patches ... " \
|
||||
# EPATCH_SUFFIX="patch" \
|
||||
# EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
|
||||
# EPATCH_FORCE="yes" \
|
||||
# epatch
|
||||
|
||||
epatch_user
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
tc-export RANLIB;
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" SHLIBDIR="\$(DESTDIR)/$(get_libdir)" \
|
||||
emake AR="$(tc-getAR)" CC="$(tc-getCC)"
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" SHLIBDIR="\$(DESTDIR)/$(get_libdir)" \
|
||||
emake DESTDIR="${D}" install
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit multilib toolchain-funcs eutils multilib-minimal
|
||||
|
||||
MY_P="${P//_/-}"
|
||||
|
||||
DESCRIPTION="SELinux binary policy representation library"
|
||||
HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki"
|
||||
SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20150202/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
# tests are not meant to be run outside of the
|
||||
# full SELinux userland repo
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
epatch_user
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
tc-export RANLIB;
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" SHLIBDIR="\$(DESTDIR)/$(get_libdir)" \
|
||||
emake AR="$(tc-getAR)" CC="$(tc-getCC)"
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" SHLIBDIR="\$(DESTDIR)/$(get_libdir)" \
|
||||
emake DESTDIR="${D}" install
|
||||
}
|
51
sdk_container/src/third_party/portage-stable/sys-libs/libsepol/libsepol-3.1.ebuild
vendored
Normal file
51
sdk_container/src/third_party/portage-stable/sys-libs/libsepol/libsepol-3.1.ebuild
vendored
Normal file
@ -0,0 +1,51 @@
|
||||
# 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
|
||||
}
|
50
sdk_container/src/third_party/portage-stable/sys-libs/libsepol/libsepol-3.2.ebuild
vendored
Normal file
50
sdk_container/src/third_party/portage-stable/sys-libs/libsepol/libsepol-3.2.ebuild
vendored
Normal file
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit toolchain-funcs multilib-minimal
|
||||
|
||||
MY_PV="${PV//_/-}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
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}/${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/2"
|
||||
|
||||
# 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
|
||||
|
||||
local -x CFLAGS="${CFLAGS} -fno-semantic-interposition"
|
||||
|
||||
emake \
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" \
|
||||
SHLIBDIR="/$(get_libdir)"
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake DESTDIR="${D}" \
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" \
|
||||
SHLIBDIR="/$(get_libdir)" \
|
||||
install
|
||||
}
|
@ -1,13 +1,12 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
EAPI="7"
|
||||
|
||||
inherit multilib toolchain-funcs eutils multilib-minimal
|
||||
inherit toolchain-funcs multilib-minimal
|
||||
|
||||
MY_P="${P//_/-}"
|
||||
MY_RELEASEDATE="20150202"
|
||||
MY_PV="${PV//_/-}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
DESCRIPTION="SELinux binary policy representation library"
|
||||
HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki"
|
||||
@ -15,36 +14,37 @@ 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}"
|
||||
S="${WORKDIR}/${P}/${PN}"
|
||||
else
|
||||
SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
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"
|
||||
IUSE=""
|
||||
SLOT="0/2"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
# tests are not meant to be run outside of the
|
||||
# full SELinux userland repo
|
||||
# tests are not meant to be run outside of the full SELinux userland repo
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
epatch_user
|
||||
eapply_user
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
tc-export RANLIB;
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" SHLIBDIR="\$(DESTDIR)/$(get_libdir)" \
|
||||
emake AR="$(tc-getAR)" CC="$(tc-getCC)"
|
||||
tc-export CC AR RANLIB
|
||||
|
||||
local -x CFLAGS="${CFLAGS} -fno-semantic-interposition"
|
||||
|
||||
emake \
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" \
|
||||
SHLIBDIR="/$(get_libdir)"
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" SHLIBDIR="\$(DESTDIR)/$(get_libdir)" \
|
||||
emake DESTDIR="${D}" install
|
||||
emake DESTDIR="${D}" \
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" \
|
||||
SHLIBDIR="/$(get_libdir)" \
|
||||
install
|
||||
}
|
||||
|
@ -1,9 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>selinux</herd>
|
||||
<longdescription>SELinux library for manipulating binary security policies</longdescription>
|
||||
<maintainer type="project">
|
||||
<email>selinux@gentoo.org</email>
|
||||
<name>SELinux Team</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="cpe">cpe:/a:selinuxproject:libsepol</remote-id>
|
||||
<remote-id type="github">SELinuxProject/selinux</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
Loading…
Reference in New Issue
Block a user