diff options
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/uek-sources/Manifest | 1 | ||||
-rw-r--r-- | sys-kernel/uek-sources/uek-sources-5.15.0.203.146.5.ebuild | 65 |
2 files changed, 66 insertions, 0 deletions
diff --git a/sys-kernel/uek-sources/Manifest b/sys-kernel/uek-sources/Manifest index c5a2bc60d..86b9deee6 100644 --- a/sys-kernel/uek-sources/Manifest +++ b/sys-kernel/uek-sources/Manifest @@ -28,6 +28,7 @@ DIST linux-uek-5.15.0-201.135.4.tar.gz 202681240 BLAKE2B cae67d293a646389bbd4128 DIST linux-uek-5.15.0-202.135.1.tar.gz 202776673 BLAKE2B 7c323345c33cead6782cfc0bfd9dcab58a8d2eb45ad69d0c080382bac8f3405747b0a932d0b2269e67065e6fd304cece4c05d692eb00c151ebbb71977a6783eb SHA512 803e453be3d48237def51af998e76e04e1c439d0c8a2095f083e8f1ceceaedd62d98f19fca29d73eb2f0ac51a210c9fddec8efbc60ab63a349c02041ca11392d DIST linux-uek-5.15.0-203.135.1.tar.gz 202796594 BLAKE2B 2462f19405085e542adb9a162e06d4790020da1c028a86d6813abfa63e3204e79e444281245bf6fe9a4a211af89aa7f28ef12699460a8c035e40708a00193298 SHA512 b10f31a468d0dd34630294c3ece3b9291fb373d91dc34a9197b2e4407bc211cc5d1149fb32440b82f2f9e5ad4cc1049855c81ec6d488d457969a38b96313115d DIST linux-uek-5.15.0-203.146.3.tar.gz 202853256 BLAKE2B 18d20b62983459c1204d1dc8533b8d0d8039305459981301e9e424ded435e801dd9d4cde9b0e0e9fe03583fba6a16aeeacc04cb4ec0360349effe68fde6bbfd0 SHA512 2d00a66049c36a1862f8398c0febbea1a28d04083ce3d137b7e710bb89d3f15058e105022f746447ce7073702e689a50ed780f63f7d000cdced396a0152806e5 +DIST linux-uek-5.15.0-203.146.5.tar.gz 202851704 BLAKE2B 0463853bcea62419177573ac1b4081808ff61f1772c69183901221afb0cf063cf53dd2781575e5551e5b5c1a95909fbc5bead99362e09eee4f9d13760f87169d SHA512 8f67fd0d68c951c56c1c65cefaa45205506f0a632768a46329ab24faefbc3ce2c6e122f4b2c0eeddb8ef30f4d3ec25c0d29165c208a35f129c608c0fee54b068 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 DIST linux-uek-5.15.0-8.91.3.tar.gz 201202473 BLAKE2B c6a86811a7048d5f8a5d21a0bc5e3772ea0dc3b4b7b954ad45844b666500278c3bea50a2117cd55f66e4d8301b8cd052f0123235451366254b7b5cdc3aa07ea9 SHA512 a76c36f64c9a7acffde3a5e94b7b223a1bb9ae2a48d6914b9ad287e3dd04f276547a053ed2afd10b1d2ff4fa5f5fd3e94ae266ff31d05c4f4242bb2789eccec0 diff --git a/sys-kernel/uek-sources/uek-sources-5.15.0.203.146.5.ebuild b/sys-kernel/uek-sources/uek-sources-5.15.0.203.146.5.ebuild new file mode 100644 index 000000000..c838750ed --- /dev/null +++ b/sys-kernel/uek-sources/uek-sources-5.15.0.203.146.5.ebuild @@ -0,0 +1,65 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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="157" +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 +} |