summaryrefslogtreecommitdiff
path: root/sys-kernel/pf-sources
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
commit21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch)
treee1810a4b135afce04b34862ef0fab2bfaeb8aeca /sys-kernel/pf-sources
parent7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff)
gentoo resync : 15.01.2020
Diffstat (limited to 'sys-kernel/pf-sources')
-rw-r--r--sys-kernel/pf-sources/Manifest16
-rw-r--r--sys-kernel/pf-sources/pf-sources-5.1_p7.ebuild4
-rw-r--r--sys-kernel/pf-sources/pf-sources-5.2_p8.ebuild4
-rw-r--r--sys-kernel/pf-sources/pf-sources-5.3_p8.ebuild4
-rw-r--r--sys-kernel/pf-sources/pf-sources-5.4_p1.ebuild4
-rw-r--r--sys-kernel/pf-sources/pf-sources-5.4_p2.ebuild4
-rw-r--r--sys-kernel/pf-sources/pf-sources-5.4_p3.ebuild75
-rw-r--r--sys-kernel/pf-sources/pf-sources-5.4_p4.ebuild75
-rw-r--r--sys-kernel/pf-sources/pf-sources-5.4_p5.ebuild75
9 files changed, 246 insertions, 15 deletions
diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest
index 90a04e695d42..5cc145ec03af 100644
--- a/sys-kernel/pf-sources/Manifest
+++ b/sys-kernel/pf-sources/Manifest
@@ -15,9 +15,15 @@ DIST pf-sources-5.2_p8.patch 2328455 BLAKE2B 425b0a04800db70b060c8b18ae4f8e99a7a
DIST pf-sources-5.3_p8.patch 2445607 BLAKE2B d1aa017f43219f661d16e82f9f36ef5b526aad8492f0bb758abda6c1d2caf2d07ed98fd444819dbcc64718c41f0e90b4f18969cafcf02737f1893d92514a49d5 SHA512 033d92493b54fa8bb231f168357cf3b65a7b858e75e04c24a6e97d0dbced7baa8b49cdaec11e4e4b3f2eb44de80a33780511785827dab0893dc1721d47085483
DIST pf-sources-5.4_p1.patch 258131 BLAKE2B 23305be06df369a9bd7efdc1ab1c79bcbe6c1d0eed2ed99102d71e32eb7588548211a9587d0a12b2dac0aa8e99fa996d535b84a70e6f53078dc2228fbc87f102 SHA512 71ce2ca76dc2a89d93e5bdd9feea95f02dbef6192fcd6fb3e7d1136b826114b1b2b359d387d6343b40c4e253ef2f6c55399242f1abec50ca554de5928dd5eda1
DIST pf-sources-5.4_p2.patch 444667 BLAKE2B 970e27405a2bcfd206b7c4d2852c1329b9197cd14c4ad1bdcde0d5a36af41efe26ffec26469150da224c55cae7bc31c726a2ce0c93f723527423c5346d477367 SHA512 3f8ec934c71d9541a621bdff7c6db247e91027e83e0c0afcb08a6f7a0e4bf9c7667e4ad4a2bc7dd1aa7bb95f23ebe4d1ba818fd8ee24bb6cbf4e8e80a9ce150c
-EBUILD pf-sources-5.1_p7.ebuild 1943 BLAKE2B b21d2989f5532ddc528ec7996b1f447fe78e8106fd540816e5e77fac684f044e20dd119ee4e57aec04948662485e4565c23202ea06ee632a1f43ccb336e76f20 SHA512 9e31de214070b8a7e9d4b0358859efe7361bf881c045520cfe1b841efafba5e64c7ddc5d6a3641dfde92b2f37d31ae85f53fa4a3832b77139bda458632c756f8
-EBUILD pf-sources-5.2_p8.ebuild 1999 BLAKE2B 0fd6841de5f35f0a923837f58992e56b37f448b0c8949f5f4d26550ac65f55c240866fb9139ce19cbc9ab1913255ac6d8acaef18f1a16ba7bba9e9b395b9ef8b SHA512 4fb684a031faef367ba4ae5fb95bd6310820dd324087804de4ffd33fde0f0e89774a1e6e2a7f3b833b79bc8079c96c1c3c3929867a0bfcc1e1e44c7497f39108
-EBUILD pf-sources-5.3_p8.ebuild 1999 BLAKE2B 0fd6841de5f35f0a923837f58992e56b37f448b0c8949f5f4d26550ac65f55c240866fb9139ce19cbc9ab1913255ac6d8acaef18f1a16ba7bba9e9b395b9ef8b SHA512 4fb684a031faef367ba4ae5fb95bd6310820dd324087804de4ffd33fde0f0e89774a1e6e2a7f3b833b79bc8079c96c1c3c3929867a0bfcc1e1e44c7497f39108
-EBUILD pf-sources-5.4_p1.ebuild 2000 BLAKE2B 2f06ed033677518db959e40f311c3ada4df68cf0e928daca8e9982d9e7cd4757ad3ebc7ebd9bc1a258eb5621374a4e6a1a2c3a50bcf77980774f1f234792ccb4 SHA512 5506eadd44172d5431b37eb25b28f7b9bf4f5548bc68581f410bdda2d04da93d77bf5a82a828c1937506107e3a8892d007853173fff702122d3a989eade1010c
-EBUILD pf-sources-5.4_p2.ebuild 2000 BLAKE2B 2f06ed033677518db959e40f311c3ada4df68cf0e928daca8e9982d9e7cd4757ad3ebc7ebd9bc1a258eb5621374a4e6a1a2c3a50bcf77980774f1f234792ccb4 SHA512 5506eadd44172d5431b37eb25b28f7b9bf4f5548bc68581f410bdda2d04da93d77bf5a82a828c1937506107e3a8892d007853173fff702122d3a989eade1010c
+DIST pf-sources-5.4_p3.patch 977402 BLAKE2B 718d3239745b6be9736d4d5f49daddaeb4c0d8e6cb64f7824f84cfa64f3d9f15f86571fccf60009c0cc478be545d1da472fc1189ebf8df4518bbc57bea906c77 SHA512 5f8cff5193f0baadff310a47fc9be9abfa710f68595c2fd543bb6c72d9524e335ecc26d28a41e0e5735db1702d3978e0501984dc0e1637e3a3b54ac5fb1b5026
+DIST pf-sources-5.4_p4.patch 1683670 BLAKE2B df903d196334f502ed8056de684f51d8aa8f9f81ceb2cb5f17e1267fab2c77e0534bba55b895d266f1f940d211504511dd3afe0da1f30479ff7555be03ebcdca SHA512 e1d24d45d8b0c00c9a2cf20774e6adb251dcbdda15f535c30abcb1296985781ea9fd4d7e6867dbdc9c0fe6fbbc7634d1997020a3c2345339ac08ad2e1c92409f
+DIST pf-sources-5.4_p5.patch 2125349 BLAKE2B 52dfd6a76f9473937dc2fc0c138d424d7dbb781b08dd1c775cf6e9b2119381be4c71b6c6b00333cce47209de7d0e08a6872c33412acec670daee4944313504a7 SHA512 9c90b33b75453dcc2f0463225a19bef8475b71c6d3d99e8bb3d147ada0eaad29a3bee0038099aa45a6bd71496015b29a2cd00b9ab3c68fbc3bd6ee54155d3004
+EBUILD pf-sources-5.1_p7.ebuild 1945 BLAKE2B c0647719b97de03e3cd76f5b083745c8a29c644a89aff2a23cf47f99794d0af687a89759494d275a50692dd10599ba06c346d2456dfe2821b466fc1a6ecafc6a SHA512 d20c8da89769b516af8d24e946049706d700852d43d605cf20d7fc1ba2144079f2c7b94e6fe00385b45efc886aee87c4986796ac59471fc696789446d098e17e
+EBUILD pf-sources-5.2_p8.ebuild 2001 BLAKE2B 100f5dd1cf5f4e5df40bf8ba6059765ff924998c3cadb4c7b93f841353b6ed0ef63500a6f389df619b41cc958b47a518f48512256d050408e8e1527664318b09 SHA512 67d7a0ad1bbab0b652c164a98d2af17176465e9f950078f2317055adc0dddbf422b7dc0def2b1d508f0ab2dfa37a0e8bfc407b118856f5e3e5f830d7433f48f4
+EBUILD pf-sources-5.3_p8.ebuild 2001 BLAKE2B 100f5dd1cf5f4e5df40bf8ba6059765ff924998c3cadb4c7b93f841353b6ed0ef63500a6f389df619b41cc958b47a518f48512256d050408e8e1527664318b09 SHA512 67d7a0ad1bbab0b652c164a98d2af17176465e9f950078f2317055adc0dddbf422b7dc0def2b1d508f0ab2dfa37a0e8bfc407b118856f5e3e5f830d7433f48f4
+EBUILD pf-sources-5.4_p1.ebuild 2002 BLAKE2B c521daf6b67c9a49a39cefa5925d5c42a78a45f167e577f0a0ef6e4183b29addad30004213ec5c72cc3ab1a0573bec5df7ca850b2f49c43bfb969ec5cb6d0134 SHA512 2198e300aced4b78120860722574c32b0f603b6c4bc32711ede62872af2d5eade31eef6d84acb95a195ca60baca5b0eecba5667ba88b1b542930518ee47f2226
+EBUILD pf-sources-5.4_p2.ebuild 2002 BLAKE2B c521daf6b67c9a49a39cefa5925d5c42a78a45f167e577f0a0ef6e4183b29addad30004213ec5c72cc3ab1a0573bec5df7ca850b2f49c43bfb969ec5cb6d0134 SHA512 2198e300aced4b78120860722574c32b0f603b6c4bc32711ede62872af2d5eade31eef6d84acb95a195ca60baca5b0eecba5667ba88b1b542930518ee47f2226
+EBUILD pf-sources-5.4_p3.ebuild 2002 BLAKE2B c521daf6b67c9a49a39cefa5925d5c42a78a45f167e577f0a0ef6e4183b29addad30004213ec5c72cc3ab1a0573bec5df7ca850b2f49c43bfb969ec5cb6d0134 SHA512 2198e300aced4b78120860722574c32b0f603b6c4bc32711ede62872af2d5eade31eef6d84acb95a195ca60baca5b0eecba5667ba88b1b542930518ee47f2226
+EBUILD pf-sources-5.4_p4.ebuild 2002 BLAKE2B c521daf6b67c9a49a39cefa5925d5c42a78a45f167e577f0a0ef6e4183b29addad30004213ec5c72cc3ab1a0573bec5df7ca850b2f49c43bfb969ec5cb6d0134 SHA512 2198e300aced4b78120860722574c32b0f603b6c4bc32711ede62872af2d5eade31eef6d84acb95a195ca60baca5b0eecba5667ba88b1b542930518ee47f2226
+EBUILD pf-sources-5.4_p5.ebuild 2002 BLAKE2B c521daf6b67c9a49a39cefa5925d5c42a78a45f167e577f0a0ef6e4183b29addad30004213ec5c72cc3ab1a0573bec5df7ca850b2f49c43bfb969ec5cb6d0134 SHA512 2198e300aced4b78120860722574c32b0f603b6c4bc32711ede62872af2d5eade31eef6d84acb95a195ca60baca5b0eecba5667ba88b1b542930518ee47f2226
MISC metadata.xml 345 BLAKE2B 26083da0607ae4e301d8dd622cd9b0016630e1e70dd6197fb8b95912578015a13da38c8434df3cebdf13f22566a132ffa9ac2ee4a32ed482cf780c55327316da SHA512 4bbc43612402fe253b02894ae6bf290ae44082c98a48d31e3d822946a8709752d3c4fb9d338fdb6779d6b421e73073c67f5f951ef423728aaa5cc18ac7958b2e
diff --git a/sys-kernel/pf-sources/pf-sources-5.1_p7.ebuild b/sys-kernel/pf-sources/pf-sources-5.1_p7.ebuild
index 9c2862bc7a9f..f4927b074df2 100644
--- a/sys-kernel/pf-sources/pf-sources-5.1_p7.ebuild
+++ b/sys-kernel/pf-sources/pf-sources-5.1_p7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -6,7 +6,7 @@ ETYPE="sources"
KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86"
HOMEPAGE="
- https://gitlab.com/post-factum/pf-kernel/wikis/README
+ https://gitlab.com/post-factum/pf-kernel/-/wikis/README
https://dev.gentoo.org/~mpagano/genpatches/
"
diff --git a/sys-kernel/pf-sources/pf-sources-5.2_p8.ebuild b/sys-kernel/pf-sources/pf-sources-5.2_p8.ebuild
index 82d79915f607..fe7502d70dcf 100644
--- a/sys-kernel/pf-sources/pf-sources-5.2_p8.ebuild
+++ b/sys-kernel/pf-sources/pf-sources-5.2_p8.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
ETYPE="sources"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-HOMEPAGE="https://gitlab.com/post-factum/pf-kernel/wikis/README
+HOMEPAGE="https://gitlab.com/post-factum/pf-kernel/-/wikis/README
https://dev.gentoo.org/~mpagano/genpatches/"
IUSE=""
diff --git a/sys-kernel/pf-sources/pf-sources-5.3_p8.ebuild b/sys-kernel/pf-sources/pf-sources-5.3_p8.ebuild
index 82d79915f607..fe7502d70dcf 100644
--- a/sys-kernel/pf-sources/pf-sources-5.3_p8.ebuild
+++ b/sys-kernel/pf-sources/pf-sources-5.3_p8.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
ETYPE="sources"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-HOMEPAGE="https://gitlab.com/post-factum/pf-kernel/wikis/README
+HOMEPAGE="https://gitlab.com/post-factum/pf-kernel/-/wikis/README
https://dev.gentoo.org/~mpagano/genpatches/"
IUSE=""
diff --git a/sys-kernel/pf-sources/pf-sources-5.4_p1.ebuild b/sys-kernel/pf-sources/pf-sources-5.4_p1.ebuild
index f95b603d66f4..a86a2780b716 100644
--- a/sys-kernel/pf-sources/pf-sources-5.4_p1.ebuild
+++ b/sys-kernel/pf-sources/pf-sources-5.4_p1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -6,7 +6,7 @@ EAPI=6
ETYPE="sources"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-HOMEPAGE="https://gitlab.com/post-factum/pf-kernel/wikis/README
+HOMEPAGE="https://gitlab.com/post-factum/pf-kernel/-/wikis/README
https://dev.gentoo.org/~mpagano/genpatches/"
IUSE=""
diff --git a/sys-kernel/pf-sources/pf-sources-5.4_p2.ebuild b/sys-kernel/pf-sources/pf-sources-5.4_p2.ebuild
index f95b603d66f4..a86a2780b716 100644
--- a/sys-kernel/pf-sources/pf-sources-5.4_p2.ebuild
+++ b/sys-kernel/pf-sources/pf-sources-5.4_p2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -6,7 +6,7 @@ EAPI=6
ETYPE="sources"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-HOMEPAGE="https://gitlab.com/post-factum/pf-kernel/wikis/README
+HOMEPAGE="https://gitlab.com/post-factum/pf-kernel/-/wikis/README
https://dev.gentoo.org/~mpagano/genpatches/"
IUSE=""
diff --git a/sys-kernel/pf-sources/pf-sources-5.4_p3.ebuild b/sys-kernel/pf-sources/pf-sources-5.4_p3.ebuild
new file mode 100644
index 000000000000..a86a2780b716
--- /dev/null
+++ b/sys-kernel/pf-sources/pf-sources-5.4_p3.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+HOMEPAGE="https://gitlab.com/post-factum/pf-kernel/-/wikis/README
+ https://dev.gentoo.org/~mpagano/genpatches/"
+
+IUSE=""
+
+# No 'experimental' USE flag provided, but we still want to use genpatches
+K_EXP_GENPATCHES_NOUSE="1"
+
+# No reason to bump this number unless something new gets included in genpatches,
+# in that case we can manually remove the linux kernel patches from genpatches.
+K_GENPATCHES_VER="1"
+
+K_NOSETEXTRAVERSION="1"
+
+# Not supported by the Gentoo security crew
+K_SECURITY_UNSUPPORTED="1"
+
+K_USEPV="yes"
+
+# We want the very basic patches from gentoo-sources, experimental patch
+# is already included in pf-sources
+K_WANT_GENPATCHES="base extras"
+
+UNIPATCH_STRICTORDER="yes"
+
+inherit eutils kernel-2
+detect_version
+
+DESCRIPTION="Linux kernel fork that includes the pf-kernel patchset and Gentoo's genpatches"
+
+PF_URI="https://github.com/pfactum/pf-kernel/compare/v${PV/_p*/}...v${PV/_p*/}-pf${PV/*_p/}.diff -> ${P}.patch"
+SRC_URI="
+ ${KERNEL_URI}
+ ${PF_URI}
+ 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
+"
+
+KV_FULL="${PVR}-pf"
+S="${WORKDIR}/linux-${KV_FULL}"
+
+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
+ kernel-2_src_prepare
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ optfeature "Userspace KSM helper" sys-process/uksmd
+}
diff --git a/sys-kernel/pf-sources/pf-sources-5.4_p4.ebuild b/sys-kernel/pf-sources/pf-sources-5.4_p4.ebuild
new file mode 100644
index 000000000000..a86a2780b716
--- /dev/null
+++ b/sys-kernel/pf-sources/pf-sources-5.4_p4.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+HOMEPAGE="https://gitlab.com/post-factum/pf-kernel/-/wikis/README
+ https://dev.gentoo.org/~mpagano/genpatches/"
+
+IUSE=""
+
+# No 'experimental' USE flag provided, but we still want to use genpatches
+K_EXP_GENPATCHES_NOUSE="1"
+
+# No reason to bump this number unless something new gets included in genpatches,
+# in that case we can manually remove the linux kernel patches from genpatches.
+K_GENPATCHES_VER="1"
+
+K_NOSETEXTRAVERSION="1"
+
+# Not supported by the Gentoo security crew
+K_SECURITY_UNSUPPORTED="1"
+
+K_USEPV="yes"
+
+# We want the very basic patches from gentoo-sources, experimental patch
+# is already included in pf-sources
+K_WANT_GENPATCHES="base extras"
+
+UNIPATCH_STRICTORDER="yes"
+
+inherit eutils kernel-2
+detect_version
+
+DESCRIPTION="Linux kernel fork that includes the pf-kernel patchset and Gentoo's genpatches"
+
+PF_URI="https://github.com/pfactum/pf-kernel/compare/v${PV/_p*/}...v${PV/_p*/}-pf${PV/*_p/}.diff -> ${P}.patch"
+SRC_URI="
+ ${KERNEL_URI}
+ ${PF_URI}
+ 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
+"
+
+KV_FULL="${PVR}-pf"
+S="${WORKDIR}/linux-${KV_FULL}"
+
+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
+ kernel-2_src_prepare
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ optfeature "Userspace KSM helper" sys-process/uksmd
+}
diff --git a/sys-kernel/pf-sources/pf-sources-5.4_p5.ebuild b/sys-kernel/pf-sources/pf-sources-5.4_p5.ebuild
new file mode 100644
index 000000000000..a86a2780b716
--- /dev/null
+++ b/sys-kernel/pf-sources/pf-sources-5.4_p5.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+ETYPE="sources"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+HOMEPAGE="https://gitlab.com/post-factum/pf-kernel/-/wikis/README
+ https://dev.gentoo.org/~mpagano/genpatches/"
+
+IUSE=""
+
+# No 'experimental' USE flag provided, but we still want to use genpatches
+K_EXP_GENPATCHES_NOUSE="1"
+
+# No reason to bump this number unless something new gets included in genpatches,
+# in that case we can manually remove the linux kernel patches from genpatches.
+K_GENPATCHES_VER="1"
+
+K_NOSETEXTRAVERSION="1"
+
+# Not supported by the Gentoo security crew
+K_SECURITY_UNSUPPORTED="1"
+
+K_USEPV="yes"
+
+# We want the very basic patches from gentoo-sources, experimental patch
+# is already included in pf-sources
+K_WANT_GENPATCHES="base extras"
+
+UNIPATCH_STRICTORDER="yes"
+
+inherit eutils kernel-2
+detect_version
+
+DESCRIPTION="Linux kernel fork that includes the pf-kernel patchset and Gentoo's genpatches"
+
+PF_URI="https://github.com/pfactum/pf-kernel/compare/v${PV/_p*/}...v${PV/_p*/}-pf${PV/*_p/}.diff -> ${P}.patch"
+SRC_URI="
+ ${KERNEL_URI}
+ ${PF_URI}
+ 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
+"
+
+KV_FULL="${PVR}-pf"
+S="${WORKDIR}/linux-${KV_FULL}"
+
+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
+ kernel-2_src_prepare
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ optfeature "Userspace KSM helper" sys-process/uksmd
+}