From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 99221158043 for ; Mon, 15 Apr 2024 06:03:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66AD6E29E7; Mon, 15 Apr 2024 06:03:31 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2170FE29E7 for ; Mon, 15 Apr 2024 06:03:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EEDCF3433CD for ; Mon, 15 Apr 2024 06:03:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2958916E9 for ; Mon, 15 Apr 2024 06:03:28 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1713161002.77bb27433fa149efe94ca527e1d15c9bf31a7a5c.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/pf-sources/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-kernel/pf-sources/Manifest sys-kernel/pf-sources/pf-sources-6.6_p6.ebuild sys-kernel/pf-sources/pf-sources-6.7_p1.ebuild sys-kernel/pf-sources/pf-sources-6.7_p2.ebuild sys-kernel/pf-sources/pf-sources-6.7_p3.ebuild sys-kernel/pf-sources/pf-sources-6.7_p5.ebuild X-VCS-Directories: sys-kernel/pf-sources/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 77bb27433fa149efe94ca527e1d15c9bf31a7a5c X-VCS-Branch: master Date: Mon, 15 Apr 2024 06:03:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e80a1646-1415-4a14-bf96-4724517a176e X-Archives-Hash: 8d6bb33530ff77d12c3b4b6f4241a478 commit: 77bb27433fa149efe94ca527e1d15c9bf31a7a5c Author: Frits Letteboer gmail com> AuthorDate: Mon Apr 15 06:00:48 2024 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Mon Apr 15 06:03:22 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77bb2743 sys-kernel/pf-sources: drop 6.6_p6, 6.7_p1, 6.7_p2, 6.7_p3, 6.7_p5 Signed-off-by: Frits Letteboer gmail.com> Closes: https://github.com/gentoo/gentoo/pull/35840 Signed-off-by: Joonas Niilola gentoo.org> sys-kernel/pf-sources/Manifest | 11 --- sys-kernel/pf-sources/pf-sources-6.6_p6.ebuild | 94 ------------------------- sys-kernel/pf-sources/pf-sources-6.7_p1.ebuild | 94 ------------------------- sys-kernel/pf-sources/pf-sources-6.7_p2.ebuild | 94 ------------------------- sys-kernel/pf-sources/pf-sources-6.7_p3.ebuild | 94 ------------------------- sys-kernel/pf-sources/pf-sources-6.7_p5.ebuild | 96 -------------------------- 6 files changed, 483 deletions(-) diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest index 4137b0b95c8d..55ecf81173fd 100644 --- a/sys-kernel/pf-sources/Manifest +++ b/sys-kernel/pf-sources/Manifest @@ -1,17 +1,6 @@ -DIST genpatches-6.6-12.base.tar.xz 669256 BLAKE2B 9474c68e1558162a583278e9ee510ff2fe8412a1b2b2a9c3745df47c97a4d6e5f29a8e890a5205f43f2a2985eabebe2a5fdb7567f399f0301e58d1751eeeb5a3 SHA512 fc96cd9ed40c05f2e8ccb821206a26612970c92afa0bd893870cb0a54e5d588d11c6368dc166a2e835324ba066e4f64a03be4773dda0270015f3031d7fae05db -DIST genpatches-6.6-12.extras.tar.xz 3704 BLAKE2B 846cd76f82b38f2a55262fe6b56ec5f9eeeffea3da929e83338ea3b4d1352435c928ecd222b4167aab080025115addd8bcb559870328c16c3aa74d90ef2442d0 SHA512 9dfad8cabe8176606ff8c81c79bb628e0ed4195f486cd10f34677702847d005bbd8b077ba6646cadf90cbe799238c996f7d0e242908cf242e3acd7acc36e225f -DIST genpatches-6.7-1.base.tar.xz 4812 BLAKE2B 152e6d2f4917d75e10554eecb05a0494a46b3ce0b6b38e1d785faa029b8bf2f9a7b32f348c149ff90ef6dee43e0b8243ec206b887a2faa8332dd738efccf5357 SHA512 dbcf18b3dff2b7167ff36594f91cd46c74aa18f36d8bd3fa8a911c3223aa0bc7a687bc7e3e8fee5333378102afd57a363ac038343534f8be797b9d9becfcee6a -DIST genpatches-6.7-1.extras.tar.xz 3704 BLAKE2B a030f820814c70c9e5605de1596455052cf8f0c346156ef4f480cedb4779e564e6082755cf0a5e2066ddee46b741f03c4cc118797d27a9566ffeecebba021e81 SHA512 8d46cbdeed8c59679502e269d570f679e4f3d0293b6e9ee302ca9bc0e73ac5c3ec1470f26d6b7efc66a3566b5f8dc44ed6b5a9f04e4307ec496381e32b96fdaa -DIST genpatches-6.7-4.base.tar.xz 193776 BLAKE2B d0b6ee8e055d0c3b8122e1050818b49600a94c8b1b06ee4b6209d89207d527fc6c65352c728e359ad2830830ff25079a2d6d6ef6a55ecf60e43887c16673376f SHA512 5cc15425a7e9e80320f0b18b891d2efa2dfab4090441003b3c617d820c7e449a792aa266941bde0d22ba26e9a6999e42c3b686b270bc00389047678dd71b93d0 -DIST genpatches-6.7-4.extras.tar.xz 3704 BLAKE2B bf9fe3be461e9a5e7ebe59704bf22a418b67644345728b494ce3b725c03902d7cc226a32cc46c831afbb07e0111d397556b9f12c63871a8f173d7fe136acb2f0 SHA512 70e91002ba6b48fb9161a1f28279f29636e381a34b67856bb492fa36edbce68ae8aed48f50df5e7a14c59f1f8fa4e74ab9430b7cf762a5dd3feee08952213f69 DIST genpatches-6.8-1.base.tar.xz 4136 BLAKE2B a5bda1bbbe2f1d772226661e15329f52a09166e049b2c7df259fcf4bdfce0585fdafe798ce15cfbe8d66e7fbd69a3fbd29abd1bc0e2f98cca89fd09c9bac2884 SHA512 a6a9bceb77afab73d2f7686b27079b6d294861408c1e7cae399e1a8ab6f7a4e31d196f73cce84aa81f38ee8a8880ff2bad81541c2b22503105f0f4198d2001a0 DIST genpatches-6.8-1.extras.tar.xz 3700 BLAKE2B ba0d9f61231a6df70eec23c74d18343420f8ff8e04777a1e19b90b64f89bbe345647fc5df41636458ed567bcb2ebf42445013060caff604654c4d0b9c259c5f0 SHA512 56c7c8996afc570775d5341066614f815d0233ddfc9ae55689c0929758e39fc01427da59b973c102451776f63a98f95c54fc8801bc303c3f5c14fe2612ec27a8 DIST genpatches-6.8-9.base.tar.xz 531224 BLAKE2B b5036c400d8e9a1ed765d31f3a2d5a542ae25bd4cdcbfb46d27e0c0887051200a7546eed16a1c527760680615d1c7a589ec482ed6c9c3ad28a4df1a778da3fba SHA512 eb33dbaa61b01e6cf5c706f7f72180005bee77a353a3c2a53319768a01ca16743bdea997fd9d520b7d112f9ed483de7f9ef8fd16adfed0cd28d955d13ada8eb8 DIST genpatches-6.8-9.extras.tar.xz 3704 BLAKE2B 204ffea55bce91b404e81fe383c7ea49c55f33d8e850876bd3e2cf39ea8162bb39a33f3ae2a8f98aa31d91055346776120661703c15c6408aa745f1b137379be SHA512 c8c4316a99bbf5c2443db62db6898a7e6b5a95c008ed769488a21b93d387649edf54c34d1c131e8a6ef7c5ea8db8a502afe868c47f70868d1ca15e901c309a63 -DIST linux-6.6-pf6.tar.gz 229421927 BLAKE2B c2ebb40db76c282e3d3db0f06d5effec815f543b196ec7d048197508b72294fb1acfd4c0a09db3da433cbcd749bd71e765222a2102fdc87e920bb2f4e80bf4d2 SHA512 c94bc93e88127fc2e4b13604cead8eaa2cb191e35633857ac7b57022604cb9ef9791cbb4db78b79a174eb4fb4c36ecb71173c3fc897540ccf93f991abaf02cee -DIST linux-6.7-pf1.tar.gz 232766936 BLAKE2B 31ba8ebdabeb8dc1e54c995b7f90138f3c45f4931f5aa24f1fe211854e47ec823ad3ae4f23f2f4474a41c823d977a707d14d79e200a1f9607bd36efb8524e00e SHA512 91ae92179216a93d24b9db009fbeeeb7b85ea7547921060acb0c4aa5f1c9a2282dea035dd97e66439ee87ed89ff6b531b94a5529e68cff56eee89158a4558982 -DIST linux-6.7-pf2.tar.gz 232630345 BLAKE2B 9193b6e8a910c54a39dbe2c6a379e09305a85eec5328a8a8ec25374654f5a39f7ca64795a688eb4d89dafc8e2664514fc1153b540eca6cf89895330fc4f92a48 SHA512 3dba41edc9bd8b3848604fe1d82520e983cbc7706d77f17c7863ccf5c2cf9647987ef6682f6a3bd250fd53e708f2092ce9b354d20c90809ffc66245d225f79c3 -DIST linux-6.7-pf3.tar.gz 232642147 BLAKE2B c5d67d60c4fdeaeb5e8ee20849a495004dae915587a058a874fb0620fde708fbb6e2e5281e517c133354aad87e834dda5a8187616b5d491b613b9d2afe907acc SHA512 360d6620d1e4951bfe113fee30a11c13ce9623f29cf7add7e8a35c913a40bf618391d2d2cc712d90381d0fc03e76b39f78cd2aeb9c8c159ce72b818ca5f734ec -DIST linux-6.7-pf5.tar.gz 232643902 BLAKE2B fd56140692794ce4c3aa17870c69b08770002864b59272a038cb0f01575f2bc33a59bb82181a59dc3aac54838dd0501ac4b7a5d564420f0d134ee5d7e63caed4 SHA512 b253ee87e14efc5b859c78d25b5a2e3ecac98c6819673bfdb709a531e59f06c185bf531a523174663cdd03371469424ee193cdf4c7cfc7974c34fc7f85acd0d1 DIST linux-6.8-pf1.tar.gz 234545846 BLAKE2B d51b5d7ad395f8abd68636290f21a4800736e2b57b6ba5a29cc8983cdf81a13ed6db8a8a7468704561200d2d299eeb9d5bc6378a19e1b0948cdfca2f6c93bf76 SHA512 18d5816f70a02efc45a1b26f703b7d1686fd0196aa396c2fe007bf60357249deeb482e87d024e5ee78dcd4e19e48da2d17e8161c1154bd0f23b792ebb3578568 DIST linux-6.8-pf5.tar.gz 234552841 BLAKE2B 87247f718fa88f6cb3071d2ebd85d89e506d7b82ca2444c006aabbdad200fbbda7d0a8cc25d1e24d5c670962de01890ef4ff9b4b556a72661803a2d7f8840084 SHA512 ea3cd473a07ca3a67b4a6800b65d75c3743d20759824100654d4fe8339c7a32b17bdeb500d4de1039442a00714b28dfce5332637800bba539428df40a6d05dcb diff --git a/sys-kernel/pf-sources/pf-sources-6.6_p6.ebuild b/sys-kernel/pf-sources/pf-sources-6.6_p6.ebuild deleted file mode 100644 index 31d2252852cb..000000000000 --- a/sys-kernel/pf-sources/pf-sources-6.6_p6.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# 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="12" - -# -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}" - -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 -} diff --git a/sys-kernel/pf-sources/pf-sources-6.7_p1.ebuild b/sys-kernel/pf-sources/pf-sources-6.7_p1.ebuild deleted file mode 100644 index 4b3ad9c0fee3..000000000000 --- a/sys-kernel/pf-sources/pf-sources-6.7_p1.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# 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="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 - ${GENPATCHES_URI}" - -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 -} diff --git a/sys-kernel/pf-sources/pf-sources-6.7_p2.ebuild b/sys-kernel/pf-sources/pf-sources-6.7_p2.ebuild deleted file mode 100644 index 4b3ad9c0fee3..000000000000 --- a/sys-kernel/pf-sources/pf-sources-6.7_p2.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# 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="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 - ${GENPATCHES_URI}" - -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 -} diff --git a/sys-kernel/pf-sources/pf-sources-6.7_p3.ebuild b/sys-kernel/pf-sources/pf-sources-6.7_p3.ebuild deleted file mode 100644 index 4b3ad9c0fee3..000000000000 --- a/sys-kernel/pf-sources/pf-sources-6.7_p3.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# 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="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 - ${GENPATCHES_URI}" - -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 -} diff --git a/sys-kernel/pf-sources/pf-sources-6.7_p5.ebuild b/sys-kernel/pf-sources/pf-sources-6.7_p5.ebuild deleted file mode 100644 index 3c2fe9b9354f..000000000000 --- a/sys-kernel/pf-sources/pf-sources-6.7_p5.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# 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. -# Or browse https://gitweb.gentoo.org/proj/linux-patches.git, e.g. -# https://gitweb.gentoo.org/proj/linux-patches.git/refs/tags -K_GENPATCHES_VER="4" - -# -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}" - -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 -}