From 24fd814c326e282c4321965c31f341dad77e270d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 8 Jan 2021 11:28:34 +0000 Subject: gentoo resync : 08.01.2021 --- sys-kernel/pf-sources/Manifest | 4 ++ sys-kernel/pf-sources/pf-sources-5.10_p5.ebuild | 66 +++++++++++++++++++++++++ sys-kernel/pf-sources/pf-sources-5.10_p6.ebuild | 66 +++++++++++++++++++++++++ 3 files changed, 136 insertions(+) create mode 100644 sys-kernel/pf-sources/pf-sources-5.10_p5.ebuild create mode 100644 sys-kernel/pf-sources/pf-sources-5.10_p6.ebuild (limited to 'sys-kernel/pf-sources') diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest index 7d168df9df78..407de88e7d75 100644 --- a/sys-kernel/pf-sources/Manifest +++ b/sys-kernel/pf-sources/Manifest @@ -9,9 +9,13 @@ DIST linux-5.9.tar.xz 115507140 BLAKE2B e8d11472d63a9f8409ca12a2e8c97c6963a3d451 DIST pf-sources-5.10_p2.patch 2555927 BLAKE2B 69684df6616e243f5bda273ce4fd30300cde82355e3e71ef3f265bbc2fe2f680d035875ce76e836c0ee432692b69736ada54026bedbfa4423826260b5c3e05a1 SHA512 cdcaa01a9b89b935ee7b3035516c38b69ed38b897e4566adc132416fdb1953f965c33471192a3e0c85187af8edc2f0645d65e324d7b591fb4e3cabda4b05126c DIST pf-sources-5.10_p3.patch 2588302 BLAKE2B 47a3aaa429b773edfa4f1a2eeb046648f57204a8b1985710eaf11d95baceb92950352b03e819250d59614b52e8315758a78e72a646f4bedddc5674c2571a06ab SHA512 3701656ddb88b59bb816b96c8b986f9abf4087231dac7ef2c07f1a406e8edbffb7da6e0099ff0ce3a9f73557c96984e8e7b6a9cc69d4cd129d7f7e05535fee1f DIST pf-sources-5.10_p4.patch 3769450 BLAKE2B 5f470380efe3224150267125022012553daa36aea6bcc62d7df28a78a0f091aef925f6a2964d11e68877750b25ef5449a7d87577db30068d417106e6a76dd396 SHA512 8c0f0f48ff19e2c93ab1a0ec0387ba59365c4b5dedd4d4b7f323ac0f24502862e6e2a50c8c3c5be911836392aefba3d1c99b2fe1bc2ec8849ffff9c72a4dff2d +DIST pf-sources-5.10_p5.patch 3767157 BLAKE2B 7ea53839532d97225bbb95cd0e56c5e81d51cbe7e01bbfb09a5aea08fabbad7dee415da0ff79b6b248e2f88bb73434d53ba17808a8d62d403387cccc269e9f9d SHA512 2c07b1e66fad2e2ae1c279cfe9a41585c98ad0fe7d592a20d04e203e7a74ef9dddf6d8a970adb797727185dcbb28fa7a6a1faefcc2adb6a1eb0d309c43356f7e +DIST pf-sources-5.10_p6.patch 3863592 BLAKE2B 5ce92850e459f9ea9bdd19d4375f13a7554adbdcd3ed2b2c77c1e138c6cb508554ab8701398f77485f9551ad6422fd14e4f7ba708d607d9a107ccd818c42f560 SHA512 44398b4bcef521267ed4b9dc56281cff2587680498f68130361bab8de8bf164601bc95642493dcbb08eaf43ffca3b333ab2a12db825e7f52eb0171bb191bbaea DIST pf-sources-5.9_p7.patch 3027972 BLAKE2B 9247ea63b30f9d42d79303b73a900d468a71e703333932f7f15ae697cdba52c46358297023e037226c219fad5df912fb5d21e6f4b7190556ca799fa84924480e SHA512 c69e14f59bf98944b3329c65b7e2c271d74a756bc8c890130bf3cc68b4b96d31f1c33c4edb128580fcaefeb6e42dd04b1eb3d7f071b2d58bc764d26322bda8cd EBUILD pf-sources-5.10_p2.ebuild 2072 BLAKE2B b09aeb2b1f4e850a0de99cd6d18373046479d5ff9ec12bcefec1cd3fafe26df9899d570881644d4bb753084fe6ff368c9c7f6b41ae51a2806babf855c44beaef SHA512 b7cc177748be8328155aedc8558c1068ce05879e8db47b8eabee0091998c99d374ca3acfc65130d8c52a0aba53e757b3959b1480b4ddb7125ca791b4adc20088 EBUILD pf-sources-5.10_p3.ebuild 1983 BLAKE2B 11f3bc56116082995909d6463146383780b848cfb7129e16335c9154dc30a9371bfc1676a779ff643cf83464725caa42ef852fac36b58d08b080db90f67d3f94 SHA512 ce491942e199274d0bc6aea5bedecd2bde4bcec875bfc4cdbaeaf91ea073189ef10f70e32768054bbb7a66aeedc2d02aa7247524aa3789365636da4659323906 EBUILD pf-sources-5.10_p4.ebuild 1983 BLAKE2B e83387ab0da8b543b8acbea44c29e92e07c0a08d1fe7aa24b94f7aba2f7bcc153460f4c3238e939e7dfa989bee9a6167c73cff4d7c3a0582940bcdf2336ec827 SHA512 c068d8bae5b15a25de07aaf6cb14879600d4a7d30dc824cd05e97e120bad86211538c6a4e268347a1cc1d8b576863c55e61ee3198fdd16b3540701967bfad078 +EBUILD pf-sources-5.10_p5.ebuild 1983 BLAKE2B e83387ab0da8b543b8acbea44c29e92e07c0a08d1fe7aa24b94f7aba2f7bcc153460f4c3238e939e7dfa989bee9a6167c73cff4d7c3a0582940bcdf2336ec827 SHA512 c068d8bae5b15a25de07aaf6cb14879600d4a7d30dc824cd05e97e120bad86211538c6a4e268347a1cc1d8b576863c55e61ee3198fdd16b3540701967bfad078 +EBUILD pf-sources-5.10_p6.ebuild 1983 BLAKE2B e83387ab0da8b543b8acbea44c29e92e07c0a08d1fe7aa24b94f7aba2f7bcc153460f4c3238e939e7dfa989bee9a6167c73cff4d7c3a0582940bcdf2336ec827 SHA512 c068d8bae5b15a25de07aaf6cb14879600d4a7d30dc824cd05e97e120bad86211538c6a4e268347a1cc1d8b576863c55e61ee3198fdd16b3540701967bfad078 EBUILD pf-sources-5.9_p7.ebuild 1958 BLAKE2B 45ad93609aef6566468c1365734aa1a42c563a0fcf87135c1f6cdec8af3c637ce3434c69e55f75ccebed12de28250b61bf15d7c2f961c1effc1dc6e03c37cad8 SHA512 b669acb26f1c7a745a99e23107b8b0cc327b3b66044f7934a962281f78bb3cc31bfc0ec3b0ee20f9180d5e9f86822febad923c9337cb552626f194bfa9fb3c9f MISC metadata.xml 345 BLAKE2B 26083da0607ae4e301d8dd622cd9b0016630e1e70dd6197fb8b95912578015a13da38c8434df3cebdf13f22566a132ffa9ac2ee4a32ed482cf780c55327316da SHA512 4bbc43612402fe253b02894ae6bf290ae44082c98a48d31e3d822946a8709752d3c4fb9d338fdb6779d6b421e73073c67f5f951ef423728aaa5cc18ac7958b2e diff --git a/sys-kernel/pf-sources/pf-sources-5.10_p5.ebuild b/sys-kernel/pf-sources/pf-sources-5.10_p5.ebuild new file mode 100644 index 000000000000..223e79a03a51 --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-5.10_p5.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2021 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() { + # kernel-2_src_prepare doesn't apply PATCHES(). + default +} + +pkg_postinst() { + kernel-2_pkg_postinst + + elog "Optional features:" + optfeature "Userspace KSM helper" sys-process/uksmd +} diff --git a/sys-kernel/pf-sources/pf-sources-5.10_p6.ebuild b/sys-kernel/pf-sources/pf-sources-5.10_p6.ebuild new file mode 100644 index 000000000000..223e79a03a51 --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-5.10_p6.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2021 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() { + # kernel-2_src_prepare doesn't apply PATCHES(). + default +} + +pkg_postinst() { + kernel-2_pkg_postinst + + elog "Optional features:" + optfeature "Userspace KSM helper" sys-process/uksmd +} -- cgit v1.2.3