From 3e93f716db3d9d4a6a0f3828404b2a3e8b70ff5f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 2 Nov 2022 09:38:57 +0000 Subject: app-emulation/virtualbox-modules : version bump --- sys-kernel/virtualbox-modules-dkms/Manifest | 2 +- .../files/Makefile-dkms.patch | 40 +++++++++-------- sys-kernel/virtualbox-modules-dkms/files/dkms.conf | 2 +- .../virtualbox-modules-dkms-6.1.40.ebuild | 52 ---------------------- .../virtualbox-modules-dkms-7.0.2.ebuild | 52 ++++++++++++++++++++++ 5 files changed, 75 insertions(+), 73 deletions(-) delete mode 100644 sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-6.1.40.ebuild create mode 100644 sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-7.0.2.ebuild (limited to 'sys-kernel/virtualbox-modules-dkms') diff --git a/sys-kernel/virtualbox-modules-dkms/Manifest b/sys-kernel/virtualbox-modules-dkms/Manifest index 39c5f97c..1e4bafef 100644 --- a/sys-kernel/virtualbox-modules-dkms/Manifest +++ b/sys-kernel/virtualbox-modules-dkms/Manifest @@ -1 +1 @@ -DIST vbox-kernel-module-src-6.1.40.tar.xz 680112 BLAKE2B 95bcb598bc3823c8bf4bfeb734a5d812a4830d072b186c999ed8632552550d0d21318bc50419fd18301cd6e8e58d091a4f6363c9ee86725d6bf8e74050b552d2 SHA512 8eec3c960077205d53b3d2a8367ce562edb02a6d90fe0a4bd06e1dfa256760e128b9895fc8005ceeb50a72eda6509533a28c6ee264d10a2cd30601ed5ced2eeb +DIST vbox-kernel-module-src-7.0.2.tar.xz 719208 BLAKE2B 9e356c10b431f765dc7c13673c296b8acf6247304fe40f0a6accde30e1c1f2ab04f46ac18ac6350cb1c554f9d0aaf3cb831a5f737cbd7d50ae8efe48e312c8b4 SHA512 0c97b30ee14abeb62b9fbfe552da64f12f763cf3d35d5fda1dee595142f564f6220e61c15f73dcfd50853f4e4776bc73ba1808e5f78d7c2f5f2bf3522292d33e diff --git a/sys-kernel/virtualbox-modules-dkms/files/Makefile-dkms.patch b/sys-kernel/virtualbox-modules-dkms/files/Makefile-dkms.patch index 4c801b01..2dcf1d8d 100644 --- a/sys-kernel/virtualbox-modules-dkms/files/Makefile-dkms.patch +++ b/sys-kernel/virtualbox-modules-dkms/files/Makefile-dkms.patch @@ -1,8 +1,8 @@ diff -Nur a/Makefile b/Makefile ---- a/Makefile 2022-10-11 16:40:10.000000000 +0100 -+++ b/Makefile 2022-10-18 15:54:45.877811069 +0100 -@@ -23,25 +23,25 @@ - # terms and conditions of either the GPL or the CDDL or both. +--- a/Makefile 2022-10-19 22:19:09.000000000 +0100 ++++ b/Makefile 2022-11-02 09:34:05.857715688 +0000 +@@ -33,25 +33,25 @@ + # SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0 # -ifneq ($(KERNELRELEASE),) @@ -14,18 +14,18 @@ diff -Nur a/Makefile b/Makefile +# KBUILD_EXTMOD is set to $(M) in this case. obj-m = vboxdrv/ --ifneq ($(wildcard $(CURDIR)/vboxnetflt/Makefile),) -+ifneq ($(wildcard $(KBUILD_EXTMOD)/vboxnetflt/Makefile),) - obj-m += vboxnetflt/ - endif --ifneq ($(wildcard $(CURDIR)/vboxnetadp/Makefile),) -+ifneq ($(wildcard $(KBUILD_EXTMOD)/vboxnetadp/Makefile),) - obj-m += vboxnetadp/ - endif --ifneq ($(wildcard $(CURDIR)/vboxpci/Makefile),) -+ifneq ($(wildcard $(KBUILD_EXTMOD)/vboxpci/Makefile),) - obj-m += vboxpci/ - endif +- ifneq ($(wildcard $(CURDIR)/vboxnetflt/Makefile),) ++ ifneq ($(wildcard $(KBUILD_EXTMOD)/vboxnetflt/Makefile),) + obj-m += vboxnetflt/ + endif +- ifneq ($(wildcard $(CURDIR)/vboxnetadp/Makefile),) ++ ifneq ($(wildcard $(KBUILD_EXTMOD)/vboxnetadp/Makefile),) + obj-m += vboxnetadp/ + endif +- ifneq ($(wildcard $(CURDIR)/vboxpci/Makefile),) ++ ifneq ($(wildcard $(KBUILD_EXTMOD)/vboxpci/Makefile),) + obj-m += vboxpci/ + endif -else # ! KERNELRELEASE +else # ! KBUILD_EXTMOD @@ -33,11 +33,13 @@ diff -Nur a/Makefile b/Makefile -# convenience Makefile without KERNELRELEASE +# convenience Makefile without KBUILD_EXTMOD - KBUILD_VERBOSE ?= - KERN_VER ?= $(shell uname -r) -@@ -167,4 +167,4 @@ + ifndef SUDO + ifneq ($(shell id -u),0) +@@ -244,5 +244,6 @@ fi; \ done -endif # ! KERNELRELEASE +endif # ! KBUILD_EXTMOD ++ + diff --git a/sys-kernel/virtualbox-modules-dkms/files/dkms.conf b/sys-kernel/virtualbox-modules-dkms/files/dkms.conf index 126ab2b7..ddee5448 100644 --- a/sys-kernel/virtualbox-modules-dkms/files/dkms.conf +++ b/sys-kernel/virtualbox-modules-dkms/files/dkms.conf @@ -1,5 +1,5 @@ PACKAGE_NAME="virtualbox-modules-dkms" -PACKAGE_VERSION="6.1.40" +PACKAGE_VERSION="7.0.2" 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-6.1.40.ebuild b/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-6.1.40.ebuild deleted file mode 100644 index c5262889..00000000 --- a/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-6.1.40.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://github.com/ceamac/virtualbox-modules-dist/releases/download/v${PV}/${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.2.ebuild b/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-7.0.2.ebuild new file mode 100644 index 00000000..c5262889 --- /dev/null +++ b/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-7.0.2.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://github.com/ceamac/virtualbox-modules-dist/releases/download/v${PV}/${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