diff options
author | Joonas Niilola <juippis@gentoo.org> | 2022-06-17 10:32:16 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2022-06-17 10:37:10 +0300 |
commit | 32291b728c2197ecf5f13f4e321614bec9edad37 (patch) | |
tree | 2706dfa6f056e3857359ee68a360634b28a4c0f9 | |
parent | dev-vcs/subversion: x86 stable wrt bug #852656 (diff) | |
download | gentoo-32291b728c2197ecf5f13f4e321614bec9edad37.tar.gz gentoo-32291b728c2197ecf5f13f4e321614bec9edad37.tar.bz2 gentoo-32291b728c2197ecf5f13f4e321614bec9edad37.zip |
sys-kernel/pf-sources: add 5.18-pf2
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
-rw-r--r-- | sys-kernel/pf-sources/Manifest | 2 | ||||
-rw-r--r-- | sys-kernel/pf-sources/pf-sources-5.18_p2.ebuild | 74 |
2 files changed, 76 insertions, 0 deletions
diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest index 5c6900788dc1..e555ee46909d 100644 --- a/sys-kernel/pf-sources/Manifest +++ b/sys-kernel/pf-sources/Manifest @@ -13,7 +13,9 @@ DIST pf-sources-5.16_p7.patch 4150817 BLAKE2B fd4217294d296852e56e693b37f7f758a2 DIST pf-sources-5.17_p5.patch 4028503 BLAKE2B c1694083cd03ee1312e12ff87d60d3b77252580581ec5595407da399862b598502e7a676cfda31cb1680821185da81ed296d67584a9e5a7a763c71de77091de8 SHA512 1c04798c3b53f7d835f1926538e82faaa07ad3b06b7f18b7652d81489f0ad74c416ad68951a71e7ba9e11c0899ec618434dc9c9ebbc7e1e961db9630d61c03b6 DIST pf-sources-5.18-pf1-add_missing_includes.patch 1412 BLAKE2B 114dc25880c20a3e85b0a62ae7b97bfd5ca209e591122a9f45a6bc403ca6e514f0217927feeec2aa467a5df936a3dd5681a5f29db906aa1c8cd366cde86f8e46 SHA512 a6c10a698bde3be27f29d4301e0b633e677a46dd0af603119fd63ce282b4cfc2c49f6f74ffd1f52abcb8cbed8c449bb6ad6205395715b463631875a404300bd8 DIST pf-sources-5.18_p1.patch 901718 BLAKE2B 6e38debba1d34c1ac96a36e3b822da8a953c81cfa6c33f5c0117cad51bc376e202d56270d3a7fb90e315d015c4ec2146aa1f10b486a91e47a78ee16a26946b70 SHA512 5dfc259108653a0b976bf68533dbdd11bfbf24b6c52a4bf757cb06789c91b1ac739b0da82b7b2da8fd1794083d04f97bbb9a0fbfb2bee9c5f025a7931fc10b40 +DIST pf-sources-5.18_p2.patch 2866009 BLAKE2B 2157ab316a0fc27909820b8ba3136ab0b3907230387e03aae05f9f125092aa8d1ffa67c2a8b3b5afba9356ef91bc14e9bc28511283edb551183c8bebc88f2738 SHA512 3d1bba278294e7954db56284b04e197316f57c6f43583215d966a03333cc2252f42c482206d9557761f5d5f114d69c06604f16723d6586c025d5176ff4bfee3e DIST prjc-v5.16-4uo.patch 270113 BLAKE2B e88ec884ec8a539f9acc55844193d98c009d820bf18d8a6ca4dcb03d796897a15efc7006b35a736f31218895ffaf5cc83851a12f4db1b8e56b69ac8518347d02 SHA512 2f9eaef69d2125f6b23da3e597e2ed508266a93e3c3e1a0a04c1ba378448f8267a0985748b8de215c23fbbc62820a46da47671ff2e3ffd77f41bcca79cc11436 DIST prjc-v5.16-5uo.patch 268223 BLAKE2B 3c0b89e36abaa95889d00abdbc8f3151fdd6fe0ed1e496730ed066ae22b68e5989c643441c69d733a920bf20149da6633e6a9e0b0062e997788919b10770eea0 SHA512 b95591e917d0b7b6b7fa7af62aac8f850aad7717e76f7ba17edfdb7ecbd53e31cf2c9409e1225f0aa6636564249c23a7f5c2bfc1e521cd1eec25a6e081b2122c DIST prjc_v5.17-r2.patch 269135 BLAKE2B 75c53846e39333523d53beefa4f1a2873d06595a701bd60ea6645f108dddfab7e5a543ff0e95a6b4bb43bd9eaa1e6e75c12a9926431b4e0fd22df7290c16b2b1 SHA512 05e826ebc234f93bd96c467ffe2e9f0b0876950fb5355f1c0a8470793b85834f5dc638e85b65b1c9558d086b0d620735837502478763882321f64aff66388065 DIST prjc_v5.18-r0.patch 271872 BLAKE2B 587c8db594e5923cd61bbbcb1a8c738681c34b9e57c04fa5d4dd7418038db15b912a8104b39267576a114d5e69721a4e680f662c077efaa0a8f5992f3923c6d6 SHA512 7c27134da1ece56f92a3dd540bf4163c38f2fa47d2a01bf6d66358e337e1ad930b363bc25769b18e679d7845713605fde3f21c317c393a83de61bcf764a9a3fa +DIST prjc_v5.18-r1.patch 270901 BLAKE2B 81000dd93c038389ab1bbe04e1e9706062244e70571da03388c2ab0d382bd817d86d8b12adfe607b49adf7bbab3624640a70ba6df2e97bd7f55f9d2def73e88f SHA512 1ae402b0fd4edec5d819e1a8cf0664b73de995f5b9975d2ffaf1f9d643713c539911cefbfb58c5952b27c6edc3ce3f572a3b83a1e491c3e35b15333f9222cd95 diff --git a/sys-kernel/pf-sources/pf-sources-5.18_p2.ebuild b/sys-kernel/pf-sources/pf-sources-5.18_p2.ebuild new file mode 100644 index 000000000000..57784c65731a --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-5.18_p2.ebuild @@ -0,0 +1,74 @@ +# 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*/}" + +# https://gitlab.com/alfredchen/projectc/ revision for a major version, +# e.g. prjc-v5.14-r2 = 2 +PRJC_R=1 + +inherit kernel-2 optfeature +detect_version + +DESCRIPTION="Linux kernel fork that includes the pf-kernel patchset and Gentoo's genpatches" +HOMEPAGE="https://gitlab.com/post-factum/pf-kernel/-/wikis/README + https://dev.gentoo.org/~mpagano/genpatches/" +SRC_URI="${KERNEL_URI} + https://github.com/pfactum/pf-kernel/compare/v${SHPV}...v${SHPV}-pf${PV/*_p/}.diff -> ${P}.patch + 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-${PVR}-pf" + +PATCHES=( "${DISTDIR}/${P}.patch" + "${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_prepare() { + # kernel-2_src_prepare doesn't apply PATCHES(). + default +} + +pkg_postinst() { + kernel-2_pkg_postinst + + optfeature "userspace KSM helper" sys-process/uksmd +} |