summaryrefslogtreecommitdiff
path: root/sys-kernel
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-11 00:08:05 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-11 00:08:05 +0100
commit65ff3cc3bd9c3f8e718a67dfecf1f8215bf5d1d4 (patch)
tree541cbae0eb51d2fdb39d64b3d135d1a6f7994dc8 /sys-kernel
parent0aad4cd3e3fe3db90904ffc51b35e4ff160b53c5 (diff)
gentoo auto-resync : 11:06:2024 - 00:08:04
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/Manifest.gzbin4730 -> 4734 bytes
-rw-r--r--sys-kernel/pf-sources/Manifest8
-rw-r--r--sys-kernel/pf-sources/pf-sources-6.9_p2.ebuild94
-rw-r--r--sys-kernel/pf-sources/pf-sources-6.9_p4.ebuild94
4 files changed, 196 insertions, 0 deletions
diff --git a/sys-kernel/Manifest.gz b/sys-kernel/Manifest.gz
index 4aa9dc07bebb..44057289e58b 100644
--- a/sys-kernel/Manifest.gz
+++ b/sys-kernel/Manifest.gz
Binary files differ
diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest
index 5d0c56f93c22..ab8c3f15bcc6 100644
--- a/sys-kernel/pf-sources/Manifest
+++ b/sys-kernel/pf-sources/Manifest
@@ -8,16 +8,24 @@ DIST genpatches-6.8-12.base.tar.xz 687664 BLAKE2B 3c27ee511c258f3659d7f8cd5b6d47
DIST genpatches-6.8-12.extras.tar.xz 3736 BLAKE2B 15a15ca3097dc42ac5855e59fe61c961854c1afa8adc719c761ac58bb7c869d3240c228b0963a91927a9bc0af6998b4c40e4d286faf7d2defc2f21029d11c114 SHA512 4f1c8c07e81c0d1ed110bd4512d2a16c3e202c47d8ab6bedf5213cf6c2f8675e9b543e52dbce50fbbf550d88252e2c1c19c2465ddd7907f11a2979fa92466a7c
DIST genpatches-6.8-9.base.tar.xz 531224 BLAKE2B b5036c400d8e9a1ed765d31f3a2d5a542ae25bd4cdcbfb46d27e0c0887051200a7546eed16a1c527760680615d1c7a589ec482ed6c9c3ad28a4df1a778da3fba SHA512 eb33dbaa61b01e6cf5c706f7f72180005bee77a353a3c2a53319768a01ca16743bdea997fd9d520b7d112f9ed483de7f9ef8fd16adfed0cd28d955d13ada8eb8
DIST genpatches-6.8-9.extras.tar.xz 3704 BLAKE2B 204ffea55bce91b404e81fe383c7ea49c55f33d8e850876bd3e2cf39ea8162bb39a33f3ae2a8f98aa31d91055346776120661703c15c6408aa745f1b137379be SHA512 c8c4316a99bbf5c2443db62db6898a7e6b5a95c008ed769488a21b93d387649edf54c34d1c131e8a6ef7c5ea8db8a502afe868c47f70868d1ca15e901c309a63
+DIST genpatches-6.9-2.base.tar.xz 7216 BLAKE2B bdff81d1d53ecf00379d8acad8c9b3096fe9267bc895921b75b782b29d7644b192dcc427901a73f885dd341830e2b083f688b1953bb12232daa901af76d9585b SHA512 2f9c0880391044102a384c89bd6327d3a799eb71039c489fd8e3f0b36d8c630a98aaf83a81f9b9182208905866816f8d8304f4f97c81f9cfd54ad3a72929a4a9
+DIST genpatches-6.9-2.extras.tar.xz 4048 BLAKE2B 304c74f3a680a441fa54666fa5e56a7a46c659acdaffecca1288dc2df421b4c7536596e87f70c243e36a00f47f9fc4b17f11e57f1976e726b8d32a1d9161a609 SHA512 447aecfe363418b2fab60fad10550bf6c4b570ce57ac36a9db93cf7186531c997b1cc94ba4249bac712679f1c23b615c1ded14fcc7d0d0a016c2aa58aaa6e228
+DIST genpatches-6.9-4.base.tar.xz 158304 BLAKE2B cf964990abe6f7428e3a590752519f9a0bb16416186f06e6e377a33fc48acb42b38515e5a628f3394b418780fbb6b420636d6b896ea92906578e0bdf57b6125c SHA512 ad9e039a8a7ee29a5c258b42cd688737c9c575c097ced8d23792bbb2856480081a64cfc65488e5c0c8d5c6cdab9016be22183199ee8357c1c1ca372360035b1c
+DIST genpatches-6.9-4.extras.tar.xz 4048 BLAKE2B 7a47f3ef9bd870175c4373d064316fa746c3480a4075492fb04b4eca4496ab2c33c713875997a4fa33695177bbade0b6686f7d7e4f2cba110cd89a0f2017e2cd SHA512 5cd79406ad14a07fb95fc94a5aaee2bcd18f143996c111e16675b77402e9ee0917fd51f2a2023fd58d462caa2edfe5a950eb72bdb04870b185012b20ff302560
DIST linux-6.8-pf1.tar.gz 234545846 BLAKE2B d51b5d7ad395f8abd68636290f21a4800736e2b57b6ba5a29cc8983cdf81a13ed6db8a8a7468704561200d2d299eeb9d5bc6378a19e1b0948cdfca2f6c93bf76 SHA512 18d5816f70a02efc45a1b26f703b7d1686fd0196aa396c2fe007bf60357249deeb482e87d024e5ee78dcd4e19e48da2d17e8161c1154bd0f23b792ebb3578568
DIST linux-6.8-pf5.tar.gz 234552841 BLAKE2B 87247f718fa88f6cb3071d2ebd85d89e506d7b82ca2444c006aabbdad200fbbda7d0a8cc25d1e24d5c670962de01890ef4ff9b4b556a72661803a2d7f8840084 SHA512 ea3cd473a07ca3a67b4a6800b65d75c3743d20759824100654d4fe8339c7a32b17bdeb500d4de1039442a00714b28dfce5332637800bba539428df40a6d05dcb
DIST linux-6.8-pf6.tar.gz 234549951 BLAKE2B ca15c7e8223ce99ddcb00e6099e49c7dd0b433ac46d7c922bf37b416b6a29bcba544f180713d60dc29fc5f4b0c21f02c4360044e6da949f3116b1a066284ecb6 SHA512 e6639ddc59c2d2c7234ba44fe44b8a66b39187130aa4555345cb25d5f478f85c56f7611b6f6b61ffe46e6bf2e7aae1b46d6b53ee1242de79b8d094dcaec5c3b1
DIST linux-6.8-pf7.tar.gz 234556415 BLAKE2B 311e5099dfe887df66b007d160f7b52d3fea8a36fa84906e464377764732bb11ec4f14e268cc10c432ced04200b7cfc0a52230b1a77502054e006cf6c69d4da7 SHA512 529daca0ef5bba7beb9c05d1c12e5211c75bf0c3f18169addbe71f3509ce2658d26bb3e32d416d14befe9a80998ed163ca796443bd955ba592368c4e8d516d85
DIST linux-6.8-pf8.tar.gz 234558692 BLAKE2B e4c7322d80a3aad75e726abd61dfc096ea6d585726a1801677a17556227f9ee225ec05e7db1c228dbb8614717ec48dd40fd5666b3be2c7470219523932c68c20 SHA512 02da0dc7cfc93359c9d27595caa6c4c31c710c5c2809804fc6f0f58206e14a55bae4e36d808a83142eff32ad6dccebf72283cd3cebe3f8ac2c886349693d927f
DIST linux-6.8-pf9.tar.gz 234558324 BLAKE2B 1eacf22d0ef283305dcae2770f24ced70cdbcb3c79c2b420d9807d681f8522c8fca1e3034267a95165fb137bd88fe439f7070c81df68edb4d5f97526d4f2c9a9 SHA512 11e9b7735bbc8a90c6fa5ef0399d6283311f8fd4a49889cc5dbfa10e3dfd1b1bffb81e87fb456189a3069396c92d276ef1c30511d4b714dbbb8cfeda9e623031
+DIST linux-6.9-pf2.tar.gz 237439785 BLAKE2B 02c3b3eeb9bc6191262b7a373ab80149d2e8cd4dcc21b87d99fb25ae64f61f4f474e9dfd5bee360024a583c6f0bb10fe48e26f841848d2c58066c29720e046ba SHA512 d5da968cfebd34833fa1d8d54092e7d16ee994afc021f6b78c3d09868a7cf4d93561d1ab10868f9bb9b8079904f88b63f6a6ce55d150d6b0cc50230b7660e31d
+DIST linux-6.9-pf4.tar.gz 237420794 BLAKE2B 92582bfe8ece5af13d213c9dcdfa5859e35542208cb9373fac179d3701bff69a69cd80a2be93aaac689ca2190876dd6b965457ed198a8704bd3f793707c41a9f SHA512 8fec0b842a78ec2cb05942b5dc3f77210cd0e1f8bd7857903e71eb42471677d1e699dc3f33a928b04e0911db4d793620b1bea161f271bed93b64a408495ca813
EBUILD pf-sources-6.8_p1.ebuild 3036 BLAKE2B 3efad19b422710a4aa5ebf825e37a762b755fedc15fa7334417c6d852c1fe428bd7b8cbf9ba325c1a00d5d4eaf803929ef84365528a8c326ce4c2ad2ce062095 SHA512 0cd99d290ea7c709ba57773cdc3029eed31b858457f76066e52209e30b9c5c228071d05c9bd19585461d52011d6489373d425896ac8e029d4e8073a21ab3bde7
EBUILD pf-sources-6.8_p5.ebuild 3036 BLAKE2B 9b5363e7ed75060f4e3356a8e5cf8dd6eb0883dafeaacd58d73b8d2df55632945a158106d8ff1477eeb2804d7be748aabc570cff46293a32b3c6502b02596baa SHA512 f9d534140c1cccf0668e0da60856c9f489e0b53b28bd9d9ccd80a509b7d4a92f0d9fdd7274d84520c19c6efcc7f92a99730950326c59f65b8e33d86e06092773
EBUILD pf-sources-6.8_p6.ebuild 3037 BLAKE2B eb4c01e1dc66c6afd1e5ea1352d131aaa3b7cf8a1d6608d3b1e796f69bbb039e2af69a67cc0db623ccf43a827383c994ab11c1a0b202a86db449d449a890623f SHA512 05d91c6579e6076d0c88579cc3d11eced44eec634a547cddf537b252bb01f6ace5206ba8271934a35c0fd9bbe693342bee011946f9fdc886361aa103ece991a6
EBUILD pf-sources-6.8_p7.ebuild 3037 BLAKE2B 386f056ca4e538b14cda4ce4640790519d7ce07a32bca0d7391e34de942aa5353a4e054f2481e5c6cd45855306de271111811849cf0d87b97d142ffc267378a0 SHA512 0404279ea75e9361f2fc3151ac663f0d741fa444be48eff3919497e48da2925fd062852645b41af898f1c7b96557829cef8de23d334de6e90cd23823f04c30de
EBUILD pf-sources-6.8_p8.ebuild 3037 BLAKE2B fec10f0f4b517a4323b9742c7b6d33e5ef616b4578af8dbd8c1a889b761e0b3edbc93e840993ae78d311f815f12387f5ac252a07dcf9415ce16f1ffca24a6a5c SHA512 716fd78a95005972ca6a32dff46cb53de1f00a88a05818731183ef82fd45c33c63b2a801423575de540ed1d6545b55057b9d8c7e321c19a27ee2ac9285418512
EBUILD pf-sources-6.8_p9.ebuild 3037 BLAKE2B fec10f0f4b517a4323b9742c7b6d33e5ef616b4578af8dbd8c1a889b761e0b3edbc93e840993ae78d311f815f12387f5ac252a07dcf9415ce16f1ffca24a6a5c SHA512 716fd78a95005972ca6a32dff46cb53de1f00a88a05818731183ef82fd45c33c63b2a801423575de540ed1d6545b55057b9d8c7e321c19a27ee2ac9285418512
+EBUILD pf-sources-6.9_p2.ebuild 3036 BLAKE2B 7afcf5b03f36fcd631df65480bb0fb7b3431cb32a4e93b3f8c9abecbd604a540dc03c416d4ef025924b2fcda0638da9e50ec3531d9104b1d40cbeecaf4feb7b2 SHA512 8c55a45fa98429cfb1191c2f615a6143c8e0b72ae34eb5847eb200df0c7db3ed79e390229d2016e5482bfc77ddb775a9b2413de4dced852d37b93b68339639fa
+EBUILD pf-sources-6.9_p4.ebuild 3036 BLAKE2B 484a47aaa99033f1d119934053eebf9c20caec3c412ba6a403e72767444921a89cdd65180233936eb98d84881f166d0edf10c6fb167e1b67413e4bb69644a712 SHA512 0cb6ea3e0d88a070b2d59e8aeb0c95374fb8cc2325e47ecaeffc6560564c48c9357d7d9b2c296d59c94addf28de5d9a09bc6a7df4adccc2420de7bc30967dc3f
MISC metadata.xml 455 BLAKE2B b199aabd6aac273739543fdf3af0abf6679e70a1c61c978721373ada02643020132d7df16b7a1df450438b42accff86b154b4a4cf141f8913470ec7547286018 SHA512 452031fea100dec1e29bd297ab5ca70e983b34091de0c2c3a744f85e35aa0fe1b92fe793f50684a06c4dc2dafbb77da00eadf444d124b4a96fa69c4671fcd393
diff --git a/sys-kernel/pf-sources/pf-sources-6.9_p2.ebuild b/sys-kernel/pf-sources/pf-sources-6.9_p2.ebuild
new file mode 100644
index 000000000000..2a01b569b3a5
--- /dev/null
+++ b/sys-kernel/pf-sources/pf-sources-6.9_p2.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Define what default functions to run.
+ETYPE="sources"
+
+# Use genpatches but don't include the 'experimental' use flag.
+K_EXP_GENPATCHES_NOUSE="1"
+
+# Genpatches version to use. -pf patch set already includes vanilla linux updates. Regularly "1"
+# is the wanted value here, but the genpatches patch set can be bumped if it includes some
+# important fixes. src_prepare() will handle deleting the updated vanilla linux patches.
+# See https://archives.gentoo.org/gentoo-kernel/ (or subscribe to the list) to see all patches.
+K_GENPATCHES_VER="2"
+
+# -pf patch set already sets EXTRAVERSION to kernel Makefile.
+K_NOSETEXTRAVERSION="1"
+
+# pf-sources is not officially supported/covered by the Gentoo security team.
+K_SECURITY_UNSUPPORTED="1"
+
+# Define which parts to use from genpatches - experimental is already included in the -pf patch
+# set.
+K_WANT_GENPATCHES="base extras"
+
+# Major kernel version, e.g. 5.14.
+SHPV="${PV/_p*/}"
+
+# Replace "_p" with "-pf", since using "-pf" is not allowed for an ebuild name by PMS.
+PFPV="${PV/_p/-pf}"
+
+inherit kernel-2 optfeature
+detect_version
+
+DESCRIPTION="Linux kernel fork that includes the pf-kernel patchset and Gentoo's genpatches"
+HOMEPAGE="https://pfkernel.natalenko.name/
+ https://dev.gentoo.org/~mpagano/genpatches/"
+SRC_URI="https://codeberg.org/pf-kernel/linux/archive/v${PFPV}.tar.gz -> linux-${PFPV}.tar.gz
+ ${GENPATCHES_URI}"
+
+S="${WORKDIR}/linux-${PFPV}"
+
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+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_unpack() {
+ # Since the Codeberg-hosted pf-sources include full kernel sources, we need to manually override
+ # the src_unpack phase because kernel-2_src_unpack() does a lot of unwanted magic here.
+ unpack ${A}
+
+ mv linux linux-${PFPV} || die "Failed to move source directory"
+}
+
+src_prepare() {
+ # When genpatches basic version is bumped, it also includes vanilla linux updates. Those are
+ # already in the -pf patch set, so need to remove the vanilla linux patches to avoid conflicts.
+ if [[ ${K_GENPATCHES_VER} -ne 1 ]]; then
+ find "${WORKDIR}"/ -type f -name '10*linux*patch' -delete ||
+ die "Failed to delete vanilla linux patches in src_prepare."
+ fi
+
+ # kernel-2_src_prepare doesn't apply PATCHES(). Chosen genpatches are also applied here.
+ eapply "${WORKDIR}"/*.patch
+ default
+}
+
+pkg_postinst() {
+ # Fixes "wrongly" detected directory name, bgo#862534.
+ local KV_FULL="${PFPV}"
+ kernel-2_pkg_postinst
+
+ optfeature "userspace KSM helper" sys-process/uksmd
+}
+
+pkg_postrm() {
+ # Same here, bgo#862534.
+ local KV_FULL="${PFPV}"
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/pf-sources/pf-sources-6.9_p4.ebuild b/sys-kernel/pf-sources/pf-sources-6.9_p4.ebuild
new file mode 100644
index 000000000000..909c9f2f67cd
--- /dev/null
+++ b/sys-kernel/pf-sources/pf-sources-6.9_p4.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Define what default functions to run.
+ETYPE="sources"
+
+# Use genpatches but don't include the 'experimental' use flag.
+K_EXP_GENPATCHES_NOUSE="1"
+
+# Genpatches version to use. -pf patch set already includes vanilla linux updates. Regularly "1"
+# is the wanted value here, but the genpatches patch set can be bumped if it includes some
+# important fixes. src_prepare() will handle deleting the updated vanilla linux patches.
+# See https://archives.gentoo.org/gentoo-kernel/ (or subscribe to the list) to see all patches.
+K_GENPATCHES_VER="4"
+
+# -pf patch set already sets EXTRAVERSION to kernel Makefile.
+K_NOSETEXTRAVERSION="1"
+
+# pf-sources is not officially supported/covered by the Gentoo security team.
+K_SECURITY_UNSUPPORTED="1"
+
+# Define which parts to use from genpatches - experimental is already included in the -pf patch
+# set.
+K_WANT_GENPATCHES="base extras"
+
+# Major kernel version, e.g. 5.14.
+SHPV="${PV/_p*/}"
+
+# Replace "_p" with "-pf", since using "-pf" is not allowed for an ebuild name by PMS.
+PFPV="${PV/_p/-pf}"
+
+inherit kernel-2 optfeature
+detect_version
+
+DESCRIPTION="Linux kernel fork that includes the pf-kernel patchset and Gentoo's genpatches"
+HOMEPAGE="https://pfkernel.natalenko.name/
+ https://dev.gentoo.org/~mpagano/genpatches/"
+SRC_URI="https://codeberg.org/pf-kernel/linux/archive/v${PFPV}.tar.gz -> linux-${PFPV}.tar.gz
+ ${GENPATCHES_URI}"
+
+S="${WORKDIR}/linux-${PFPV}"
+
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+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_unpack() {
+ # Since the Codeberg-hosted pf-sources include full kernel sources, we need to manually override
+ # the src_unpack phase because kernel-2_src_unpack() does a lot of unwanted magic here.
+ unpack ${A}
+
+ mv linux linux-${PFPV} || die "Failed to move source directory"
+}
+
+src_prepare() {
+ # When genpatches basic version is bumped, it also includes vanilla linux updates. Those are
+ # already in the -pf patch set, so need to remove the vanilla linux patches to avoid conflicts.
+ if [[ ${K_GENPATCHES_VER} -ne 1 ]]; then
+ find "${WORKDIR}"/ -type f -name '10*linux*patch' -delete ||
+ die "Failed to delete vanilla linux patches in src_prepare."
+ fi
+
+ # kernel-2_src_prepare doesn't apply PATCHES(). Chosen genpatches are also applied here.
+ eapply "${WORKDIR}"/*.patch
+ default
+}
+
+pkg_postinst() {
+ # Fixes "wrongly" detected directory name, bgo#862534.
+ local KV_FULL="${PFPV}"
+ kernel-2_pkg_postinst
+
+ optfeature "userspace KSM helper" sys-process/uksmd
+}
+
+pkg_postrm() {
+ # Same here, bgo#862534.
+ local KV_FULL="${PFPV}"
+ kernel-2_pkg_postrm
+}