diff options
author | Marcin Deranek <marcin.deranek@slonko.net> | 2021-05-26 09:05:36 +0200 |
---|---|---|
committer | Marcin Deranek <marcin.deranek@slonko.net> | 2021-05-26 09:05:42 +0200 |
commit | 3f3e8e6858529df1bf650d4afb3a55a80a0b5140 (patch) | |
tree | 503ef876b4db28ed0fe594f7f997c89045191b2e /sys-kernel/hardened-sources/hardened-sources-5.12.6.ebuild | |
parent | 44bfb0bb4804901be67c26b10104032dcf0f2468 (diff) | |
download | portage-3f3e8e6858529df1bf650d4afb3a55a80a0b5140.tar.gz portage-3f3e8e6858529df1bf650d4afb3a55a80a0b5140.tar.bz2 portage-3f3e8e6858529df1bf650d4afb3a55a80a0b5140.zip |
hardened-sources version bumps
Diffstat (limited to 'sys-kernel/hardened-sources/hardened-sources-5.12.6.ebuild')
-rw-r--r-- | sys-kernel/hardened-sources/hardened-sources-5.12.6.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sys-kernel/hardened-sources/hardened-sources-5.12.6.ebuild b/sys-kernel/hardened-sources/hardened-sources-5.12.6.ebuild new file mode 100644 index 0000000..1d52d11 --- /dev/null +++ b/sys-kernel/hardened-sources/hardened-sources-5.12.6.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="7" + +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="${DISTDIR}/linux-hardened-${PV}-${SUBREL}.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 +} |