diff options
author | Aisha Tammy <gentoo@aisha.cc> | 2022-04-26 18:17:55 +0000 |
---|---|---|
committer | Aisha Tammy <gentoo@aisha.cc> | 2022-04-26 18:17:55 +0000 |
commit | cf0dcbcfde374574dd5b679a2c1538c7c56d90e7 (patch) | |
tree | 5325b27c9fef906c5577a789843a74ddd4fa8889 /sys-kernel | |
parent | sys-kernel/rte_kni-kmod: drop 21.11 (diff) | |
download | guru-cf0dcbcfde374574dd5b679a2c1538c7c56d90e7.tar.gz guru-cf0dcbcfde374574dd5b679a2c1538c7c56d90e7.tar.bz2 guru-cf0dcbcfde374574dd5b679a2c1538c7c56d90e7.zip |
sys-kernel/uek-sources: add 5.4.17.2136.307.2
Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/uek-sources/Manifest | 1 | ||||
-rw-r--r-- | sys-kernel/uek-sources/uek-sources-5.4.17.2136.307.2.ebuild | 67 |
2 files changed, 68 insertions, 0 deletions
diff --git a/sys-kernel/uek-sources/Manifest b/sys-kernel/uek-sources/Manifest index 95a01d975..6bab60855 100644 --- a/sys-kernel/uek-sources/Manifest +++ b/sys-kernel/uek-sources/Manifest @@ -6,3 +6,4 @@ DIST genpatches-5.4-192.experimental.tar.xz 16912 BLAKE2B 0db86034da673afc2f10cc DIST genpatches-5.4-192.extras.tar.xz 1816 BLAKE2B 2d6760ff367ee0ba6ff8d56f81c7c3587ccd8c4f8fb952e3380148b2f3532a19cd614f352241134eb3256f8e59c000806f3d1eb33caa582e0c4be813d3275672 SHA512 f8d43a3a80abd947cbd667b3ed449215d98967fa8dc2200efbba86db946a04dc7dc971d74afe1aa6b923ea3f9914b28c3bcb9f6ec205b1bfb0cd60c0ae57758a DIST linux-uek-5.4.17-2136.305.5.tar.gz 175486059 BLAKE2B e51fd6ddc031f3a901ad5e041a966f280be7b33efc43aac6ee468653b7cb9215270c669589891f20e2399031fa9e62ffe4b1357961cfaca4cc51bcf9178a268d SHA512 83a2380013af0cf9600cf7ef36a6eb530e544603684945932bca1a3dd874a366a857bfb7f20e774be545d253bd20457a02c36524982408e498cafbe2f7b6e885 DIST linux-uek-5.4.17-2136.306.1.tar.gz 175487701 BLAKE2B 4ea72ec404ef2e88492f46feafdf052f9fff0efd16522f7fcb24c708141b21ab16b9919bd30399c15780126091e083b082a4d47fd5a1aa1743179ac8a11012e0 SHA512 d0fb863acde2fb680f78fb3eb855fa4a4e7bc54c1ea1b4003d3f7a33bffdfbdbfc28c7c3e650deae08a493a0fbda31b085b827ad6b40f5bb31724253925b6935 +DIST linux-uek-5.4.17-2136.307.2.tar.gz 175498423 BLAKE2B f3e95673891cdf2750d0ff19205c8a0b265de4c171125e69eaf2ee85b72cabe23265de74759a691b824525221f3824b365a9dc67d03e281dc64eaae539903bde SHA512 2b692a5ed58afcf0f351216dee1dda92a8033002c373afd8ab8afcda19b1ca48b46b4cd34c8d299391e44fee57c13be3edaca19a398f6bf3505e37eb7d2e21b5 diff --git a/sys-kernel/uek-sources/uek-sources-5.4.17.2136.307.2.ebuild b/sys-kernel/uek-sources/uek-sources-5.4.17.2136.307.2.ebuild new file mode 100644 index 000000000..423397238 --- /dev/null +++ b/sys-kernel/uek-sources/uek-sources-5.4.17.2136.307.2.ebuild @@ -0,0 +1,67 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +KERNEL_VERSION=$(ver_cut 1-3) +KERNEL_TRUNK=$(ver_cut 1-2) +UEK_PATCH_VERSION=$(ver_cut 4-6) +UEK_VERSION="${KERNEL_VERSION}-${UEK_PATCH_VERSION}" + +ETYPE="sources" + +K_GENPATCHES_VER="192" +K_SECURITY_UNSUPPORTED="1" +CKV="${KERNEL_VERSION}_p${UEK_PATCH_VERSION}" + +inherit kernel-2 +detect_version +detect_arch + +DESCRIPTION="Unbreakable Enterprise Kernel (UEK) sources built from Oracle" +HOMEPAGE="https://github.com/oracle/linux-uek" +SRC_URI=" + https://github.com/oracle/linux-uek/archive/refs/tags/v${UEK_VERSION}.tar.gz + -> linux-uek-${UEK_VERSION}.tar.gz + https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${KERNEL_TRUNK}-${K_GENPATCHES_VER}.base.tar.xz + https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${KERNEL_TRUNK}-${K_GENPATCHES_VER}.experimental.tar.xz + https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${KERNEL_TRUNK}-${K_GENPATCHES_VER}.extras.tar.xz +" +S="${WORKDIR}/linux-uek-${UEK_VERSION}" + +LICENSE="GPL-2" +KEYWORDS="~amd64" +IUSE="+gentoo experimental" + +PATCHES=( + "${FILESDIR}"/uek-sources-5.4.17.2136.303.1-ip6_sock_set_v6only.patch + "${FILESDIR}"/uek-sources-5.4.17.2136.303.2-O3.patch +) + +src_unpack() { + default + + # remove all backup files + find . -iname "*~" -print -exec rm {} \; 2>/dev/null + + unpack_set_extraversion + unpack_fix_install_path + + env_setup_xmakeopts +} + +src_prepare() { + use gentoo && PATCHES+=( + "${WORKDIR}"/1500_XATTR_USER_PREFIX.patch + "${WORKDIR}"/1510_fs-enable-link-security-restrictions-by-default.patch + "${WORKDIR}"/2000_BT-Check-key-sizes-only-if-Secure-Simple-Pairing-enabled.patch + "${WORKDIR}"/2600_enable-key-swapping-for-apple-mac.patch + "${WORKDIR}"/2920_sign-file-patch-for-libressl.patch + "${WORKDIR}"/4567_distro-Gentoo-Kconfig.patch + ) + use experimental && PATCHES+=( + "${WORKDIR}"/5000_shifts-ubuntu-20.04.patch + "${WORKDIR}"/5010_enable-cpu-optimizations-universal.patch + ) + default +} |