summaryrefslogtreecommitdiff
path: root/sys-kernel
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-07-17 03:04:47 -0500
committerroot <root@alpha.trunkmasters.com>2026-07-17 03:04:47 -0500
commitc15a01fb364f840a250479998f64702430097a88 (patch)
tree7d35bba025a41804ecd64ffde8e918fd5b303c48 /sys-kernel
parent8e53963e2d61f91f497fbe023b36ad060a352df6 (diff)
downloadbaldeagleos-repo-c15a01fb364f840a250479998f64702430097a88.tar.gz
baldeagleos-repo-c15a01fb364f840a250479998f64702430097a88.tar.xz
baldeagleos-repo-c15a01fb364f840a250479998f64702430097a88.zip
Adding metadata
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/installkernel/installkernel-68-r1.ebuild (renamed from sys-kernel/installkernel/installkernel-68.ebuild)1
-rw-r--r--sys-kernel/installkernel/installkernel-69-r1.ebuild (renamed from sys-kernel/installkernel/installkernel-69.ebuild)1
-rw-r--r--sys-kernel/installkernel/installkernel-9999.ebuild1
-rw-r--r--sys-kernel/pf-sources/Manifest3
-rw-r--r--sys-kernel/pf-sources/pf-sources-7.1_p6.ebuild94
5 files changed, 100 insertions, 0 deletions
diff --git a/sys-kernel/installkernel/installkernel-68.ebuild b/sys-kernel/installkernel/installkernel-68-r1.ebuild
index 11cdf36f583f..9f4b55ec95ff 100644
--- a/sys-kernel/installkernel/installkernel-68.ebuild
+++ b/sys-kernel/installkernel/installkernel-68-r1.ebuild
@@ -41,6 +41,7 @@ REQUIRED_USE="
RDEPEND="
!<=sys-kernel/installkernel-systemd-3
+ sys-apps/gentoo-functions
dracut? (
>=sys-kernel/dracut-110
uki? (
diff --git a/sys-kernel/installkernel/installkernel-69.ebuild b/sys-kernel/installkernel/installkernel-69-r1.ebuild
index 276bb3137d23..9f9ddf17b524 100644
--- a/sys-kernel/installkernel/installkernel-69.ebuild
+++ b/sys-kernel/installkernel/installkernel-69-r1.ebuild
@@ -41,6 +41,7 @@ REQUIRED_USE="
RDEPEND="
!<=sys-kernel/installkernel-systemd-3
+ sys-apps/gentoo-functions
dracut? (
>=sys-kernel/dracut-110
uki? (
diff --git a/sys-kernel/installkernel/installkernel-9999.ebuild b/sys-kernel/installkernel/installkernel-9999.ebuild
index 276bb3137d23..9f9ddf17b524 100644
--- a/sys-kernel/installkernel/installkernel-9999.ebuild
+++ b/sys-kernel/installkernel/installkernel-9999.ebuild
@@ -41,6 +41,7 @@ REQUIRED_USE="
RDEPEND="
!<=sys-kernel/installkernel-systemd-3
+ sys-apps/gentoo-functions
dracut? (
>=sys-kernel/dracut-110
uki? (
diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest
index 953904405d75..a197984862ff 100644
--- a/sys-kernel/pf-sources/Manifest
+++ b/sys-kernel/pf-sources/Manifest
@@ -8,8 +8,11 @@ DIST genpatches-7.0-1.base.tar.xz 6992 BLAKE2B 90ef87ec861d6e645c9c7cb645985c84c
DIST genpatches-7.0-1.extras.tar.xz 4324 BLAKE2B 3aaa70843de0b5130a448f4be837bf250077059b3103b13f7b8fda36f36d7f2ba17a8f9f9f959ee7d16c1b863a10b245e5b8073cc991744004bd6c768325791f SHA512 83c04969b52c84301ae7fac9c3607bc2e6fdeb7f126217fe03c2938b8185e227b1ce2599456238f48cc9fcf958aa2c652acd12b7525c31b60f4547127541d843
DIST genpatches-7.0-9.base.tar.xz 247760 BLAKE2B 7bbbb79704fb66fc150677b72c5460534d443aba4ebfe7a0fa0a9eed15bb2bef0a2f7aa8005986f78488801ffe86c96aae425711fe8e43c04636a5e85b9ea202 SHA512 403a5bcec73c7da8d5ad41a2e7e1fb5f07ab1a486aa67903b07344b1506ee4129dd2b284a3871fdde1f2cb5b81655012f1012210861e18bea8f814e614d48ad2
DIST genpatches-7.0-9.extras.tar.xz 3980 BLAKE2B 8ca86c8fbaf47149082d14088f208f7d0724f898545e6aa08ac7230268e1ffc1b6fcbec0cd70bc66ac0eed842a7d1e1df728a1199204bf1f8ff2f1d9e43f7066 SHA512 7f6d6ae539f0659f1171b6de176160f417eb67b1519903fe699fe88587af7a9b037ee63d0468e367eb4e2ba71fac77706136daa27da37912c6c8121bde9f9285
+DIST genpatches-7.1-3.base.tar.xz 22592 BLAKE2B 22facb976026cffe363334bf74015ea94963c3da94959d7c22d9273bbdd1ad4a3d2c0ade1db6a122257144eef7d6283f56f3e640df400146c1656e5f06c33c01 SHA512 18d40cd723545df8d3336cd67bc93de3c50f7e0334da0ebbdd66e4aedb1561f5ebf6c350e02d3a49404fcaa8bb5ac4cf3a0f716f5e6e0be98f8b50b9c0357693
+DIST genpatches-7.1-3.extras.tar.xz 3976 BLAKE2B b3667f64845785bcc020eb9d346e7efc49bf97dbac7471051222ab515a045408871ed7c73f37357db4cb088cb4680d1f220408429a0d98e0dae3985d3a487628 SHA512 58a9679cbaba2356194ee59f99c1189ff65c84a61851082225e8c9154b0bfb4e5bb6ac31fdbea2642dd050828def67bd0641c40d55fda1e1d24cb360a2dcb9ad
DIST linux-6.17-pf4.tar.gz 253598641 BLAKE2B 5a6774f02f1ea67e587cf1374c8e826bb2bf73ddaed3741d60f02ae2c84217ea845233b0ff01d2043b61cf360f1b5a289d329deb41cec804106a63e9296e7619 SHA512 4abf01fbedbc448b0714f175112e35c6e1d1ace89ce3a4ea93978fb3c7e138daa2710bd718255dd59ec90d9ada554179988ae2bd0ca9798798ee76ab3e24b454
DIST linux-6.18-pf6.tar.gz 254953102 BLAKE2B 2eb7606d9a28a70dec23853bb321b78642c0202e6e891ddb5601afec1938365906171cfb53507d7b24167f62e55850d75f0e1fb570589a9ad06831b1bea159dc SHA512 80dd56acaa51577dda10f56679897ab679306d0b9693ba71c44bf66cf4ee9f81cb039492e731c5a9628f2a5fb66b1511ab8d4650d0a9afd5be28bea158fe9ac6
DIST linux-6.19-pf5.tar.gz 257556076 BLAKE2B 0687bfee723acc5f0c370a3c6ee35a219408c90cd72bde5e621a610a2388a3d6dc1abdc6ae2a43ff9a2be740d14367dac679cb2de619a3a22d299f7e2c65e210 SHA512 04b4c5caa3cf3b00d48be999e57ac1b7a1f0040175c67b22955adcb07bac14f99b1a3faf3cb613933532b9fa317c435bd97e4161b57be3eaa4fc3fbb796f58bb
DIST linux-7.0-pf1.tar.gz 259987054 BLAKE2B 64a94c6b68ec5de3872c44de26452e6a540097e19cc653969b746891d5fbd261ffbe8da3f548bf5c1edbc96424c52b1aa89237656c41926c82f15991f8517a78 SHA512 89a59932bb1645736791676dcd25e9969375296d5a0a167f4dd6d7ddd3b79bba5fd05c88001b0bec5711804f9b63f20590dc83dce17a8fb067744525b5426857
DIST linux-7.0-pf4.tar.gz 259991016 BLAKE2B 6a5337a1f7bae1b44391ac6caae985d72c1fe9f030506687a4430049f0e3143891c28c40fef687323ba25496a92fce59d8208903c4f188897004939a65d2e095 SHA512 6df6cc81574ea4378f6797801a4ad50fb17f78d342a2f1a981257e519a4c067f2b80c6f8f9e1911bad982a070996cc6e50f7f8bd8aff7165c40632c3cf1c30e7
+DIST linux-7.1-pf6.tar.gz 262086473 BLAKE2B 33e7b54f6b774d39154569fa6ae72ecc4e1401e3c12c6dc934cfbe7e36de1219cbb5cd29332184e82f3a8afbf9235277dacf7c2549644265120700f029a09928 SHA512 ea76a1e21aad77dd5b70e771546cfd4e2661ca355bc437e6aafa2efca9a10f892494ef003d3182c711fc86464289f069b9bd3b62661d735f720dd1b7dcee8ddb
diff --git a/sys-kernel/pf-sources/pf-sources-7.1_p6.ebuild b/sys-kernel/pf-sources/pf-sources-7.1_p6.ebuild
new file mode 100644
index 000000000000..6cfb6e6a2d75
--- /dev/null
+++ b/sys-kernel/pf-sources/pf-sources-7.1_p6.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2026 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="3"
+
+# -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/~alicef/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
+}