commit:     c50e35bb6147db4858571fa7f9f2e01b1c041d44
Author:     Karl Linden <karl.j.linden <AT> gmail <DOT> com>
AuthorDate: Mon Dec 18 05:00:02 2017 +0000
Commit:     Alice Ferrazzi <alicef <AT> gentoo <DOT> org>
CommitDate: Mon Dec 18 05:40:59 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c50e35bb

sys-kernel/rt-sources: version bump to 4.9.68_p60

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

 sys-kernel/rt-sources/Manifest                     |  2 +
 sys-kernel/rt-sources/rt-sources-4.9.68_p60.ebuild | 54 ++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest
index 143586035a4..c75ab7550a8 100644
--- a/sys-kernel/rt-sources/Manifest
+++ b/sys-kernel/rt-sources/Manifest
@@ -43,3 +43,5 @@ DIST patch-4.9.47-rt37.patch.xz 171208 BLAKE2B 
124341097e524fdb711a16175108168c9
 DIST patch-4.9.47.xz 937408 BLAKE2B 
f81827ccdedcdb34b1d8f18b73674bf7ea19d83bb16c5f9f3c76909ec0a0561fcfda37da40ad410c74c1c7c00716a43540db5af50e8261f394a3253a2295df03
 SHA512 
1444676c9bdff6133191db4885fb6ddfb989e355c7f16ddc42ff1ed9415917f06c8147cd69346525624da8547204a68303d5002417b40e11c0174341f55cfc09
 DIST patch-4.9.61-rt51.patch.xz 171084 BLAKE2B 
accaafb5afa9b3f4e3f5d3c9bd2e52926b727ef9b81b2f45279ee9b23a0e03d0b6b1da3d1aa5d72051a8ed36a63e1123babe2a2d06622c6027793de7f0393f07
 SHA512 
d5dbfa5f0802365b5547efbccd3e3e3e00d7d7e9ea5ce9ecc60a11438854384df9de333d348ac4237c315c5c3a0f69487e99ade3afaafd26e098399abde73289
 DIST patch-4.9.61.xz 1113680 BLAKE2B 
6616fd0676cad33aedad73fd3d6f2f1afab70d02830ec97ed50b3e1e39bd24930662eb9b861a4a099a26e704b3d3944aca6c101ce4810080a2c0b8943f6377ea
 SHA512 
2b558fd3f5f7c70a1dde7a39ef3dd6bef621e5001d24f9945b887d58a4d640e58fbc0eecf77d845e4ca5815b507ee03f64e0db03a38c7d8e283eacae3d7dfb6a
+DIST patch-4.9.68-rt60.patch.xz 173760 BLAKE2B 
fd2837714f44f1d66d25c4abb247adc18cb36542be66b1e7eb060e084c5eaa23ebd6e6da3f7cc5ce7d7fe0214a9cbb3a3b657767026eb652bc7e8fb18a41b81c
 SHA512 
d95fbddc27af73512cbf7751abc9158ecf075a242ab42b30c59148e3c3ecb2f969fbc9447be62db5e50b82981fdd9b5dafc44e635be2103f8f9271b992436c41
+DIST patch-4.9.68.xz 1216096 BLAKE2B 
a37893a9526c31ac3a5b0eac06e17cd1d2a6ad23dcfd7ef5c1c0955a9cdd3c5912486a35b111d9eacc24aa4b4ecccdd43ec3e7e6f77c76b4fd697c092a2676e0
 SHA512 
2eb4479a89dd59a3b441c65f235777e69e06e24c91e8269ab77e4b628283cbc954376d685ce9a9b7fa408132e183a2581a3867e32d8c38666ec66b6d6b8bcd79

diff --git a/sys-kernel/rt-sources/rt-sources-4.9.68_p60.ebuild 
b/sys-kernel/rt-sources/rt-sources-4.9.68_p60.ebuild
new file mode 100644
index 00000000000..3b5bc7251fc
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-4.9.68_p60.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