summaryrefslogtreecommitdiff
path: root/sys-kernel/pf-sources
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/pf-sources')
-rw-r--r--sys-kernel/pf-sources/Manifest14
-rw-r--r--sys-kernel/pf-sources/pf-sources-5.3_p8.ebuild2
-rw-r--r--sys-kernel/pf-sources/pf-sources-5.4_p6.ebuild2
-rw-r--r--sys-kernel/pf-sources/pf-sources-5.5_p1.ebuild2
-rw-r--r--sys-kernel/pf-sources/pf-sources-5.5_p2.ebuild2
-rw-r--r--sys-kernel/pf-sources/pf-sources-5.5_p3.ebuild2
-rw-r--r--sys-kernel/pf-sources/pf-sources-5.5_p4.ebuild75
-rw-r--r--sys-kernel/pf-sources/pf-sources-5.5_p5.ebuild67
8 files changed, 156 insertions, 10 deletions
diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest
index cbfb3487685b..7c15295beb71 100644
--- a/sys-kernel/pf-sources/Manifest
+++ b/sys-kernel/pf-sources/Manifest
@@ -12,9 +12,13 @@ DIST pf-sources-5.4_p6.patch 2445594 BLAKE2B 766549139da27838aca8f849c6d71b13f3b
DIST pf-sources-5.5_p1.patch 551540 BLAKE2B 6e169f1e3a75a9f18b3c8e8c3ab6da9ff365e8bc467e01e84a088a75a19d4f93908774260569c383479f4e91255abbffb1ea5bc67b955cdb787d1529e50e645f SHA512 8d2a4c71063d741b2e3dfad7403f9c020f9594166554d393d9c5e21d7fa64d20e67b7a91ee6f07dd0db008973b6d0bd88bfad95828ab3a230474770f35377c47
DIST pf-sources-5.5_p2.patch 657945 BLAKE2B 96acd27211f938605ff14b0588388b78606966e0fdfa7c8168521fd21155db2741d5f8256cb8c5df9232a77a6cf872d2ee945106af5e75502600c45d0d88f660 SHA512 2989554d41c0e970edef4641f7b6a402bd31b48ded6b94fa6b72af356327072a3ea0bcf58b7e9ab953eaf7a555b4cf49dcd75fad58c5da3235f0892f5e06c6ad
DIST pf-sources-5.5_p3.patch 1305735 BLAKE2B 3b124c3fe3949ea18242558d57672f4f9f1e854f0c7351cbfc71ae2783028f7e170df0a8cde55692e87a77915e85decdd91e34105b1685dc0c6718c211d7b596 SHA512 c6915878e5d6347af89ea515ce66b14d3ae511b37774b8e1a277c5154dc9a3398731aa4da838dbf42fe0945000fc329f63a62b60d0b42acc5d1b843c5d614a77
-EBUILD pf-sources-5.3_p8.ebuild 2001 BLAKE2B 100f5dd1cf5f4e5df40bf8ba6059765ff924998c3cadb4c7b93f841353b6ed0ef63500a6f389df619b41cc958b47a518f48512256d050408e8e1527664318b09 SHA512 67d7a0ad1bbab0b652c164a98d2af17176465e9f950078f2317055adc0dddbf422b7dc0def2b1d508f0ab2dfa37a0e8bfc407b118856f5e3e5f830d7433f48f4
-EBUILD pf-sources-5.4_p6.ebuild 2002 BLAKE2B c521daf6b67c9a49a39cefa5925d5c42a78a45f167e577f0a0ef6e4183b29addad30004213ec5c72cc3ab1a0573bec5df7ca850b2f49c43bfb969ec5cb6d0134 SHA512 2198e300aced4b78120860722574c32b0f603b6c4bc32711ede62872af2d5eade31eef6d84acb95a195ca60baca5b0eecba5667ba88b1b542930518ee47f2226
-EBUILD pf-sources-5.5_p1.ebuild 2002 BLAKE2B c521daf6b67c9a49a39cefa5925d5c42a78a45f167e577f0a0ef6e4183b29addad30004213ec5c72cc3ab1a0573bec5df7ca850b2f49c43bfb969ec5cb6d0134 SHA512 2198e300aced4b78120860722574c32b0f603b6c4bc32711ede62872af2d5eade31eef6d84acb95a195ca60baca5b0eecba5667ba88b1b542930518ee47f2226
-EBUILD pf-sources-5.5_p2.ebuild 2002 BLAKE2B c521daf6b67c9a49a39cefa5925d5c42a78a45f167e577f0a0ef6e4183b29addad30004213ec5c72cc3ab1a0573bec5df7ca850b2f49c43bfb969ec5cb6d0134 SHA512 2198e300aced4b78120860722574c32b0f603b6c4bc32711ede62872af2d5eade31eef6d84acb95a195ca60baca5b0eecba5667ba88b1b542930518ee47f2226
-EBUILD pf-sources-5.5_p3.ebuild 2002 BLAKE2B c521daf6b67c9a49a39cefa5925d5c42a78a45f167e577f0a0ef6e4183b29addad30004213ec5c72cc3ab1a0573bec5df7ca850b2f49c43bfb969ec5cb6d0134 SHA512 2198e300aced4b78120860722574c32b0f603b6c4bc32711ede62872af2d5eade31eef6d84acb95a195ca60baca5b0eecba5667ba88b1b542930518ee47f2226
+DIST pf-sources-5.5_p4.patch 1489666 BLAKE2B 3906d23f42d4943acf3e75a5b47d94b808417338cffbf8e04dad825387188be678afa3eb7d264c687e483b91b82402370a2df7e72c82294cffc39d4a7c0429b5 SHA512 b0c9cad6a375205c65d32d435efede2dbb98cd6e077aa7ef4d0d33e9735f3937980c371b87a76d5595426b3dce3606bacdb69eb1c8baf14d435e2c9190035bc2
+DIST pf-sources-5.5_p5.patch 2147102 BLAKE2B 0f6aee4d3e59386e3acdf67ab7f931e45acb3d6d1b8aa39a914875da1bde2733d5b4bfc601635280f7f6fd0dcfbf1c6cdd77061a3e4230b128896da829b9e495 SHA512 7d60c3a18bec8642cc13594bdbb82c684d78d62636f9bbb9f2e791f7695476420c6d80256a4157a44e61f9d85c9405dd398587f935c33c77b8a2b92538855037
+EBUILD pf-sources-5.3_p8.ebuild 2002 BLAKE2B 79e62a8e033bb11b79ebe6eae91f9d3f91dc7d76b44875467f82c6a16b75d1c857e677aeb5fe7cb5db1d222484d13a91c340d326efbbf3945ead59601377af8f SHA512 022db898b9df0e22e944a7396ed8c2178ac2c6bc52aed6498c26b683c4976716e352529022e8cdb476e06c94100a3a5ffc3279ba932bb557d51c3b058b4ce987
+EBUILD pf-sources-5.4_p6.ebuild 2003 BLAKE2B 142c2a4a03bb26454d46ff3e15bd55e3ac41fa907e660fd648d4a3064a3b0b1b2f9465fb44b6259a080910dd9c233adffc8986c572a714cd2867fa912a5d39d2 SHA512 07022c9cfd032c9841537103eabfcc5fcd8aabc7b9cdc352b953101b254c5319d09c7bc17bc3e08df050494ca5634c44ac04a19dcb740126094d3bb7a7c7d507
+EBUILD pf-sources-5.5_p1.ebuild 2003 BLAKE2B 142c2a4a03bb26454d46ff3e15bd55e3ac41fa907e660fd648d4a3064a3b0b1b2f9465fb44b6259a080910dd9c233adffc8986c572a714cd2867fa912a5d39d2 SHA512 07022c9cfd032c9841537103eabfcc5fcd8aabc7b9cdc352b953101b254c5319d09c7bc17bc3e08df050494ca5634c44ac04a19dcb740126094d3bb7a7c7d507
+EBUILD pf-sources-5.5_p2.ebuild 2003 BLAKE2B 142c2a4a03bb26454d46ff3e15bd55e3ac41fa907e660fd648d4a3064a3b0b1b2f9465fb44b6259a080910dd9c233adffc8986c572a714cd2867fa912a5d39d2 SHA512 07022c9cfd032c9841537103eabfcc5fcd8aabc7b9cdc352b953101b254c5319d09c7bc17bc3e08df050494ca5634c44ac04a19dcb740126094d3bb7a7c7d507
+EBUILD pf-sources-5.5_p3.ebuild 2003 BLAKE2B 142c2a4a03bb26454d46ff3e15bd55e3ac41fa907e660fd648d4a3064a3b0b1b2f9465fb44b6259a080910dd9c233adffc8986c572a714cd2867fa912a5d39d2 SHA512 07022c9cfd032c9841537103eabfcc5fcd8aabc7b9cdc352b953101b254c5319d09c7bc17bc3e08df050494ca5634c44ac04a19dcb740126094d3bb7a7c7d507
+EBUILD pf-sources-5.5_p4.ebuild 2003 BLAKE2B 142c2a4a03bb26454d46ff3e15bd55e3ac41fa907e660fd648d4a3064a3b0b1b2f9465fb44b6259a080910dd9c233adffc8986c572a714cd2867fa912a5d39d2 SHA512 07022c9cfd032c9841537103eabfcc5fcd8aabc7b9cdc352b953101b254c5319d09c7bc17bc3e08df050494ca5634c44ac04a19dcb740126094d3bb7a7c7d507
+EBUILD pf-sources-5.5_p5.ebuild 1954 BLAKE2B 15c4bd2a69604a36546318261ce7a8de97ab6e78994e8614e72ea6c968aed2a22389557759ab7265a2c0f4cdd5c29e68a82143b6ca23594698c1e9f0a844f4b9 SHA512 0de23fd94dbcbf7e9050cf8399f09adf5b1e2fad6bf12b9c6ba05805e251f0c3d3051014379d6b79cc5f443d6726bd5dea87b1759674bb535b3cfb3dc22a6524
MISC metadata.xml 345 BLAKE2B 26083da0607ae4e301d8dd622cd9b0016630e1e70dd6197fb8b95912578015a13da38c8434df3cebdf13f22566a132ffa9ac2ee4a32ed482cf780c55327316da SHA512 4bbc43612402fe253b02894ae6bf290ae44082c98a48d31e3d822946a8709752d3c4fb9d338fdb6779d6b421e73073c67f5f951ef423728aaa5cc18ac7958b2e
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 fe7502d70dcf..b80c47237f5d 100644
--- a/sys-kernel/pf-sources/pf-sources-5.3_p8.ebuild
+++ b/sys-kernel/pf-sources/pf-sources-5.3_p8.ebuild
@@ -53,7 +53,7 @@ PATCHES=(
K_EXTRAEINFO="For more info on pf-sources and details on how to report problems,
see: ${HOMEPAGE}."
-pkg_setup(){
+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."
diff --git a/sys-kernel/pf-sources/pf-sources-5.4_p6.ebuild b/sys-kernel/pf-sources/pf-sources-5.4_p6.ebuild
index a86a2780b716..676fb9f17fc9 100644
--- a/sys-kernel/pf-sources/pf-sources-5.4_p6.ebuild
+++ b/sys-kernel/pf-sources/pf-sources-5.4_p6.ebuild
@@ -54,7 +54,7 @@ PATCHES=(
K_EXTRAEINFO="For more info on pf-sources and details on how to report problems,
see: ${HOMEPAGE}."
-pkg_setup(){
+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."
diff --git a/sys-kernel/pf-sources/pf-sources-5.5_p1.ebuild b/sys-kernel/pf-sources/pf-sources-5.5_p1.ebuild
index a86a2780b716..676fb9f17fc9 100644
--- a/sys-kernel/pf-sources/pf-sources-5.5_p1.ebuild
+++ b/sys-kernel/pf-sources/pf-sources-5.5_p1.ebuild
@@ -54,7 +54,7 @@ PATCHES=(
K_EXTRAEINFO="For more info on pf-sources and details on how to report problems,
see: ${HOMEPAGE}."
-pkg_setup(){
+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."
diff --git a/sys-kernel/pf-sources/pf-sources-5.5_p2.ebuild b/sys-kernel/pf-sources/pf-sources-5.5_p2.ebuild
index a86a2780b716..676fb9f17fc9 100644
--- a/sys-kernel/pf-sources/pf-sources-5.5_p2.ebuild
+++ b/sys-kernel/pf-sources/pf-sources-5.5_p2.ebuild
@@ -54,7 +54,7 @@ PATCHES=(
K_EXTRAEINFO="For more info on pf-sources and details on how to report problems,
see: ${HOMEPAGE}."
-pkg_setup(){
+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."
diff --git a/sys-kernel/pf-sources/pf-sources-5.5_p3.ebuild b/sys-kernel/pf-sources/pf-sources-5.5_p3.ebuild
index a86a2780b716..676fb9f17fc9 100644
--- a/sys-kernel/pf-sources/pf-sources-5.5_p3.ebuild
+++ b/sys-kernel/pf-sources/pf-sources-5.5_p3.ebuild
@@ -54,7 +54,7 @@ PATCHES=(
K_EXTRAEINFO="For more info on pf-sources and details on how to report problems,
see: ${HOMEPAGE}."
-pkg_setup(){
+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."
diff --git a/sys-kernel/pf-sources/pf-sources-5.5_p4.ebuild b/sys-kernel/pf-sources/pf-sources-5.5_p4.ebuild
new file mode 100644
index 000000000000..676fb9f17fc9
--- /dev/null
+++ b/sys-kernel/pf-sources/pf-sources-5.5_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.5_p5.ebuild b/sys-kernel/pf-sources/pf-sources-5.5_p5.ebuild
new file mode 100644
index 000000000000..2a683a5287d4
--- /dev/null
+++ b/sys-kernel/pf-sources/pf-sources-5.5_p5.ebuild
@@ -0,0 +1,67 @@
+# 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="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"
+
+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
+ kernel-2_src_prepare
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+
+ elog "Optional features:"
+ optfeature "Userspace KSM helper" sys-process/uksmd
+}