From b631960c5de20ab63911e1e0896cb3d731bc553e Mon Sep 17 00:00:00 2001 From: Marcin Deranek Date: Sat, 24 Aug 2024 18:19:19 +0200 Subject: sys-kernel/hardened-sources Version bumps --- .../hardened-sources-6.6.47.ebuild | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 sys-kernel/hardened-sources/hardened-sources-6.6.47.ebuild (limited to 'sys-kernel/hardened-sources/hardened-sources-6.6.47.ebuild') diff --git a/sys-kernel/hardened-sources/hardened-sources-6.6.47.ebuild b/sys-kernel/hardened-sources/hardened-sources-6.6.47.ebuild new file mode 100644 index 0000000..fb8b550 --- /dev/null +++ b/sys-kernel/hardened-sources/hardened-sources-6.6.47.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="54" + +inherit kernel-2 +detect_version +detect_arch +SUBREL="hardened1" +HARDENED_URI="https://github.com/anthraxx/linux-hardened/releases/download/v${PV%.0}-${SUBREL}/linux-hardened-v${PV%.0}-${SUBREL}.patch" + +DESCRIPTION="Minimal supplement to upstream Kernel Self Protection Project" +HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches https://github.com/anthraxx/linux-hardened" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${HARDENED_URI} ${ARCH_URI}" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +IUSE="experimental" +UNIPATCH_LIST="${FILESDIR}/9999_revert-conflicts-v2.patch ${DISTDIR}/linux-hardened-v${PV%.0}-${SUBREL}.patch" +UNIPATCH_EXCLUDE="1510_fs-enable-link-security-restrictions-by-default.patch" + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} + +pkg_postrm() { + kernel-2_pkg_postrm +} -- cgit v1.2.3