diff options
author | Marcin Deranek <marcin.deranek@slonko.net> | 2021-06-18 12:42:55 +0200 |
---|---|---|
committer | Marcin Deranek <marcin.deranek@slonko.net> | 2021-06-18 12:42:55 +0200 |
commit | c5a2aece1a46ff4e57886ab5b5351995cf493e6c (patch) | |
tree | 2c29b1f5d4f6791a5ef88de974eeca1353f02a05 /sys-kernel/hardened-sources/hardened-sources-5.12.11.ebuild | |
parent | 66429900e4f73eec6713a0193db2706bb1481c7f (diff) | |
download | portage-c5a2aece1a46ff4e57886ab5b5351995cf493e6c.tar.gz portage-c5a2aece1a46ff4e57886ab5b5351995cf493e6c.tar.bz2 portage-c5a2aece1a46ff4e57886ab5b5351995cf493e6c.zip |
hardened-sources version bump
Added a few patches to accomodate for conflicting changes between Gentoo
and linux-hardened. First we revert conflicting changes
(9999_revert-conflicts.patch) and re-apply relevant changes with
slightly modified patch (linux-hardened-gentoo.patch).
Diffstat (limited to 'sys-kernel/hardened-sources/hardened-sources-5.12.11.ebuild')
-rw-r--r-- | sys-kernel/hardened-sources/hardened-sources-5.12.11.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/sys-kernel/hardened-sources/hardened-sources-5.12.11.ebuild b/sys-kernel/hardened-sources/hardened-sources-5.12.11.ebuild new file mode 100644 index 0000000..5d4e2b3 --- /dev/null +++ b/sys-kernel/hardened-sources/hardened-sources-5.12.11.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="12" + +inherit kernel-2 +detect_version +detect_arch +SUBREL="hardened1" +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://github.com/anthraxx/linux-hardened https://dev.gentoo.org/~mpagano/genpatches" +IUSE="experimental" +UNIPATCH_LIST="${FILESDIR}/9999_revert-conflicts.patch ${DISTDIR}/linux-hardened-${PV}-${SUBREL}.patch ${FILESDIR}/linux-hardened-gentoo.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 +} |