summaryrefslogtreecommitdiff
path: root/sys-kernel
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-18 15:44:36 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-18 15:44:36 +0100
commiteb3b4431ea6f9c2c54af1c0c2327ad1896615f54 (patch)
treeae9c26feadefe486fe495a85882194178c433c88 /sys-kernel
parentbaf9fed49a2718e7dd62547d0309e7563189a012 (diff)
app-emulation/virtualbox-modules-{,dkms} : version bump
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/virtualbox-modules-dkms/Manifest2
-rw-r--r--sys-kernel/virtualbox-modules-dkms/files/dkms.conf4
-rw-r--r--sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-6.1.40.ebuild (renamed from sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-6.1.38-r1.ebuild)15
3 files changed, 7 insertions, 14 deletions
diff --git a/sys-kernel/virtualbox-modules-dkms/Manifest b/sys-kernel/virtualbox-modules-dkms/Manifest
index 59f7f84f..39c5f97c 100644
--- a/sys-kernel/virtualbox-modules-dkms/Manifest
+++ b/sys-kernel/virtualbox-modules-dkms/Manifest
@@ -1 +1 @@
-DIST virtualbox-dkms_6.1.38-dfsg-3_amd64.deb 720174 BLAKE2B 183611f0c4d160ab34470a9ee9d1b9aacb182c5198328e69b894fa3504611485c453c01025f8fed473d82b4040dfc3ecb7b89c3788dc033d0d035d0f7f5020e3 SHA512 67be48247f921a58408418bdf9f146f60b658b44a4d76937810042bc49a7fd7603d2c36fe7ae3e931d438e35456e36b57d59f9cfd91a7bfdc30f14d4556bded1
+DIST vbox-kernel-module-src-6.1.40.tar.xz 680112 BLAKE2B 95bcb598bc3823c8bf4bfeb734a5d812a4830d072b186c999ed8632552550d0d21318bc50419fd18301cd6e8e58d091a4f6363c9ee86725d6bf8e74050b552d2 SHA512 8eec3c960077205d53b3d2a8367ce562edb02a6d90fe0a4bd06e1dfa256760e128b9895fc8005ceeb50a72eda6509533a28c6ee264d10a2cd30601ed5ced2eeb
diff --git a/sys-kernel/virtualbox-modules-dkms/files/dkms.conf b/sys-kernel/virtualbox-modules-dkms/files/dkms.conf
index 5ba4200d..126ab2b7 100644
--- a/sys-kernel/virtualbox-modules-dkms/files/dkms.conf
+++ b/sys-kernel/virtualbox-modules-dkms/files/dkms.conf
@@ -1,7 +1,5 @@
PACKAGE_NAME="virtualbox-modules-dkms"
-PACKAGE_VERSION="6.1.38"
-MAKE[0]="make KVER=$kernelver"
-MAKE[0]="make KV_FULL=$kernelver"
+PACKAGE_VERSION="6.1.40"
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.38-r1.ebuild b/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-6.1.40.ebuild
index 57f78e07..bb68e200 100644
--- a/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-6.1.38-r1.ebuild
+++ b/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-6.1.40.ebuild
@@ -4,12 +4,12 @@
EAPI=7
-inherit eutils unpacker
+inherit eutils
-MY_PN="virtualbox-dkms"
+MY_P="vbox-kernel-module-src-${PV}"
DESCRIPTION="Kernel Modules source for Virtualbox"
HOMEPAGE="http://www.virtualbox.org/"
-SRC_URI="http://mirrors.kernel.org/ubuntu/pool/multiverse/v/virtualbox/${MY_PN}_${PV}-dfsg-3_amd64.deb"
+SRC_URI="https://github.com/ceamac/virtualbox-modules-dist/releases/download/v${PV}/${MY_P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
@@ -25,15 +25,9 @@ RDEPEND="${DEPEND}"
S=${WORKDIR}
-src_unpack() {
- unpack_deb ${A}
-}
-
src_prepare() {
default
grep -lR linux/autoconf.h * | xargs sed -i -e 's:<linux/autoconf.h>:<generated/autoconf.h>:'
- sed -i "s/virtualbox/${PN}/g" usr/src/virtualbox-${PV}/dkms.conf
- sed -i "s/updates/extra\/dkms/g" usr/src/virtualbox-${PV}/dkms.conf
}
src_compile() {
@@ -43,7 +37,8 @@ src_compile() {
src_install() {
dodir usr/src/${P}
insinto usr/src/${P}
- doins -r ${S}/usr/src/virtualbox-${PV}/*
+ doins ${FILESDIR}/dkms.conf
+ doins -r ${S}/*
}
pkg_postinst() {