sys-apps/restorecond: bump to 3.11

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

View File

@@ -1,4 +1,5 @@
DIST restorecond-3.10.tar.gz 18052 BLAKE2B 8de809cf3243d8fd0abc61f75e9983e627ce0bf3a5655dfa2f8943fc8ef1cee13bd63c7a7f5e454792878c5b32cfa2f5786a74cb44cb1681863f2e15fd1def94 SHA512 635db1235a00a8245e9809b5fd74adee828aac806f41dba01c0c2ff852f52580f573ee72a85bb0c2675b5b347dcb132fc87b8c4f2edcacd7aff4fb3192058b7e
DIST restorecond-3.11.tar.gz 18427 BLAKE2B 5d32bdc7ce8b4f3e51f332255e20ea944290760af18789f0e49f881e812b4c3901014246a7e6a8ab1c969035a1bcf9d90c2ca656d192512cbea35ba4b9dc8258 SHA512 02fae61fb802223b9350b6a5e30c5ca61bc1b0d052c437680ae21a752afc5320d731374df7034f7dc3bec4525afa2b624c7ccb6eba598564d9aed4b5f837edf5
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.1.tar.gz 18113 BLAKE2B 53fc139e4389ef2b7ec4bd0217662f30ae53dc2da4bb623b6c4c23e754267493fb8d1a47591f8afd8ebd270117311e22aa1789066a7918ca8ee10524a3d94031 SHA512 6cf664cccb3097ec2458d560e2622fc5c35c005f57461bd46858c887e2c4ed69301f4dca6d061115e0636dec0815498163cc975ea3c46b3001977e95c39e2fab

View File

@@ -0,0 +1,53 @@
# Copyright 1999-2026 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
}