summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2020-01-05 22:17:43 +0200
committerJoonas Niilola <juippis@gentoo.org>2020-01-05 22:17:43 +0200
commit07ce32c2844776a17511c000c0812ca0fe633809 (patch)
tree2a4d747a447b2d1fb4a8af08083af188d2b50b3b /sys-kernel/pf-sources
parentnet-news/rssguard: Call xdg_icon_cache_update (diff)
downloadgentoo-07ce32c2844776a17511c000c0812ca0fe633809.tar.gz
gentoo-07ce32c2844776a17511c000c0812ca0fe633809.tar.bz2
gentoo-07ce32c2844776a17511c000c0812ca0fe633809.zip
sys-kernel/pf-sources: bump to 5.4-pf4
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'sys-kernel/pf-sources')
-rw-r--r--sys-kernel/pf-sources/Manifest1
-rw-r--r--sys-kernel/pf-sources/pf-sources-5.4_p4.ebuild75
2 files changed, 76 insertions, 0 deletions
diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest
index 1cc3cacf7e0c..f4b784d6b915 100644
--- a/sys-kernel/pf-sources/Manifest
+++ b/sys-kernel/pf-sources/Manifest
@@ -16,3 +16,4 @@ DIST pf-sources-5.3_p8.patch 2445607 BLAKE2B d1aa017f43219f661d16e82f9f36ef5b526
DIST pf-sources-5.4_p1.patch 258131 BLAKE2B 23305be06df369a9bd7efdc1ab1c79bcbe6c1d0eed2ed99102d71e32eb7588548211a9587d0a12b2dac0aa8e99fa996d535b84a70e6f53078dc2228fbc87f102 SHA512 71ce2ca76dc2a89d93e5bdd9feea95f02dbef6192fcd6fb3e7d1136b826114b1b2b359d387d6343b40c4e253ef2f6c55399242f1abec50ca554de5928dd5eda1
DIST pf-sources-5.4_p2.patch 444667 BLAKE2B 970e27405a2bcfd206b7c4d2852c1329b9197cd14c4ad1bdcde0d5a36af41efe26ffec26469150da224c55cae7bc31c726a2ce0c93f723527423c5346d477367 SHA512 3f8ec934c71d9541a621bdff7c6db247e91027e83e0c0afcb08a6f7a0e4bf9c7667e4ad4a2bc7dd1aa7bb95f23ebe4d1ba818fd8ee24bb6cbf4e8e80a9ce150c
DIST pf-sources-5.4_p3.patch 977402 BLAKE2B 718d3239745b6be9736d4d5f49daddaeb4c0d8e6cb64f7824f84cfa64f3d9f15f86571fccf60009c0cc478be545d1da472fc1189ebf8df4518bbc57bea906c77 SHA512 5f8cff5193f0baadff310a47fc9be9abfa710f68595c2fd543bb6c72d9524e335ecc26d28a41e0e5735db1702d3978e0501984dc0e1637e3a3b54ac5fb1b5026
+DIST pf-sources-5.4_p4.patch 1683670 BLAKE2B df903d196334f502ed8056de684f51d8aa8f9f81ceb2cb5f17e1267fab2c77e0534bba55b895d266f1f940d211504511dd3afe0da1f30479ff7555be03ebcdca SHA512 e1d24d45d8b0c00c9a2cf20774e6adb251dcbdda15f535c30abcb1296985781ea9fd4d7e6867dbdc9c0fe6fbbc7634d1997020a3c2345339ac08ad2e1c92409f
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..f95b603d66f4
--- /dev/null
+++ b/sys-kernel/pf-sources/pf-sources-5.4_p4.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2019 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
+}