From b904fd409d31f6c921141deafcb8d3714f257d34 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 24 Feb 2024 17:22:23 +0000 Subject: sys-kernel/nvidia-drivers-dkms : enable build for kernel v6.7.xx --- .../sys-kernel/nvidia-drivers-dkms-470.223.02 | 13 ------ .../sys-kernel/nvidia-drivers-dkms-470.223.02-r1 | 13 ++++++ metadata/pkg_desc_index | 2 +- sys-kernel/nvidia-drivers-dkms/files/dkms470.patch | 2 +- .../nvidia-drivers-dkms-470.223.02-r1.ebuild | 48 ++++++++++++++++++++++ .../nvidia-drivers-dkms-470.223.02.ebuild | 48 ---------------------- 6 files changed, 63 insertions(+), 63 deletions(-) delete mode 100644 metadata/md5-cache/sys-kernel/nvidia-drivers-dkms-470.223.02 create mode 100644 metadata/md5-cache/sys-kernel/nvidia-drivers-dkms-470.223.02-r1 create mode 100644 sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-470.223.02-r1.ebuild delete mode 100644 sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-470.223.02.ebuild diff --git a/metadata/md5-cache/sys-kernel/nvidia-drivers-dkms-470.223.02 b/metadata/md5-cache/sys-kernel/nvidia-drivers-dkms-470.223.02 deleted file mode 100644 index fdfa312a..00000000 --- a/metadata/md5-cache/sys-kernel/nvidia-drivers-dkms-470.223.02 +++ /dev/null @@ -1,13 +0,0 @@ -DEFINED_PHASES=install postinst prerm unpack -DEPEND=sys-kernel/dkms -DESCRIPTION=NVIDIA driver sources for linux -EAPI=6 -HOMEPAGE=http://www.nvidia.com/ -INHERIT=eutils -KEYWORDS=amd64 -LICENSE=GPL-2 NVIDIA-r2 -RDEPEND=sys-kernel/dkms !!sys-kernel/nvidia-drivers-dkms:3 !!sys-kernel/nvidia-drivers-dkms:5 -SLOT=4 -SRC_URI=amd64? ( http://us.download.nvidia.com/XFree86/Linux-x86_64/470.223.02/NVIDIA-Linux-x86_64-470.223.02.run ) -_eclasses_=desktop 021728fdc1b03b36357dbc89489e0f0d edos2unix 33e347e171066657f91f8b0c72ec8773 epatch 2b02655f061dfa25067b543539110259 eqawarn c9847c43b3253a276ae2eabddedab3d7 estack c61c368a76fdf3a82fdf8dbaebea3804 eutils d318efeb438bbec051fa5aaf28d0d42c ltprune 97143780d341cc8d8f1d4c6187a36d29 multilib c19072c3cd7ac5cb21de013f7e9832e0 preserve-libs 21162ec96c87041004a75348d97342dd strip-linguas ac3ee41ee2d31d8c41a77c0838320cc7 toolchain-funcs e56c7649b804f051623c8bc1a1c44084 vcs-clean d271b7bc7e6a009758d7d4ef749174e3 wrapper 4a1902f969e5718126434fc35f3a0d9c -_md5_=05935d54698bfe24393aa57ed1431058 diff --git a/metadata/md5-cache/sys-kernel/nvidia-drivers-dkms-470.223.02-r1 b/metadata/md5-cache/sys-kernel/nvidia-drivers-dkms-470.223.02-r1 new file mode 100644 index 00000000..fdfa312a --- /dev/null +++ b/metadata/md5-cache/sys-kernel/nvidia-drivers-dkms-470.223.02-r1 @@ -0,0 +1,13 @@ +DEFINED_PHASES=install postinst prerm unpack +DEPEND=sys-kernel/dkms +DESCRIPTION=NVIDIA driver sources for linux +EAPI=6 +HOMEPAGE=http://www.nvidia.com/ +INHERIT=eutils +KEYWORDS=amd64 +LICENSE=GPL-2 NVIDIA-r2 +RDEPEND=sys-kernel/dkms !!sys-kernel/nvidia-drivers-dkms:3 !!sys-kernel/nvidia-drivers-dkms:5 +SLOT=4 +SRC_URI=amd64? ( http://us.download.nvidia.com/XFree86/Linux-x86_64/470.223.02/NVIDIA-Linux-x86_64-470.223.02.run ) +_eclasses_=desktop 021728fdc1b03b36357dbc89489e0f0d edos2unix 33e347e171066657f91f8b0c72ec8773 epatch 2b02655f061dfa25067b543539110259 eqawarn c9847c43b3253a276ae2eabddedab3d7 estack c61c368a76fdf3a82fdf8dbaebea3804 eutils d318efeb438bbec051fa5aaf28d0d42c ltprune 97143780d341cc8d8f1d4c6187a36d29 multilib c19072c3cd7ac5cb21de013f7e9832e0 preserve-libs 21162ec96c87041004a75348d97342dd strip-linguas ac3ee41ee2d31d8c41a77c0838320cc7 toolchain-funcs e56c7649b804f051623c8bc1a1c44084 vcs-clean d271b7bc7e6a009758d7d4ef749174e3 wrapper 4a1902f969e5718126434fc35f3a0d9c +_md5_=05935d54698bfe24393aa57ed1431058 diff --git a/metadata/pkg_desc_index b/metadata/pkg_desc_index index 48b2cabc..e240a7d3 100644 --- a/metadata/pkg_desc_index +++ b/metadata/pkg_desc_index @@ -68,7 +68,7 @@ sys-kernel/linux-image-redcore 6.7.6: Redcore Linux Kernel Image sys-kernel/linux-image-redcore-lts 5.15.149 6.1.79 6.6.18: Redcore Linux LTS Kernel Image sys-kernel/linux-sources-redcore 6.7.6: Redcore Linux Kernel Sources sys-kernel/linux-sources-redcore-lts 5.15.149 6.1.79 6.6.18: Redcore Linux LTS Kernel Sources -sys-kernel/nvidia-drivers-dkms 390.157-r6 470.223.02 535.129.03: NVIDIA driver sources for linux +sys-kernel/nvidia-drivers-dkms 390.157-r6 470.223.02-r1 535.129.03: NVIDIA driver sources for linux sys-kernel/vhba-dkms 20211218-r7: Virtual (SCSI) Host Bus Adapter kernel module for the CDEmu suite sources sys-kernel/virtualbox-modules-dkms 7.0.14-r1: Kernel Modules source for Virtualbox sys-kernel/zfs-dkms 2.2.2-r2: ZFS sources for linux diff --git a/sys-kernel/nvidia-drivers-dkms/files/dkms470.patch b/sys-kernel/nvidia-drivers-dkms/files/dkms470.patch index 994e0b4b..24d2bb4a 100644 --- a/sys-kernel/nvidia-drivers-dkms/files/dkms470.patch +++ b/sys-kernel/nvidia-drivers-dkms/files/dkms470.patch @@ -6,7 +6,7 @@ diff -Nur a/kernel/dkms.conf b/kernel/dkms.conf -PACKAGE_VERSION="__VERSION_STRING" +PACKAGE_NAME="nvidia-drivers-dkms" +PACKAGE_VERSION="470.223.02" -+BUILD_EXCLUSIVE_KERNEL="^(5\.[0-9]+\.|6\.[0-6]\.)" # only build for kernels v5.x.x up to and including v6.6.x ++BUILD_EXCLUSIVE_KERNEL="^(5\.[0-9]+\.|6\.[0-7]\.)" # only build for kernels v5.x.x up to and including v6.7.x AUTOINSTALL="yes" # By default, DKMS will add KERNELRELEASE to the make command line; however, diff --git a/sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-470.223.02-r1.ebuild b/sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-470.223.02-r1.ebuild new file mode 100644 index 00000000..704accf9 --- /dev/null +++ b/sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-470.223.02-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils + +NV_URI="http://us.download.nvidia.com/XFree86/" +AMD64_NV_PACKAGE="NVIDIA-Linux-x86_64-${PV}" + +DESCRIPTION="NVIDIA driver sources for linux" +HOMEPAGE="http://www.nvidia.com/" +SRC_URI="amd64? ( ${NV_URI}Linux-x86_64/${PV}/${AMD64_NV_PACKAGE}.run )" + +LICENSE="GPL-2 NVIDIA-r2" +SLOT="4" +KEYWORDS="amd64" +IUSE="" + +DEPEND="sys-kernel/dkms" +RDEPEND="${DEPEND} + !!sys-kernel/nvidia-drivers-dkms:3 + !!sys-kernel/nvidia-drivers-dkms:5" + +PATCHES=( + "${FILESDIR}"/dkms470.patch +) + +S="${WORKDIR}/${AMD64_NV_PACKAGE}" + +src_unpack() { + sh ${DISTDIR}/${AMD64_NV_PACKAGE}.run --extract-only +} + +src_install() { + dodir usr/src/${P} + insinto usr/src/${P} + doins -r "${S}"/kernel/* +} + +pkg_postinst() { + dkms add ${PN}/${PV} +} + +pkg_prerm() { + dkms remove ${PN}/${PV} --all +} diff --git a/sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-470.223.02.ebuild b/sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-470.223.02.ebuild deleted file mode 100644 index 704accf9..00000000 --- a/sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-470.223.02.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -inherit eutils - -NV_URI="http://us.download.nvidia.com/XFree86/" -AMD64_NV_PACKAGE="NVIDIA-Linux-x86_64-${PV}" - -DESCRIPTION="NVIDIA driver sources for linux" -HOMEPAGE="http://www.nvidia.com/" -SRC_URI="amd64? ( ${NV_URI}Linux-x86_64/${PV}/${AMD64_NV_PACKAGE}.run )" - -LICENSE="GPL-2 NVIDIA-r2" -SLOT="4" -KEYWORDS="amd64" -IUSE="" - -DEPEND="sys-kernel/dkms" -RDEPEND="${DEPEND} - !!sys-kernel/nvidia-drivers-dkms:3 - !!sys-kernel/nvidia-drivers-dkms:5" - -PATCHES=( - "${FILESDIR}"/dkms470.patch -) - -S="${WORKDIR}/${AMD64_NV_PACKAGE}" - -src_unpack() { - sh ${DISTDIR}/${AMD64_NV_PACKAGE}.run --extract-only -} - -src_install() { - dodir usr/src/${P} - insinto usr/src/${P} - doins -r "${S}"/kernel/* -} - -pkg_postinst() { - dkms add ${PN}/${PV} -} - -pkg_prerm() { - dkms remove ${PN}/${PV} --all -} -- cgit v1.2.3