diff options
author | Joonas Niilola <juippis@gentoo.org> | 2020-11-23 10:14:41 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-11-23 10:15:42 +0200 |
commit | bbcc5b8be69050e8d7dbeb894e475abf91136f90 (patch) | |
tree | 98848d53c39f7a84e442d2836000fc172f67ac5c /sys-kernel/pf-sources/pf-sources-5.9_p5.ebuild | |
parent | dev-python/python3-lxc: stabilize 3.0.4 on amd64 (diff) | |
download | gentoo-bbcc5b8be69050e8d7dbeb894e475abf91136f90.tar.gz gentoo-bbcc5b8be69050e8d7dbeb894e475abf91136f90.tar.bz2 gentoo-bbcc5b8be69050e8d7dbeb894e475abf91136f90.zip |
sys-kernel/pf-sources: bump to 5.9-pf5
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'sys-kernel/pf-sources/pf-sources-5.9_p5.ebuild')
-rw-r--r-- | sys-kernel/pf-sources/pf-sources-5.9_p5.ebuild | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/sys-kernel/pf-sources/pf-sources-5.9_p5.ebuild b/sys-kernel/pf-sources/pf-sources-5.9_p5.ebuild new file mode 100644 index 000000000000..f2344adc15dc --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-5.9_p5.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# Define what default functions to run +ETYPE="sources" + +# No 'experimental' USE flag provided, but we still want to use genpatches +K_EXP_GENPATCHES_NOUSE="1" + +# Just get basic genpatches, -pf patch set already includes vanilla-linux +# updates +K_GENPATCHES_VER="1" + +# -pf already sets EXTRAVERSION to kernel Makefile +K_NOSETEXTRAVERSION="1" + +# Not supported by the Gentoo security team +K_SECURITY_UNSUPPORTED="1" + +# We want the very basic patches from gentoo-sources, experimental patch is +# already included in pf-sources +K_WANT_GENPATCHES="base extras" + +inherit kernel-2 optfeature +detect_version + +DESCRIPTION="Linux kernel fork that includes the pf-kernel patchset and Gentoo's genpatches" +HOMEPAGE="https://gitlab.com/post-factum/pf-kernel/-/wikis/README + https://dev.gentoo.org/~mpagano/genpatches/" +SRC_URI="${KERNEL_URI} + https://github.com/pfactum/pf-kernel/compare/v${PV/_p*/}...v${PV/_p*/}-pf${PV/*_p/}.diff -> ${P}.patch + https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${PV/_p*/}-${K_GENPATCHES_VER}.base.tar.xz + https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${PV/_p*/}-${K_GENPATCHES_VER}.extras.tar.xz" + +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +S="${WORKDIR}/linux-${PVR}-pf" + +PATCHES=( "${DISTDIR}/${P}.patch" ) + +K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, + see: ${HOMEPAGE}." + +pkg_setup() { + ewarn "" + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the pf developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn "" + + kernel-2_pkg_setup +} + +src_prepare() { + default + kernel-2_src_prepare +} + +pkg_postinst() { + kernel-2_pkg_postinst + + elog "Optional features:" + optfeature "Userspace KSM helper" sys-process/uksmd +} |