From ffb20519a4d1d9d2841c3cfe265698de15393cf6 Mon Sep 17 00:00:00 2001 From: Karl Linden Date: Sun, 28 Jan 2018 09:45:45 +0100 Subject: [PATCH] sys-kernel/rt-sources: version bump to 3.18.91_p98 Package-Manager: Portage-2.3.20, Repoman-2.3.6 Closes: https://github.com/gentoo/gentoo/pull/6980 --- sys-kernel/rt-sources/Manifest | 1 + .../rt-sources/rt-sources-3.18.91_p98.ebuild | 58 +++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 sys-kernel/rt-sources/rt-sources-3.18.91_p98.ebuild diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest index 62965e63afaa0..960bcb2ad087b 100644 --- a/sys-kernel/rt-sources/Manifest +++ b/sys-kernel/rt-sources/Manifest @@ -22,6 +22,7 @@ DIST linux-4.9.tar.xz 93192404 BLAKE2B 83ae310b17d47f1f18d6d28537c31e10f3e60458c DIST patch-3.18.82-rt88.patch.xz 173608 BLAKE2B 6f0097ab5ffd318e9c519fd1da2a8e978111308c1d1a9a4ff141014f3926a564d78528fe228dfde124393bb19f5eee7f17e1487e390cedfc0ddb08a10f2068e8 SHA512 2771a9c8c45b94c82bfda77a3a2ddb07d500b3727139bb929209cb7ee63f5cfa104db1ceee824d1cecdc3cb95937a86e2434d77f60dabb131d4b12a7d5ae188f DIST patch-3.18.82.xz 1354196 BLAKE2B c5cc3bc681ec835087355998a18cd61755331d14331e5a8c5bb3f649ae60725972df15164edbf903a1ba277b55611031bafa3264ab15f06e07ae4b0b5616baae SHA512 c4947315e4ab58bad7b393af2f42709c5b0f43dbce37676e8dcbd7058b7faa38c32a58207de5d7f15c078e3ca1dca25f0c4ca05b2ac6804d14bb628d46ca1d46 DIST patch-3.18.91-rt97.patch.xz 173636 BLAKE2B e6bc0f5b72c3ab3c0537bb83223a402ac072f2fabeeefe03cbeddc6cc8c94cb010a7024fe658089bfe48a51dda4af7b2de885aab33a287a747e2a2f920dd414c SHA512 08b73b7634230f6501eb2be318c65f2cca0964fd3fb2d6f15bdcb5675b5567f9ad665ea6f3402e5fe8562fe0e2757f721401bad1d2aed1f7c1b8b622c61ecc5c +DIST patch-3.18.91-rt98.patch.xz 175116 BLAKE2B 3045e7e370e28830a6eee3816ddb96e75850cc8c54fe2b626286f81bd2203c2464dd329fc136efbd73926191af61794566c3694a568a992fa51420ec24054552 SHA512 db73da1e92c42694a97d15b45be4b77d3f3991434f7cc9d63e2896684f0cf8a09f4cd6d8b288af48f959d2791bb30e9aa5430bcf714c76a489ac6f3cc3f6c9cf DIST patch-3.18.91.xz 1407536 BLAKE2B 45797565f03f53d22dad76051517719f5aa25c924b9b800f94f20789514ed34f4c06182a51cdac4b87d7dc4e32e239f3a347160cfb43b70871cec19c71454a10 SHA512 7fc3276ab236e2b88fc59b239e541c028b20e2b8105fd5082b1b9a1e4015c313c314aa2eb770f2059e3c6f92d68793888549cf8943d0f41a9214ffefd0d51655 DIST patch-4.1.42-rt50.patch.xz 190032 BLAKE2B b1723b4dd1ac49c85a962c09b5aac4bdf49f1798fea3b312289d7d875b5ca8e2cdd37e313c80e7decd94f0f80aeefbd7305d3883a6f50a33102f2c5886c0b2f5 SHA512 a8bc66d368176e5d02bdc54b9a5a1eb9865b277d89fe6f43e2e212832bb0d3b435a510ba8e03a64e1f8d94cf5a870076405b2687c51558b1d47586c0f5738d2a DIST patch-4.1.42.xz 1109816 BLAKE2B b01888185a28df8c12f4f1cee4e6a417e656fcf0f09ee2179840a3d5f255650451a89e133d2bb628bbd645d9235cad147ba2e8a45efcaeeeace3d75a49f10b6e SHA512 a3b4e29e7cb613a72b8176edfe2cb5da0aa4e6064bb717c1bd5caa9463563cdb66a4bebe6256a8eddd58f32ae6f658fdbb66a3e4337a91def9d08b7c0e23fb2d diff --git a/sys-kernel/rt-sources/rt-sources-3.18.91_p98.ebuild b/sys-kernel/rt-sources/rt-sources-3.18.91_p98.ebuild new file mode 100644 index 0000000000000..1ca2170247ac6 --- /dev/null +++ b/sys-kernel/rt-sources/rt-sources-3.18.91_p98.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2018 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" + +PATCHES=( + "${FILESDIR}"/rt-sources-posix-printf.patch # 627068 +) + +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}."