diff options
author | Frits Letteboer <dagraver@gmail.com> | 2024-01-17 10:40:09 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2024-01-27 11:39:27 +0200 |
commit | 3f2b68be0d39650761fc960c7f4cfc9e15fe8964 (patch) | |
tree | d4e3d18c3bc3a45a56261105d42936aaedef7b7d /sys-kernel/pf-sources | |
parent | sys-kernel/pf-sources: add 6.7_p2 (diff) | |
download | gentoo-3f2b68be0d39650761fc960c7f4cfc9e15fe8964.tar.gz gentoo-3f2b68be0d39650761fc960c7f4cfc9e15fe8964.tar.bz2 gentoo-3f2b68be0d39650761fc960c7f4cfc9e15fe8964.zip |
sys-kernel/pf-sources: drop 6.6_p1, 6.6_p2, 6.6_p3, 6.6_p4, 6.6_p5
Signed-off-by: Frits Letteboer <dagraver@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'sys-kernel/pf-sources')
-rw-r--r-- | sys-kernel/pf-sources/Manifest | 11 | ||||
-rw-r--r-- | sys-kernel/pf-sources/pf-sources-6.6_p1.ebuild | 95 | ||||
-rw-r--r-- | sys-kernel/pf-sources/pf-sources-6.6_p2.ebuild | 95 | ||||
-rw-r--r-- | sys-kernel/pf-sources/pf-sources-6.6_p3.ebuild | 95 | ||||
-rw-r--r-- | sys-kernel/pf-sources/pf-sources-6.6_p4.ebuild | 95 | ||||
-rw-r--r-- | sys-kernel/pf-sources/pf-sources-6.6_p5.ebuild | 95 |
6 files changed, 0 insertions, 486 deletions
diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest index 7d756ec26013..539251231b38 100644 --- a/sys-kernel/pf-sources/Manifest +++ b/sys-kernel/pf-sources/Manifest @@ -1,18 +1,7 @@ -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-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.6-7.base.tar.xz 472596 BLAKE2B c5f69fa43401555567c9e5c3b5bad31ef55a3f49756f86e1e5cb935cf8cffb6ee080f411b5113dc3fb9d43224de432e6f1f6fb5a18082d269e30181e72aa1fcd SHA512 6098a5d32ff83fe2ceb094055be6336a19c40246946606fd0b39e86ce8bf53b96cd5539e6cbc774dc865f4be742ac3c127f8f48ff5cd3a50484dcd5afb7b9df3 -DIST genpatches-6.6-7.extras.tar.xz 3704 BLAKE2B 1bd0d01aefad3c47f2b7bdc550e607d2c4ba8e0cbbdbe3ba4ef57e539f9bd894222ca6f01908e6bb27221de1331634a6941867c7d6bece9620510110bf276107 SHA512 6da82d251ac6c33b8d2837e1a44a32ab5106f0a5816a8e76354c7d9eef510b4f485edfb1b80dad68e59b3a96494bed590ba1508f7b96697c364fd52c97b65496 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 linux-6.6-pf1.tar.gz 229217046 BLAKE2B 9426ebab28f9ee516dcc48ef8343c624960b1de6b6ddd9b00393b2261ee1516d7f4fd126ff87a597fdfee85387811e9da0c57458909ac85a7edc4cb60594e8eb SHA512 54be704ff20b47df3c1d774ed9c997620df46188739c6f72b305a88200901afb0d0d534011ee65c41974d0a5aa91ad318c0c426332e05c70949a06292b17547c -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 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 diff --git a/sys-kernel/pf-sources/pf-sources-6.6_p1.ebuild b/sys-kernel/pf-sources/pf-sources-6.6_p1.ebuild deleted file mode 100644 index 2ee0009ae2d4..000000000000 --- a/sys-kernel/pf-sources/pf-sources-6.6_p1.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# 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="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 -} diff --git a/sys-kernel/pf-sources/pf-sources-6.6_p2.ebuild b/sys-kernel/pf-sources/pf-sources-6.6_p2.ebuild deleted file mode 100644 index 2ee0009ae2d4..000000000000 --- a/sys-kernel/pf-sources/pf-sources-6.6_p2.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# 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="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 -} diff --git a/sys-kernel/pf-sources/pf-sources-6.6_p3.ebuild b/sys-kernel/pf-sources/pf-sources-6.6_p3.ebuild deleted file mode 100644 index 9dd911d25032..000000000000 --- a/sys-kernel/pf-sources/pf-sources-6.6_p3.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# 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="7" - -# -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 -} diff --git a/sys-kernel/pf-sources/pf-sources-6.6_p4.ebuild b/sys-kernel/pf-sources/pf-sources-6.6_p4.ebuild deleted file mode 100644 index 9dd911d25032..000000000000 --- a/sys-kernel/pf-sources/pf-sources-6.6_p4.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# 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="7" - -# -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 -} diff --git a/sys-kernel/pf-sources/pf-sources-6.6_p5.ebuild b/sys-kernel/pf-sources/pf-sources-6.6_p5.ebuild deleted file mode 100644 index 611aaf598eb4..000000000000 --- a/sys-kernel/pf-sources/pf-sources-6.6_p5.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# 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 -} |