diff options
author | Marcin Deranek <marcin.deranek@slonko.net> | 2022-10-26 10:49:52 +0200 |
---|---|---|
committer | Marcin Deranek <marcin.deranek@slonko.net> | 2022-10-26 10:49:52 +0200 |
commit | 07f0d87bcd067766662b06d93b87d00613d0e016 (patch) | |
tree | d987b5f700a7d34aec2288939d256f4be262ea44 /sys-kernel/hardened-sources/hardened-sources-6.0.3-r1.ebuild | |
parent | ab78ca9e9586e05bf24259b1d0695181cb1c9f9d (diff) | |
download | portage-07f0d87bcd067766662b06d93b87d00613d0e016.tar.gz portage-07f0d87bcd067766662b06d93b87d00613d0e016.tar.bz2 portage-07f0d87bcd067766662b06d93b87d00613d0e016.zip |
sys-kernel/hardened-sources 6.0 branch initial support
Diffstat (limited to 'sys-kernel/hardened-sources/hardened-sources-6.0.3-r1.ebuild')
-rw-r--r-- | sys-kernel/hardened-sources/hardened-sources-6.0.3-r1.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/sys-kernel/hardened-sources/hardened-sources-6.0.3-r1.ebuild b/sys-kernel/hardened-sources/hardened-sources-6.0.3-r1.ebuild new file mode 100644 index 0000000..ce269db --- /dev/null +++ b/sys-kernel/hardened-sources/hardened-sources-6.0.3-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 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="4" + +inherit kernel-2 +detect_version +detect_arch +SUBREL="hardened2" +HARDENED_URI="https://github.com/anthraxx/linux-hardened/releases/download/${PV}-${SUBREL}/linux-hardened-${PV}-${SUBREL}.patch" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches https://github.com/anthraxx/linux-hardened" +IUSE="experimental" +UNIPATCH_LIST="${FILESDIR}/9999_revert-conflicts-v3.patch ${DISTDIR}/linux-hardened-${PV}-${SUBREL}.patch" +UNIPATCH_EXCLUDE="1510_fs-enable-link-security-restrictions-by-default.patch" + +DESCRIPTION="Minimal supplement to upstream Kernel Self Protection Project" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${HARDENED_URI} ${ARCH_URI}" + +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 +} |