aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAisha Tammy <gentoo@aisha.cc>2024-03-17 08:45:21 -0400
committerAisha Tammy <gentoo@aisha.cc>2024-03-17 08:45:21 -0400
commitfd495ee3f289345ee8d806370a8d1b8c708ac906 (patch)
tree5e8861cd6983ad401490f3b19e0ad24479cfb296 /sys-kernel/uek-sources
parentsys-kernel/uek-sources: temporarily drop experimental patch (diff)
downloadguru-fd495ee3f289345ee8d806370a8d1b8c708ac906.tar.gz
guru-fd495ee3f289345ee8d806370a8d1b8c708ac906.tar.bz2
guru-fd495ee3f289345ee8d806370a8d1b8c708ac906.zip
sys-kernel/uek-sources: update genpatches
Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
Diffstat (limited to 'sys-kernel/uek-sources')
-rw-r--r--sys-kernel/uek-sources/Manifest2
-rw-r--r--sys-kernel/uek-sources/uek-sources-5.15.0.205.149.3-r1.ebuild64
2 files changed, 66 insertions, 0 deletions
diff --git a/sys-kernel/uek-sources/Manifest b/sys-kernel/uek-sources/Manifest
index aeb47f1dc..853647166 100644
--- a/sys-kernel/uek-sources/Manifest
+++ b/sys-kernel/uek-sources/Manifest
@@ -3,5 +3,7 @@ DIST genpatches-5.15-157.experimental.tar.xz 5424 BLAKE2B 146f16bbfc049fabd87adc
DIST genpatches-5.15-157.extras.tar.xz 3936 BLAKE2B d559b4c240ab2b8a0b522d846c3d9707b0beacd800e137517c29b51253283b47caf05f7facbdd7be747255dc2485170ecfad04a3ba5293d749c8d22ae60886f7 SHA512 e99880adebd2d08067fbcc73bf01eb844c39cef7c06e99b95c9622949e38a2ed58045f27e71bde4d5321dc06212848c884c8f4added4c41a8a1197cd375091b8
DIST genpatches-5.15-160.base.tar.xz 6317352 BLAKE2B ccee78c3ccba8755f0e9de9e62c870d7f85d5302d2cdafd178184bbbec51d1a69be990c49f58fe1a1f897ed7e59bba1cc5eacc7589b4476ee6fcac19a90b0e78 SHA512 e36a435f9e353cd48ee12322f998a2fb4e9cf29eeb9e6f6f95534a48524db17b6eb654aa514ddba1108135eb92da7ef6af54f532bf29ca89b566d8903c1456e6
DIST genpatches-5.15-160.extras.tar.xz 3936 BLAKE2B 7b4d7802346372f862321837b1b554dcc5cd666be0a39fb56c6a6364060c3c5b5fe37d77d131beff6f0ed4c6290d9c9f9eafc58e9a923e268cafd2814ea9d18e SHA512 4ff242b000ce5969dd50c424ebe94a417271a2af081584e91d155ef11c3b11536fc8a242b0e536491396317ead92a825590208c5f317dc6a8975bbfae28a17a1
+DIST genpatches-5.15-161.base.tar.xz 6394340 BLAKE2B 9b30c56e1efcc866985caa448061cf8fb8973ee99a65c55787df122518bafa358760222944420add65ec777ad3012f06f74e0b8a4c2ecef32d5b882e78735ba2 SHA512 63cc6a96813f197a0d37e8a98a603ee594244cc6d18fd2e0fd566ea4a72866c425abbf847e9389472a7a3ceaa6118eb72e2c09d838db4698e0402f3a92bf229d
+DIST genpatches-5.15-161.extras.tar.xz 3936 BLAKE2B 3bbf29d5ff26051c5f115439f42a07a3af47a681065e00561f8636aae51142b82b87d7e2879839d5abc7bec944b193aac31d2eed543275b94f47dca2eda38090 SHA512 20e5ac4f8e8903a86cefa2cbb3a4962f3dd60ab56f71397208622230ea1f4d481d703d6594fa9269e46d2369514d1c6deacfcfdbd97cd50ad9ee63c220f289b4
DIST linux-uek-5.15.0-204.147.4.tar.gz 202907093 BLAKE2B 3fea77ce11b44046865579c6902d33f246830b020c8f57451cff71824ef8a57ddf8338841574ab4c45d98a945ec90bdd6ce4a6a75b2af26acc5ddb89d24d80a7 SHA512 7c566f842b3fdf676fb88f4b6c8d70e72da3b3e95d3093abf044f0053ef37829efcd227235e2074cf31e58c4a932c5f591e162138f1f0f2e52692391dda2c170
DIST linux-uek-5.15.0-205.149.3.tar.gz 202944634 BLAKE2B 830e19ca6090efe2d42dc5703e242b917b381589c7f74efca39abc4ab6675962c47e6067e77a9695665a655d1f9414a2aed21d283a8bb9da2c1df7c236131834 SHA512 1711a281d46582a78c70d09ca738e16c056de9f1bc390c2001c55fe38723a7fa4df0cf7775be22834d8b790d2ec75947bca6067622f112582eed7f5af119f6df
diff --git a/sys-kernel/uek-sources/uek-sources-5.15.0.205.149.3-r1.ebuild b/sys-kernel/uek-sources/uek-sources-5.15.0.205.149.3-r1.ebuild
new file mode 100644
index 000000000..bb068ffbb
--- /dev/null
+++ b/sys-kernel/uek-sources/uek-sources-5.15.0.205.149.3-r1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 2021-2024 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="161"
+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}.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
+}