From 1f286e12ee9aa349060e8518cfe08d29dcc89781 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 25 Oct 2024 20:54:11 +0100 Subject: sys-kernel/virtualbox-modules-dkms : enable build for kernel 6.11.x --- .../sys-kernel/virtualbox-modules-dkms-7.1.4 | 12 ------ .../sys-kernel/virtualbox-modules-dkms-7.1.4-r1 | 12 ++++++ metadata/pkg_desc_index | 2 +- sys-kernel/virtualbox-modules-dkms/files/dkms.conf | 2 +- .../virtualbox-modules-dkms-7.1.4-r1.ebuild | 50 ++++++++++++++++++++++ .../virtualbox-modules-dkms-7.1.4.ebuild | 50 ---------------------- 6 files changed, 64 insertions(+), 64 deletions(-) delete mode 100644 metadata/md5-cache/sys-kernel/virtualbox-modules-dkms-7.1.4 create mode 100644 metadata/md5-cache/sys-kernel/virtualbox-modules-dkms-7.1.4-r1 create mode 100644 sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-7.1.4-r1.ebuild delete mode 100644 sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-7.1.4.ebuild diff --git a/metadata/md5-cache/sys-kernel/virtualbox-modules-dkms-7.1.4 b/metadata/md5-cache/sys-kernel/virtualbox-modules-dkms-7.1.4 deleted file mode 100644 index 25fdf264..00000000 --- a/metadata/md5-cache/sys-kernel/virtualbox-modules-dkms-7.1.4 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile install postinst prepare prerm -DEPEND=sys-apps/ethtool sys-kernel/dkms -DESCRIPTION=Kernel Modules source for Virtualbox -EAPI=8 -HOMEPAGE=http://www.virtualbox.org/ -KEYWORDS=amd64 -LICENSE=GPL-2 -RDEPEND=sys-apps/ethtool sys-kernel/dkms -RESTRICT=mirror -SLOT=0 -SRC_URI=https://dev.gentoo.org/~ceamac/app-emulation/virtualbox-modules/vbox-kernel-module-src-7.1.4.tar.xz -_md5_=8cea03aec6c07877e611865a4dc78843 diff --git a/metadata/md5-cache/sys-kernel/virtualbox-modules-dkms-7.1.4-r1 b/metadata/md5-cache/sys-kernel/virtualbox-modules-dkms-7.1.4-r1 new file mode 100644 index 00000000..25fdf264 --- /dev/null +++ b/metadata/md5-cache/sys-kernel/virtualbox-modules-dkms-7.1.4-r1 @@ -0,0 +1,12 @@ +DEFINED_PHASES=compile install postinst prepare prerm +DEPEND=sys-apps/ethtool sys-kernel/dkms +DESCRIPTION=Kernel Modules source for Virtualbox +EAPI=8 +HOMEPAGE=http://www.virtualbox.org/ +KEYWORDS=amd64 +LICENSE=GPL-2 +RDEPEND=sys-apps/ethtool sys-kernel/dkms +RESTRICT=mirror +SLOT=0 +SRC_URI=https://dev.gentoo.org/~ceamac/app-emulation/virtualbox-modules/vbox-kernel-module-src-7.1.4.tar.xz +_md5_=8cea03aec6c07877e611865a4dc78843 diff --git a/metadata/pkg_desc_index b/metadata/pkg_desc_index index 486e7676..9697ccc7 100644 --- a/metadata/pkg_desc_index +++ b/metadata/pkg_desc_index @@ -74,7 +74,7 @@ sys-kernel/linux-sources-redcore-lts 5.15.169 6.1.114 6.6.58: Redcore Linux LTS sys-kernel/nvidia-drivers-dkms 390.157-r8 470.256.02 550.127.05-r1: NVIDIA driver sources for linux sys-kernel/tp_smapi-dkms 0.44-r3: IBM ThinkPad SMAPI BIOS driver sources sys-kernel/vhba-dkms 20240917: Virtual (SCSI) Host Bus Adapter kernel module for the CDEmu suite sources -sys-kernel/virtualbox-modules-dkms 7.1.4: Kernel Modules source for Virtualbox +sys-kernel/virtualbox-modules-dkms 7.1.4-r1: Kernel Modules source for Virtualbox sys-kernel/zfs-dkms 2.2.6: ZFS sources for linux sys-power/radeon-profile 20200824-r10: Read current clocks of ATi/AMD Radeon cards virtual/libudev 314.1337-r1: Virtual for libudev providers diff --git a/sys-kernel/virtualbox-modules-dkms/files/dkms.conf b/sys-kernel/virtualbox-modules-dkms/files/dkms.conf index 95e04fbd..77575661 100644 --- a/sys-kernel/virtualbox-modules-dkms/files/dkms.conf +++ b/sys-kernel/virtualbox-modules-dkms/files/dkms.conf @@ -1,6 +1,6 @@ PACKAGE_NAME="virtualbox-modules-dkms" PACKAGE_VERSION="7.1.4" -BUILD_EXCLUSIVE_KERNEL="^(5\.[0-9]+\.|6\.[0-9]\.|\.|6\.1[0-0]\.)" # only build for kernels v5.x.x up to and including v6.10.x +BUILD_EXCLUSIVE_KERNEL="^(5\.[0-9]+\.|6\.[0-9]\.|\.|6\.1[0-1]\.)" # only build for kernels v5.x.x up to and including v6.11.x BUILT_MODULE_NAME[0]="vboxdrv" BUILT_MODULE_LOCATION[0]="vboxdrv" DEST_MODULE_LOCATION[0]="/extra/dkms" diff --git a/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-7.1.4-r1.ebuild b/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-7.1.4-r1.ebuild new file mode 100644 index 00000000..c78290ac --- /dev/null +++ b/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-7.1.4-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=8 + +MY_P="vbox-kernel-module-src-${PV}" +DESCRIPTION="Kernel Modules source for Virtualbox" +HOMEPAGE="http://www.virtualbox.org/" +SRC_URI="https://dev.gentoo.org/~ceamac/app-emulation/virtualbox-modules/${MY_P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64" +RESTRICT="mirror" +IUSE="" + +DEPEND=" + sys-apps/ethtool + sys-kernel/dkms +" +RDEPEND="${DEPEND}" + +PATCHES=( ${FILESDIR}/Makefile-dkms.patch ) + +S=${WORKDIR} + +src_prepare() { + default + grep -lR linux/autoconf.h * | xargs sed -i -e 's:::' +} + +src_compile() { + : +} + +src_install() { + dodir usr/src/${P} + insinto usr/src/${P} + doins ${FILESDIR}/dkms.conf + doins -r ${S}/* +} + +pkg_postinst() { + dkms add ${PN}/${PV} +} + +pkg_prerm() { + dkms remove ${PN}/${PV} --all +} diff --git a/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-7.1.4.ebuild b/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-7.1.4.ebuild deleted file mode 100644 index c78290ac..00000000 --- a/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-7.1.4.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=8 - -MY_P="vbox-kernel-module-src-${PV}" -DESCRIPTION="Kernel Modules source for Virtualbox" -HOMEPAGE="http://www.virtualbox.org/" -SRC_URI="https://dev.gentoo.org/~ceamac/app-emulation/virtualbox-modules/${MY_P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64" -RESTRICT="mirror" -IUSE="" - -DEPEND=" - sys-apps/ethtool - sys-kernel/dkms -" -RDEPEND="${DEPEND}" - -PATCHES=( ${FILESDIR}/Makefile-dkms.patch ) - -S=${WORKDIR} - -src_prepare() { - default - grep -lR linux/autoconf.h * | xargs sed -i -e 's:::' -} - -src_compile() { - : -} - -src_install() { - dodir usr/src/${P} - insinto usr/src/${P} - doins ${FILESDIR}/dkms.conf - doins -r ${S}/* -} - -pkg_postinst() { - dkms add ${PN}/${PV} -} - -pkg_prerm() { - dkms remove ${PN}/${PV} --all -} -- cgit v1.2.3