summaryrefslogtreecommitdiff
path: root/sys-kernel
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-12 12:46:41 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-12 12:46:41 +0000
commit0c97119fc8982c1a6f367de25542834e4dd6cda4 (patch)
treedad39da062cf02375ff493ad8b9a147a1b906a2c /sys-kernel
parentc6e62298405d39e635c0d8dd6e026c8cb667a478 (diff)
gentoo auto-resync : 12:03:2024 - 12:46:41
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/Manifest.gzbin4556 -> 4560 bytes
-rw-r--r--sys-kernel/pf-sources/Manifest4
-rw-r--r--sys-kernel/pf-sources/pf-sources-6.8_p1.ebuild94
3 files changed, 98 insertions, 0 deletions
diff --git a/sys-kernel/Manifest.gz b/sys-kernel/Manifest.gz
index 6f9e3109b2cb..5a8436dddc20 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 d4ce5e98c2ca..f2034b2127b6 100644
--- a/sys-kernel/pf-sources/Manifest
+++ b/sys-kernel/pf-sources/Manifest
@@ -4,14 +4,18 @@ DIST genpatches-6.7-1.base.tar.xz 4812 BLAKE2B 152e6d2f4917d75e10554eecb05a0494a
DIST genpatches-6.7-1.extras.tar.xz 3704 BLAKE2B a030f820814c70c9e5605de1596455052cf8f0c346156ef4f480cedb4779e564e6082755cf0a5e2066ddee46b741f03c4cc118797d27a9566ffeecebba021e81 SHA512 8d46cbdeed8c59679502e269d570f679e4f3d0293b6e9ee302ca9bc0e73ac5c3ec1470f26d6b7efc66a3566b5f8dc44ed6b5a9f04e4307ec496381e32b96fdaa
DIST genpatches-6.7-4.base.tar.xz 193776 BLAKE2B d0b6ee8e055d0c3b8122e1050818b49600a94c8b1b06ee4b6209d89207d527fc6c65352c728e359ad2830830ff25079a2d6d6ef6a55ecf60e43887c16673376f SHA512 5cc15425a7e9e80320f0b18b891d2efa2dfab4090441003b3c617d820c7e449a792aa266941bde0d22ba26e9a6999e42c3b686b270bc00389047678dd71b93d0
DIST genpatches-6.7-4.extras.tar.xz 3704 BLAKE2B bf9fe3be461e9a5e7ebe59704bf22a418b67644345728b494ce3b725c03902d7cc226a32cc46c831afbb07e0111d397556b9f12c63871a8f173d7fe136acb2f0 SHA512 70e91002ba6b48fb9161a1f28279f29636e381a34b67856bb492fa36edbce68ae8aed48f50df5e7a14c59f1f8fa4e74ab9430b7cf762a5dd3feee08952213f69
+DIST genpatches-6.8-1.base.tar.xz 4136 BLAKE2B a5bda1bbbe2f1d772226661e15329f52a09166e049b2c7df259fcf4bdfce0585fdafe798ce15cfbe8d66e7fbd69a3fbd29abd1bc0e2f98cca89fd09c9bac2884 SHA512 a6a9bceb77afab73d2f7686b27079b6d294861408c1e7cae399e1a8ab6f7a4e31d196f73cce84aa81f38ee8a8880ff2bad81541c2b22503105f0f4198d2001a0
+DIST genpatches-6.8-1.extras.tar.xz 3700 BLAKE2B ba0d9f61231a6df70eec23c74d18343420f8ff8e04777a1e19b90b64f89bbe345647fc5df41636458ed567bcb2ebf42445013060caff604654c4d0b9c259c5f0 SHA512 56c7c8996afc570775d5341066614f815d0233ddfc9ae55689c0929758e39fc01427da59b973c102451776f63a98f95c54fc8801bc303c3f5c14fe2612ec27a8
DIST linux-6.6-pf6.tar.gz 229421927 BLAKE2B c2ebb40db76c282e3d3db0f06d5effec815f543b196ec7d048197508b72294fb1acfd4c0a09db3da433cbcd749bd71e765222a2102fdc87e920bb2f4e80bf4d2 SHA512 c94bc93e88127fc2e4b13604cead8eaa2cb191e35633857ac7b57022604cb9ef9791cbb4db78b79a174eb4fb4c36ecb71173c3fc897540ccf93f991abaf02cee
DIST linux-6.7-pf1.tar.gz 232766936 BLAKE2B 31ba8ebdabeb8dc1e54c995b7f90138f3c45f4931f5aa24f1fe211854e47ec823ad3ae4f23f2f4474a41c823d977a707d14d79e200a1f9607bd36efb8524e00e SHA512 91ae92179216a93d24b9db009fbeeeb7b85ea7547921060acb0c4aa5f1c9a2282dea035dd97e66439ee87ed89ff6b531b94a5529e68cff56eee89158a4558982
DIST linux-6.7-pf2.tar.gz 232630345 BLAKE2B 9193b6e8a910c54a39dbe2c6a379e09305a85eec5328a8a8ec25374654f5a39f7ca64795a688eb4d89dafc8e2664514fc1153b540eca6cf89895330fc4f92a48 SHA512 3dba41edc9bd8b3848604fe1d82520e983cbc7706d77f17c7863ccf5c2cf9647987ef6682f6a3bd250fd53e708f2092ce9b354d20c90809ffc66245d225f79c3
DIST linux-6.7-pf3.tar.gz 232642147 BLAKE2B c5d67d60c4fdeaeb5e8ee20849a495004dae915587a058a874fb0620fde708fbb6e2e5281e517c133354aad87e834dda5a8187616b5d491b613b9d2afe907acc SHA512 360d6620d1e4951bfe113fee30a11c13ce9623f29cf7add7e8a35c913a40bf618391d2d2cc712d90381d0fc03e76b39f78cd2aeb9c8c159ce72b818ca5f734ec
DIST linux-6.7-pf5.tar.gz 232643902 BLAKE2B fd56140692794ce4c3aa17870c69b08770002864b59272a038cb0f01575f2bc33a59bb82181a59dc3aac54838dd0501ac4b7a5d564420f0d134ee5d7e63caed4 SHA512 b253ee87e14efc5b859c78d25b5a2e3ecac98c6819673bfdb709a531e59f06c185bf531a523174663cdd03371469424ee193cdf4c7cfc7974c34fc7f85acd0d1
+DIST linux-6.8-pf1.tar.gz 234545846 BLAKE2B d51b5d7ad395f8abd68636290f21a4800736e2b57b6ba5a29cc8983cdf81a13ed6db8a8a7468704561200d2d299eeb9d5bc6378a19e1b0948cdfca2f6c93bf76 SHA512 18d5816f70a02efc45a1b26f703b7d1686fd0196aa396c2fe007bf60357249deeb482e87d024e5ee78dcd4e19e48da2d17e8161c1154bd0f23b792ebb3578568
EBUILD pf-sources-6.6_p6.ebuild 3037 BLAKE2B ae03e4afd3ede23f54997026898e0c581e4853ed366a0dd0fbe596825beb53a2c842013f6bdd203a323a75b9cabb1e4290afc4b041734fc12761bbfe382a668d SHA512 fa6efa3047df48a0161e10c0583b9ef5d17774ed0d120f529bcc603e29ae5c31cf34c59f64e1df3c959853b7b48f5219be0a6327efcbd3d4d34920a7151975e0
EBUILD pf-sources-6.7_p1.ebuild 3036 BLAKE2B 3efad19b422710a4aa5ebf825e37a762b755fedc15fa7334417c6d852c1fe428bd7b8cbf9ba325c1a00d5d4eaf803929ef84365528a8c326ce4c2ad2ce062095 SHA512 0cd99d290ea7c709ba57773cdc3029eed31b858457f76066e52209e30b9c5c228071d05c9bd19585461d52011d6489373d425896ac8e029d4e8073a21ab3bde7
EBUILD pf-sources-6.7_p2.ebuild 3036 BLAKE2B 3efad19b422710a4aa5ebf825e37a762b755fedc15fa7334417c6d852c1fe428bd7b8cbf9ba325c1a00d5d4eaf803929ef84365528a8c326ce4c2ad2ce062095 SHA512 0cd99d290ea7c709ba57773cdc3029eed31b858457f76066e52209e30b9c5c228071d05c9bd19585461d52011d6489373d425896ac8e029d4e8073a21ab3bde7
EBUILD pf-sources-6.7_p3.ebuild 3036 BLAKE2B 3efad19b422710a4aa5ebf825e37a762b755fedc15fa7334417c6d852c1fe428bd7b8cbf9ba325c1a00d5d4eaf803929ef84365528a8c326ce4c2ad2ce062095 SHA512 0cd99d290ea7c709ba57773cdc3029eed31b858457f76066e52209e30b9c5c228071d05c9bd19585461d52011d6489373d425896ac8e029d4e8073a21ab3bde7
EBUILD pf-sources-6.7_p5.ebuild 3164 BLAKE2B 402133e050161bf299ca89de20c2828d29247d31fa134cdc41eca3b5a72674df3e34bfe3731edc68d42c00627c1af86e6f89a405cc5a6a626b17ba850be6b9a3 SHA512 5006747c72df0d08bbc274bd54a631420aa8e878a899b1a9f1230a0b6f29ff8eba0b1d986191c2685e99e3e63f14790c0884652b84e1ec5876d310744e0ff101
+EBUILD pf-sources-6.8_p1.ebuild 3036 BLAKE2B 3efad19b422710a4aa5ebf825e37a762b755fedc15fa7334417c6d852c1fe428bd7b8cbf9ba325c1a00d5d4eaf803929ef84365528a8c326ce4c2ad2ce062095 SHA512 0cd99d290ea7c709ba57773cdc3029eed31b858457f76066e52209e30b9c5c228071d05c9bd19585461d52011d6489373d425896ac8e029d4e8073a21ab3bde7
MISC metadata.xml 260 BLAKE2B 957e1545a0c47acf6020529f4e2ae0480ec07761a01b9f97143d7088e6fafa49e942c925d227f05b8683f49ce236881c00e904db2d6a8297d10424f11a872881 SHA512 160e8085f846936ed805fc43e152e838e1d9562bb8222bee4a36a4057c871a9f47d82a673fa5bdb9a6e33f1c827d9683966c608e49df3e46dcc3f7179b03ed39
diff --git a/sys-kernel/pf-sources/pf-sources-6.8_p1.ebuild b/sys-kernel/pf-sources/pf-sources-6.8_p1.ebuild
new file mode 100644
index 000000000000..4b3ad9c0fee3
--- /dev/null
+++ b/sys-kernel/pf-sources/pf-sources-6.8_p1.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="1"
+
+# -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}"
+
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+S="${WORKDIR}/linux-${PFPV}"
+
+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
+}