commit:     37584a729176f142d7addeca7352abd1ff0b9560
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  4 10:09:23 2025 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Mon Aug  4 15:04:19 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37584a72

app-emulation/virtualbox-guest-modules: add 7.2.0_rc1

Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 app-emulation/virtualbox-guest-modules/Manifest    |  1 +
 .../virtualbox-guest-modules-7.2.0_rc1.ebuild      | 46 ++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/app-emulation/virtualbox-guest-modules/Manifest 
b/app-emulation/virtualbox-guest-modules/Manifest
index 8ac398454a5f..7f53809d58f2 100644
--- a/app-emulation/virtualbox-guest-modules/Manifest
+++ b/app-emulation/virtualbox-guest-modules/Manifest
@@ -2,3 +2,4 @@ DIST vbox-guest-kernel-module-src-7.0.26.tar.xz 691328 BLAKE2B 
8bbe434bb34e20462
 DIST vbox-guest-kernel-module-src-7.1.10.tar.xz 710724 BLAKE2B 
8a1f38e91f15b828b7e2c15f81c70ea436353a0c0234aac1efd7e724cc8c25c5832041457b31e94a35c365666322ec2d690800ee589afbd77b55758539484009
 SHA512 
d1bdd4d99de2f9ba8ec19e701f7ce94be4e311ce3db26a0953e9d75c7b844c3905f8f908c2077db6075504ea421a5fb993dfaa3bc33efe7dc4418afe6d1abedd
 DIST vbox-guest-kernel-module-src-7.1.12.tar.xz 710784 BLAKE2B 
3f09634ac1dd8ccf805184cc30e39e60987700f5e985c303ce15ee77c06b7d2f576c46e93385d782eb1e3fff081b639c55bd2b5d95ce280f64674d1905bbe320
 SHA512 
103a60e0d7ab435b8b48b002adb78ccc4d3a80a987752011335adec26a7986cf78d3140345d73d2b6cf906fcc2a8e7e649c6288970402fdf2a7319d63ace1931
 DIST vbox-guest-kernel-module-src-7.2.0_BETA2.tar.xz 712288 BLAKE2B 
24b9a7f96c01f1e3fe277cd35e16d777af876c72a777580d1610162b440eae2618fa24dfc7f1865441dae06e9e4e48298f6257a45f614857b29912a3d7ef3594
 SHA512 
c6c150aedc3492ec4e538e61609a85471d384b0409e147ff09454b7a70a6d4329e70e0149042dfe58dcc5609b7b1071e4b5920525f37aa0b09e524771cc5060c
+DIST vbox-guest-kernel-module-src-7.2.0_RC1.tar.xz 712500 BLAKE2B 
0a7fab50cbc822e8fafb474d2fbb24c293da28ad57c4d5022605d133fab08d60485d9cefbff16dcc980527302d6117b918b342d0d467aaa70e085adae1891aa8
 SHA512 
86b4ae79b84f844bae46b4820d00c289b83b10197a896e97f9e5db9618ca27859b739eef8058211ad1361f40fc29bfb3d0963740972de7ec0f43cdb9e49d576e

diff --git 
a/app-emulation/virtualbox-guest-modules/virtualbox-guest-modules-7.2.0_rc1.ebuild
 
b/app-emulation/virtualbox-guest-modules/virtualbox-guest-modules-7.2.0_rc1.ebuild
new file mode 100644
index 000000000000..430f52a435ae
--- /dev/null
+++ 
b/app-emulation/virtualbox-guest-modules/virtualbox-guest-modules-7.2.0_rc1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2022-2025 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-guest-kernel-module-src-${PV^^[betarc]}"
+DESCRIPTION="Kernel Modules for Virtualbox Guest Additions"
+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)"
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-6.1.36-log-use-c99.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
+}

Reply via email to