summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2019-10-08 06:03:38 +0300
committerJoonas Niilola <juippis@gentoo.org>2019-10-08 06:03:38 +0300
commit4ffc72677bed4f3ad2934c237dde340745e3c6b8 (patch)
treea0d38a8892f950301912f42aadb3b221cd2aa8b4 /sys-kernel/pf-sources
parentsys-auth/nss-pam-ldapd: Fix pynslcd module path patch in 0.9.11 (diff)
downloadgentoo-4ffc72677bed4f3ad2934c237dde340745e3c6b8.tar.gz
gentoo-4ffc72677bed4f3ad2934c237dde340745e3c6b8.tar.bz2
gentoo-4ffc72677bed4f3ad2934c237dde340745e3c6b8.zip
sys-kernel/pf-sources: bump to 5.3-pf3
Package-Manager: Portage-2.3.76, Repoman-2.3.17 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.3_p3.ebuild74
2 files changed, 75 insertions, 0 deletions
diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest
index d217a3ef3c10..1afe04233f9c 100644
--- a/sys-kernel/pf-sources/Manifest
+++ b/sys-kernel/pf-sources/Manifest
@@ -11,3 +11,4 @@ DIST pf-sources-5.1_p7.patch 2206844 BLAKE2B 542a9c09aa1e9def85afafe4f6275aa62c1
DIST pf-sources-5.2_p8.patch 2328455 BLAKE2B 425b0a04800db70b060c8b18ae4f8e99a7af12cf8053604361b34b0c6c759cefcad6d1ba4d241729fbbb12ef5fa4c034d904c14219bd3c7a18dc9e616f148f43 SHA512 4f021b1051391a9a582e86ab898f1fbdf867b8573d6861f25932e5bef2baae4234be5caac93cfc87656bc5c4fc2bf179906b7ce12e0c267245e5efeaa63605bd
DIST pf-sources-5.3_p1.patch 253654 BLAKE2B f1d4cd4a1d2ad78a918a540c79ec2a7c15c35788c654829d98d5fcfdd9fa13656dcc83dd0f1d34d03f1aa8e0fc6ad1c55d50faf290705bc0d7d296a1ce12ce08 SHA512 951a3bf95962c4e22adb5f59c21a7f367ed734e4d2c1140cee6c9daabd396c0ea322ca6da364fb9682188a3e7eba1f9cbd62523a863399ab8e441f390e9597fb
DIST pf-sources-5.3_p2.patch 317339 BLAKE2B 7e5f8c3a2cd7f2fae4b038c8178c1d0943b1224fd4898aab6a546fadf7b091177c6d3ce99ffe6bcf298405d9354064aca78695f608c6d695bbb287752e8e9f4b SHA512 8c0c4dabb6925ab6fa1a9379035fcbac9587737be938e13bf0059fa5e55f79ef7f8800f1568dd1192e63e377e832ad628127b239ffc96b06699ee413d7a884f8
+DIST pf-sources-5.3_p3.patch 980797 BLAKE2B 96bd53791737fcb1d1503b719a8654a90bd9045ab678289fb457992725b40c6ddd86d4970dc462a3b707de7fc38ecd55b95f0191941fc79777f2b17ba22a9cc8 SHA512 d3bb38efa4174494a6669b77805207d6af1d6b00ff1d887f8f4d3b0f4682548e347ce96e0c1841d4a4f81f0721327b4f2c8d7b169f3b0850a895f1dac2b3d4c3
diff --git a/sys-kernel/pf-sources/pf-sources-5.3_p3.ebuild b/sys-kernel/pf-sources/pf-sources-5.3_p3.ebuild
new file mode 100644
index 000000000000..82d79915f607
--- /dev/null
+++ b/sys-kernel/pf-sources/pf-sources-5.3_p3.ebuild
@@ -0,0 +1,74 @@
+# 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
+}