commit: ac7fc01e2f667982b9e2a9af98d7720c2f37aab9 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc> AuthorDate: Sat Jan 14 02:57:58 2023 +0000 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc> CommitDate: Sat Jan 14 02:58:41 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ac7fc01e
sys-kernel/uek-sources: add 5.15.0.6.80.3 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc> sys-kernel/uek-sources/Manifest | 4 ++ .../uek-sources/uek-sources-5.15.0.6.80.3.ebuild | 65 ++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/sys-kernel/uek-sources/Manifest b/sys-kernel/uek-sources/Manifest index 2737fa0a7..7128bf961 100644 --- a/sys-kernel/uek-sources/Manifest +++ b/sys-kernel/uek-sources/Manifest @@ -1,4 +1,8 @@ DIST genpatches-5.15-80.base.tar.xz 3218432 BLAKE2B f2478969a4e7a24bd7a30328e2d17d5daafa9fbd741dd7eb295c025f27c08ccf8efbde13003e084c509a8bcf5f1d28f45189a28467b31c48c2a4d344a726ec4f SHA512 60737de4d0f8e3acc02ed07a82853d9226daf54b3b5a1b990d94e78b3dcd9fae26b9e6cf8854e5074b88dd826d286440155b70c4fc19f271ce795b2bbcc61b1a DIST genpatches-5.15-80.experimental.tar.xz 5424 BLAKE2B a01c40dc5f3bb9f4c315f64830244d69fb7a81f4f0c3e1b987f53d867f1174fd8a4d91fc5e9cac38554b0fabac393af97a91a8203f285010def930634ddf5402 SHA512 b0338c9664906a20fa63ad1673a82517656905b370849c668dfa5c0b1bdfd6059178dd50e690db26e47ddc104b60ffa048ace4119f7b3b2427215bc3ab817d80 DIST genpatches-5.15-80.extras.tar.xz 3932 BLAKE2B 50940b69b0793c1ab7f19908daca488e7dce5c48d74bcb636d5faa60fc510217b94f175669a28963347911291204f0f6384322b55148c70e63cc54e21dc74d1d SHA512 9434da5bf439f12adb55e70fb8f5d675b9d452dcb2a364da9cb65a2f4cd405cc0469c2c291fdc6b0f015a0d52d08ca0475a389e45041cca532f049e1784d06b3 +DIST genpatches-5.15-91.base.tar.xz 3838856 BLAKE2B e42746d0b7342cd6e2ab1b6b907a202277365a4fe52df5eae5d3685c68efbcbce58ab1c6d00e0b89c1f581f6818ba830f35af96d40e1bbf80ac824b0be572715 SHA512 37b31c9f878dc1cc4c5446fe7810b6fb9caf556296e99975de1e37bde9e798f5f74e90cd6d825ae1f474bbd8ae31da3f07e5527d3ce6aff42761ce8425634949 +DIST genpatches-5.15-91.experimental.tar.xz 5420 BLAKE2B c946006fa74b472f40a8389832e482cd5c20d5ba620743e0986d62f298e47f2c3fd9b1a4a5232c628de9fc71a7a1ddd6bd29dad3c317507724c082ee29e3795c SHA512 753284d7bab9453de103e87112c8df7eafe7bceb61c42267bf9462aaab636f1d51e017dad6ce2d7885c84449e8d67d0606fd3e53ee0671de7d6c8b130ea3aa26 +DIST genpatches-5.15-91.extras.tar.xz 3932 BLAKE2B 139a9a7876504ce63abf76db63904b3b4330ab101ec7f0c97717ee83ff861595df31a36f5fe4fbaf3b70641e6029e399235a7ec3e26feb98522c57e6b4b5d71b SHA512 9486f83b99c1f0bcd23e556229c7c0947be4fa097d688b510b6d57d94584e6fffcc9a2412c3620ceeffc2b347fad1ea1e12f58b2f0629cf93a2bde19f567ee5d DIST linux-uek-5.15.0-5.70.1.tar.gz 200233058 BLAKE2B 92d639ab0c859013ac8518ad52232cd99a43c696f09b72d36bde2f4992ee6344c7ca1b0147d8ebc5ce101181dc238d24d7a59c6bc082a38067426ad88632fd60 SHA512 e99c363aa0b64489b775b70979001ff2db2743682ec5f18457db407d0dc2707ed02a251efe86071862e2fc4704abe610c0e1543409819ac6018e6a14db42aefe +DIST linux-uek-5.15.0-6.80.3.tar.gz 200414049 BLAKE2B 191a96349e45fcb70297f37b4f725caee2a27bc6a26f0f18c324e3795754a8c01b6c680ebd3230003e536cd7517f943180b0f82a9c3c0368b13cb35b5ba34be2 SHA512 e60bbf41de17e59b6ad10c7799117031ac80ca9ab1bd4bbcf880ec8c6f3bc2ab1bfecae7578ff348debc9b6c10823683f9b1877bddadb22c29ced46bed30e688 diff --git a/sys-kernel/uek-sources/uek-sources-5.15.0.6.80.3.ebuild b/sys-kernel/uek-sources/uek-sources-5.15.0.6.80.3.ebuild new file mode 100644 index 000000000..ace5a1fc9 --- /dev/null +++ b/sys-kernel/uek-sources/uek-sources-5.15.0.6.80.3.ebuild @@ -0,0 +1,65 @@ +# 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="91" +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 + mirror://gentoo/genpatches-${KERNEL_TRUNK}-${K_GENPATCHES_VER}.base.tar.xz + mirror://gentoo/genpatches-${KERNEL_TRUNK}-${K_GENPATCHES_VER}.experimental.tar.xz + mirror://gentoo/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.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}"/2920_sign-file-patch-for-libressl.patch + "${WORKDIR}"/3000_Support-printing-firmware-info.patch + "${WORKDIR}"/4567_distro-Gentoo-Kconfig.patch + ) + use experimental && PATCHES+=( + "${WORKDIR}"/5010_enable-cpu-optimizations-universal.patch + ) + default +}