From c6bcc31b3608b7134fc6685973f98018106e00c4 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 12 May 2023 20:13:29 +0100 Subject: sys-kernel/virtualbox-modules-dkms : don't build for kernel v6.3 --- .../sys-kernel/virtualbox-modules-dkms-7.0.8 | 14 ------ .../sys-kernel/virtualbox-modules-dkms-7.0.8-r1 | 14 ++++++ metadata/pkg_desc_index | 2 +- sys-kernel/virtualbox-modules-dkms/files/dkms.conf | 1 + .../virtualbox-modules-dkms-7.0.8-r1.ebuild | 52 ++++++++++++++++++++++ .../virtualbox-modules-dkms-7.0.8.ebuild | 52 ---------------------- 6 files changed, 68 insertions(+), 67 deletions(-) delete mode 100644 metadata/md5-cache/sys-kernel/virtualbox-modules-dkms-7.0.8 create mode 100644 metadata/md5-cache/sys-kernel/virtualbox-modules-dkms-7.0.8-r1 create mode 100644 sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-7.0.8-r1.ebuild delete mode 100644 sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-7.0.8.ebuild diff --git a/metadata/md5-cache/sys-kernel/virtualbox-modules-dkms-7.0.8 b/metadata/md5-cache/sys-kernel/virtualbox-modules-dkms-7.0.8 deleted file mode 100644 index a09307c5..00000000 --- a/metadata/md5-cache/sys-kernel/virtualbox-modules-dkms-7.0.8 +++ /dev/null @@ -1,14 +0,0 @@ -DEFINED_PHASES=compile install postinst prepare prerm -DEPEND=sys-apps/ethtool sys-kernel/dkms -DESCRIPTION=Kernel Modules source for Virtualbox -EAPI=7 -HOMEPAGE=http://www.virtualbox.org/ -INHERIT=eutils -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.0.8.tar.xz -_eclasses_=edos2unix 33e347e171066657f91f8b0c72ec8773 eutils 8f942ebdcf04334697649d4a0bf65a32 strip-linguas ac3ee41ee2d31d8c41a77c0838320cc7 wrapper 4a1902f969e5718126434fc35f3a0d9c -_md5_=6fc5c27f5d36e91ab9709b7940d6c745 diff --git a/metadata/md5-cache/sys-kernel/virtualbox-modules-dkms-7.0.8-r1 b/metadata/md5-cache/sys-kernel/virtualbox-modules-dkms-7.0.8-r1 new file mode 100644 index 00000000..a09307c5 --- /dev/null +++ b/metadata/md5-cache/sys-kernel/virtualbox-modules-dkms-7.0.8-r1 @@ -0,0 +1,14 @@ +DEFINED_PHASES=compile install postinst prepare prerm +DEPEND=sys-apps/ethtool sys-kernel/dkms +DESCRIPTION=Kernel Modules source for Virtualbox +EAPI=7 +HOMEPAGE=http://www.virtualbox.org/ +INHERIT=eutils +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.0.8.tar.xz +_eclasses_=edos2unix 33e347e171066657f91f8b0c72ec8773 eutils 8f942ebdcf04334697649d4a0bf65a32 strip-linguas ac3ee41ee2d31d8c41a77c0838320cc7 wrapper 4a1902f969e5718126434fc35f3a0d9c +_md5_=6fc5c27f5d36e91ab9709b7940d6c745 diff --git a/metadata/pkg_desc_index b/metadata/pkg_desc_index index 060af5f8..67f1760b 100644 --- a/metadata/pkg_desc_index +++ b/metadata/pkg_desc_index @@ -67,7 +67,7 @@ sys-kernel/linux-sources-redcore 6.2.15 6.3.2: Redcore Linux Kernel Sources sys-kernel/linux-sources-redcore-lts 5.10.179 5.15.111 6.1.28: Redcore Linux LTS Kernel Sources sys-kernel/nvidia-drivers-dkms 390.157-r2 470.182.03-r1 515.105.01-r1 525.105.17-r1: NVIDIA driver sources for linux sys-kernel/vhba-dkms 20211218-r1: Virtual (SCSI) Host Bus Adapter kernel module for the CDEmu suite sources -sys-kernel/virtualbox-modules-dkms 7.0.8: Kernel Modules source for Virtualbox +sys-kernel/virtualbox-modules-dkms 7.0.8-r1: Kernel Modules source for Virtualbox sys-kernel/zfs-dkms 2.1.11: ZFS sources for linux sys-libs/binutils-libs 2.39-r4: Core binutils libraries (libbfd, libopcodes, libiberty) for external packages sys-libs/glibc 2.36-r5: GNU libc C library diff --git a/sys-kernel/virtualbox-modules-dkms/files/dkms.conf b/sys-kernel/virtualbox-modules-dkms/files/dkms.conf index 7b258013..c5e9011a 100644 --- a/sys-kernel/virtualbox-modules-dkms/files/dkms.conf +++ b/sys-kernel/virtualbox-modules-dkms/files/dkms.conf @@ -1,5 +1,6 @@ PACKAGE_NAME="virtualbox-modules-dkms" PACKAGE_VERSION="7.0.8" +BUILD_EXCLUSIVE_KERNEL="^(5\.[0-9]+\.|6\.[0-2]\.)" # only build for kernels v5.x.x up to and including v6.2.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.0.8-r1.ebuild b/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-7.0.8-r1.ebuild new file mode 100644 index 00000000..974528b6 --- /dev/null +++ b/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-7.0.8-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=7 + +inherit eutils + +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.0.8.ebuild b/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-7.0.8.ebuild deleted file mode 100644 index 974528b6..00000000 --- a/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-7.0.8.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=7 - -inherit eutils - -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