sys-apps/mcstrans: bump to 3.11

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2026-07-05 12:41:27 +01:00
parent d65358a519
commit 6f2be24aee
2 changed files with 52 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
DIST mcstrans-3.10.tar.gz 42337 BLAKE2B 970f1b7976ece3fb60b1fd152ffa3b44c7452ec132993b60b15df1325762a637bdd2e3b3821a4a4178a9fcea4be05268491f95a0304d606f798a61b1d5eba7c8 SHA512 3100ae052c23a36312dce70d7b62c4135cb2850d0aa84088edddf71348944168ad753f7625157cbcf7dc7613169527676e42a5db6a850599230a42effb4c12e7
DIST mcstrans-3.11.tar.gz 43567 BLAKE2B 409021092c7b1a11e51da2f4125eb33cc0d07cfd6429b9875cd457cfedd1b7e5d20215b3521b1f6b605f33ca6569ce544285bb35b631b1d1a7456384ab17d896 SHA512 bc6ee5eb93518a6b41ac8775927bbf4a9d4a5be837feb8f1bbdc5105bcc94843d94c40dd172c0bd621e5d793c9dc1e588be64d6fe67ec8a33730bce10bcde79a
DIST mcstrans-3.6.tar.gz 42199 BLAKE2B 0f1b4ed212994037b062c42887e2629ae7374e0cbbd79692588ce164440eafddc6d7ab15d58f6064d68781a5a8fd614c9cfa734c4dbe1d3fea1dbb0f8191ddc1 SHA512 2c01a70741675faa41e8a9243f3cf08b558e568d7ae343874ff9c269473ba2748d42e0b45871d82d6c9b01bf71547835d547683f1aa5a8cf626708c7c69569fc
DIST mcstrans-3.7.tar.gz 42501 BLAKE2B b1112a5098a6681ade55e9fada8b0e4629bda8ff4334242b570bc042113204374bd2ca72face7fd7bc0958981a3c39284fa953a02e0860c4101e966f77f7e49a SHA512 51483ce4fd0b0a4bcba0d52eb418aa56104732888782f32c27a855c167cdb267de22eeb414ad8c6b2e733620c3e59db39646136c97f7bcb8901ce12fed44583a
DIST mcstrans-3.8.1.tar.gz 42511 BLAKE2B 15a79c6229a373e6bbabadd31b8bf21534a44402d42740662619f2578fb2712b884a7ba76d452ca5dd86afdd7642941076f68604641e002dd7051ad6480ae375 SHA512 45db573106667b424aba01dd9feae854ce7672a852b73de0e5c3fd5e9a9cdd61fc1a630ee0b4ffd6191c63b4c24ce258846af2205b336d6fca6ba27d5cc7ac56

View File

@@ -0,0 +1,51 @@
# Copyright 1999-2026 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 context translation to human readable names"
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}:=[static-libs(+)]
>=sys-libs/libselinux-${PV}:=
dev-libs/libpcre2:=
>=sys-libs/libcap-1.10-r10:="
RDEPEND="${DEPEND}"
src_prepare() {
default
sed -i 's/-Werror//g' "${S}"/*/Makefile || die "Failed to remove Werror"
}
src_compile() {
tc-export CC
default
}
src_install() {
emake DESTDIR="${D}" install
rm -rf "${D}/etc/rc.d" || die
newinitd "${FILESDIR}/mcstransd.init" mcstransd
}