diff options
author | 2019-11-12 20:09:29 +0200 | |
---|---|---|
committer | 2019-11-12 20:09:55 +0200 | |
commit | 5bf276f0ee2529ead7aeef5953ee36777b990f4e (patch) | |
tree | 0b1c4918b2e29389ae4b8d980bb7104c5084df4f /sys-kernel/pf-sources/pf-sources-5.3_p6.ebuild | |
parent | net-wireless/tempestsdr: switch to my fork (diff) | |
download | gentoo-5bf276f0ee2529ead7aeef5953ee36777b990f4e.tar.gz gentoo-5bf276f0ee2529ead7aeef5953ee36777b990f4e.tar.bz2 gentoo-5bf276f0ee2529ead7aeef5953ee36777b990f4e.zip |
sys-kernel/pf-sources: bump to 5.3-pf6
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'sys-kernel/pf-sources/pf-sources-5.3_p6.ebuild')
-rw-r--r-- | sys-kernel/pf-sources/pf-sources-5.3_p6.ebuild | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/sys-kernel/pf-sources/pf-sources-5.3_p6.ebuild b/sys-kernel/pf-sources/pf-sources-5.3_p6.ebuild new file mode 100644 index 000000000000..82d79915f607 --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-5.3_p6.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +ETYPE="sources" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +HOMEPAGE="https://gitlab.com/post-factum/pf-kernel/wikis/README + https://dev.gentoo.org/~mpagano/genpatches/" + +IUSE="" + +# No 'experimental' USE flag provided, but we still want to use genpatches +K_EXP_GENPATCHES_NOUSE="1" + +# No reason to bump this number unless something new gets included in genpatches, +# in that case we can manually remove the linux kernel patches from genpatches. +K_GENPATCHES_VER="1" + +K_NOSETEXTRAVERSION="1" + +# Not supported by the Gentoo security crew +K_SECURITY_UNSUPPORTED="1" + +K_USEPV="yes" + +# We want the very basic patches from gentoo-sources, experimental patch +# is already included in pf-sources +K_WANT_GENPATCHES="base extras" + +UNIPATCH_STRICTORDER="yes" + +inherit eutils kernel-2 +detect_version + +DESCRIPTION="Linux kernel fork that includes the pf-kernel patchset and Gentoo's genpatches" + +PF_URI="https://github.com/pfactum/pf-kernel/compare/v${PV/_p*/}...v${PV/_p*/}-pf${PV/*_p/}.diff -> ${P}.patch" +SRC_URI=" + ${KERNEL_URI} + ${PF_URI} + 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 +" + +KV_FULL="${PVR}-pf" +S="${WORKDIR}/linux-${KV_FULL}" + +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 + optfeature "Userspace KSM helper" sys-process/uksmd +} |