aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAisha Tammy <gentoo@aisha.cc>2022-10-16 01:39:43 +0000
committerAisha Tammy <gentoo@aisha.cc>2022-10-16 01:40:04 +0000
commit476b5e9bb26d771bd058dd8f9212e0701cf9b8ed (patch)
tree89089440e7b37d0184645a2e9ca995e702332d46 /sys-kernel
parentapp-misc/electricsheep: new package, version 3.0.2 (diff)
downloadguru-476b5e9bb26d771bd058dd8f9212e0701cf9b8ed.tar.gz
guru-476b5e9bb26d771bd058dd8f9212e0701cf9b8ed.tar.bz2
guru-476b5e9bb26d771bd058dd8f9212e0701cf9b8ed.zip
sys-kernel/uek-sources: add 5.15.0.4.70.4
Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/uek-sources/Manifest1
-rw-r--r--sys-kernel/uek-sources/uek-sources-5.15.0.4.70.4.ebuild65
2 files changed, 66 insertions, 0 deletions
diff --git a/sys-kernel/uek-sources/Manifest b/sys-kernel/uek-sources/Manifest
index ac763211f..5e9ee6d79 100644
--- a/sys-kernel/uek-sources/Manifest
+++ b/sys-kernel/uek-sources/Manifest
@@ -2,3 +2,4 @@ DIST genpatches-5.15-72.base.tar.xz 2987972 BLAKE2B be108e6921f5a04605ab7c557e1e
DIST genpatches-5.15-72.experimental.tar.xz 5424 BLAKE2B f26e3ebd164f39e1a2ad696f953a28576d081e195f0af7f63713281e6a0e18a6fce0a5f55320448003f835296a3203c1d7803addf58dc72f49e38018adf15972 SHA512 26589b45e58f9e56e1287aa100b1e5fbbc05f00cb128d7326a5c599b2725139a76c11a781ff45c504b749c0c9a589105a93620ad7d5069327d2749aa442d1854
DIST genpatches-5.15-72.extras.tar.xz 3932 BLAKE2B 00c700eb5307d1834977c88e134fc2bea16f258d6eb374e6cb6d85c522cbf1730d6e2e937e7abb392350de8aa3cff6811f5ac0d3b93822fbd9a43c20abb525c2 SHA512 a08ba388711c30d3c101ebbdfb671c63f85ce3d07ba4545c3b01b70687d65f31fd9a1afadecdc49f0d9b113c5596df878acebd425b868ffd9111a555d4ced47d
DIST linux-uek-5.15.0-3.60.4.tar.gz 200178510 BLAKE2B 594b8a359b3161962f07f923e697762dc82c5715688a51c4e612dc0955df179e36c874f0ada877e476e56d7aa96419748394c66615c6ec995447d17ef37f74fc SHA512 a10a49d2f0d8467695279796a0136dafa544a78d0d099626d35868ef53213a3ed5aca0c3529f26f9c8e9e36bf87ae5a3db9aa80aef58beac0b0fd043d2458a66
+DIST linux-uek-5.15.0-4.70.4.tar.gz 200243769 BLAKE2B 312914ab11ecaf3777773445d259e56cce9b16de7c16396c12abb4bbd65d9f5e61ee9432b1d51c74959a367d6ff378dcb98b335d5eba34fa559b75a8545b6189 SHA512 dd70dd7f02d9df4fce91a28638cb2702b1cc20f875c329601c22ff3a8dc3f6fcaca3aded1ffd8257d7ef98e54a2656cc5b5dccb70d5afe801ad56f3350546efc
diff --git a/sys-kernel/uek-sources/uek-sources-5.15.0.4.70.4.ebuild b/sys-kernel/uek-sources/uek-sources-5.15.0.4.70.4.ebuild
new file mode 100644
index 000000000..069fdc63c
--- /dev/null
+++ b/sys-kernel/uek-sources/uek-sources-5.15.0.4.70.4.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="72"
+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
+}