summaryrefslogtreecommitdiff
path: root/sys-kernel
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-15 13:32:50 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-15 13:32:50 +0100
commit6ee48c045a7fe5b07317c5ec21f5808bd40f3b02 (patch)
treee71102b9599226f519ec75450ee4e483d989d0a0 /sys-kernel
parentc6091adbc15987c5c63b555039d8e8547e0c8a32 (diff)
sys-kernel/virtualbox-modules-dkms : revision bump
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/virtualbox-modules-dkms/Manifest2
-rw-r--r--sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-6.1.38-r1.ebuild (renamed from sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-6.1.38.ebuild)13
2 files changed, 10 insertions, 5 deletions
diff --git a/sys-kernel/virtualbox-modules-dkms/Manifest b/sys-kernel/virtualbox-modules-dkms/Manifest
index 418c3c22..59f7f84f 100644
--- a/sys-kernel/virtualbox-modules-dkms/Manifest
+++ b/sys-kernel/virtualbox-modules-dkms/Manifest
@@ -1 +1 @@
-DIST vbox-kernel-module-src-6.1.38.tar.xz 678320 BLAKE2B 02fce9d8436e5e05cefae5e947c814470ff2898fa5ced2b734a7570e42fde2a84ecc98cbd2a3f0254443af1dd8131d541d565ecc4eb6a57ca88f7c638ed4994d SHA512 ef933e68942b847bd17ae9173d8c9963e12ffba73fe1d049e2fe9af10f720cc269ffdf7d2341ab75374f4737f4521c24316786574c0c71feb153a430c744eb0a
+DIST virtualbox-dkms_6.1.38-dfsg-3_amd64.deb 720174 BLAKE2B 183611f0c4d160ab34470a9ee9d1b9aacb182c5198328e69b894fa3504611485c453c01025f8fed473d82b4040dfc3ecb7b89c3788dc033d0d035d0f7f5020e3 SHA512 67be48247f921a58408418bdf9f146f60b658b44a4d76937810042bc49a7fd7603d2c36fe7ae3e931d438e35456e36b57d59f9cfd91a7bfdc30f14d4556bded1
diff --git a/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-6.1.38.ebuild b/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-6.1.38-r1.ebuild
index 9c973f1d..57f78e07 100644
--- a/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-6.1.38.ebuild
+++ b/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-6.1.38-r1.ebuild
@@ -6,10 +6,10 @@ EAPI=7
inherit eutils unpacker
-MY_P="vbox-kernel-module-src-${PV}"
+MY_PN="virtualbox-dkms"
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"
+SRC_URI="http://mirrors.kernel.org/ubuntu/pool/multiverse/v/virtualbox/${MY_PN}_${PV}-dfsg-3_amd64.deb"
LICENSE="GPL-2"
SLOT="0"
@@ -25,9 +25,15 @@ 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() {
@@ -37,8 +43,7 @@ src_compile() {
src_install() {
dodir usr/src/${P}
insinto usr/src/${P}
- doins ${FILESDIR}/dkms.conf
- doins -r ${S}/*
+ doins -r ${S}/usr/src/virtualbox-${PV}/*
}
pkg_postinst() {