diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-14 18:13:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-14 18:13:29 +0100 |
commit | 85dc262ae9ec9413f8172a2a8442d6d9134d02f4 (patch) | |
tree | 81768a8b154fded73a17e9475cebc90d79fd4720 /app-emulation/virtualbox-modules/virtualbox-modules-6.1.46-r1.ebuild | |
parent | b6323af2602e6a5cd4920d4af06b5c2f3949b9d0 (diff) |
gentoo auto-resync : 14:08:2023 - 18:13:29
Diffstat (limited to 'app-emulation/virtualbox-modules/virtualbox-modules-6.1.46-r1.ebuild')
-rw-r--r-- | app-emulation/virtualbox-modules/virtualbox-modules-6.1.46-r1.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-6.1.46-r1.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-6.1.46-r1.ebuild new file mode 100644 index 000000000000..2b866fda3662 --- /dev/null +++ b/app-emulation/virtualbox-modules/virtualbox-modules-6.1.46-r1.ebuild @@ -0,0 +1,36 @@ +# 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-2" +SLOT="0/$(ver_cut 1-2)" +KEYWORDS="~amd64" + +CONFIG_CHECK="~!SPINLOCK JUMP_LABEL" + +PATCHES=( "${FILESDIR}"/${PN}-7.0.10-kernel-6.4.10.patch ) + +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 +} |