commit:     083697a4ab7c9241ac0f1a3768198675bfc545f2
Author:     Karl Linden <karl.j.linden <AT> gmail <DOT> com>
AuthorDate: Mon Dec 18 04:58:57 2017 +0000
Commit:     Alice Ferrazzi <alicef <AT> gentoo <DOT> org>
CommitDate: Mon Dec 18 05:40:49 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=083697a4

sys-kernel/rt-sources: version bump to 4.1.46_p52

Package-Manager: Portage-2.3.19, Repoman-2.3.6
Closes: https://github.com/gentoo/gentoo/pull/6571

 sys-kernel/rt-sources/Manifest                     |  1 +
 sys-kernel/rt-sources/rt-sources-4.1.46_p52.ebuild | 54 ++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest
index 328f1e631c3..f90520c0480 100644
--- a/sys-kernel/rt-sources/Manifest
+++ b/sys-kernel/rt-sources/Manifest
@@ -23,6 +23,7 @@ DIST patch-3.18.82.xz 1354196 BLAKE2B 
c5cc3bc681ec835087355998a18cd61755331d1433
 DIST patch-4.1.42-rt50.patch.xz 190032 BLAKE2B 
b1723b4dd1ac49c85a962c09b5aac4bdf49f1798fea3b312289d7d875b5ca8e2cdd37e313c80e7decd94f0f80aeefbd7305d3883a6f50a33102f2c5886c0b2f5
 SHA512 
a8bc66d368176e5d02bdc54b9a5a1eb9865b277d89fe6f43e2e212832bb0d3b435a510ba8e03a64e1f8d94cf5a870076405b2687c51558b1d47586c0f5738d2a
 DIST patch-4.1.42.xz 1109816 BLAKE2B 
b01888185a28df8c12f4f1cee4e6a417e656fcf0f09ee2179840a3d5f255650451a89e133d2bb628bbd645d9235cad147ba2e8a45efcaeeeace3d75a49f10b6e
 SHA512 
a3b4e29e7cb613a72b8176edfe2cb5da0aa4e6064bb717c1bd5caa9463563cdb66a4bebe6256a8eddd58f32ae6f658fdbb66a3e4337a91def9d08b7c0e23fb2d
 DIST patch-4.1.46-rt51.patch.xz 189892 BLAKE2B 
3800f353d42b4c01461d9781dbf822fa6c14e408eec0c7158da8dd24673d33fea26d6241a8ec335fc7cf21e392be85543f88896cfa82b9a3aa8e5c08c5c214e4
 SHA512 
f009602913cfb22ae23943c452900b646d192146002b58517b591a874306b138e2e680170a70e1ead06ba38b76fc2e3fc55f83164dc5ef0b8dae5bdc30a54d8a
+DIST patch-4.1.46-rt52.patch.xz 190088 BLAKE2B 
2468002852ead5b171d043486b912bb710f4689b5b549f90890de572069f430f4de709cb54c4cde723bd8e888c0027cf13ecb7708f116575fc6801ab1a97cecc
 SHA512 
2c6813cc0f0efe990e9599f3e38048142fafb6fbfd7d3f9670d118cec0ada6fc69fb897509759cbb0c54798316ac30d137cd2721fb9a88a98024ddcd7ee90e7b
 DIST patch-4.1.46.xz 1236640 BLAKE2B 
0c4305e3a3d2da4dfb8f23e0837d27d7916830170a0f10e9108d7517c69fca89bfccf35455a12f6e944f4c0527041172b072ea93978b19410daa2e9ec0b9f43d
 SHA512 
c6b50ddd848c949119dfe1ebe45542a53c8116718e09345e8b47b300f057d4396f0991de51a6ce0ae1ea88502e53339573c8873126bfe202c742a09455b00519
 DIST patch-4.11.12-rt16.patch.xz 232408 BLAKE2B 
2c16730105c645a4f73bbf0dc59ed37ef9440bcd118f3a1d0f79822dbddf411abdece9bd5e859aefb38402f6b02d430350d056769eb8810be31fce5cc4db11f1
 SHA512 
1ef1324210e0c3d308cbededd3e7da41e47c972563858a21ae8178d060906cf24249f48dd0f8667d528be29d50755feaf1ede4fe35e662f89195ee91355a8ced
 DIST patch-4.11.12.xz 298784 BLAKE2B 
7e494b92a44fd2320ae91dd3a4860c37fe8ad543479e18607ad18142c3cbcda8b97ad11ad1a4452c9e1d239e71ca25d8565e237556abf7e72b21630a2852fb24
 SHA512 
ee9c5ac45896d84739c679834fcd15dfc46f9e939dcefd54ba049ac47168d71f0af680153615de002a2073ba79e44a9214f74af17ed16aa97d85e6df157fc6e8

diff --git a/sys-kernel/rt-sources/rt-sources-4.1.46_p52.ebuild 
b/sys-kernel/rt-sources/rt-sources-4.1.46_p52.ebuild
new file mode 100644
index 00000000000..3b5bc7251fc
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-4.1.46_p52.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+KEYWORDS="~amd64"
+
+HOMEPAGE="https://www.kernel.org/pub/linux/kernel/projects/rt/";
+
+inherit versionator
+
+CKV="$(get_version_component_range 1-3)"
+K_SECURITY_UNSUPPORTED="1"
+K_DEBLOB_AVAILABLE="1"
+RT_PATCHSET="${PV/*_p}"
+
+inherit kernel-2
+detect_version
+
+K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
+RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
+RT_URI="mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
+               
mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
+
+DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the 
CONFIG_PREEMPT_RT patch"
+SRC_URI="${KERNEL_URI} ${RT_URI}"
+
+KV_FULL="${PVR/_p/-rt}"
+S="${WORKDIR}/linux-${KV_FULL}"
+
+UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
+UNIPATCH_STRICTORDER="yes"
+
+src_prepare() {
+       default
+
+       # 627796
+       sed \
+               "s/default PREEMPT_NONE/default PREEMPT_RT_FULL/g" \
+               -i "${S}/kernel/Kconfig.preempt"
+}
+
+pkg_postinst() {
+       kernel-2_pkg_postinst
+       ewarn
+       ewarn "${PN} are *not* supported by the Gentoo Kernel Project in any 
way."
+       ewarn "If you need support, please contact the RT project developers 
directly."
+       ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues 
with"
+       ewarn "the ebuilds."
+       ewarn
+}
+
+K_EXTRAEINFO="For more info on rt-sources and details on how to report 
problems, see: \
+${HOMEPAGE}."

Reply via email to