summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2020-04-01 10:37:58 +0300
committerJoonas Niilola <juippis@gentoo.org>2020-04-01 10:38:38 +0300
commit5ab53c873574c6971975ca76e81260c2113bfb91 (patch)
treef0bca2811c3e2cfecd6e88a6e9e0aec05b960ace
parentsys-process/uksmd: remove old (diff)
downloadgentoo-5ab53c873574c6971975ca76e81260c2113bfb91.tar.gz
gentoo-5ab53c873574c6971975ca76e81260c2113bfb91.tar.bz2
gentoo-5ab53c873574c6971975ca76e81260c2113bfb91.zip
sys-kernel/pf-sources: bump to 5.6-pf1
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
-rw-r--r--sys-kernel/pf-sources/Manifest4
-rw-r--r--sys-kernel/pf-sources/pf-sources-5.6_p1.ebuild71
2 files changed, 75 insertions, 0 deletions
diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest
index bc26b21964e..eefd37dbfc9 100644
--- a/sys-kernel/pf-sources/Manifest
+++ b/sys-kernel/pf-sources/Manifest
@@ -4,9 +4,12 @@ DIST genpatches-5.4-1.base.tar.xz 4564 BLAKE2B 0282bad95cd003c90e92d33d2f114ca9e
DIST genpatches-5.4-1.extras.tar.xz 1736 BLAKE2B 57df5cf8b4d96378408460be4be64900771b876a23d1e5798c97449bfcd28bea8aaf31482c614e7844106f29c9ae376c6ebef26e6c18e00a3f64bcb4e360d944 SHA512 5b9b6276f6ad6ad7ac33e14c3b06dbe943c57019332b0ee545ebf7325b7d6313db3ed6d35c46434c3c38420fb372141e63528e980aca87b90c4a39339851e80f
DIST genpatches-5.5-1.base.tar.xz 3984 BLAKE2B aed3662231f2863f234ebdc3c615c8c7fa32c3b1301659388facef4354b148bd31a9978917dcced2081f157afa176df5cda2e11fa085e3599f68af65f8edfaec SHA512 bdbe3d72620418ad0245f7e7f4fec7960d302be4842c6a090440f8ffccc5f6a67fdf11e51da5a14b659ec7a003410f1374b70ece128455ffd8eaf13177a427ff
DIST genpatches-5.5-1.extras.tar.xz 1744 BLAKE2B 78353a253969918f5c054768df01bf7d0a0887f5686f6b84a78f28a0c1ef49101f278c5140367a4547cce9932ec9e7dcff4b4fd8519bb9e9dd9b7d4764461877 SHA512 84815483c7c30e2258c1d246080c460177b8e3b6c49592a78c2a5d83798b703da845ee3f1f939da1e947dddced42fc83434ca162f8e5135c838877304e3a80cf
+DIST genpatches-5.6-2.base.tar.xz 4452 BLAKE2B f21fa14e4a15f23495eae455d0fa38e22c8b8d6f435674f0a6dc70c9005ed314f9ec986277cc04f206d4c8f9c3ed2ba99b5d98b0fd2c15b74299d0bc2fabcaea SHA512 b4ec4930a81e2e50c5d960276cf5d273ae44d33d10de0d4a316ca03b5b7104c36b6b8ac9b464102e23c57391c7101d8d9189d6b45519c0c2528446d4e9ecaf91
+DIST genpatches-5.6-2.extras.tar.xz 1744 BLAKE2B 1a7b68366c1b4ea01c670bf88f95624baaed6e4366dc311fdaab76f483b944df62da5485760ef546641a598543d6f0d8686c77a1caf4b0ddf2e67ee63a36879e SHA512 6d388ed21866c0ab3d590723644ba0826c8c6212f6a10a7df2f5579e1c5a59bf95c2b132265fc2cc99b90fb839ec2cdffa37d702452aa06fae9feff161ed2733
DIST linux-5.3.tar.xz 108558876 BLAKE2B 0d08eed879d05734e4542f0c93823d43f8dc042a54ba5268064c4bbebd7a9d59c03abf3ad5dee8280e784ae148a3b0c56181eaf2d5b3c079b6fe9f5191544df6 SHA512 6b5edef47c319a3fa7f6c20a3e0903a5acd89ec75e32dc5f99adcb60c9fe118ea312722d9c3d27e2e3900afa2455afb86e83a8b6bb131009bc79ddbe6fb0595d
DIST linux-5.4.tar.xz 109441440 BLAKE2B 193bc4a3147e147d5529956164ec4912fad5d5c6fb07f909ff1056e57235834173194afc686993ccd785c1ff15804de0961b625f3008cca0e27493efc8f27b13 SHA512 9f60f77e8ab972b9438ac648bed17551c8491d6585a5e85f694b2eaa4c623fbc61eb18419b2656b6795eac5deec0edaa04547fc6723fbda52256bd7f3486898f
DIST linux-5.5.tar.xz 110713660 BLAKE2B 36b990d3650c409652206c319c93c0cf68885334050bc286b479c8b844bc47354547e19eebb58caafb026b96d134f39f0c7ce38b4eebe9da7ea6d1610a1e2af2 SHA512 fa74fdabb5e63384a39e54da05b86a9ae9ea16179524b041fbbdffc7177e80b53600ae98d76be127ba216148f9dc55fe07ab20637e22c6d6030cb4aa09eb2f86
+DIST linux-5.6.tar.xz 111785252 BLAKE2B 8dbe02a8ca7fd3dcf512a15c5d8098c1e7f94257e65173fed43fcc45480e4ab790df8cd39bbbb4e2a21dc9a00385bc9bbe98215a31e7f7e1d9c8f21cd8ace69e SHA512 80846fe2b4e4a7ff471d2dde28a8216ae807a3209f959e93d39ea4fc9a189ea28ec3db9d303b3fe15a28c2cb90e7446876678e93e23353c2d6f262e364a06bc9
DIST pf-sources-5.3_p8.patch 2445607 BLAKE2B d1aa017f43219f661d16e82f9f36ef5b526aad8492f0bb758abda6c1d2caf2d07ed98fd444819dbcc64718c41f0e90b4f18969cafcf02737f1893d92514a49d5 SHA512 033d92493b54fa8bb231f168357cf3b65a7b858e75e04c24a6e97d0dbced7baa8b49cdaec11e4e4b3f2eb44de80a33780511785827dab0893dc1721d47085483
DIST pf-sources-5.4_p6.patch 2445594 BLAKE2B 766549139da27838aca8f849c6d71b13f3b1d1915468d5b617fef243f3947a45e7103d1b48dcf97f81675bf52ef2f15fbaf07ddaae739667ebb82f5b9b604e79 SHA512 9f259d5318fdf81285d2d22cbcdae65691abb8d214d031d74a3889750d027ef5439df1c92e6625ddee51f957c77648ceee7dd9478039a59e6c0b4e02eccede36
DIST pf-sources-5.5_p1.patch 551540 BLAKE2B 6e169f1e3a75a9f18b3c8e8c3ab6da9ff365e8bc467e01e84a088a75a19d4f93908774260569c383479f4e91255abbffb1ea5bc67b955cdb787d1529e50e645f SHA512 8d2a4c71063d741b2e3dfad7403f9c020f9594166554d393d9c5e21d7fa64d20e67b7a91ee6f07dd0db008973b6d0bd88bfad95828ab3a230474770f35377c47
@@ -17,3 +20,4 @@ DIST pf-sources-5.5_p5.patch 2147102 BLAKE2B 0f6aee4d3e59386e3acdf67ab7f931e45ac
DIST pf-sources-5.5_p6.patch 2597110 BLAKE2B 7ab0a9bb5b1787cb2488e418bc3b45edf2348e60f118f90e47025d540367a93a49c87fd2362fc3bb3e84d89bd8d0c2b8f63c6f79e969813ce398578bdef9bcc2 SHA512 5530fd6e874ee5f0ac03e558c475790ac4e0ff79e98aa2df272d223d9a3cebf49a1e90a08751a37b694cd6b643040d0ececeea66a7a855194fbd33b448cdf3c9
DIST pf-sources-5.5_p7.patch 2978872 BLAKE2B 3b1e63dd0b3fdf1d880053576b8f4efa928292a7bde7f536ce551845bf2c33c74d008b3533428917a224cc0e959d5ebcd3bf09b2754f77183f6366b82a22d9eb SHA512 8da0e9085970dd5f3f641bcb9dff867db390dc49e278ef29ee6f84d2e99007d3403bc69f8e96280a6feccaf3f85731335a89e4888cf5df567429715baf5695fd
DIST pf-sources-5.5_p8.patch 3180947 BLAKE2B 8170494363d949dce8b3de2a6121ec3c4bf2c0ecdba5e6a8e9d2c1e401a2ad9d67eb5ad35dea4749b176eee60398213962666637c9b344631b5c55d14ed6f879 SHA512 e21b810f52c2f31a6b1e21110a43be8d54695763780d04187b60ef2541bace779bbb978f7c6619b8433fd6fe6110cf69495a20bf142a64c9884518ca3265b2fd
+DIST pf-sources-5.6_p1.patch 278618 BLAKE2B 6ee7db469094b449c94ce70ebc5416b71be5f4f745e4d0a310efc8959982f2bcd2fb96d713bc5f696823f06eb1390a67e3b15dcc94abc4086d2a74ba762a1d93 SHA512 3c32c783714a1d295cb07ac341dfcfbedf8925018628afa1839e2c8d7ad297112fac7af28f21ce764f1555fdcf7095e97bcd8b57d99b86a30e3c1c956d5f2bde
diff --git a/sys-kernel/pf-sources/pf-sources-5.6_p1.ebuild b/sys-kernel/pf-sources/pf-sources-5.6_p1.ebuild
new file mode 100644
index 00000000000..e140e5f7329
--- /dev/null
+++ b/sys-kernel/pf-sources/pf-sources-5.6_p1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# 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="2"
+
+# -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"
+
+inherit eutils kernel-2
+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${PV/_p*/}...v${PV/_p*/}-pf${PV/*_p/}.diff -> ${P}.patch
+ https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${PV/_p*/}-${K_GENPATCHES_VER}.base.tar.xz
+ https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${PV/_p*/}-${K_GENPATCHES_VER}.extras.tar.xz"
+
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+S="${WORKDIR}/linux-${PVR}-pf"
+
+PATCHES=( "${DISTDIR}/${P}.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() {
+ default
+
+ # Temporary fix due to 5.6 iwlwifi mess
+ find "${S}" -name "10*linux*" -delete || die
+
+ kernel-2_src_prepare
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+
+ elog "Optional features:"
+ optfeature "Userspace KSM helper" sys-process/uksmd
+}