From 1a63d92d49aa753253c11716f6139a47ae712b2f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 17 Jun 2018 09:32:27 +0100 Subject: sys-kernel/linux-{image,sources}-redcore-lts : version bump --- sys-kernel/linux-sources-redcore-lts/Manifest | 2 +- .../files/linux-hardened.patch | 12 ---- .../linux-sources-redcore-lts-4.14.44.ebuild | 69 ---------------------- .../linux-sources-redcore-lts-4.14.50.ebuild | 69 ++++++++++++++++++++++ 4 files changed, 70 insertions(+), 82 deletions(-) delete mode 100644 sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-4.14.44.ebuild create mode 100644 sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-4.14.50.ebuild (limited to 'sys-kernel/linux-sources-redcore-lts') diff --git a/sys-kernel/linux-sources-redcore-lts/Manifest b/sys-kernel/linux-sources-redcore-lts/Manifest index 408b77dc..88488d9f 100644 --- a/sys-kernel/linux-sources-redcore-lts/Manifest +++ b/sys-kernel/linux-sources-redcore-lts/Manifest @@ -1 +1 @@ -DIST linux-4.14.44.tar.xz 100900856 BLAKE2B 09afdac8a8ab7e9f579e0350f1d5b9f6b83bbde49c69198e45c029783c95fb90d4cc3b78cffbdec7885f5333e2ca20cc2fc9777b9c99e7ac7c3b3ea3b3218cb5 SHA512 f98d858092d69a662c7350d8c18380df5056013e953d41af44986783cf0a3f806827f8d2c6f23e5ee4346f51ad729b4f9ca150809c385f414e1b3d3718f2e39e +DIST linux-4.14.50.tar.xz 100914360 BLAKE2B ab5139121e6f6fb47983822f9655da31d73c64c7d7543222480da73ffc7e0b495c5d7e47364152badf4d483b38ecf79eddc450bb8ac40224d20051a5cf3a7c6b SHA512 e8cec475c53624b29e17d7295818d2f8c1ddc98ab72bdd5c9901fcef4f06117d3da5896add182ca85af0acaa872d25c16266165886bff822c260d5466561c7e7 diff --git a/sys-kernel/linux-sources-redcore-lts/files/linux-hardened.patch b/sys-kernel/linux-sources-redcore-lts/files/linux-hardened.patch index cd053840..0085a4f2 100644 --- a/sys-kernel/linux-sources-redcore-lts/files/linux-hardened.patch +++ b/sys-kernel/linux-sources-redcore-lts/files/linux-hardened.patch @@ -1295,18 +1295,6 @@ diff -Nur a/include/linux/vmalloc.h b/include/linux/vmalloc.h #ifndef CONFIG_MMU extern void *__vmalloc_node_flags(unsigned long size, int node, gfp_t flags); static inline void *__vmalloc_node_flags_caller(unsigned long size, int node, -diff -Nur a/include/net/regulatory.h b/include/net/regulatory.h ---- a/include/net/regulatory.h 2018-05-25 15:18:02.000000000 +0100 -+++ b/include/net/regulatory.h 2018-05-26 19:24:34.836783066 +0100 -@@ -78,7 +78,7 @@ - int wiphy_idx; - enum nl80211_reg_initiator initiator; - enum nl80211_user_reg_hint_type user_reg_hint_type; -- char alpha2[2]; -+ char alpha2[3]; - enum nl80211_dfs_regions dfs_region; - bool intersect; - bool processed; diff -Nur a/init/Kconfig b/init/Kconfig --- a/init/Kconfig 2018-05-25 15:18:02.000000000 +0100 +++ b/init/Kconfig 2018-05-26 19:24:34.836783066 +0100 diff --git a/sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-4.14.44.ebuild b/sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-4.14.44.ebuild deleted file mode 100644 index 229bb6f2..00000000 --- a/sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-4.14.44.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils - -EXTRAVERSION="redcore-lts" -KV_FULL="${PV}-${EXTRAVERSION}" - -DESCRIPTION="Official Redcore Linux Kernel Sources" -HOMEPAGE="https://redcorelinux.org" -SRC_URI="https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-${PV}.tar.xz" - -KEYWORDS="amd64" -LICENSE="GPL-2" -SLOT="${PV}" -IUSE="" - -RESTRICT="strip mirror" -DEPEND=" - app-arch/xz-utils - sys-devel/autoconf - sys-devel/bc - sys-devel/make" -RDEPEND="${DEPEND}" - -PATCHES=( "${FILESDIR}"/enable_alx_wol.patch - "${FILESDIR}"/introduce-NUMA-identity-node-sched-domain.patch - "${FILESDIR}"/k10temp-add-ZEN-support.patch - "${FILESDIR}"/mute-pps_state_mismatch.patch - "${FILESDIR}"/restore-SD_PREFER_SIBLING-on-MC-domains.patch - "${FILESDIR}"/Revert-ath10k-activate-user-space-firmware-loading.patch - "${FILESDIR}"/linux-hardened.patch - "${FILESDIR}"/uksm-for-linux-hardened.patch ) - -S="${WORKDIR}"/linux-"${PV}" - -pkg_setup() { - export KBUILD_BUILD_USER="nexus" - export KBUILD_BUILD_HOST="nexus.redcorelinux.org" - - export REAL_ARCH="$ARCH" - unset ARCH ; unset LDFLAGS #will interfere with Makefile if set -} - -src_prepare() { - default - emake mrproper - sed -ri "s|^(EXTRAVERSION =).*|\1 -${EXTRAVERSION}|" Makefile - cp "${FILESDIR}"/"${EXTRAVERSION}"-amd64.config .config -} - -src_compile() { - emake prepare modules_prepare -} - -src_install() { - dodir usr/src/linux-"${KV_FULL}" - cp -ax "${S}"/* "${D}"usr/src/linux-"${KV_FULL}" -} - -_kernel_sources_delete() { - rm -rf "${ROOT}"usr/src/linux-"${KV_FULL}" -} - -pkg_postrm() { - _kernel_sources_delete -} diff --git a/sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-4.14.50.ebuild b/sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-4.14.50.ebuild new file mode 100644 index 00000000..229bb6f2 --- /dev/null +++ b/sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-4.14.50.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils + +EXTRAVERSION="redcore-lts" +KV_FULL="${PV}-${EXTRAVERSION}" + +DESCRIPTION="Official Redcore Linux Kernel Sources" +HOMEPAGE="https://redcorelinux.org" +SRC_URI="https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-${PV}.tar.xz" + +KEYWORDS="amd64" +LICENSE="GPL-2" +SLOT="${PV}" +IUSE="" + +RESTRICT="strip mirror" +DEPEND=" + app-arch/xz-utils + sys-devel/autoconf + sys-devel/bc + sys-devel/make" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}"/enable_alx_wol.patch + "${FILESDIR}"/introduce-NUMA-identity-node-sched-domain.patch + "${FILESDIR}"/k10temp-add-ZEN-support.patch + "${FILESDIR}"/mute-pps_state_mismatch.patch + "${FILESDIR}"/restore-SD_PREFER_SIBLING-on-MC-domains.patch + "${FILESDIR}"/Revert-ath10k-activate-user-space-firmware-loading.patch + "${FILESDIR}"/linux-hardened.patch + "${FILESDIR}"/uksm-for-linux-hardened.patch ) + +S="${WORKDIR}"/linux-"${PV}" + +pkg_setup() { + export KBUILD_BUILD_USER="nexus" + export KBUILD_BUILD_HOST="nexus.redcorelinux.org" + + export REAL_ARCH="$ARCH" + unset ARCH ; unset LDFLAGS #will interfere with Makefile if set +} + +src_prepare() { + default + emake mrproper + sed -ri "s|^(EXTRAVERSION =).*|\1 -${EXTRAVERSION}|" Makefile + cp "${FILESDIR}"/"${EXTRAVERSION}"-amd64.config .config +} + +src_compile() { + emake prepare modules_prepare +} + +src_install() { + dodir usr/src/linux-"${KV_FULL}" + cp -ax "${S}"/* "${D}"usr/src/linux-"${KV_FULL}" +} + +_kernel_sources_delete() { + rm -rf "${ROOT}"usr/src/linux-"${KV_FULL}" +} + +pkg_postrm() { + _kernel_sources_delete +} -- cgit v1.2.3