From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F3B331582EF for ; Sun, 09 Mar 2025 22:01:20 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id B988434313E for ; Sun, 09 Mar 2025 22:01:20 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id ACBD41103D5; Sun, 09 Mar 2025 22:01:05 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 9ED6C1103D5 for ; Sun, 09 Mar 2025 22:01:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 55894343103 for ; Sun, 09 Mar 2025 22:01:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9521D28BC for ; Sun, 09 Mar 2025 22:01:02 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1741557428.b4e308c0d9a45b300070bf356360647908401f4e.perfinion@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/mcstrans/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/mcstrans/Manifest sys-apps/mcstrans/mcstrans-3.8.1.ebuild X-VCS-Directories: sys-apps/mcstrans/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: b4e308c0d9a45b300070bf356360647908401f4e X-VCS-Branch: master Date: Sun, 09 Mar 2025 22:01:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 12dc4d89-8a84-41b8-b1cf-ce7b2c65af7b X-Archives-Hash: daa5d28ce63b28680a1cec673ecd3585 commit: b4e308c0d9a45b300070bf356360647908401f4e Author: Jason Zaman gentoo org> AuthorDate: Sun Mar 9 19:38:14 2025 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sun Mar 9 21:57:08 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4e308c0 sys-apps/mcstrans: bump to 3.8.1 Signed-off-by: Jason Zaman gentoo.org> sys-apps/mcstrans/Manifest | 1 + sys-apps/mcstrans/mcstrans-3.8.1.ebuild | 51 +++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/sys-apps/mcstrans/Manifest b/sys-apps/mcstrans/Manifest index 72dcb389f5ed..2ad2fb003579 100644 --- a/sys-apps/mcstrans/Manifest +++ b/sys-apps/mcstrans/Manifest @@ -1,3 +1,4 @@ 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 DIST mcstrans-3.8.tar.gz 42499 BLAKE2B d8780297e63ed17f580af73771136e50e2b8cd6c1d11c7c8a6ed6d8ef040b0d6fdd756f9fc4f131c337476791c83e2fb0623bd736b006fcf6af60f33e5d98bb9 SHA512 bf90e2ca1e0176dc7668ef5ac047c814c33999bc276445176b8a4541cbc6b140a3148a1e9f390d01b1ec263c7a0676b378626da6588d6139b1024f292b79c205 diff --git a/sys-apps/mcstrans/mcstrans-3.8.1.ebuild b/sys-apps/mcstrans/mcstrans-3.8.1.ebuild new file mode 100644 index 000000000000..456e6a7a057e --- /dev/null +++ b/sys-apps/mcstrans/mcstrans-3.8.1.ebuild @@ -0,0 +1,51 @@ +# 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 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 +}