diff options
Diffstat (limited to 'sys-kernel/pf-sources')
-rw-r--r-- | sys-kernel/pf-sources/Manifest | 28 | ||||
-rw-r--r-- | sys-kernel/pf-sources/metadata.xml | 5 | ||||
-rw-r--r-- | sys-kernel/pf-sources/pf-sources-5.18_p5.ebuild | 93 | ||||
-rw-r--r-- | sys-kernel/pf-sources/pf-sources-5.19_p6.ebuild | 95 | ||||
-rw-r--r-- | sys-kernel/pf-sources/pf-sources-6.0_p6.ebuild | 86 | ||||
-rw-r--r-- | sys-kernel/pf-sources/pf-sources-6.2_p1.ebuild | 94 | ||||
-rw-r--r-- | sys-kernel/pf-sources/pf-sources-6.2_p2.ebuild | 94 | ||||
-rw-r--r-- | sys-kernel/pf-sources/pf-sources-6.2_p3.ebuild | 94 | ||||
-rw-r--r-- | sys-kernel/pf-sources/pf-sources-6.2_p4.ebuild | 94 | ||||
-rw-r--r-- | sys-kernel/pf-sources/pf-sources-6.2_p5.ebuild | 95 | ||||
-rw-r--r-- | sys-kernel/pf-sources/pf-sources-6.2_p6.ebuild | 95 |
11 files changed, 2 insertions, 871 deletions
diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest index 118f85a4a7fd..1c4a7650b3d6 100644 --- a/sys-kernel/pf-sources/Manifest +++ b/sys-kernel/pf-sources/Manifest @@ -1,35 +1,9 @@ -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 genpatches-6.0-1.base.tar.xz 4076 BLAKE2B a6806af2473247e53034e0df58fc217a14108c86e89d2611e7886459405b743e690b5fa9f682a3e8ad3215c821f4e04552978da0e309be9cb586f0e2fb53c50f SHA512 da56f7e72c400aa149d481fc42651debea9ff90144b4d731dbd167cd5061da63f34b1b4fc937c8a3508f9bcdbbe3b645d25cfa67ce05db1d5c25667214840d9d -DIST genpatches-6.0-1.extras.tar.xz 3804 BLAKE2B 973be072083e8f23fb0e39856864c5e061e071d651bff1ecd6dc9d429688a074d9ef78f255edf4479e95b5e60c78034ee969d12a2e65c4c6a5a382daa1aba419 SHA512 b00123c8f910367cf2c68cc8c6a70139644add4adb0aa96ae34bf7e93162a19020ef91f6bac631c257f885928640c4f847f8c32b940c192238304edcc83d0b5c DIST genpatches-6.1-14.base.tar.xz 774040 BLAKE2B 8e0866c762e2711b766cc75630d66c7c46221bdc47357a903c7e8506ad122b7b5ba84d102b19743d236ac5579b44d24f77b9f52f3c23695ab6a279cf7875e735 SHA512 6a753146013baf0b94d83abd690118517679d4d7dcf6e9f86cf8de35e24f80a792e9c0692f237098671c316d046d6f65f8d3512255e572daf6a8ca81853beca0 DIST genpatches-6.1-14.extras.tar.xz 3804 BLAKE2B 7f016579b130c9a4f7a8ec946254dbd682f22e5654ae777d11b265dafe2b177a4c40c5a979a760a5bd6ed3dac057b90a3120c60b958f6b748ea4731b9a5f1ea6 SHA512 2807d359459dd11b9d3356fcac609dbfb8487e8c924cc543ef37698667b1c8b74cff7b015839ca0677cf1f96b566e0b5018c057b517275886ab500cd2ca49653 DIST genpatches-6.2-1.base.tar.xz 4308 BLAKE2B 0b28cf39d9977e5a5c6fe446c0bc318b33f37995897ec379e6ee6d5420a73cd4d3ccf78111df1a2bbe9ee568c6fde6d7c52ba4f01a8b9534c71b597de65aa850 SHA512 da9ab52792c8b6881cf7718128889ccb536723ad7362ccc89be734a479ab6a03f6c844bd97197f3a4574d3bf4278ad10f453a57d076d297586be1db3ac2380c8 DIST genpatches-6.2-1.extras.tar.xz 3808 BLAKE2B e2e6b77fde25dda7c048376fa1435b7ae77eb6889e69bc7f516435a29335d30bc60ccadf196f37408430f5f9899f5502e05404b4bb5ffc8a9e48a6918103780b SHA512 b44df841c08ef03d0638b3b1ebea014979d4e1f70f70c9db21d2a531d7856f0a2eab74d9ad411e0c7387caade6a5cf1afe9e0153d83e51924c881af079c18c83 -DIST linux-5.18-pf5.tar.gz 206988172 BLAKE2B ae5abdee064b429019d7aaa4801d0bf852ed94dfef3965486cbc58d084e68ab9276651297857c1e64d5430e8b17728d1ebd7db597afd7ed7580d100e84431921 SHA512 dde7c08750858a719c70ff332df67b73432ace56571c73dfb7af7bf4ab4d5b5fbfb94486ac97b4b95e252f51a3be125fdb05a3abdc1b7443fb45ca4074810996 -DIST linux-5.19-pf6.tar.gz 212237665 BLAKE2B 7ecace44c0bff940009fdb1cd8924096cc4cc337688c7d73883a996bc191d40b9589efbca2e30ba413e1516b790ad48be4839f9d48bb8ad5c40d3f8549a63db1 SHA512 7f5e60c20ba577102818139b0eb61fff5d8b2f3ecdcd42e3ad116fdebdfa58da4f08dd151844cd6e1d764aad5f5a2254e4a1c5aad5b3628df9d03911a2cd8e3f -DIST linux-6.0-pf6.tar.gz 218406147 BLAKE2B b084ffd751a3be9043ab0c306623c2ede6597fa024d72e959778a6185c83410aae7e165bd008bbbd0eddc5066d65ad342afaa4f66669190995ea1ab5a3f0b0e8 SHA512 99b766969216a0692d475a15dd6ecf36c29852e6702585c8c47f4d18516301f98c8f1aed3515ba65872e5628118fc84ddcbc8bdc816e7f4e94ce139dbe6c5035 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 linux-6.2-pf4.tar.gz 222900183 BLAKE2B 6ed60362c81577e314c944f063ddbe547961990d1a54843ac1238f8e2e01fee8fd319be2f3ff33b364ce98909bba4f3fc4c61c67f3375a46b38c9c2db7568c34 SHA512 16aa5baeaa9e55a0c483b08baa2fb40d1f7c698ed1baaa52b832569284740bb5a9ef78b1b3bb415f096772a1efd9490fb28cdf0442d17210ae82da9e7ee7b745 -DIST linux-6.2-pf5.tar.gz 222904645 BLAKE2B 90b5bec754bed66535c949ceb835875ff926764d37a1a0aab26324c6e83ad4634d1782afd1b10d38f9f2f110fc052ecc335d1ba6536e8e09738cbb070e7e7ef9 SHA512 00576eb22380a1d61eaae1570c2cac5d8a7492887d1bd6c94181142510796629ca98406922dc64d351ac8d861d1dfe7fe95c673ef8eff13555ded2a17757a881 -DIST linux-6.2-pf6.tar.gz 222930980 BLAKE2B 03579940417cd704020922a2b55574951301899ffcfba5a83b4537d8d139ff54c0e573e456006ddbfa05b1ec57d261d8e16a5a2c3170fbd65c50614c18f68355 SHA512 23516bda6c957b0c1cca977a14453d9e033b96be92410038eb6851d9957eed9ef4592e86897377265b36886f9be8d7624ab82b9f3955b18fd6ecbb92ee2cb2a0 DIST linux-6.2-pf7.tar.gz 222943378 BLAKE2B 414277f7d9a256b9ae6c2f14886019b4c22bac69558ef225c3b45e9d4e58727429b32528aad124d8bc764b5b7527074455aaeff25141530a5534630c81da4f6e SHA512 ffa153c936a8e847a7ae070f915c3a6a7b770636061b7ac3a07e1c7ed81e973bd8b8c977eb796bffd38b1eaa3082169e0e77c70f88db34cc2a9154e7ee69339b -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 -EBUILD pf-sources-5.19_p6.ebuild 2914 BLAKE2B 6a50cb772f1df3b86ac95eda89939fd9279d5bc24f1288596e129c562617c3c72263e8232bd01bb256276cee52436293cbb31a57ecbdacb90ce0680f735a323d SHA512 94c52843f36b4067fcca6da8d78c2e0603e09ccf16fcaa107dfee0155e4e92033ff69fea35223130a5d1010df867201a33c1f02c2cbbcf22b8314753cb692954 -EBUILD pf-sources-6.0_p6.ebuild 2525 BLAKE2B 75aa743f70c2eebbf98fec6b047c40da783064f773ded51d04f5d90e1130956e5201a7f5892b0bbc877839b28d77c91fce37519d2fb385da63373b8edd41c20f SHA512 4d41c9ef99a4e163ca57501fc70504b84583a3b218a28a7a3b18d9da94d10835f67be2b4d41b20063176d4493c738c60ddc652685f36c84fa7fda89fe12befb7 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 -EBUILD pf-sources-6.2_p4.ebuild 3131 BLAKE2B 5b8d61ac12265c35b9cba7ff606167b06c95b9995983aafb33de5727121e3ab217dce326a20a3164dd74c00fbc4929fc53e28c670d4d42f9d0ab6060e655ac16 SHA512 5b4690025986cb0a5ba70365d24609f6ab72fdf82323f7c1c70ba96edb080eb8f7a28339bde71cf2795d40a289d8d14922eab0b6c66715f88362790e6f0c3773 -EBUILD pf-sources-6.2_p5.ebuild 3227 BLAKE2B 1419c6b648085ae97e2cb69e9909871677f6ac0c5e424e091b2877ed449a671cd20c12563d71c6b69d178d58d543da2a706df60061f56c9e1b3b1b793f3f1e9d SHA512 7700643feea3f29522b80605205cf5211b1a57fe8bef530d420a1860ffa7ed46cdee4b8ff671f9b8c029c592ce772a16776e082387aed5bb4f8ac8da56f27cd6 -EBUILD pf-sources-6.2_p6.ebuild 3227 BLAKE2B 1419c6b648085ae97e2cb69e9909871677f6ac0c5e424e091b2877ed449a671cd20c12563d71c6b69d178d58d543da2a706df60061f56c9e1b3b1b793f3f1e9d SHA512 7700643feea3f29522b80605205cf5211b1a57fe8bef530d420a1860ffa7ed46cdee4b8ff671f9b8c029c592ce772a16776e082387aed5bb4f8ac8da56f27cd6 EBUILD pf-sources-6.2_p7.ebuild 3227 BLAKE2B 1419c6b648085ae97e2cb69e9909871677f6ac0c5e424e091b2877ed449a671cd20c12563d71c6b69d178d58d543da2a706df60061f56c9e1b3b1b793f3f1e9d SHA512 7700643feea3f29522b80605205cf5211b1a57fe8bef530d420a1860ffa7ed46cdee4b8ff671f9b8c029c592ce772a16776e082387aed5bb4f8ac8da56f27cd6 -MISC metadata.xml 346 BLAKE2B aac642a4971d6bc11e22a4885e5a4cfdaa36287a97883ed22368729e1db9bbe1baa382fc542d6f89582a0e4f43d2e78419d09716f6d215477454b72dc365e2ec SHA512 94e6a97663111931e68e8af0656691776c39b4e8cc4e96c4a257a9617413ea238400096b15729b1e3b91d60e030c6eae3789401c444692d3bf7daa7c80e78a72 +MISC metadata.xml 260 BLAKE2B 957e1545a0c47acf6020529f4e2ae0480ec07761a01b9f97143d7088e6fafa49e942c925d227f05b8683f49ce236881c00e904db2d6a8297d10424f11a872881 SHA512 160e8085f846936ed805fc43e152e838e1d9562bb8222bee4a36a4057c871a9f47d82a673fa5bdb9a6e33f1c827d9683966c608e49df3e46dcc3f7179b03ed39 diff --git a/sys-kernel/pf-sources/metadata.xml b/sys-kernel/pf-sources/metadata.xml index 6790e2145677..fe6f3fe30e6c 100644 --- a/sys-kernel/pf-sources/metadata.xml +++ b/sys-kernel/pf-sources/metadata.xml @@ -1,10 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>juippis@gentoo.org</email> - <name>Joonas Niilola</name> - </maintainer> + <!-- maintainer-needed --> <upstream> <remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id> </upstream> diff --git a/sys-kernel/pf-sources/pf-sources-5.18_p5.ebuild b/sys-kernel/pf-sources/pf-sources-5.18_p5.ebuild deleted file mode 100644 index e08fb868b3df..000000000000 --- a/sys-kernel/pf-sources/pf-sources-5.18_p5.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# 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=2 - -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 - 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 -} diff --git a/sys-kernel/pf-sources/pf-sources-5.19_p6.ebuild b/sys-kernel/pf-sources/pf-sources-5.19_p6.ebuild deleted file mode 100644 index d5eb413eae69..000000000000 --- a/sys-kernel/pf-sources/pf-sources-5.19_p6.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# 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://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 - https://gitlab.com/torvic9/linux519-vd/-/raw/master/prjc-519-r1-vd-test.patch" -# 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" ) -PATCHES=( "${DISTDIR}/prjc-519-r1-vd-test.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 -} diff --git a/sys-kernel/pf-sources/pf-sources-6.0_p6.ebuild b/sys-kernel/pf-sources/pf-sources-6.0_p6.ebuild deleted file mode 100644 index 9ec71e1c1611..000000000000 --- a/sys-kernel/pf-sources/pf-sources-6.0_p6.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# 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}" - -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() { - # 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 -} diff --git a/sys-kernel/pf-sources/pf-sources-6.2_p1.ebuild b/sys-kernel/pf-sources/pf-sources-6.2_p1.ebuild deleted file mode 100644 index 3c9b67ed85ac..000000000000 --- a/sys-kernel/pf-sources/pf-sources-6.2_p1.ebuild +++ /dev/null @@ -1,94 +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. -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.2_p2.ebuild b/sys-kernel/pf-sources/pf-sources-6.2_p2.ebuild deleted file mode 100644 index 3c9b67ed85ac..000000000000 --- a/sys-kernel/pf-sources/pf-sources-6.2_p2.ebuild +++ /dev/null @@ -1,94 +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. -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.2_p3.ebuild b/sys-kernel/pf-sources/pf-sources-6.2_p3.ebuild deleted file mode 100644 index 3c9b67ed85ac..000000000000 --- a/sys-kernel/pf-sources/pf-sources-6.2_p3.ebuild +++ /dev/null @@ -1,94 +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. -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.2_p4.ebuild b/sys-kernel/pf-sources/pf-sources-6.2_p4.ebuild deleted file mode 100644 index 3c9b67ed85ac..000000000000 --- a/sys-kernel/pf-sources/pf-sources-6.2_p4.ebuild +++ /dev/null @@ -1,94 +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. -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.2_p5.ebuild b/sys-kernel/pf-sources/pf-sources-6.2_p5.ebuild deleted file mode 100644 index 2ee0009ae2d4..000000000000 --- a/sys-kernel/pf-sources/pf-sources-6.2_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="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.2_p6.ebuild b/sys-kernel/pf-sources/pf-sources-6.2_p6.ebuild deleted file mode 100644 index 2ee0009ae2d4..000000000000 --- a/sys-kernel/pf-sources/pf-sources-6.2_p6.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 -} |