From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A955915808B for ; Mon, 11 Apr 2022 04:59:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A2CE4E09D6; Mon, 11 Apr 2022 04:59:44 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 0541AE09B6 for ; Mon, 11 Apr 2022 04:59:43 +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 796D13418F6 for ; Mon, 11 Apr 2022 04:59:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 892C13A7 for ; Mon, 11 Apr 2022 04:59:34 +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: <1649653072.abc55adc2688237eef8ce9eb5d41554418cde8ce.perfinion@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/semodule-utils/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/semodule-utils/Manifest sys-apps/semodule-utils/semodule-utils-3.4_rc1.ebuild X-VCS-Directories: sys-apps/semodule-utils/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: abc55adc2688237eef8ce9eb5d41554418cde8ce X-VCS-Branch: master Date: Mon, 11 Apr 2022 04:59:34 +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: a5c49b36-7fea-46a7-95f3-6c7ef297ea45 X-Archives-Hash: d85714c98a9ce1839f29eb330534f6d6 commit: abc55adc2688237eef8ce9eb5d41554418cde8ce Author: Jason Zaman gentoo org> AuthorDate: Mon Apr 11 04:27:03 2022 +0000 Commit: Jason Zaman gentoo org> CommitDate: Mon Apr 11 04:57:52 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abc55adc sys-apps/semodule-utils: bump to 3.4_rc1 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Jason Zaman gentoo.org> sys-apps/semodule-utils/Manifest | 1 + .../semodule-utils/semodule-utils-3.4_rc1.ebuild | 43 ++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/sys-apps/semodule-utils/Manifest b/sys-apps/semodule-utils/Manifest index 567a7b4cef98..a509f1a23988 100644 --- a/sys-apps/semodule-utils/Manifest +++ b/sys-apps/semodule-utils/Manifest @@ -1 +1,2 @@ DIST semodule-utils-3.3.tar.gz 14268 BLAKE2B 5b03dd731c28e29b146e9f75fa7ce5151e58df1ea6598356b1ad9ee6846d2ebf7ceb57c740aa0ae4b94e0a7356180bd8e608d6a9543b48251e553036f2b2833e SHA512 76aa0c9322889c7de100f3c5789bdf27b7073827fe2af371bd50a4517baa8442f35e53f16a93227dce93da0ceb054bea7e5ee17a46fe05e06f3c2d9925cf59dc +DIST semodule-utils-3.4-rc1.tar.gz 14270 BLAKE2B 7a0b5d060fc07ea71b71ccf2eaa6604cdc00afabaef1be8efb62a38bd401cfacd20f36af1a74324c2162b5fcdbcba6a3b3c5d98e33fccba99bc38ddfabd10ff8 SHA512 848354e95fcd6ae6be3e0ff5a32b26d78b2fbd04f463f063db796ff843dab44675eceb670f10c3ee602a6280e885ecc33242b37bb67ef77d467be030ddd4a72c diff --git a/sys-apps/semodule-utils/semodule-utils-3.4_rc1.ebuild b/sys-apps/semodule-utils/semodule-utils-3.4_rc1.ebuild new file mode 100644 index 000000000000..ce9f168c9c89 --- /dev/null +++ b/sys-apps/semodule-utils/semodule-utils-3.4_rc1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +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" +IUSE="" + +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 +}