public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/pf-sources/
Date: Tue,  9 Jul 2024 12:28:56 +0000 (UTC)	[thread overview]
Message-ID: <1720528134.f9b4b91d8c2c576507c0272099c95129eed9d442.juippis@gentoo> (raw)

commit:     f9b4b91d8c2c576507c0272099c95129eed9d442
Author:     Frits Letteboer <dagraver <AT> gmail <DOT> com>
AuthorDate: Mon Jul  8 13:04:45 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Jul  9 12:28:54 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9b4b91d

sys-kernel/pf-sources: add 6.9_p7

Signed-off-by: Frits Letteboer <dagraver <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/37485
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 sys-kernel/pf-sources/Manifest                 |  3 +
 sys-kernel/pf-sources/pf-sources-6.9_p7.ebuild | 94 ++++++++++++++++++++++++++
 2 files changed, 97 insertions(+)

diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest
index ea90a6dbcc3e..46711469225c 100644
--- a/sys-kernel/pf-sources/Manifest
+++ b/sys-kernel/pf-sources/Manifest
@@ -12,6 +12,8 @@ DIST genpatches-6.9-2.base.tar.xz 7216 BLAKE2B bdff81d1d53ecf00379d8acad8c9b3096
 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 genpatches-6.9-9.base.tar.xz 548708 BLAKE2B e0130d225056f77c92e566eef9db643ecdef6faf2f81e8329859830850bb5409e212aca0ab0da85b9b1e3377121221259044dac650986ec05feac46f4d588a5d SHA512 714016638f866b536b85edd24e3e44513048591aa270dbee1460c5893b3e8b0508f299d86a202deacd10f105c0da48038d78219226b2808e17012d1811df391e
+DIST genpatches-6.9-9.extras.tar.xz 4048 BLAKE2B 7be69cb63abf9df9267bc61e3e365672dbd1c0b3568d48bf949b660ff1abb483b28846eb36a162ddd9bd91473c25462440fd41a7ba3bac70467ad45fa88fdd29 SHA512 955cd846bb020d08888aac04ebc5c1e56429e11ac59601a3e068971ad05aee59b75a24722dc7fe2645ef4414424d21e117e2eeb24ae72a5949476a213f3383fa
 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
@@ -20,3 +22,4 @@ DIST linux-6.8-pf8.tar.gz 234558692 BLAKE2B e4c7322d80a3aad75e726abd61dfc096ea6d
 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
+DIST linux-6.9-pf7.tar.gz 237414253 BLAKE2B de180c27be58659502eb452d297ca53828ea6e071191b15c2c574221f5b2a989bb88675aceec4a9fb5c5c07ba4e7f630d4bde734a99a850d8571f998c4605884 SHA512 c14f56b6b5e6ecbfc99c4f733a4761806e8485b580df28cdb0f34515b45c24f39c2d4ea5c50b53f7090b240cf48a99d56bfd8a3168fe0cbc432dfaf84e184401

diff --git a/sys-kernel/pf-sources/pf-sources-6.9_p7.ebuild b/sys-kernel/pf-sources/pf-sources-6.9_p7.ebuild
new file mode 100644
index 000000000000..180f1b9b5e92
--- /dev/null
+++ b/sys-kernel/pf-sources/pf-sources-6.9_p7.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="9"
+
+# -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
+}


             reply	other threads:[~2024-07-09 12:29 UTC|newest]

Thread overview: 220+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-09 12:28 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-10 12:46 [gentoo-commits] repo/gentoo:master commit in: sys-kernel/pf-sources/ Joonas Niilola
2024-06-10 12:46 Joonas Niilola
2024-05-13  6:49 Joonas Niilola
2024-05-07  5:53 Joonas Niilola
2024-04-30 12:50 Joonas Niilola
2024-04-30 12:50 Joonas Niilola
2024-04-30 12:50 Joonas Niilola
2024-04-30 12:50 Joonas Niilola
2024-04-15  6:03 Joonas Niilola
2024-04-15  6:03 Joonas Niilola
2024-03-12  6:57 Joonas Niilola
2024-02-07 14:37 Joonas Niilola
2024-02-07 14:37 Joonas Niilola
2024-01-27  9:39 Joonas Niilola
2024-01-27  9:39 Joonas Niilola
2024-01-27  9:39 Joonas Niilola
2024-01-11 14:19 Joonas Niilola
2024-01-11 14:19 Joonas Niilola
2023-12-28  8:17 Joonas Niilola
2023-12-28  8:17 Joonas Niilola
2023-12-11 13:04 Joonas Niilola
     [not found] <1702198812.dcff508d4242ee5e92644caac7b33c4e42853f11.juippis@gentoo>
2023-12-10  9:00 ` Joonas Niilola
2023-11-16  9:04 Joonas Niilola
2023-11-16  9:04 Joonas Niilola
2023-11-16  9:03 Joonas Niilola
2023-10-24  9:10 Joonas Niilola
2023-10-24  9:10 Joonas Niilola
2023-05-02  6:59 Joonas Niilola
2023-05-02  6:59 Joonas Niilola
2023-04-24  9:57 Joonas Niilola
2023-04-07  7:34 Joonas Niilola
2023-03-25  6:32 Joonas Niilola
2023-03-14 14:53 Joonas Niilola
2023-03-14 14:53 Joonas Niilola
2023-03-09  8:38 Joonas Niilola
2023-03-01 16:55 Joonas Niilola
2023-02-21 13:31 Joonas Niilola
2023-02-20  8:06 Joonas Niilola
2023-02-08  7:12 Joonas Niilola
2023-01-28  8:43 Joonas Niilola
2023-01-16  7:25 Joonas Niilola
2023-01-16  7:25 Joonas Niilola
2023-01-05  9:23 Joonas Niilola
2022-12-27 17:05 Joonas Niilola
2022-12-16  6:50 Joonas Niilola
2022-12-11  8:40 Joonas Niilola
2022-11-20  8:03 Joonas Niilola
2022-11-09  6:13 Joonas Niilola
2022-10-28 13:31 Joonas Niilola
2022-10-28 13:31 Joonas Niilola
2022-10-17  5:49 Joonas Niilola
2022-10-09 12:39 Joonas Niilola
2022-10-02  6:45 Joonas Niilola
2022-09-24 13:57 Joonas Niilola
2022-09-11  5:28 Joonas Niilola
2022-09-02  6:47 Joonas Niilola
2022-08-15  5:35 Joonas Niilola
2022-08-07  6:52 Joonas Niilola
2022-08-07  6:52 Joonas Niilola
2022-08-03  5:43 Joonas Niilola
2022-08-02  6:05 Joonas Niilola
2022-07-31  6:10 Joonas Niilola
2022-07-16  6:19 Joonas Niilola
2022-07-14  5:30 Joonas Niilola
2022-07-13 15:13 Joonas Niilola
2022-07-13 15:13 Joonas Niilola
2022-07-04  6:17 Joonas Niilola
2022-06-17  7:37 Joonas Niilola
2022-05-24  7:48 Joonas Niilola
2022-05-24  7:48 Joonas Niilola
2022-05-20  6:21 Joonas Niilola
2022-04-21 10:33 Joonas Niilola
2022-03-21 14:46 Joonas Niilola
2022-03-21 13:33 Joonas Niilola
2022-03-04  8:07 Joonas Niilola
2022-02-17  9:04 Joonas Niilola
2022-02-07  7:20 Joonas Niilola
2022-01-26 13:44 Joonas Niilola
2022-01-26 13:44 Joonas Niilola
2022-01-23  9:13 Joonas Niilola
2022-01-06  6:50 Joonas Niilola
2022-01-04 18:12 Joonas Niilola
2022-01-04 18:12 Joonas Niilola
2021-12-11  7:17 Joonas Niilola
2021-11-28 13:24 Joonas Niilola
2021-11-22  6:19 Joonas Niilola
2021-11-04  6:59 Joonas Niilola
2021-10-29  7:14 Joonas Niilola
2021-10-22  8:39 Joonas Niilola
2021-10-10  6:00 Joonas Niilola
2021-10-01 12:42 Joonas Niilola
2021-10-01 12:42 Joonas Niilola
2021-09-24  6:27 Joonas Niilola
2021-09-13  5:47 Joonas Niilola
2021-09-03  4:51 Joonas Niilola
2021-08-23  5:41 Joonas Niilola
2021-08-13 13:20 Joonas Niilola
2021-08-09 14:26 Joonas Niilola
2021-08-09 14:26 Joonas Niilola
2021-07-22  5:33 Joonas Niilola
2021-07-12 12:22 Joonas Niilola
2021-07-12 12:22 Joonas Niilola
2021-06-20  7:44 Joonas Niilola
2021-06-11  4:47 Joonas Niilola
2021-05-30  5:22 Joonas Niilola
2021-05-24  6:21 Joonas Niilola
2021-05-24  6:21 Joonas Niilola
2021-05-15  6:01 Joonas Niilola
2021-04-28 10:43 Joonas Niilola
2021-04-24  6:11 Joonas Niilola
2021-04-15  6:39 Joonas Niilola
2021-04-04 18:55 Andreas Sturmlechner
2021-04-01  5:33 Joonas Niilola
2021-03-26  6:44 Joonas Niilola
2021-03-19  6:23 Joonas Niilola
2021-03-08 16:32 Joonas Niilola
2021-02-22  7:28 Joonas Niilola
2021-02-20 16:36 Joonas Niilola
2021-02-15 16:03 Joonas Niilola
2021-02-11 14:02 Joonas Niilola
2021-02-05  6:50 Joonas Niilola
2021-01-29  6:08 Joonas Niilola
2021-01-20  8:35 Joonas Niilola
2021-01-17  8:12 Joonas Niilola
2021-01-14 16:38 Joonas Niilola
2021-01-08  7:17 Joonas Niilola
2021-01-05  7:41 Joonas Niilola
2021-01-01 14:48 Joonas Niilola
2020-12-27  7:21 Joonas Niilola
2020-12-22  5:38 Joonas Niilola
2020-12-22  5:34 Joonas Niilola
2020-12-19  7:25 Joonas Niilola
2020-12-19  7:25 Joonas Niilola
2020-12-14 13:39 Joonas Niilola
2020-12-14 11:11 Joonas Niilola
2020-12-02 17:57 Joonas Niilola
2020-11-23  8:15 Joonas Niilola
2020-11-11  6:31 Joonas Niilola
2020-11-02  9:54 Joonas Niilola
2020-10-14  7:24 Joonas Niilola
2020-10-14  7:24 Joonas Niilola
2020-10-09  7:25 Joonas Niilola
2020-09-27 10:27 Joonas Niilola
2020-09-21  6:14 Joonas Niilola
2020-09-12  8:16 Joonas Niilola
2020-09-07  8:55 David Seifert
2020-08-30  8:18 Joonas Niilola
2020-08-30  8:18 Joonas Niilola
2020-08-22  8:22 Joonas Niilola
2020-08-06  9:09 Joonas Niilola
2020-08-04 16:50 Joonas Niilola
2020-07-25  5:30 Joonas Niilola
2020-07-11  6:53 Joonas Niilola
2020-06-25 12:28 Joonas Niilola
2020-06-13  6:10 Joonas Niilola
2020-06-13  6:10 Joonas Niilola
2020-06-02 11:57 Joonas Niilola
2020-05-31 12:47 Joonas Niilola
2020-05-15  5:20 Joonas Niilola
2020-05-04  4:35 Joonas Niilola
2020-04-27 14:56 Joonas Niilola
2020-04-21 17:00 Joonas Niilola
2020-04-19  6:31 Joonas Niilola
2020-04-09  8:19 Joonas Niilola
2020-04-09  5:58 Joonas Niilola
2020-04-01  7:38 Joonas Niilola
2020-03-27  7:37 Joonas Niilola
2020-03-19  6:42 Joonas Niilola
2020-03-06 20:00 Joonas Niilola
2020-02-25 19:00 Joonas Niilola
2020-02-17 17:54 Joonas Niilola
2020-02-14 16:29 Joonas Niilola
2020-02-05  9:21 Joonas Niilola
2020-02-02  8:08 Joonas Niilola
2020-01-28 17:39 Joonas Niilola
2020-01-20 17:18 Joonas Niilola
2020-01-15  5:43 Joonas Niilola
2020-01-15  5:43 Joonas Niilola
2020-01-05 20:18 Joonas Niilola
2019-12-30 11:54 Joonas Niilola
2019-12-07 10:29 Joonas Niilola
2019-12-07 10:29 Joonas Niilola
2019-11-27  5:46 Joonas Niilola
2019-11-14 18:51 Joonas Niilola
2019-11-12 18:10 Joonas Niilola
2019-10-30 16:01 Joonas Niilola
2019-10-20 12:32 Joonas Niilola
2019-10-08  3:03 Joonas Niilola
2019-10-01 19:11 Joonas Niilola
2019-10-01 19:11 Joonas Niilola
2019-09-17  3:31 Joonas Niilola
2019-09-09  6:57 Joonas Niilola
2019-09-01 11:19 Joonas Niilola
2019-08-18 16:31 Joonas Niilola
2019-08-10  5:33 Joonas Niilola
2019-08-08 14:36 Joonas Niilola
2019-08-04 15:39 Joonas Niilola
2019-07-31  4:08 Joonas Niilola
2019-07-31  3:41 Joonas Niilola
2019-07-30 15:21 Joonas Niilola
2019-07-17 14:23 Michał Górny
2019-07-17 14:23 Michał Górny
2019-07-06  6:11 Michał Górny
2019-07-06  6:11 Michał Górny
2017-09-23  8:51 Markos Chandras
2017-09-23  8:51 Markos Chandras
2017-06-06 20:41 Alice Ferrazzi
2017-05-29 13:37 Patrice Clement
2017-05-06 13:43 Markos Chandras
2016-11-27  4:47 Mike Gilbert
2016-11-26 23:08 Markos Chandras
2016-08-07  6:52 Pacho Ramos
2016-07-30 14:39 David Seifert
2016-07-30 14:39 David Seifert
2016-04-15 19:14 Patrice Clement
2016-03-11 15:15 Markos Chandras
2016-03-06  9:58 Markos Chandras
2016-03-05 16:02 Markos Chandras
2015-11-04 21:09 Markos Chandras

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1720528134.f9b4b91d8c2c576507c0272099c95129eed9d442.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox