summaryrefslogtreecommitdiff
path: root/sys-kernel/pf-sources
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/pf-sources')
-rw-r--r--sys-kernel/pf-sources/Manifest8
-rw-r--r--sys-kernel/pf-sources/pf-sources-5.16_p3.ebuild76
-rw-r--r--sys-kernel/pf-sources/pf-sources-5.16_p4.ebuild76
-rw-r--r--sys-kernel/pf-sources/pf-sources-5.16_p5.ebuild76
4 files changed, 236 insertions, 0 deletions
diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest
index d645bbee1359..647fab093962 100644
--- a/sys-kernel/pf-sources/Manifest
+++ b/sys-kernel/pf-sources/Manifest
@@ -10,8 +10,16 @@ DIST linux-5.15.tar.xz 121913744 BLAKE2B 3921274b23f7938abdf3ed9334534b4581e13d7
DIST linux-5.16.tar.xz 123114100 BLAKE2B 07a90cc640ff89e1359c06cee8c38abd33e51f9b9a89833e31a1d2750526fda4a59e8884db3c1ea63df0a37f0d3de6b5a922b014b7313d8abce20d90ac08adcb SHA512 7a257dd576bc8493595ec7d6f3c9cb6e22c772a8b2dbe735d2485c4f5c56e26a08695546e7e0f1f1cd04a533f25e829361958d4da0b98bf0ba8094dd57a85aaf
DIST pf-sources-5.15_p6.patch 5753774 BLAKE2B a56166b285b5c8cfb1697f5180584ed025e34a42b5b96dbf58c2aa14ba9d8c21b5dd6ebc6054bc198c922348ffe3613138baa75913dd9a8c43f3868dd3e18a48 SHA512 c42a434efcee22f4cfc42cc35a7a39e2467b1cf82046dc0fab1294086dd1b6307cb641c6ac709303b9f8c88cd744518d66b20fbdf140917976d50a17958aa8d6
DIST pf-sources-5.16_p2.patch 847815 BLAKE2B d83c28770b0d2575107e858898f8019950303fd9e34d535fad6d6273e44a57402c96a24af7d6f7c66899d21897baaaaeb46335a59955482370993efd754df44d SHA512 34e36df51c14812517bb55ed436fcb7ddd42dfc85f800a7d5aa3c41a6e94168d253d2c3a2aadd5d4b6edf8a7c5aa646956a79094fde68628b2a5849a7b166a48
+DIST pf-sources-5.16_p3.patch 2622064 BLAKE2B e5a9a11c713648a3a94c15b21f4f6d20965510cc05cbe432ae354c1601e2de828634abd3e5b29e839d99a26ecf62e73e5d9365b64bbb41b3796592da4ae59abf SHA512 8c88d5650d29b4cfe3e5f1996c9dc14ad5b7f61c3cdcf5ac6ff9fb9db6e82ad60916e1f0fa30ebfa100a37c51a48e15fadb7ab56fb0ea3f3007e0f2773c16b34
+DIST pf-sources-5.16_p4.patch 3065274 BLAKE2B 52254316c04676ea47aed373fe367f145eec33bc091a3673f2a678dbfd92f04dbe0675d8a3ba5dac2833ea6c078a25c15b799bf6dcc94f1c433636d8d9cc4c6b SHA512 664b3e32a76ac35f846baf907b8b6814d1605fe2a56b40ea832f803aa3c517e7cb4b06c02730b858ec06fe95badd8a89acc58f21ae1b4320c02c09388592a87c
+DIST pf-sources-5.16_p5.patch 3607099 BLAKE2B 4b8659457862fb7c86215b19558b06dc66f8fd94362ac6030428e8a0c2a4bb99855ea55305bd086b39700c755ef6b245c91c2d0d3c7bc6d95a0226184740f82a SHA512 677843b205699feca6c932ad08b300756506b8d603bc2c636c0e1cda1cc344041aeec979c5846dc247361073e62034d00feaa62decc465a01ae827ccd3a03afa
DIST prjc-v5.16-1uo.patch 282840 BLAKE2B 9c6a27d999604febd831fb69d9722af3597096871d3330d750dd9ec3fefb79b7460d24c7713ce02aa8eba04222d0e112662fad21cdc1398b2e7e18f0a77ce629 SHA512 a18f38d7ac71159e0619f97665993eaeaf832bc08240aafd46a5c8a41a489de6b79bfbfe4bb104a655ca866174e79dbadae29a751e96864ebfb14e60756ab22a
+DIST prjc-v5.16-3uo.patch 270250 BLAKE2B b7ece53ae330499fa0da813428f1fd974fe540bf2cacb14122d50fde8a286c5edc3b5092a2316e38bd02c3ea3449932048ea35a10211f0008e5142aefcfd09a4 SHA512 5e86c21ac65effa184047c4e6238fc0f2c65d22d946d72f3325b75f7de80c0113f0380fcc1a9ba6219679895ecb74234bb13bb363573107d04315c83ef9cc68a
+DIST prjc-v5.16-4uo.patch 270113 BLAKE2B e88ec884ec8a539f9acc55844193d98c009d820bf18d8a6ca4dcb03d796897a15efc7006b35a736f31218895ffaf5cc83851a12f4db1b8e56b69ac8518347d02 SHA512 2f9eaef69d2125f6b23da3e597e2ed508266a93e3c3e1a0a04c1ba378448f8267a0985748b8de215c23fbbc62820a46da47671ff2e3ffd77f41bcca79cc11436
DIST prjc_v5.15-r1.patch 266858 BLAKE2B 110a03b5658200f7414922cf4ed361b6127c08d99359111209c86d951907626c92ff1e50f6906a0f56534e24aa2f35520dae11fa0d148ade488b93a401cb706f SHA512 1abcd3f10941b6e342cabb5fcd3d2a097ceb2451acad09336d3b191ace0bccca23202d87cc916fc0bacaf977e96b26a85e2b6729a08117c4cbe40a470dbf6eaa
EBUILD pf-sources-5.15_p6-r1.ebuild 2847 BLAKE2B d43c6b2657199968583e72d81f902e04782a30fd4b3857e099206b94e517d8955504ca89b0162803ab0d17aa375c5f3c6d5361fc2e5b1bbc3b0926f3ff3a2cc8 SHA512 2ad5f3510e377d56d48f98979282391a0d3f98559355a5adf1ad10994bd50f0bd6eb3f321e70ed1a1979316aa6f1723f7224a55844786bc9f3ba02d49e5c5dea
EBUILD pf-sources-5.16_p2.ebuild 2460 BLAKE2B f857ec577d55644dd7eb288c5e3c76f75602e1958a1428b118e9cfeb64958dd451b13e2d01f585934a6f236873331af3305d1a50812344938a05a9229b826113 SHA512 1c4d5443f4daba9f28645bdad974b6f79caea9ef344ee75fd68931e8d51ce8ebea41eb626356c16ca430ebb7665fcd3919efb4182edbd0e7c237a66b4f697e07
+EBUILD pf-sources-5.16_p3.ebuild 2408 BLAKE2B 2d7e60913b2944a5827767862cad267f73c47d5c76a2b2631563b07503ba607ad7d1cb394816401d1ec703f9d585f02c569be9e73fc8e9d85a867c49b7f1f725 SHA512 146934e11b35b535e320028742b46025fdc390ffb7233445a6423ce906a390d6698d3e3608499e911c6c532717f91d0174dc99a642c3300ad7a019e06bf0950f
+EBUILD pf-sources-5.16_p4.ebuild 2408 BLAKE2B 2d7e60913b2944a5827767862cad267f73c47d5c76a2b2631563b07503ba607ad7d1cb394816401d1ec703f9d585f02c569be9e73fc8e9d85a867c49b7f1f725 SHA512 146934e11b35b535e320028742b46025fdc390ffb7233445a6423ce906a390d6698d3e3608499e911c6c532717f91d0174dc99a642c3300ad7a019e06bf0950f
+EBUILD pf-sources-5.16_p5.ebuild 2441 BLAKE2B d6ea446131c080743575d6c3d5283b6b4660b136d26ccbc217f03e927d0aab96f14926f5e8573cd41fdab84edddebfbac910d2fa0778eb4e7f6704a6e9f1760d SHA512 2d11d387f753ceb52cdf90c6713c3e787fac708bbbb8ebe4258489f78ef0b67ed9d056caae9097d5cc42a88b3516ab50c4550a9bee85bef7c62156fa50fd7632
MISC metadata.xml 346 BLAKE2B aac642a4971d6bc11e22a4885e5a4cfdaa36287a97883ed22368729e1db9bbe1baa382fc542d6f89582a0e4f43d2e78419d09716f6d215477454b72dc365e2ec SHA512 94e6a97663111931e68e8af0656691776c39b4e8cc4e96c4a257a9617413ea238400096b15729b1e3b91d60e030c6eae3789401c444692d3bf7daa7c80e78a72
diff --git a/sys-kernel/pf-sources/pf-sources-5.16_p3.ebuild b/sys-kernel/pf-sources/pf-sources-5.16_p3.ebuild
new file mode 100644
index 000000000000..4b8cf6462fd9
--- /dev/null
+++ b/sys-kernel/pf-sources/pf-sources-5.16_p3.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# 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"
+
+# major kernel version, e.g. 5.14
+SHPV="${PV/_p*/}"
+
+# https://gitlab.com/alfredchen/projectc/ revision for a major version,
+# e.g. prjc-v5.14-r2 = 2
+PRJC_R=1
+
+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${SHPV}...v${SHPV}-pf${PV/*_p/}.diff -> ${P}.patch
+ https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${SHPV}-${K_GENPATCHES_VER}.base.tar.xz
+ https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${SHPV}-${K_GENPATCHES_VER}.extras.tar.xz
+ https://dev.gentoo.org/~juippis/distfiles/prjc-v${SHPV}-3uo.patch
+ https://dev.gentoo.org/~mpagano/genpatches/trunk/5.15/5021_BMQ-and-PDS-gentoo-defaults.patch -> 5021_BMQ-and-PDS-gentoo-defaults-5.15.patch"
+
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+S="${WORKDIR}/linux-${PVR}-pf"
+
+PATCHES=( "${DISTDIR}/${P}.patch"
+ "${DISTDIR}/prjc-v${SHPV}-3uo.patch"
+ "${DISTDIR}/5021_BMQ-and-PDS-gentoo-defaults-5.15.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
+
+ optfeature "userspace KSM helper" sys-process/uksmd
+}
diff --git a/sys-kernel/pf-sources/pf-sources-5.16_p4.ebuild b/sys-kernel/pf-sources/pf-sources-5.16_p4.ebuild
new file mode 100644
index 000000000000..4b8cf6462fd9
--- /dev/null
+++ b/sys-kernel/pf-sources/pf-sources-5.16_p4.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# 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"
+
+# major kernel version, e.g. 5.14
+SHPV="${PV/_p*/}"
+
+# https://gitlab.com/alfredchen/projectc/ revision for a major version,
+# e.g. prjc-v5.14-r2 = 2
+PRJC_R=1
+
+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${SHPV}...v${SHPV}-pf${PV/*_p/}.diff -> ${P}.patch
+ https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${SHPV}-${K_GENPATCHES_VER}.base.tar.xz
+ https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${SHPV}-${K_GENPATCHES_VER}.extras.tar.xz
+ https://dev.gentoo.org/~juippis/distfiles/prjc-v${SHPV}-3uo.patch
+ https://dev.gentoo.org/~mpagano/genpatches/trunk/5.15/5021_BMQ-and-PDS-gentoo-defaults.patch -> 5021_BMQ-and-PDS-gentoo-defaults-5.15.patch"
+
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+S="${WORKDIR}/linux-${PVR}-pf"
+
+PATCHES=( "${DISTDIR}/${P}.patch"
+ "${DISTDIR}/prjc-v${SHPV}-3uo.patch"
+ "${DISTDIR}/5021_BMQ-and-PDS-gentoo-defaults-5.15.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
+
+ optfeature "userspace KSM helper" sys-process/uksmd
+}
diff --git a/sys-kernel/pf-sources/pf-sources-5.16_p5.ebuild b/sys-kernel/pf-sources/pf-sources-5.16_p5.ebuild
new file mode 100644
index 000000000000..17e4cb3993fe
--- /dev/null
+++ b/sys-kernel/pf-sources/pf-sources-5.16_p5.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# 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"
+
+# major kernel version, e.g. 5.14
+SHPV="${PV/_p*/}"
+
+# https://gitlab.com/alfredchen/projectc/ revision for a major version,
+# e.g. prjc-v5.14-r2 = 2
+PRJC_R=4
+
+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${SHPV}...v${SHPV}-pf${PV/*_p/}.diff -> ${P}.patch
+ https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${SHPV}-${K_GENPATCHES_VER}.base.tar.xz
+ https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${SHPV}-${K_GENPATCHES_VER}.extras.tar.xz
+ https://dev.gentoo.org/~juippis/patches/pf-sources/${SHPV}/prjc-v${SHPV}-${PRJC_R}uo.patch
+ https://dev.gentoo.org/~mpagano/genpatches/trunk/5.15/5021_BMQ-and-PDS-gentoo-defaults.patch -> 5021_BMQ-and-PDS-gentoo-defaults-5.15.patch"
+
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+S="${WORKDIR}/linux-${PVR}-pf"
+
+PATCHES=( "${DISTDIR}/${P}.patch"
+ "${DISTDIR}/prjc-v${SHPV}-${PRJC_R}uo.patch"
+ "${DISTDIR}/5021_BMQ-and-PDS-gentoo-defaults-5.15.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
+
+ optfeature "userspace KSM helper" sys-process/uksmd
+}