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: Thu, 28 Dec 2023 08:17:11 +0000 (UTC) [thread overview]
Message-ID: <1703751383.b70d27e309fadbe13844fc55a6f327023e803122.juippis@gentoo> (raw)
commit: b70d27e309fadbe13844fc55a6f327023e803122
Author: Frits Letteboer <dagraver <AT> gmail <DOT> com>
AuthorDate: Sat Dec 23 13:50:39 2023 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Dec 28 08:16:23 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b70d27e3
sys-kernel/pf-sources: add 6.6_p5
Signed-off-by: Frits Letteboer <dagraver <AT> gmail.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
sys-kernel/pf-sources/Manifest | 3 +
sys-kernel/pf-sources/pf-sources-6.6_p5.ebuild | 95 ++++++++++++++++++++++++++
2 files changed, 98 insertions(+)
diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest
index 3c4a27892a07..a0dcf983e61e 100644
--- a/sys-kernel/pf-sources/Manifest
+++ b/sys-kernel/pf-sources/Manifest
@@ -2,6 +2,8 @@ DIST genpatches-6.5-1.base.tar.xz 4888 BLAKE2B adcbb4c9f48e94781dfb3f38b32f4d60b
DIST genpatches-6.5-1.extras.tar.xz 3700 BLAKE2B b9fd452eb544031092219faddff94e96c48e7b39815fd48922b959a8d44033e443368f9825c5ffedc9f75fb851a74a6c252b9c7b9bdaaadb78727b804a7e9c5f SHA512 813a15a65ce8033d34b9eb42749fd7b2f2a604288b4c3a56aef295c994322c5cc95dd14fd35ac8335d3d036bdb708cadfc8bf2a4b35c406f420589af476bcf98
DIST genpatches-6.6-1.base.tar.xz 4044 BLAKE2B 5936817ce6dcf9e395b1f54efbf8890875bd00d6d59a1ab01bd4ce1d8c46756bd2599a149cdfd6fb745b7038c5213f60086aa76fa12c5fa50072efc7e528691f SHA512 fd07f605479ca9439aae0876b4597918bc847c00dc594e80be263917fb0bb1a87a6c8465c15f1f5c7bcc39359b6ee92eb56365878a9017b9a8185eccd4cd30f4
DIST genpatches-6.6-1.extras.tar.xz 3700 BLAKE2B ae850052cea73d318cfde8ea35eb351dd0b4177d3a5f55614541eaa62cadf58723148871cd6cc87d0bdbf35d05b4f9db54432a324f2f0e7bedf6773cb419bc2e SHA512 5dc25b2c4daccbc5b7c275071e460b9c662fbdfc1a82eeff1da00437660f6d0ab8882cb79d48520e60e4c3f0a16a79564f3a0ebbd515b3d42fb6289fc9c8e29a
+DIST genpatches-6.6-10.base.tar.xz 603340 BLAKE2B cc3220f1df9406c393605942e1a6fdaaf8ab46da53bc2fe6d001c9608a55ae2e5073d94805eb233183142e81bcea9bab1ed4700e298fc32c16c033597219f9ad SHA512 1f0149759b98fa099bda28aa1c4913719f0b5c0c715a72f6c0b13d3faf317a8935ce10508cd3459c50e39a7759feb44e7cf43fd49b87bd5ccd6d42a5dfc531d1
+DIST genpatches-6.6-10.extras.tar.xz 3704 BLAKE2B 8b5e1453dd7bbbb7ee6dd02aef5e25e95f09a12a46d9dc014d71fe8fda96b94770f3cee75fa6f1db6bc9bdb67b39d272f8f887fc2986a17769237768bf6a382f SHA512 6ca7a360dc217684b1a06f869223a52772f267d48088d5e286dd27056faf34e9c4b4d575aa771c5f9b972febd4c656e32f470c4499feecd47716b07cc13ab933
DIST genpatches-6.6-7.base.tar.xz 472596 BLAKE2B c5f69fa43401555567c9e5c3b5bad31ef55a3f49756f86e1e5cb935cf8cffb6ee080f411b5113dc3fb9d43224de432e6f1f6fb5a18082d269e30181e72aa1fcd SHA512 6098a5d32ff83fe2ceb094055be6336a19c40246946606fd0b39e86ce8bf53b96cd5539e6cbc774dc865f4be742ac3c127f8f48ff5cd3a50484dcd5afb7b9df3
DIST genpatches-6.6-7.extras.tar.xz 3704 BLAKE2B 1bd0d01aefad3c47f2b7bdc550e607d2c4ba8e0cbbdbe3ba4ef57e539f9bd894222ca6f01908e6bb27221de1331634a6941867c7d6bece9620510110bf276107 SHA512 6da82d251ac6c33b8d2837e1a44a32ab5106f0a5816a8e76354c7d9eef510b4f485edfb1b80dad68e59b3a96494bed590ba1508f7b96697c364fd52c97b65496
DIST linux-6.5-pf5.tar.gz 228002908 BLAKE2B 9a2aae312b54ff78546bc8c5930510bad72a6c856602adc404b8e4c1e59bba22445b263c8480377e17a5f2698c7efc21c75bf1ad06ebdee31a64fe8fdaa46ed9 SHA512 77cfd8f869b4b5da1f6109f16125605875246233880a71b27545a97bd76d42f78c07c419b7526c5313b591a055430fa8b4fd271192a872b944092520222f4a2f
@@ -10,3 +12,4 @@ DIST linux-6.6-pf1.tar.gz 229217046 BLAKE2B 9426ebab28f9ee516dcc48ef8343c624960b
DIST linux-6.6-pf2.tar.gz 229223034 BLAKE2B 8e089eb63597d9069a3dd9cafe38269a7c49dffb646f39082916ec818bd9754ff691d4c0c60c7f6df5f720dd404007a1d8a7e2931977a4dcd474dfb04c950562 SHA512 49a7bba50ee00008b6441aa0c6e191866bc1beb042c107b950639e48c3a2c345f7704930c14df0e9e3b6ffeb2fbbfb1330a1a5c1e07378232e2cb2160dd4da4d
DIST linux-6.6-pf3.tar.gz 229268485 BLAKE2B 31f58d15ede9f8d741d2c7f0d5a8d0264aa4ec48b174601897cda903a33760a9222846c1c282b2f895c40d5044ee63723848938ba95dcb6ea6ed948d618f7dd3 SHA512 c71bcdf7bd1ed7eb8dc2b7a09cfef90a8df1018517b79311432e4ce0a8d3b4d6f77728d2840fbf05c4489ea4091d129b0686e467e3ef26401398595f8efada08
DIST linux-6.6-pf4.tar.gz 229255097 BLAKE2B 01c2c4b84ad6bfa7b944acba6fcc5bd27edbb8d2d34c3e5136177cf48c3cc5bc61ceb6be1aa5ab46c92998e783ca264fc15fef1fb43ac143cf001b75e7d7f30a SHA512 2595886d208bd3319a3bfff418a463129c1b037e1fa5e25de08864ec3b34bb61bf10900a24b1c0a1d94b287593a6213fa20b15d3df47d1155015e0b973cf0114
+DIST linux-6.6-pf5.tar.gz 229408330 BLAKE2B a6e2f8bbab60461c7f3d70899aa9cd0fb90bdb51eee2a969fc85a47e1316f9c70fce108f88d4aa9197524ca2cb97ef9e617aa030b2bcc4fd93c7b9be90a771b0 SHA512 3c49c82a66b0bf86dd9a65c6695682d4bc3f48c8b375fc05846c2efee19a6d99b548142e1e121064912fd36829235716f81a5552ae01a414ee6ebf1ca9605434
diff --git a/sys-kernel/pf-sources/pf-sources-6.6_p5.ebuild b/sys-kernel/pf-sources/pf-sources-6.6_p5.ebuild
new file mode 100644
index 000000000000..611aaf598eb4
--- /dev/null
+++ b/sys-kernel/pf-sources/pf-sources-6.6_p5.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2023 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="10"
+
+# -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
+ 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"
+
+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
+}
next reply other threads:[~2023-12-28 8:17 UTC|newest]
Thread overview: 220+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-28 8:17 Joonas Niilola [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-07-09 12:28 [gentoo-commits] repo/gentoo:master commit in: sys-kernel/pf-sources/ Joonas Niilola
2024-06-10 12:46 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-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=1703751383.b70d27e309fadbe13844fc55a6f327023e803122.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