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 23CE31582EF for ; Sun, 09 Feb 2025 22:46:06 +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 103CF343126 for ; Sun, 09 Feb 2025 22:46:06 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 04EC311047D; Sun, 09 Feb 2025 22:45:43 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 bobolink.gentoo.org (Postfix) with ESMTPS id F16A511047D for ; Sun, 09 Feb 2025 22:45:42 +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 A9D95341540 for ; Sun, 09 Feb 2025 22:45:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 30B9A278E for ; Sun, 09 Feb 2025 22:45:40 +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: <1739141072.4480d5f67f451f6fffe4818f0c28ca4f1a29cf52.perfinion@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/restorecond/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/restorecond/Manifest sys-apps/restorecond/restorecond-3.8.ebuild X-VCS-Directories: sys-apps/restorecond/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 4480d5f67f451f6fffe4818f0c28ca4f1a29cf52 X-VCS-Branch: master Date: Sun, 09 Feb 2025 22:45:40 +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: 2e20c198-56af-49a4-9dc1-c4c5352eba62 X-Archives-Hash: 90e50b75ca5317ae6fafa63a40122e7b commit: 4480d5f67f451f6fffe4818f0c28ca4f1a29cf52 Author: Jason Zaman gentoo org> AuthorDate: Sat Feb 8 23:54:49 2025 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sun Feb 9 22:44:32 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4480d5f6 sys-apps/restorecond: bump to 3.8 Signed-off-by: Jason Zaman gentoo.org> sys-apps/restorecond/Manifest | 1 + sys-apps/restorecond/restorecond-3.8.ebuild | 53 +++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/sys-apps/restorecond/Manifest b/sys-apps/restorecond/Manifest index 270d7a4f56a3..c070a0858f20 100644 --- a/sys-apps/restorecond/Manifest +++ b/sys-apps/restorecond/Manifest @@ -1,2 +1,3 @@ DIST restorecond-3.6.tar.gz 18020 BLAKE2B 306b4a7c9990c0b2f229cc7963dbd0481df5f9fbecd709b37d254839177fc604f6f85ac19235209f4fbb12d9186f01dd71a11f98deca5d01bd70c415240ddf5a SHA512 e21fa23bfea488f2bddd01b4bab353f22863e09247078e47db9852995d7a0153aee6483cbeaaaf033b482b60f80affad0b6a3e829f935c3901c034a7efb1ebef DIST restorecond-3.7.tar.gz 18072 BLAKE2B 3f352345fa169a438fd6dc073d329c68aca67b3c49d100b1dc619ae40eae3764fa07327306ec0f1232450433e27908493711cc6aec20ebb60f2b66dbceed0cb8 SHA512 6b0ed20a5d6654281cae78a337254558a2170040f09c1f7ba023b40cf2a5b33b36d6f3c57d9e32d55523fbe78a8b212c0de377ce201778e2211aa37dc0b2b936 +DIST restorecond-3.8.tar.gz 18128 BLAKE2B 61edce35c0caa47d2b79959dbc8372baf88ac9e24c5f103b9ef188cf147db9ff0838a7809d4428d5e24fa59c8657778af4cff5d6e102cb905a4b38115d60c0f3 SHA512 9091069f81fb9f158adad7520c16b689d4daf9679d8a30bcd3faffcbefea364d7645b74017087ee496de9fc0280c675ccbc26c297d6360f51128ae42bfd22f65 diff --git a/sys-apps/restorecond/restorecond-3.8.ebuild b/sys-apps/restorecond/restorecond-3.8.ebuild new file mode 100644 index 000000000000..e396fd403d1f --- /dev/null +++ b/sys-apps/restorecond/restorecond-3.8.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit systemd toolchain-funcs + +MY_PV="${PV//_/-}" +MY_P="${PN}-${MY_PV}" + +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 + +DESCRIPTION="Daemon to watch for creation and set default SELinux fcontexts" +HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki" + +LICENSE="GPL-2" +SLOT="0" + +DEPEND="dev-libs/glib:2 + >=sys-libs/libsepol-${PV}:= + >=sys-libs/libselinux-${PV}:=" + +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}" \ + SYSTEMDSYSTEMUNITDIR="$(systemd_get_systemunitdir)" \ + SYSTEMDUSERUNITDIR=$(systemd_get_userunitdir) \ + install + + rm -rf "${D}/etc/rc.d" || die + + newinitd "${FILESDIR}/restorecond.init" restorecond +}