diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-02 13:12:50 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-02 13:12:50 +0100 |
commit | b0378783c1929d283116fe183089c123dba5869c (patch) | |
tree | efe69bfa7e38c36238f6e5a9341f6194b949e6f5 /sys-kernel | |
parent | e374e165c2ee372e9c6d10860ea6ef47f180f6b2 (diff) |
gentoo auto-resync : 02:10:2022 - 13:12:50
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/Manifest.gz | bin | 4419 -> 4413 bytes | |||
-rw-r--r-- | sys-kernel/pf-sources/Manifest | 2 | ||||
-rw-r--r-- | sys-kernel/pf-sources/pf-sources-5.19_p6.ebuild | 95 |
3 files changed, 97 insertions, 0 deletions
diff --git a/sys-kernel/Manifest.gz b/sys-kernel/Manifest.gz Binary files differindex 1f17df1a3003..6af3512cc229 100644 --- a/sys-kernel/Manifest.gz +++ b/sys-kernel/Manifest.gz diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest index c7cd0657667a..5bbeef277b9a 100644 --- a/sys-kernel/pf-sources/Manifest +++ b/sys-kernel/pf-sources/Manifest @@ -8,6 +8,7 @@ DIST linux-5.19-pf2.tar.gz 212143056 BLAKE2B 75f4c627ac88de7d2ab4b62d6b463d68325 DIST linux-5.19-pf3.tar.gz 212207383 BLAKE2B 9630bbefdee791020ee623da621811e614259ed24744dceca851b55f25fc649a62be2f2feb61ad2c081bf8282fcd8ab48118fede042ed08ee4c69433e9b34738 SHA512 45f4f31af66a097b37ba00cb23e1452c80823626f5b0040ae8ed81d084cc329a820272e3a9ecaa54dfefbcc810e03eaf65919173eb99c21d7898a156b801321f DIST linux-5.19-pf4.tar.gz 212225287 BLAKE2B e6e96c998336bfd39725f5f7da8e91e12911d2c9c04917665a2b058884f4d2a362aa9c0126d93ebbec60e4d76e58ee7914616015b7a01b0803b680bce50f5256 SHA512 29138616917f890ee3b3d0e4ee5b855236efedf464bea73ba0cdb701882e35112e9757fe183231c063fffdddbddef5e550f345c26446a4af1704e0e661bc55fd DIST linux-5.19-pf5.tar.gz 212240899 BLAKE2B dcdd4208335427217662e571c60373559504c0322d8718c22fb72f7d6dca3fbb1d95c9ef1b480938508ae22338d229285b3da5f6c2b0050d7f70d4b792761b0f SHA512 3b0887cf21272c22d3d4e821ec36994af7160ca66b84910c7103d46d72449d3e8c1f8bfdaf1e568111c7c601b61a521bada3f10696b5a27f4f41494b746c76fe +DIST linux-5.19-pf6.tar.gz 212237665 BLAKE2B 7ecace44c0bff940009fdb1cd8924096cc4cc337688c7d73883a996bc191d40b9589efbca2e30ba413e1516b790ad48be4839f9d48bb8ad5c40d3f8549a63db1 SHA512 7f5e60c20ba577102818139b0eb61fff5d8b2f3ecdcd42e3ad116fdebdfa58da4f08dd151844cd6e1d764aad5f5a2254e4a1c5aad5b3628df9d03911a2cd8e3f DIST prjc-519-r1-vd-test.patch 274504 BLAKE2B 87950689ffe97134100aa91d0ff89acd6f4e93b626ad7ab08af464a49457f16526cae7b863d53213dd129d47b6f97b3407ae7027b02656d9eba85942241e8d3f SHA512 d652b6060400329d051257fedee5d9f37a70554ab722e93a15f294d1c6229bfa227941461147e0128178b02875cdf838e0d71e89884d8c01e7549ee482213b71 DIST prjc_v5.18-r2.patch 270353 BLAKE2B 15d7ed7a0eb6f7ad37feaf52ab7c383e1c7c3e72fb41a767c8d1151a0ad41255c216ede1e4938a041f3b628874ed61398c61dd7b0e0b62090730f2fd0f6a70db SHA512 25c558bd6281a09bb611c6cca68084b27d0f2e290d2c0575e88b6a94322fad86de6dbeda30eb77919edd5adff921ad445593d9478f115ec93fa2e4c7ed6b5c1e DIST prjc_v5.19-r0.patch 271689 BLAKE2B 6bc109b462670602eba8ccba55cbcf9902402c627e40c62a3a574828847a518d84d35d30e786b2f1edd4365a3eaa3a2b358f20c013bb2789b30804c37fe12d45 SHA512 27011aa6586ca8c7ec953593f68289b437a7ddab841eb5e45dfca1fdfed5ddb59cf0e197703d4c62c2cd792fca9f2c97f341ffc5ee48a9ca3aff26f9505280ba @@ -17,4 +18,5 @@ EBUILD pf-sources-5.19_p2.ebuild 2797 BLAKE2B 2d3f13c1225bd222ddeda09b34e19e642d EBUILD pf-sources-5.19_p3.ebuild 2930 BLAKE2B a0cca626797143fc0ea9be0528f1da8530b06445e0a99386cfe4591f003ea2d4798fbbd04163637adccbb934ee6681ecc382a8bccd60c357c9159647e22b3466 SHA512 73b4069c74c18baf9f3257db8b3eb1c6438c89dc22eaafef297a7ae063d48149715704155bf2e5296db0a153d7620e88823cfa4288c5d4ea709c43ce714aedf6 EBUILD pf-sources-5.19_p4.ebuild 2930 BLAKE2B a0cca626797143fc0ea9be0528f1da8530b06445e0a99386cfe4591f003ea2d4798fbbd04163637adccbb934ee6681ecc382a8bccd60c357c9159647e22b3466 SHA512 73b4069c74c18baf9f3257db8b3eb1c6438c89dc22eaafef297a7ae063d48149715704155bf2e5296db0a153d7620e88823cfa4288c5d4ea709c43ce714aedf6 EBUILD pf-sources-5.19_p5.ebuild 2930 BLAKE2B a0cca626797143fc0ea9be0528f1da8530b06445e0a99386cfe4591f003ea2d4798fbbd04163637adccbb934ee6681ecc382a8bccd60c357c9159647e22b3466 SHA512 73b4069c74c18baf9f3257db8b3eb1c6438c89dc22eaafef297a7ae063d48149715704155bf2e5296db0a153d7620e88823cfa4288c5d4ea709c43ce714aedf6 +EBUILD pf-sources-5.19_p6.ebuild 2930 BLAKE2B a0cca626797143fc0ea9be0528f1da8530b06445e0a99386cfe4591f003ea2d4798fbbd04163637adccbb934ee6681ecc382a8bccd60c357c9159647e22b3466 SHA512 73b4069c74c18baf9f3257db8b3eb1c6438c89dc22eaafef297a7ae063d48149715704155bf2e5296db0a153d7620e88823cfa4288c5d4ea709c43ce714aedf6 MISC metadata.xml 346 BLAKE2B aac642a4971d6bc11e22a4885e5a4cfdaa36287a97883ed22368729e1db9bbe1baa382fc542d6f89582a0e4f43d2e78419d09716f6d215477454b72dc365e2ec SHA512 94e6a97663111931e68e8af0656691776c39b4e8cc4e96c4a257a9617413ea238400096b15729b1e3b91d60e030c6eae3789401c444692d3bf7daa7c80e78a72 diff --git a/sys-kernel/pf-sources/pf-sources-5.19_p6.ebuild b/sys-kernel/pf-sources/pf-sources-5.19_p6.ebuild new file mode 100644 index 000000000000..6122df43812f --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-5.19_p6.ebuild @@ -0,0 +1,95 @@ +# 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://codeberg.org/pf-kernel/linux/wiki/README + 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 +} |