diff --git a/app-emulation/virtualbox-guest-modules/Manifest b/app-emulation/virtualbox-guest-modules/Manifest index d8e2f4b1cdd37..964698395ec82 100644 --- a/app-emulation/virtualbox-guest-modules/Manifest +++ b/app-emulation/virtualbox-guest-modules/Manifest @@ -1,3 +1,4 @@ DIST vbox-guest-kernel-module-src-7.0.26.tar.xz 691328 BLAKE2B 8bbe434bb34e2046227713ce9d8508754621b6210e29dbfffa18129c8156ee6da265280db0a2d0485abd9f6299bc56ac2490b3a35057b594456ea3ba31445cf2 SHA512 fbdf7bd9fa23e71d1421006424379893d078edc7bb1d9720f941289a754dba9cedbb0eb741beecab2da312b4230effca6ccd2e570923d4c2242be3557e330fd5 DIST vbox-guest-kernel-module-src-7.2.14.tar.xz 756804 BLAKE2B f5e063ebee8ffca2de35afbc520322a6b871337b6c4af735d57ddfdbb376e58554aba07dce0a32737203a17e55fa60abdb00f3f2491488802e06cfbb4cb49f7e SHA512 5233360abcf3fe58f4dc359beb9ad0a18c1bb5d6104c62dd9731f144687e38ea87b52c7c6dcab1b0915b6e4152fb3d3ec94ceb9a8d15ee8149efffb1182997e0 DIST vbox-guest-kernel-module-src-7.2.16.tar.xz 757504 BLAKE2B cee55482b5914a78625303a0c381a1b47e6b70d76f16a55b559c1e65be12730d1f3b345152cba13310001850b9ab9e3322063ae181e59387cb57d223c6257e28 SHA512 16bf3b12f4450f128eba01701fc7b6c12b3bb2b81693696b726d1848f1889723df0d513c776a6341154d9bfd121e74a3cd80f98f5bb6cc5e07458742f436cf22 +DIST vbox-guest-kernel-module-src-7.2.18.tar.xz 757956 BLAKE2B 5f718afeffca59cdd62aac1179e3387a3adaab2bf9bb1639c93cc849164bc24d15dbadf52799ad4df0d1a46a2260681a726ed066d299ae8c6524e3e8a2eb0c85 SHA512 7b166cdf02ee831956076b75305197aaeb04507b4d36c1fe5df2539f2d46b4f2985f2e95472b926af2856c12a1d8af87123c2da17ea67534b0f203c885c1dae1 diff --git a/app-emulation/virtualbox-guest-modules/virtualbox-guest-modules-7.2.18.ebuild b/app-emulation/virtualbox-guest-modules/virtualbox-guest-modules-7.2.18.ebuild new file mode 100644 index 0000000000000..1f12524b22ddd --- /dev/null +++ b/app-emulation/virtualbox-guest-modules/virtualbox-guest-modules-7.2.18.ebuild @@ -0,0 +1,48 @@ +# Copyright 2022-2026 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 sources +# using the upstream provided export_modules.sh +# https://distfiles.gentoo.org/pub/dev/ceamac@gentoo.org/app-emulation/virtualbox-modules/make-modules-from-source + +EAPI=8 + +inherit linux-mod-r1 + +MY_P="vbox-guest-kernel-module-src-${PV^^}" +DESCRIPTION="Kernel Modules for Virtualbox Guest Additions" +HOMEPAGE="https://www.virtualbox.org/" +SRC_URI="https://distfiles.gentoo.org/pub/dev/ceamac@gentoo.org/${CATEGORY}/${PN}/${MY_P}.tar.xz" +S="${WORKDIR}" + +LICENSE="GPL-3" +SLOT="0/$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm64 ~x86" + +PATCHES=( + "${FILESDIR}"/${PN}-7.2.6-log-use-c99.patch + "${FILESDIR}"/${PN}-7.2.8-no-vboxvideo.patch +) + +CONFIG_CHECK="~DRM_TTM ~DRM_VMWGFX" +WARNING_DRM_TTM="DRM_TTM is needed for running the vboxvideo driver." +WARNING_DRM_VMWGFX="DRM_VMWGFX is the recommended driver for VMSVGA." + +src_compile() { + local modlist=( {vboxguest,vboxsf}=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 /etc/modprobe.d # 485996 + newins - vboxsf.conf <<-EOF + # modprobe.d configuration file for VBOXSF + + # Internal Aliases - Do not edit + # ------------------------------ + alias fs-vboxsf vboxsf + EOF +}