summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac@gentoo.org>2023-05-31 18:32:28 +0300
committerViorel Munteanu <ceamac@gentoo.org>2023-06-01 09:24:51 +0300
commit4fc4ff0f415995ab7adc58ec54ba49897cb1e1f8 (patch)
treeec01599073fd200fd3d9ef4d4cb30097d1bf36d4 /app-emulation
parentdev-ruby/shoulda-matchers: Stabilize 5.3.0 ppc64, #907538 (diff)
downloadgentoo-4fc4ff0f415995ab7adc58ec54ba49897cb1e1f8.tar.gz
gentoo-4fc4ff0f415995ab7adc58ec54ba49897cb1e1f8.tar.bz2
gentoo-4fc4ff0f415995ab7adc58ec54ba49897cb1e1f8.zip
app-emulation/virtualbox-modules: migrate 7.0.8 to linux-mod-r1
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/virtualbox-modules/virtualbox-modules-7.0.8-r1.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-7.0.8-r1.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-7.0.8-r1.ebuild
new file mode 100644
index 000000000000..d0c1bf4e4df5
--- /dev/null
+++ b/app-emulation/virtualbox-modules/virtualbox-modules-7.0.8-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# XXX: the tarball here is just the kernel modules split out of the binary
+# package that comes from VirtualBox-*.run
+# XXX: update: now it is split from virtualbox-*-Debian~bullseye_amd64.deb
+
+EAPI=8
+
+inherit linux-mod-r1
+
+MY_P="vbox-kernel-module-src-${PV}"
+DESCRIPTION="Kernel Modules for Virtualbox"
+HOMEPAGE="https://www.virtualbox.org/"
+SRC_URI="https://dev.gentoo.org/~ceamac/${CATEGORY}/${PN}/${MY_P}.tar.xz"
+S="${WORKDIR}"
+
+LICENSE="GPL-3"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64"
+
+CONFIG_CHECK="~!SPINLOCK JUMP_LABEL"
+
+src_compile() {
+ local modlist=( {vboxdrv,vboxnetflt,vboxnetadp}=misc )
+ local modargs=( KERN_DIR="${KV_OUT_DIR}" KERN_VER="${KV_FULL}" )
+ linux-mod-r1_src_compile
+}
+
+src_install() {
+ linux-mod-r1_src_install
+ insinto /usr/lib/modules-load.d/
+ newins "${FILESDIR}"/virtualbox.conf-r1 virtualbox.conf
+}