diff options
Diffstat (limited to 'app-emulation/virtualbox-modules')
4 files changed, 88 insertions, 0 deletions
diff --git a/app-emulation/virtualbox-modules/Manifest b/app-emulation/virtualbox-modules/Manifest index 0ca0548470bf..1a8e78edab16 100644 --- a/app-emulation/virtualbox-modules/Manifest +++ b/app-emulation/virtualbox-modules/Manifest @@ -1,4 +1,5 @@ AUX create_vbox_modules_tarball.sh 896 BLAKE2B 4153a8fa67cd8fe7187f3c4232691b1ded8e51315f41292f9fcc0adb294e9b235b0c2f1e91f6f728076ab85f687ea1ba2877dc44b511eaceb24e7d6e71a8bbd4 SHA512 c3154a13550817c581fa142e24081edfbdbc145315d34cc4569d12ad87a518fa0bf1443c053b50fdfdea6915bda1325ad973455ee85079294b83a49fd53f4771 +AUX virtualbox-modules-7.0.10-kernel-6.4.10.patch 312 BLAKE2B 878d706d8aeb11780ff8068c5f18784c4282da5e2fbec620a794a791e20c44256d54f1919e8abde939137607204442cc9fd13121b79518606cceae4f0d141508 SHA512 0c90a82d377bbbd294f9e9fec1810ff4e07afc43fe97ef2b8cc7eafa2a6fde00e1e0352bd8b1d14f3bee0eb7c8094906a880d1092823620f5230cb30bd260911 AUX virtualbox.conf-r1 30 BLAKE2B 6308dedc75e2677cbdc844b53f51359e6b5745d3510636b04d08512122aeb6db81a1a18af156a8b9acccad395d390b24f9c27ed47413382cb6101266762de230 SHA512 5c6d31f527ca2db8d7fbeea759ac328eff42803d7940fd81ef12af22eb09f8913a0e561c35db1963e2a8b398ee288692817b5c8f3d439f2a6fd381769ec2ac8a DIST vbox-kernel-module-src-6.1.44.tar.xz 678920 BLAKE2B d18bd899205b1baa476b6a17b29c8f210238ddcf5949dd5f7b73e06854c85a816422b8f24045d3d0c1adb3cf1fcadbe089e61c2b9764262a14b04b2beaede8be SHA512 a682c94e61ad1c6090223348522123ee7ba87cdd69aaa0bc09a268068bebc2f9d7c8a156c52d82237999f26664790dddb1c8aca72ac4b5ba2133e35086f6516c DIST vbox-kernel-module-src-6.1.46.tar.xz 680036 BLAKE2B 46963957424fab934152ff945a3f1c0da9ca395f6ce7834e249805d155e2d41ec94b9feaed5c214d90fab547509ca48282fa7603b7f9434e7a5d596ea75177f9 SHA512 b60cf42e8213cb4c7f68090d118a477b4535cca7011f495b8ed3a254070dd8912853bb6c647cb4c86448e241005ad2467888d4731aee994c1ac80d2f38e153b3 @@ -6,7 +7,9 @@ DIST vbox-kernel-module-src-7.0.10.tar.xz 717508 BLAKE2B 7e4517eb39a7927a9b4343a DIST vbox-kernel-module-src-7.0.8.tar.xz 718032 BLAKE2B f8993f6668d12f6bb6a4ab81376e02b11f806012e9ef101ab7d1cbe17004ce34c9214691e1047aa0b5a82b25b91521b9c9ab20a8b7638136cc64e44f1dda89e6 SHA512 5f56a94cdac2490a2dfea3f006f7fb0229e7467d7a71029063c200d42dbf4fbeb65d3d0612f862c5c303f8cd5b60a9ab58dc7a8f593f128e7e6b3f89c53eaefc EBUILD virtualbox-modules-6.1.44-r1.ebuild 942 BLAKE2B d001b609287f13ded153dcca7e6188a9389503a7fbf1a0ac014554fba47582acc0e6416b1b58a524cbc33972a8bac3ce052cf3c4d9dfe01d5d296419261f371e SHA512 3ad9fb5df15b2666148204323fd43f72aa5dafbd74a2402258a286ebbb65b27d42f979068f13552d717ac07d24664c8603feaae09b06f17071c8871617aba209 EBUILD virtualbox-modules-6.1.44.ebuild 2452 BLAKE2B ac3c57ed8b03807848cb1b5d6e1c7e096e75ed6d002086aa4b07fbb33ad45b79efbd5e1d1592880550b8280eb0302272e1835071adf786ff4dd6ee79b60b65b8 SHA512 291bc97f33f713f0ab3136736f390a2bee33458313d7c23b20254dceaa74e5087dfa2c81c43296f6ff237de7ab193318f0282752c46ff403c12ee40919164d00 +EBUILD virtualbox-modules-6.1.46-r1.ebuild 1002 BLAKE2B 354032d27a55e478e15da1b382387247d464706c6b110dbdf22cbb4ebe479c752c4b195defb14d7d3fcd0f6d1c7c76c398624d7bb21649d84e87ca8c77399386 SHA512 f94b0656475eacf9e99a989a5f0e917a8c38e09f9eda7a085b3431fffebdb9a970dbf4caab3d7732c5070f827c26d493212f6ab5580267d2999c4feddb60c1d0 EBUILD virtualbox-modules-6.1.46.ebuild 941 BLAKE2B 2e25e3085b1a5879cc8e753a04552735bc1bcdf4a1ecfc11f9c796d4a6f770f5028e0712771a6415f481c89bf332652ba5973d51e54cf56146335ccc53d27fcf SHA512 3f5d092613f4013c3d3f39675350b17b4a305ce96d8ffda446736021d581821c4b18bf3161fefc3ad772186b12dcc3e0f0eb52751acfd78883837efd78c0f03b +EBUILD virtualbox-modules-7.0.10-r1.ebuild 1002 BLAKE2B 6e5f51d3e7c0931558528c667e967217169057b95948fa7cc679a6effa33b85e0b01217698028660f83964d14e8f559402bb2bfc19d4e09e9e92bb46efbcacff SHA512 e49e662f1dc6c447ea4f6596196f04e63af3cf3ba6cb85b322f7861dc3a247fa00a58bf9510c3858ecf8e559580a5d8fed1798198288737973934d287c3a59eb EBUILD virtualbox-modules-7.0.10.ebuild 942 BLAKE2B 666835042ed720f08e0e51ab83ee1a4c9328b7abff922c929148ed246a03cc410856e846542ce5d1758b0c094ab9f040c6a8ba29ea2486ca64dddc01d9db05bc SHA512 b3dd20429f4dad94e1c5f270de8de0af095fec9e5980283f9ebbf625047840e238f254ed42c73cc985ab0dfb86bec225e6124f21d990d040f723ba39cfa5c0fe EBUILD virtualbox-modules-7.0.8-r1.ebuild 942 BLAKE2B 666835042ed720f08e0e51ab83ee1a4c9328b7abff922c929148ed246a03cc410856e846542ce5d1758b0c094ab9f040c6a8ba29ea2486ca64dddc01d9db05bc SHA512 b3dd20429f4dad94e1c5f270de8de0af095fec9e5980283f9ebbf625047840e238f254ed42c73cc985ab0dfb86bec225e6124f21d990d040f723ba39cfa5c0fe EBUILD virtualbox-modules-7.0.8.ebuild 2452 BLAKE2B a6450dbe26b3b841b6e5842f937ec5942c8dad219560c77e9e5fde28e44fadd3a3b60af9b43523148edcb2166eab584d1f2db0dfe0fccff3316f689e8705d211 SHA512 600466e3edf5bddc799b8a0f01b8873acfc855a5468c7c8c95969181db8483a170ced08d071169047fa38cd91452c7ac615c2a30855434750129825bd4e89e5d diff --git a/app-emulation/virtualbox-modules/files/virtualbox-modules-7.0.10-kernel-6.4.10.patch b/app-emulation/virtualbox-modules/files/virtualbox-modules-7.0.10-kernel-6.4.10.patch new file mode 100644 index 000000000000..189a2ce4085e --- /dev/null +++ b/app-emulation/virtualbox-modules/files/virtualbox-modules-7.0.10-kernel-6.4.10.patch @@ -0,0 +1,13 @@ +https://bugs.gentoo.org/912168 + +--- a/vboxnetflt/linux/VBoxNetFlt-linux.c ++++ b/vboxnetflt/linux/VBoxNetFlt-linux.c +@@ -47,7 +47,7 @@ + #if RTLNX_VER_MIN(2,6,24) + # include <linux/nsproxy.h> + #endif +-#if RTLNX_VER_MIN(6,5,0) ++#if RTLNX_VER_MIN(6,4,10) + # include <net/gso.h> + #endif + #include <linux/netdevice.h> 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 +} diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-7.0.10-r1.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-7.0.10-r1.ebuild new file mode 100644 index 000000000000..655c1e954921 --- /dev/null +++ b/app-emulation/virtualbox-modules/virtualbox-modules-7.0.10-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-3" +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 +} |