summaryrefslogtreecommitdiff
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
parentc6091adbc15987c5c63b555039d8e8547e0c8a32 (diff)
sys-kernel/virtualbox-modules-dkms : revision bump
-rw-r--r--metadata/md5-cache/sys-kernel/virtualbox-modules-dkms-6.1.38-r1 (renamed from metadata/md5-cache/sys-kernel/virtualbox-modules-dkms-6.1.38)4
-rw-r--r--metadata/pkg_desc_index2
-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
4 files changed, 13 insertions, 8 deletions
diff --git a/metadata/md5-cache/sys-kernel/virtualbox-modules-dkms-6.1.38 b/metadata/md5-cache/sys-kernel/virtualbox-modules-dkms-6.1.38-r1
index b037e93f..7d601153 100644
--- a/metadata/md5-cache/sys-kernel/virtualbox-modules-dkms-6.1.38
+++ b/metadata/md5-cache/sys-kernel/virtualbox-modules-dkms-6.1.38-r1
@@ -9,6 +9,6 @@ LICENSE=GPL-2
RDEPEND=sys-apps/ethtool sys-kernel/dkms
RESTRICT=mirror
SLOT=0
-SRC_URI=https://github.com/ceamac/virtualbox-modules-dist/releases/download/v6.1.38/vbox-kernel-module-src-6.1.38.tar.xz
+SRC_URI=http://mirrors.kernel.org/ubuntu/pool/multiverse/v/virtualbox/virtualbox-dkms_6.1.38-dfsg-3_amd64.deb
_eclasses_=edos2unix 33e347e171066657f91f8b0c72ec8773 eutils 8f942ebdcf04334697649d4a0bf65a32 multilib 5ca4e49abed8e3a2f7b56920eadee157 multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 strip-linguas ac3ee41ee2d31d8c41a77c0838320cc7 toolchain-funcs 441f754fd75cd4fd1fa06fbc17da6144 unpacker bc57272a0491765c71d973c8cfd35063 wrapper 4a1902f969e5718126434fc35f3a0d9c
-_md5_=513fee97b9b656e9c808dbbd1f069de3
+_md5_=cd24e7a3eda5d2de29cbdd550052d6b2
diff --git a/metadata/pkg_desc_index b/metadata/pkg_desc_index
index 2625c17f..31034d3b 100644
--- a/metadata/pkg_desc_index
+++ b/metadata/pkg_desc_index
@@ -67,7 +67,7 @@ sys-kernel/linux-sources-redcore-lts-legacy 5.10.147-r1: Redcore Linux Kernel So
sys-kernel/nvidia-drivers-dkms 470.141.03-r1: NVIDIA driver sources for linux
sys-kernel/nvidia-drivers-legacy-dkms 390.154: NVIDIA driver sources for linux
sys-kernel/vhba-dkms 20211218: Virtual (SCSI) Host Bus Adapter kernel module for the CDEmu suite sources
-sys-kernel/virtualbox-modules-dkms 6.1.38: Kernel Modules source for Virtualbox
+sys-kernel/virtualbox-modules-dkms 6.1.38-r1: Kernel Modules source for Virtualbox
sys-kernel/zfs-dkms 2.1.6: ZFS sources for linux
sys-libs/binutils-libs 2.39-r1: Core binutils libraries (libbfd, libopcodes, libiberty) for external packages
sys-libs/glibc 2.35-r8: GNU libc C library
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() {