diff options
author | Marcin Deranek <marcin.deranek@slonko.net> | 2024-07-07 18:51:30 +0200 |
---|---|---|
committer | Marcin Deranek <marcin.deranek@slonko.net> | 2024-07-07 18:51:30 +0200 |
commit | e669c086378e55642db304e8f90f699b2a22bc85 (patch) | |
tree | 8eb7e9842fc0b586aea8053ac8bf6c835ce84d6a /sys-kernel/hardened-sources/hardened-sources-5.15.162.ebuild | |
parent | 8f20301db639c284c8f1a2a799bc124a3a880c76 (diff) | |
download | portage-e669c086378e55642db304e8f90f699b2a22bc85.tar.gz portage-e669c086378e55642db304e8f90f699b2a22bc85.tar.bz2 portage-e669c086378e55642db304e8f90f699b2a22bc85.zip |
sys-kernel/hardened-sources Version bumps
Diffstat (limited to 'sys-kernel/hardened-sources/hardened-sources-5.15.162.ebuild')
-rw-r--r-- | sys-kernel/hardened-sources/hardened-sources-5.15.162.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sys-kernel/hardened-sources/hardened-sources-5.15.162.ebuild b/sys-kernel/hardened-sources/hardened-sources-5.15.162.ebuild new file mode 100644 index 0000000..fd08110 --- /dev/null +++ b/sys-kernel/hardened-sources/hardened-sources-5.15.162.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" +K_GENPATCHES_VER="172" + +inherit kernel-2 +detect_version +detect_arch +SUBREL="hardened1" +HARDENED_URI="https://github.com/anthraxx/linux-hardened/releases/download/v${PV}-${SUBREL}/linux-hardened-v${PV}-${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 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="experimental" +UNIPATCH_LIST="${FILESDIR}/9999_revert-conflicts-v1.patch ${DISTDIR}/linux-hardened-v${PV}-${SUBREL}.patch ${FILESDIR}/linux-hardened-gentoo-v1.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 +} |