summaryrefslogtreecommitdiff
path: root/sys-kernel
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-09 12:02:14 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-09 12:02:14 +0000
commit0fd62365fc104d7e6d5f3ef67800df09225a4019 (patch)
tree163b4a5055e07325ae1dc4f9bbbc2021ca1b6afa /sys-kernel
parent442eaf1780a48ddbd7a39f5a3f34d959c3c6d27e (diff)
gentoo auto-resync : 09:03:2023 - 12:02:14
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/Manifest.gzbin4423 -> 4423 bytes
-rw-r--r--sys-kernel/pf-sources/Manifest2
-rw-r--r--sys-kernel/pf-sources/pf-sources-6.2_p3.ebuild94
3 files changed, 96 insertions, 0 deletions
diff --git a/sys-kernel/Manifest.gz b/sys-kernel/Manifest.gz
index 3a893a5eb001..fc507b6588e0 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 97724259f5b4..2419d5751be5 100644
--- a/sys-kernel/pf-sources/Manifest
+++ b/sys-kernel/pf-sources/Manifest
@@ -27,6 +27,7 @@ DIST linux-6.1-pf5.tar.gz 220804202 BLAKE2B 5fadef6d3fa1ef6bf295fe75680ae1be0129
DIST linux-6.1-pf6.tar.gz 220761768 BLAKE2B 8b0f3d16be65f245978a823bc4c3130f76017dcb4e51c0e5c77815ffe61d3122eabec28001571badc8eceed490cb14f27540bbf574fbb0feffba59804e1169ed SHA512 66b2a4d221bc9caf4c22353d39a9a13e990b8e50ef47d1882d9f950b4cf42f6d240d787979a5272eeb8ffba142fb07fcadf438827d3410e220b20e41ac079ea0
DIST linux-6.2-pf1.tar.gz 222840475 BLAKE2B ee66cdfba8b08cbc5ac70f97b87826dc9d04ee8de2fb57f52e1688c1cdc5b0fecfe3bc673fa30849a7417120c1393ebae7c24ca9a2b00b55eb6719de0246160a SHA512 461d2775491675f351ca56787257a4c7fcda9d2a50538a26639448d86ab79fccff895f0385af78bf2e1113aa650383e77f3d114f6cb84c98c4b407690b0d3e63
DIST linux-6.2-pf2.tar.gz 222861169 BLAKE2B b3e6bddc8639475313cb3203b99e068c109c1f2b71a6475ac8c8c0be21ab57c8d6ab2291db38c0b05e2d875a613df531acdfb7bc0d98acaf7efdd6032b6ea7be SHA512 ad038f5ea05da6006f4436c2345cbe259a3cf89be4424be12a96495875d40abf95eeb18afb550be8ef2b00b5013d1001dc5de688e0ebe85f30b655be9acd6840
+DIST linux-6.2-pf3.tar.gz 222849935 BLAKE2B d0c00d16dd92a0a1617442cea2bba0aa64fbba16ae7632609efbb3c107bd27c9e5920b4292497dfbbcc02c8e05d9c726dd0b39a6c31bd834edb976268f6537ba SHA512 f0e24f4a69befbdf14124d8f82f1387a7e8dad7c997e63850d04f81658baf9d9bb7c827fabbe5163695eee8dd4c7bdc3c010674471fe8a3f3b57d2680b0593d7
DIST prjc-519-r1-vd-test.patch 274504 BLAKE2B 87950689ffe97134100aa91d0ff89acd6f4e93b626ad7ab08af464a49457f16526cae7b863d53213dd129d47b6f97b3407ae7027b02656d9eba85942241e8d3f SHA512 d652b6060400329d051257fedee5d9f37a70554ab722e93a15f294d1c6229bfa227941461147e0128178b02875cdf838e0d71e89884d8c01e7549ee482213b71
DIST prjc_v5.18-r2.patch 270353 BLAKE2B 15d7ed7a0eb6f7ad37feaf52ab7c383e1c7c3e72fb41a767c8d1151a0ad41255c216ede1e4938a041f3b628874ed61398c61dd7b0e0b62090730f2fd0f6a70db SHA512 25c558bd6281a09bb611c6cca68084b27d0f2e290d2c0575e88b6a94322fad86de6dbeda30eb77919edd5adff921ad445593d9478f115ec93fa2e4c7ed6b5c1e
EBUILD pf-sources-5.18_p5.ebuild 2781 BLAKE2B a377fa1820f637bcab95c220e00375dc8a0f009ad728088a37e1f46c5c4c3931c9a4b9fa86d05130440d12e29534468adb488b54f8b7c1975546594d16f7a28d SHA512 4e0acd60313555185dc11e1d6310c3c4d7bdea8acb4256e9ffd985a001c72949a3065fbfa7830bc66827d56961fa523300827613bf5653ac359420f08172a62e
@@ -40,4 +41,5 @@ EBUILD pf-sources-6.1_p5.ebuild 3133 BLAKE2B a3fdde57b58d99405072b5bbf63ead1718e
EBUILD pf-sources-6.1_p6.ebuild 3132 BLAKE2B 3e29a896b04c68da0950df69b4cf208c1956044a879f8cc4a20e8ddd54018e1774c26d20e5f80f462fd39d3b12e7ee90be873dc4183343b3984fe61a986923d7 SHA512 573f8f51063e7b3d0d554261ae178de08db029cd3d7ffe28715bb8cc606738acca0aa026509249e8d187e316047952d8687caff4965a4a540fa150257071c7b5
EBUILD pf-sources-6.2_p1.ebuild 3131 BLAKE2B 5b8d61ac12265c35b9cba7ff606167b06c95b9995983aafb33de5727121e3ab217dce326a20a3164dd74c00fbc4929fc53e28c670d4d42f9d0ab6060e655ac16 SHA512 5b4690025986cb0a5ba70365d24609f6ab72fdf82323f7c1c70ba96edb080eb8f7a28339bde71cf2795d40a289d8d14922eab0b6c66715f88362790e6f0c3773
EBUILD pf-sources-6.2_p2.ebuild 3131 BLAKE2B 5b8d61ac12265c35b9cba7ff606167b06c95b9995983aafb33de5727121e3ab217dce326a20a3164dd74c00fbc4929fc53e28c670d4d42f9d0ab6060e655ac16 SHA512 5b4690025986cb0a5ba70365d24609f6ab72fdf82323f7c1c70ba96edb080eb8f7a28339bde71cf2795d40a289d8d14922eab0b6c66715f88362790e6f0c3773
+EBUILD pf-sources-6.2_p3.ebuild 3131 BLAKE2B 5b8d61ac12265c35b9cba7ff606167b06c95b9995983aafb33de5727121e3ab217dce326a20a3164dd74c00fbc4929fc53e28c670d4d42f9d0ab6060e655ac16 SHA512 5b4690025986cb0a5ba70365d24609f6ab72fdf82323f7c1c70ba96edb080eb8f7a28339bde71cf2795d40a289d8d14922eab0b6c66715f88362790e6f0c3773
MISC metadata.xml 346 BLAKE2B aac642a4971d6bc11e22a4885e5a4cfdaa36287a97883ed22368729e1db9bbe1baa382fc542d6f89582a0e4f43d2e78419d09716f6d215477454b72dc365e2ec SHA512 94e6a97663111931e68e8af0656691776c39b4e8cc4e96c4a257a9617413ea238400096b15729b1e3b91d60e030c6eae3789401c444692d3bf7daa7c80e78a72
diff --git a/sys-kernel/pf-sources/pf-sources-6.2_p3.ebuild b/sys-kernel/pf-sources/pf-sources-6.2_p3.ebuild
new file mode 100644
index 000000000000..3c9b67ed85ac
--- /dev/null
+++ b/sys-kernel/pf-sources/pf-sources-6.2_p3.ebuild
@@ -0,0 +1,94 @@
+# 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.
+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
+ 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
+}