summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Hallabro-Kokko <robin@hallabro.nu>2019-04-23 19:42:01 +0200
committerMichał Górny <mgorny@gentoo.org>2019-07-06 08:06:09 +0200
commita2c67d98feddb1c74ab316341b9e1df88286e972 (patch)
treeb50166653f51f2c101edd1d1a6d07ccb9fceb7b6 /sys-kernel
parentsys-kernel/pf-sources: Drop old versions (diff)
downloadgentoo-a2c67d98feddb1c74ab316341b9e1df88286e972.tar.gz
gentoo-a2c67d98feddb1c74ab316341b9e1df88286e972.tar.bz2
gentoo-a2c67d98feddb1c74ab316341b9e1df88286e972.zip
sys-kernel/pf-sources: Update to 5.1_p7
Signed-off-by: Robin Hallabro-Kokko <robin@hallabro.nu> Closes: https://github.com/gentoo/gentoo/pull/11158 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/pf-sources/Manifest4
-rw-r--r--sys-kernel/pf-sources/pf-sources-5.1_p7.ebuild75
2 files changed, 79 insertions, 0 deletions
diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest
index b40e82eb51a2..43f7ccbcefd7 100644
--- a/sys-kernel/pf-sources/Manifest
+++ b/sys-kernel/pf-sources/Manifest
@@ -1,2 +1,6 @@
+DIST genpatches-5.1-1.base.tar.xz 3876 BLAKE2B 8a96597cf4283fe084a35789ba39038b50ab4afaea0150df6333d394f7eeccd02d792acb284383fdf718336cb119753e0626b75e2b11f67a32be0c3e12d3e15f SHA512 c763fc584afbd2d995d41bae379deabd80fbedad550ec0d39e5623b93002b608ef73fcabf2d1bdf05f1e62c8b0a94ae91c6ba504cd2daf66b103a280126021d2
+DIST genpatches-5.1-1.extras.tar.xz 1724 BLAKE2B 9308d8f6b1bce24978e5b04934152b5de718806f271dfffc7f465ee1f44b08e4e28bc52e26dd5e005a0da05f53f1c9b36d8a9099dbfdac6ed0f90ffa8978cb5c SHA512 50bc26985b51ff1293aa96d8d20466a6ad07388b117e81bd67fd96675f04bd0ac97e2c16ad24a3e2a451e4de79a8d64c2d96643851878590366ddd366ba17696
DIST linux-4.13.tar.xz 100579888 BLAKE2B 2f8be07d403071b097b019c43fa332bc7d4805dee633a6fdffe5a99d5475015ca9e4881e7f4cbfd36f8c451bacf423436364ea3d9f25b8723a29a178dededb2b SHA512 a557c2f0303ae618910b7106ff63d9978afddf470f03cb72aa748213e099a0ecd5f3119aea6cbd7b61df30ca6ef3ec57044d524b7babbaabddf8b08b8bafa7d2
+DIST linux-5.1.tar.xz 106244476 BLAKE2B ae3c63ced819737e34f8ec3a78138f87704a2f2956454411e3a4830ec8c0aaf2c288af6ca080f1892540e50f4a422482360010be8641afdeeeaf7231e7d8da97 SHA512 ae96f347badc95f1f3acf506c52b6cc23c0bd09ce8f4ce6705d4b4058b62593059bba1bc603c8d8b00a2f19131e7e56c31ac62b45883a346fa61d655e178f236
DIST patch-4.13-pf4.xz 173732 BLAKE2B 990defc1eb15ca509f922381dc5f7726265caeccd9a9b639989a3e6dc56c4cb3b6076a2588ef93cc39aa4f36e403f654a2c580aac50be61d74dde429ef69f1fc SHA512 6b6fdbb26ec1053c0b3fb0223b2e1cbfb28d88b172ffa8d110a5e7a37f3b0bf377d5957d47007c3468dc42b8c33aad1acbc89c44027c8f7326dcbf940d7de88f
+DIST pf-sources-5.1_p7.patch 2206844 BLAKE2B 542a9c09aa1e9def85afafe4f6275aa62c178a7e60af157bdef0fe6ed659bc7ce96f30e3b05cb750bfa2f5e92e354064848b3a1d0f0c2894a07970cd2edc6bb4 SHA512 22ca39aa667fee4a75a470bffa86905191b3550ca82e3e1554bdd8ae3d5255053d8f650e781ae713b99e9b3cf1070e60f3f5df751fb7a70fe6d52e538a798a37
diff --git a/sys-kernel/pf-sources/pf-sources-5.1_p7.ebuild b/sys-kernel/pf-sources/pf-sources-5.1_p7.ebuild
new file mode 100644
index 000000000000..9c2862bc7a9f
--- /dev/null
+++ b/sys-kernel/pf-sources/pf-sources-5.1_p7.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="don't_set_it"
+
+# Not supported by the Gentoo 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 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_postrm() {
+ kernel-2_pkg_postrm
+}