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: Sun, 7 Aug 2022 06:52:47 +0000 (UTC) [thread overview]
Message-ID: <1659855165.b23cd7bb5d26b9c28a48c8b704d1e88e3b72c336.juippis@gentoo> (raw)
commit: b23cd7bb5d26b9c28a48c8b704d1e88e3b72c336
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 7 06:52:12 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Aug 7 06:52:45 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b23cd7bb
sys-kernel/pf-sources: add 5.19-pf1
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
sys-kernel/pf-sources/Manifest | 4 ++
sys-kernel/pf-sources/pf-sources-5.19_p1.ebuild | 93 +++++++++++++++++++++++++
2 files changed, 97 insertions(+)
diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest
index badd9ccbee1d..2ac5bf1b639f 100644
--- a/sys-kernel/pf-sources/Manifest
+++ b/sys-kernel/pf-sources/Manifest
@@ -1,6 +1,10 @@
DIST genpatches-5.18-1.base.tar.xz 3800 BLAKE2B 52cf33aea903e8783b554127936ebde68b1c2655567a27a6dff8b94df675cde779f940735824766d2267c7d09df970522ed3721b3fe661dc12e64c4b105b4c99 SHA512 461037cb2fc9246f1e778123a9fd58682ed2749c95acd8d30dddc1a31a66cc4961bb5b133a05fd6fb19aea1a83bf0be8a76f9e6422fb4d696010d248609534a7
DIST genpatches-5.18-1.extras.tar.xz 3924 BLAKE2B b4c7e29f0237ae9e4e3300c8be75c0def63969e5c4dec52d4d5259a6b3b6d27406883e45d2ad4d0fe576a1285121037fb88fcdeab58a5fabbb58d4847cbfbbfe SHA512 0182a96feca475471d1dde2e8326067e98f8f43a6e9122e29635a52ae4ca56eaf6ac349b189a0198704c9adee62cbdbd2def7e90d2dad564c72bec2f8ff32ec9
+DIST genpatches-5.19-1.base.tar.xz 4080 BLAKE2B 27fe512fd700cc6fc1946ebe0b39b423f35fbdce3b6c2181e1e1c197dccf436c6ba285b8bbf74500c80c64c486831a88f0f548cbd787d925eefafe740764a839 SHA512 8ff90b26202ddb80890ce8a33debbb8b6b85432412e7f76fdbdd98e257e9be23ffa5c03c81cb8482b7a35099083dec800f766354b5886d4f8f7647e3354f97b6
+DIST genpatches-5.19-1.extras.tar.xz 3772 BLAKE2B 1d418c3d5d328e9704ba10d7483cd562e511f345a5cc6799abc52e6cdeca20efa61417f62eaf7aae2078a8bb05c7dbabe4f4ddba7ad4221b458bd5c589f29b47 SHA512 479d957a3348485baf6504a08cf06b334938656701b15067512c0f48e530c2e87ca281ad3af6e55c75a53d2e9e584d94fc030ee82c538a97a85cea9a9c8fe214
DIST linux-5.18-pf3.tar.gz 206979899 BLAKE2B e66670f81f55353f5850272316141833d5dfb804defd03bce2d1a84e404a2631cc5918714cb7dac75b4a9344d1cc597377bcdff94a034e5a544109e0ac2d12ae SHA512 85d9be125bc378ac5aada2f557e6636987c93a108bc7768ae3f314b03bdb4b2bfea66e4226ab04c6323464b3a299381356be49e85a458294fe3d39cd04ebed13
DIST linux-5.18-pf4.tar.gz 206956302 BLAKE2B 7eb7240792e2ab676facf7c3bae0811ec0db54c0d95d6ccd1ab60c50956e3fdb6cb4d5db3d77e5b08e7b18b78ffeebb5ac98d26ea4be0a7d04a49bc93421421d SHA512 b3b62618f0acb64f66369071eea503a0e894b3bb0c52941c738cc4ac7826a8327ddc32a27db02d493f3e022eacc18b1c7ed6d624b4a798e0773f17ee51f923fb
DIST linux-5.18-pf5.tar.gz 206988172 BLAKE2B ae5abdee064b429019d7aaa4801d0bf852ed94dfef3965486cbc58d084e68ab9276651297857c1e64d5430e8b17728d1ebd7db597afd7ed7580d100e84431921 SHA512 dde7c08750858a719c70ff332df67b73432ace56571c73dfb7af7bf4ab4d5b5fbfb94486ac97b4b95e252f51a3be125fdb05a3abdc1b7443fb45ca4074810996
+DIST linux-5.19-pf1.tar.gz 212145719 BLAKE2B 20264648efeac1589dfc76fc065860d9c7134661dd5ff1bb76996864ec7fee1f3cf6198d76da0d7cb5c1b9ca5fb1cccd2c63bb33e4d5fc9ba012c2cea8a38357 SHA512 eeef1d04add939a7826e7a25f5286606070e508c8ca4817a7e7616f947bdb1684819954d068e45964aa297df105a26dd996ee4662a182b3726010607df98edf7
DIST prjc_v5.18-r2.patch 270353 BLAKE2B 15d7ed7a0eb6f7ad37feaf52ab7c383e1c7c3e72fb41a767c8d1151a0ad41255c216ede1e4938a041f3b628874ed61398c61dd7b0e0b62090730f2fd0f6a70db SHA512 25c558bd6281a09bb611c6cca68084b27d0f2e290d2c0575e88b6a94322fad86de6dbeda30eb77919edd5adff921ad445593d9478f115ec93fa2e4c7ed6b5c1e
+DIST prjc_v5.19-r0.patch 271689 BLAKE2B 6bc109b462670602eba8ccba55cbcf9902402c627e40c62a3a574828847a518d84d35d30e786b2f1edd4365a3eaa3a2b358f20c013bb2789b30804c37fe12d45 SHA512 27011aa6586ca8c7ec953593f68289b437a7ddab841eb5e45dfca1fdfed5ddb59cf0e197703d4c62c2cd792fca9f2c97f341ffc5ee48a9ca3aff26f9505280ba
diff --git a/sys-kernel/pf-sources/pf-sources-5.19_p1.ebuild b/sys-kernel/pf-sources/pf-sources-5.19_p1.ebuild
new file mode 100644
index 000000000000..edc3b63a6ddd
--- /dev/null
+++ b/sys-kernel/pf-sources/pf-sources-5.19_p1.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# 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*/}"
+
+# Replace "_p" with "-pf"
+PFPV="${PV/_p/-pf}"
+
+# https://gitlab.com/alfredchen/projectc/ revision for a major version,
+# e.g. prjc-v5.14-r2 = 2
+PRJC_R=0
+
+inherit kernel-2 optfeature
+detect_version
+
+DESCRIPTION="Linux kernel fork that includes the pf-kernel patchset and Gentoo's genpatches"
+HOMEPAGE="https://codeberg.org/pf-kernel/linux/wiki/README
+ 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
+ https://gitlab.com/alfredchen/projectc/-/raw/master/${SHPV}/prjc_v${SHPV}-r${PRJC_R}.patch"
+
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+S="${WORKDIR}/linux-${PFPV}"
+
+PATCHES=( "${DISTDIR}/prjc_v${SHPV}-r${PRJC_R}.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_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() {
+ # kernel-2_src_prepare doesn't apply PATCHES(). After pf-sources moved to Codeberg, we need
+ # to manually eapply the genpatches too.
+ 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:[~2022-08-07 6:52 UTC|newest]
Thread overview: 220+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-07 6:52 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-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-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=1659855165.b23cd7bb5d26b9c28a48c8b704d1e88e3b72c336.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