From 1219fe740d36e85fdab080117530a3bdee9f6a43 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 1 Apr 2025 07:26:47 +0100 Subject: revert to vbox 7.1.4, gentoo bug #951833. --- app-emulation/virtualbox-guest-additions/Manifest | 2 +- .../virtualbox-guest-additions-7.1.4-r1.ebuild | 232 +++++++++++++++++++++ .../virtualbox-guest-additions-7.1.6-r1.ebuild | 232 --------------------- .../virtualbox-guest-modules-7.1.4.ebuild | 45 ++++ .../virtualbox-guest-modules-7.1.6.ebuild | 45 ---- .../virtualbox-modules-7.1.4-r1.ebuild | 33 +++ .../virtualbox-modules-7.1.6-r1.ebuild | 33 --- .../virtualbox-guest-additions-7.1.4-r1 | 15 ++ .../virtualbox-guest-additions-7.1.6-r1 | 15 -- .../app-emulation/virtualbox-guest-modules-7.1.4 | 13 ++ .../app-emulation/virtualbox-guest-modules-7.1.6 | 13 -- .../app-emulation/virtualbox-modules-7.1.4-r1 | 10 + .../app-emulation/virtualbox-modules-7.1.6-r1 | 10 - .../sys-kernel/virtualbox-guest-modules-dkms-7.1.4 | 13 ++ .../sys-kernel/virtualbox-guest-modules-dkms-7.1.6 | 13 -- .../sys-kernel/virtualbox-modules-dkms-7.1.4 | 12 ++ .../sys-kernel/virtualbox-modules-dkms-7.1.6 | 12 -- metadata/pkg_desc_index | 10 +- sys-kernel/virtualbox-guest-modules-dkms/Manifest | 2 +- .../virtualbox-guest-modules-dkms/files/dkms.conf | 2 +- .../virtualbox-guest-modules-dkms-7.1.4.ebuild | 72 +++++++ .../virtualbox-guest-modules-dkms-7.1.6.ebuild | 72 ------- sys-kernel/virtualbox-modules-dkms/Manifest | 2 +- sys-kernel/virtualbox-modules-dkms/files/dkms.conf | 2 +- .../virtualbox-modules-dkms-7.1.4.ebuild | 50 +++++ .../virtualbox-modules-dkms-7.1.6.ebuild | 50 ----- 26 files changed, 505 insertions(+), 505 deletions(-) create mode 100644 app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-7.1.4-r1.ebuild delete mode 100644 app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-7.1.6-r1.ebuild create mode 100644 app-emulation/virtualbox-guest-modules/virtualbox-guest-modules-7.1.4.ebuild delete mode 100644 app-emulation/virtualbox-guest-modules/virtualbox-guest-modules-7.1.6.ebuild create mode 100644 app-emulation/virtualbox-modules/virtualbox-modules-7.1.4-r1.ebuild delete mode 100644 app-emulation/virtualbox-modules/virtualbox-modules-7.1.6-r1.ebuild create mode 100644 metadata/md5-cache/app-emulation/virtualbox-guest-additions-7.1.4-r1 delete mode 100644 metadata/md5-cache/app-emulation/virtualbox-guest-additions-7.1.6-r1 create mode 100644 metadata/md5-cache/app-emulation/virtualbox-guest-modules-7.1.4 delete mode 100644 metadata/md5-cache/app-emulation/virtualbox-guest-modules-7.1.6 create mode 100644 metadata/md5-cache/app-emulation/virtualbox-modules-7.1.4-r1 delete mode 100644 metadata/md5-cache/app-emulation/virtualbox-modules-7.1.6-r1 create mode 100644 metadata/md5-cache/sys-kernel/virtualbox-guest-modules-dkms-7.1.4 delete mode 100644 metadata/md5-cache/sys-kernel/virtualbox-guest-modules-dkms-7.1.6 create mode 100644 metadata/md5-cache/sys-kernel/virtualbox-modules-dkms-7.1.4 delete mode 100644 metadata/md5-cache/sys-kernel/virtualbox-modules-dkms-7.1.6 create mode 100644 sys-kernel/virtualbox-guest-modules-dkms/virtualbox-guest-modules-dkms-7.1.4.ebuild delete mode 100644 sys-kernel/virtualbox-guest-modules-dkms/virtualbox-guest-modules-dkms-7.1.6.ebuild create mode 100644 sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-7.1.4.ebuild delete mode 100644 sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-7.1.6.ebuild diff --git a/app-emulation/virtualbox-guest-additions/Manifest b/app-emulation/virtualbox-guest-additions/Manifest index 5a451676..6670cd62 100644 --- a/app-emulation/virtualbox-guest-additions/Manifest +++ b/app-emulation/virtualbox-guest-additions/Manifest @@ -1,2 +1,2 @@ -DIST VirtualBox-7.1.6.tar.bz2 205786817 BLAKE2B 5328efe566217f69b665be58b19fc18f5898d634f0ee4057de93e66817dc15a2a708c71d9b323cfce752adf221dac44cbf2be0b8bfd37b2051c777fff0f4759a SHA512 16aa69eef997550e40e2759b9e0aa28b082d04de1352c62246bd8c63bb951545e5d6c6c1d930ae284c5c925eb44d504f071f545aa934bc4d94fbdb5ba74423d9 +DIST VirtualBox-7.1.4.tar.bz2 206218796 BLAKE2B 62a4f44b4eac2e1cb2c0bace5dfabf86c41b738d81aede3de75d88159a8d76158748eaae38ee3eedbc0f79b639a875f1ef6805a8ca7c95021f475935f54d7ef9 SHA512 97654339d509447e2604db01e29f9e810f59498a378e645f412cffb67022c4e547f205e8ebdac6ae33aaa8f7bc0f289bdca2e5a04b1fa31b4a05c191d7600a9c DIST virtualbox-patches-7.1.0.tar.bz2 5952 BLAKE2B cb024f36249d7d312c9d0f9231c22a9609d45de1d4c82ca36672fea703765d437d7a414d810adb5eb5f2db92018b669c3b5d0c32372c5ced90f5e13f82344ffa SHA512 c6ef54b7d60f01f5f2b89c6fd7f8b7b509bc62bca0502114cedcbaaf9643445ea413bba481dcf43fb96b5b4d94d64395965682c1ee160d889213615c9272184c diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-7.1.4-r1.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-7.1.4-r1.ebuild new file mode 100644 index 00000000..6fe5f541 --- /dev/null +++ b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-7.1.4-r1.ebuild @@ -0,0 +1,232 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit edo readme.gentoo-r1 systemd toolchain-funcs + +MY_PN="VirtualBox" +MY_PV=${PV^^} +MY_P=${MY_PN}-${MY_PV} + +DESCRIPTION="VirtualBox user-space tools for Gentoo guests" +HOMEPAGE="https://www.virtualbox.org/" +SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2 + https://gitweb.gentoo.org/proj/virtualbox-patches.git/snapshot/virtualbox-patches-7.1.0.tar.bz2" +S="${WORKDIR}/${MY_PN}-${MY_PV}" + +LICENSE="GPL-3 LGPL-2.1+ MIT || ( GPL-3 CDDL )" +SLOT="0/$(ver_cut 1-2)" +KEYWORDS="~amd64 ~x86" +IUSE="+dbus gui" + +RDEPEND=" + app-emulation/virtualbox-guest-modules + sys-libs/pam + sys-libs/zlib + dbus? ( sys-apps/dbus ) + gui? ( + x11-apps/xrandr + x11-apps/xrefresh + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXmu + x11-libs/libXt + ) +" +DEPEND=" + ${RDEPEND} + gui? ( + x11-libs/libICE + x11-libs/libSM + x11-libs/libXau + x11-libs/libXdmcp + x11-base/xorg-proto + ) +" +BDEPEND=" + >=dev-lang/yasm-0.6.2 + >=dev-build/kbuild-0.1.9998.3127 + sys-devel/bin86 + sys-power/iasl +" + +DOCS=() # Don't install the default README file during einstalldocs + +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." + +DOC_CONTENTS="\n +Please add users to the \"vboxguest\" group so they can\n +benefit from seamless mode, auto-resize and clipboard.\n +\n +The vboxsf group has been added to make automount services work.\n +These services are part of the shared folders support.\n +\n +Please add:\n + /etc/init.d/virtualbox-guest-additions\n +to the default runlevel in order to start\n +needed services.\n +\n +An autostart .desktop file has been installed to start\n +VBoxClient in desktop sessions.\n +\n +You can mount shared folders with:\n + mount -t vboxsf \n +\n +Warning:\n + this ebuild is only needed if you are running gentoo\n + inside a VirtualBox Virtual Machine, you don't need\n + it to run VirtualBox itself.\n +\n" + +src_prepare() { + # Remove shipped binaries (kBuild,yasm), see bug #232775 + rm -r kBuild/bin tools || die + + # Disable things unused or splitted into separate ebuilds + cp "${FILESDIR}/${PN}-5-localconfig" LocalConfig.kmk || die + if use gui; then + echo "VBOX_NO_LEGACY_XORG_X11 := 1" >> LocalConfig.kmk || die + else + echo "VBOX_WITH_X11_ADDITIONS :=" >> LocalConfig.kmk || die + fi + + # Remove pointless GCC version check + sed -e '/ check_gcc$/d' -i configure || die + + # Respect LDFLAGS (bug #759100) + sed -i -e '/TEMPLATE_VBoxR3Exe_LDFLAGS.linux[ ]*=/ s/$/ $(CCLDFLAGS)/' Config.kmk || die + + eapply "${FILESDIR}"/${PN}-7.1.6-disable-vboxvideo-module.patch + eapply "${WORKDIR}/virtualbox-patches-7.1.0/patches" + eapply_user +} + +src_configure() { + tc-export AR CC CXX LD RANLIB + + # Build the user-space tools, warnings are harmless + local myconf=( + --with-gcc="$(tc-getCC)" + --with-g++="$(tc-getCXX)" + + --nofatal + --disable-xpcom + --disable-sdl-ttf + --disable-pulse + --disable-alsa + $(usev !dbus --disable-dbus) + --target-arch=${ARCH} + --build-headless + ) + + # bug #843437 + # Respect LDFLAGS (bug #759100) + # Cannot use LDFLAGS here because they also get passed to $(LD) + cat >> LocalConfig.kmk <<-EOF || die + CFLAGS=${CFLAGS} + CXXFLAGS=${CXXFLAGS} + CCLDFLAGS=${LDFLAGS} + EOF + + edo ./configure "${myconf[@]}" +} + +src_compile() { + source ./env.sh || die + + # Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529) + MAKEJOBS=$(grep -Eo '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) + MAKELOAD=$(grep -Eo '(\-l|\-\-load-average)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) + MAKEOPTS="${MAKEJOBS} ${MAKELOAD}" + + local myemakeargs=( + VBOX_BUILD_PUBLISHER=_Redcore + VBOX_ONLY_ADDITIONS=1 + + KBUILD_VERBOSE=2 + + AS="$(tc-getCC)" + CC="$(tc-getCC)" + CXX="$(tc-getCXX)" + LD="$(tc-getCC)" + + TOOL_GCC3_CC="$(tc-getCC)" + TOOL_GCC3_CXX="$(tc-getCXX)" + TOOL_GCC3_LD="$(tc-getCC)" + TOOL_GCC3_AS="$(tc-getCC)" + TOOL_GCC3_AR="$(tc-getAR)" + TOOL_GCC3_OBJCOPY="$(tc-getOBJCOPY)" + #TOOL_GCC3_LD_SYSMOD="$(tc-getCC)" + + TOOL_GXX3_CC="$(tc-getCC)" + TOOL_GXX3_CXX="$(tc-getCXX)" + TOOL_GXX3_LD="$(tc-getCXX)" + TOOL_GXX3_AS="$(tc-getCXX)" + TOOL_GXX3_AR="$(tc-getAR)" + TOOL_GXX3_OBJCOPY="$(tc-getOBJCOPY)" + #TOOL_GXX3_LD_SYSMOD="$(tc-getCXX)" + + TOOL_GCC3_CFLAGS="${CFLAGS}" + TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" + VBOX_GCC_OPT="${CXXFLAGS}" + VBOX_NM="$(tc-getNM)" + TOOL_YASM_AS=yasm + ) + + MAKE="kmk" emake "${myemakeargs[@]}" +} + +src_install() { + cd out/linux.${ARCH}/release/bin/additions || die + + insinto /sbin + newins mount.vboxsf mount.vboxsf + fperms 4755 /sbin/mount.vboxsf + + if use dbus; then + newinitd "${FILESDIR}"/${PN}-8.initd-r1 ${PN} + else + newinitd <(sed 's/ dbus\>//' "${FILESDIR}"/${PN}-8.initd-r1) ${PN} + fi + + insinto /usr/sbin/ + newins VBoxService vboxguest-service + fperms 0755 /usr/sbin/vboxguest-service + + insinto /usr/bin + doins VBoxControl + fperms 0755 /usr/bin/VBoxControl + + # VBoxClient user service and xrandr wrapper + if use gui ; then + doins VBoxClient + fperms 0755 /usr/bin/VBoxClient + doins VBoxDRMClient + fperms 4755 /usr/bin/VBoxDRMClient + + pushd "${S}"/src/VBox/Additions/x11/Installer &>/dev/null || die + newins 98vboxadd-xclient VBoxClient-all + fperms 0755 /usr/bin/VBoxClient-all + popd &>/dev/null || die + fi + + # VBoxClient autostart file + insinto /etc/xdg/autostart + doins "${FILESDIR}"/vboxclient.desktop + + systemd_dounit "${FILESDIR}/${PN}.service" + + readme.gentoo_create_doc +} + +pkg_postinst() { + if ! use gui ; then + elog "The use flag \"gui\" is off, enable it to install the" + elog "X Window System drivers and integration." + fi + + readme.gentoo_print_elog +} diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-7.1.6-r1.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-7.1.6-r1.ebuild deleted file mode 100644 index 6fe5f541..00000000 --- a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-7.1.6-r1.ebuild +++ /dev/null @@ -1,232 +0,0 @@ -# Copyright 2022-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit edo readme.gentoo-r1 systemd toolchain-funcs - -MY_PN="VirtualBox" -MY_PV=${PV^^} -MY_P=${MY_PN}-${MY_PV} - -DESCRIPTION="VirtualBox user-space tools for Gentoo guests" -HOMEPAGE="https://www.virtualbox.org/" -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2 - https://gitweb.gentoo.org/proj/virtualbox-patches.git/snapshot/virtualbox-patches-7.1.0.tar.bz2" -S="${WORKDIR}/${MY_PN}-${MY_PV}" - -LICENSE="GPL-3 LGPL-2.1+ MIT || ( GPL-3 CDDL )" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64 ~x86" -IUSE="+dbus gui" - -RDEPEND=" - app-emulation/virtualbox-guest-modules - sys-libs/pam - sys-libs/zlib - dbus? ( sys-apps/dbus ) - gui? ( - x11-apps/xrandr - x11-apps/xrefresh - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXmu - x11-libs/libXt - ) -" -DEPEND=" - ${RDEPEND} - gui? ( - x11-libs/libICE - x11-libs/libSM - x11-libs/libXau - x11-libs/libXdmcp - x11-base/xorg-proto - ) -" -BDEPEND=" - >=dev-lang/yasm-0.6.2 - >=dev-build/kbuild-0.1.9998.3127 - sys-devel/bin86 - sys-power/iasl -" - -DOCS=() # Don't install the default README file during einstalldocs - -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." - -DOC_CONTENTS="\n -Please add users to the \"vboxguest\" group so they can\n -benefit from seamless mode, auto-resize and clipboard.\n -\n -The vboxsf group has been added to make automount services work.\n -These services are part of the shared folders support.\n -\n -Please add:\n - /etc/init.d/virtualbox-guest-additions\n -to the default runlevel in order to start\n -needed services.\n -\n -An autostart .desktop file has been installed to start\n -VBoxClient in desktop sessions.\n -\n -You can mount shared folders with:\n - mount -t vboxsf \n -\n -Warning:\n - this ebuild is only needed if you are running gentoo\n - inside a VirtualBox Virtual Machine, you don't need\n - it to run VirtualBox itself.\n -\n" - -src_prepare() { - # Remove shipped binaries (kBuild,yasm), see bug #232775 - rm -r kBuild/bin tools || die - - # Disable things unused or splitted into separate ebuilds - cp "${FILESDIR}/${PN}-5-localconfig" LocalConfig.kmk || die - if use gui; then - echo "VBOX_NO_LEGACY_XORG_X11 := 1" >> LocalConfig.kmk || die - else - echo "VBOX_WITH_X11_ADDITIONS :=" >> LocalConfig.kmk || die - fi - - # Remove pointless GCC version check - sed -e '/ check_gcc$/d' -i configure || die - - # Respect LDFLAGS (bug #759100) - sed -i -e '/TEMPLATE_VBoxR3Exe_LDFLAGS.linux[ ]*=/ s/$/ $(CCLDFLAGS)/' Config.kmk || die - - eapply "${FILESDIR}"/${PN}-7.1.6-disable-vboxvideo-module.patch - eapply "${WORKDIR}/virtualbox-patches-7.1.0/patches" - eapply_user -} - -src_configure() { - tc-export AR CC CXX LD RANLIB - - # Build the user-space tools, warnings are harmless - local myconf=( - --with-gcc="$(tc-getCC)" - --with-g++="$(tc-getCXX)" - - --nofatal - --disable-xpcom - --disable-sdl-ttf - --disable-pulse - --disable-alsa - $(usev !dbus --disable-dbus) - --target-arch=${ARCH} - --build-headless - ) - - # bug #843437 - # Respect LDFLAGS (bug #759100) - # Cannot use LDFLAGS here because they also get passed to $(LD) - cat >> LocalConfig.kmk <<-EOF || die - CFLAGS=${CFLAGS} - CXXFLAGS=${CXXFLAGS} - CCLDFLAGS=${LDFLAGS} - EOF - - edo ./configure "${myconf[@]}" -} - -src_compile() { - source ./env.sh || die - - # Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529) - MAKEJOBS=$(grep -Eo '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) - MAKELOAD=$(grep -Eo '(\-l|\-\-load-average)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) - MAKEOPTS="${MAKEJOBS} ${MAKELOAD}" - - local myemakeargs=( - VBOX_BUILD_PUBLISHER=_Redcore - VBOX_ONLY_ADDITIONS=1 - - KBUILD_VERBOSE=2 - - AS="$(tc-getCC)" - CC="$(tc-getCC)" - CXX="$(tc-getCXX)" - LD="$(tc-getCC)" - - TOOL_GCC3_CC="$(tc-getCC)" - TOOL_GCC3_CXX="$(tc-getCXX)" - TOOL_GCC3_LD="$(tc-getCC)" - TOOL_GCC3_AS="$(tc-getCC)" - TOOL_GCC3_AR="$(tc-getAR)" - TOOL_GCC3_OBJCOPY="$(tc-getOBJCOPY)" - #TOOL_GCC3_LD_SYSMOD="$(tc-getCC)" - - TOOL_GXX3_CC="$(tc-getCC)" - TOOL_GXX3_CXX="$(tc-getCXX)" - TOOL_GXX3_LD="$(tc-getCXX)" - TOOL_GXX3_AS="$(tc-getCXX)" - TOOL_GXX3_AR="$(tc-getAR)" - TOOL_GXX3_OBJCOPY="$(tc-getOBJCOPY)" - #TOOL_GXX3_LD_SYSMOD="$(tc-getCXX)" - - TOOL_GCC3_CFLAGS="${CFLAGS}" - TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" - VBOX_GCC_OPT="${CXXFLAGS}" - VBOX_NM="$(tc-getNM)" - TOOL_YASM_AS=yasm - ) - - MAKE="kmk" emake "${myemakeargs[@]}" -} - -src_install() { - cd out/linux.${ARCH}/release/bin/additions || die - - insinto /sbin - newins mount.vboxsf mount.vboxsf - fperms 4755 /sbin/mount.vboxsf - - if use dbus; then - newinitd "${FILESDIR}"/${PN}-8.initd-r1 ${PN} - else - newinitd <(sed 's/ dbus\>//' "${FILESDIR}"/${PN}-8.initd-r1) ${PN} - fi - - insinto /usr/sbin/ - newins VBoxService vboxguest-service - fperms 0755 /usr/sbin/vboxguest-service - - insinto /usr/bin - doins VBoxControl - fperms 0755 /usr/bin/VBoxControl - - # VBoxClient user service and xrandr wrapper - if use gui ; then - doins VBoxClient - fperms 0755 /usr/bin/VBoxClient - doins VBoxDRMClient - fperms 4755 /usr/bin/VBoxDRMClient - - pushd "${S}"/src/VBox/Additions/x11/Installer &>/dev/null || die - newins 98vboxadd-xclient VBoxClient-all - fperms 0755 /usr/bin/VBoxClient-all - popd &>/dev/null || die - fi - - # VBoxClient autostart file - insinto /etc/xdg/autostart - doins "${FILESDIR}"/vboxclient.desktop - - systemd_dounit "${FILESDIR}/${PN}.service" - - readme.gentoo_create_doc -} - -pkg_postinst() { - if ! use gui ; then - elog "The use flag \"gui\" is off, enable it to install the" - elog "X Window System drivers and integration." - fi - - readme.gentoo_print_elog -} diff --git a/app-emulation/virtualbox-guest-modules/virtualbox-guest-modules-7.1.4.ebuild b/app-emulation/virtualbox-guest-modules/virtualbox-guest-modules-7.1.4.ebuild new file mode 100644 index 00000000..e8c4e3d0 --- /dev/null +++ b/app-emulation/virtualbox-guest-modules/virtualbox-guest-modules-7.1.4.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=8 + +inherit udev + +DESCRIPTION="Kernel Modules (guest) for Virtualbox" +HOMEPAGE="http://www.virtualbox.org/" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64" +IUSE="" + +DEPEND=" + acct-group/vboxguest + acct-group/vboxsf + acct-user/vboxguest + ~sys-kernel/${PN}-dkms-${PV}" +RDEPEND="${DEPEND}" + +S=${WORKDIR} + +src_compile() { + : +} + +src_install() { + insinto /etc/modprobe.d/ + newins "${FILESDIR}"/virtualbox-guest-kmod virtualbox-guest.conf + + insinto /lib/udev/rules.d + newins "${FILESDIR}"/virtualbox-guest-rules 60-virtualbox-guest-additions.rules +} + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +} diff --git a/app-emulation/virtualbox-guest-modules/virtualbox-guest-modules-7.1.6.ebuild b/app-emulation/virtualbox-guest-modules/virtualbox-guest-modules-7.1.6.ebuild deleted file mode 100644 index e8c4e3d0..00000000 --- a/app-emulation/virtualbox-guest-modules/virtualbox-guest-modules-7.1.6.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=8 - -inherit udev - -DESCRIPTION="Kernel Modules (guest) for Virtualbox" -HOMEPAGE="http://www.virtualbox.org/" -SRC_URI="" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64" -IUSE="" - -DEPEND=" - acct-group/vboxguest - acct-group/vboxsf - acct-user/vboxguest - ~sys-kernel/${PN}-dkms-${PV}" -RDEPEND="${DEPEND}" - -S=${WORKDIR} - -src_compile() { - : -} - -src_install() { - insinto /etc/modprobe.d/ - newins "${FILESDIR}"/virtualbox-guest-kmod virtualbox-guest.conf - - insinto /lib/udev/rules.d - newins "${FILESDIR}"/virtualbox-guest-rules 60-virtualbox-guest-additions.rules -} - -pkg_postinst() { - udev_reload -} - -pkg_postrm() { - udev_reload -} diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-7.1.4-r1.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-7.1.4-r1.ebuild new file mode 100644 index 00000000..28ab7647 --- /dev/null +++ b/app-emulation/virtualbox-modules/virtualbox-modules-7.1.4-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=8 + +DESCRIPTION="Kernel Modules for Virtualbox" +HOMEPAGE="http://www.virtualbox.org/" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64" +IUSE="" + +DEPEND=" + acct-group/vboxusers + ~sys-kernel/${PN}-dkms-${PV}" +RDEPEND="${DEPEND}" + +S=${WORKDIR} + +src_compile() { + : +} + +src_install() { + insinto /etc/modules-load.d/ + newins "${FILESDIR}"/virtualbox-kmod virtualbox.conf + + insinto /etc/modprobe.d/ + newins "${FILESDIR}"/virtualbox-host-kmod virtualbox-host.conf +} diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-7.1.6-r1.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-7.1.6-r1.ebuild deleted file mode 100644 index 28ab7647..00000000 --- a/app-emulation/virtualbox-modules/virtualbox-modules-7.1.6-r1.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=8 - -DESCRIPTION="Kernel Modules for Virtualbox" -HOMEPAGE="http://www.virtualbox.org/" -SRC_URI="" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64" -IUSE="" - -DEPEND=" - acct-group/vboxusers - ~sys-kernel/${PN}-dkms-${PV}" -RDEPEND="${DEPEND}" - -S=${WORKDIR} - -src_compile() { - : -} - -src_install() { - insinto /etc/modules-load.d/ - newins "${FILESDIR}"/virtualbox-kmod virtualbox.conf - - insinto /etc/modprobe.d/ - newins "${FILESDIR}"/virtualbox-host-kmod virtualbox-host.conf -} diff --git a/metadata/md5-cache/app-emulation/virtualbox-guest-additions-7.1.4-r1 b/metadata/md5-cache/app-emulation/virtualbox-guest-additions-7.1.4-r1 new file mode 100644 index 00000000..26a36b5f --- /dev/null +++ b/metadata/md5-cache/app-emulation/virtualbox-guest-additions-7.1.4-r1 @@ -0,0 +1,15 @@ +BDEPEND=>=dev-lang/yasm-0.6.2 >=dev-build/kbuild-0.1.9998.3127 sys-devel/bin86 sys-power/iasl virtual/pkgconfig +DEFINED_PHASES=compile configure install postinst prepare +DEPEND=app-emulation/virtualbox-guest-modules sys-libs/pam sys-libs/zlib dbus? ( sys-apps/dbus ) gui? ( x11-apps/xrandr x11-apps/xrefresh x11-libs/libX11 x11-libs/libXext x11-libs/libXmu x11-libs/libXt ) gui? ( x11-libs/libICE x11-libs/libSM x11-libs/libXau x11-libs/libXdmcp x11-base/xorg-proto ) +DESCRIPTION=VirtualBox user-space tools for Gentoo guests +EAPI=8 +HOMEPAGE=https://www.virtualbox.org/ +INHERIT=edo readme.gentoo-r1 systemd toolchain-funcs +IUSE=+dbus gui +KEYWORDS=~amd64 ~x86 +LICENSE=GPL-3 LGPL-2.1+ MIT || ( GPL-3 CDDL ) +RDEPEND=app-emulation/virtualbox-guest-modules sys-libs/pam sys-libs/zlib dbus? ( sys-apps/dbus ) gui? ( x11-apps/xrandr x11-apps/xrefresh x11-libs/libX11 x11-libs/libXext x11-libs/libXmu x11-libs/libXt ) +SLOT=0/7.1 +SRC_URI=https://download.virtualbox.org/virtualbox/7.1.4/VirtualBox-7.1.4.tar.bz2 https://gitweb.gentoo.org/proj/virtualbox-patches.git/snapshot/virtualbox-patches-7.1.0.tar.bz2 +_eclasses_=edo 367e103a74bf77e6a8da7894d999fa3c multilib b2a329026f2e404e9e371097dda47f96 readme.gentoo-r1 b045f3acf546393ab6b3170781875358 systemd 54bd206bb5c4efac6ae28b6b006713b0 toolchain-funcs 6afdb6107430c1832ca7e16aacbf8fa1 +_md5_=7b2d46b0eccdfc2f51ed7c7cf8319cff diff --git a/metadata/md5-cache/app-emulation/virtualbox-guest-additions-7.1.6-r1 b/metadata/md5-cache/app-emulation/virtualbox-guest-additions-7.1.6-r1 deleted file mode 100644 index f8b7406f..00000000 --- a/metadata/md5-cache/app-emulation/virtualbox-guest-additions-7.1.6-r1 +++ /dev/null @@ -1,15 +0,0 @@ -BDEPEND=>=dev-lang/yasm-0.6.2 >=dev-build/kbuild-0.1.9998.3127 sys-devel/bin86 sys-power/iasl virtual/pkgconfig -DEFINED_PHASES=compile configure install postinst prepare -DEPEND=app-emulation/virtualbox-guest-modules sys-libs/pam sys-libs/zlib dbus? ( sys-apps/dbus ) gui? ( x11-apps/xrandr x11-apps/xrefresh x11-libs/libX11 x11-libs/libXext x11-libs/libXmu x11-libs/libXt ) gui? ( x11-libs/libICE x11-libs/libSM x11-libs/libXau x11-libs/libXdmcp x11-base/xorg-proto ) -DESCRIPTION=VirtualBox user-space tools for Gentoo guests -EAPI=8 -HOMEPAGE=https://www.virtualbox.org/ -INHERIT=edo readme.gentoo-r1 systemd toolchain-funcs -IUSE=+dbus gui -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-3 LGPL-2.1+ MIT || ( GPL-3 CDDL ) -RDEPEND=app-emulation/virtualbox-guest-modules sys-libs/pam sys-libs/zlib dbus? ( sys-apps/dbus ) gui? ( x11-apps/xrandr x11-apps/xrefresh x11-libs/libX11 x11-libs/libXext x11-libs/libXmu x11-libs/libXt ) -SLOT=0/7.1 -SRC_URI=https://download.virtualbox.org/virtualbox/7.1.6/VirtualBox-7.1.6.tar.bz2 https://gitweb.gentoo.org/proj/virtualbox-patches.git/snapshot/virtualbox-patches-7.1.0.tar.bz2 -_eclasses_=edo 367e103a74bf77e6a8da7894d999fa3c multilib b2a329026f2e404e9e371097dda47f96 readme.gentoo-r1 b045f3acf546393ab6b3170781875358 systemd 54bd206bb5c4efac6ae28b6b006713b0 toolchain-funcs 6afdb6107430c1832ca7e16aacbf8fa1 -_md5_=7b2d46b0eccdfc2f51ed7c7cf8319cff diff --git a/metadata/md5-cache/app-emulation/virtualbox-guest-modules-7.1.4 b/metadata/md5-cache/app-emulation/virtualbox-guest-modules-7.1.4 new file mode 100644 index 00000000..7f380c79 --- /dev/null +++ b/metadata/md5-cache/app-emulation/virtualbox-guest-modules-7.1.4 @@ -0,0 +1,13 @@ +BDEPEND=virtual/pkgconfig +DEFINED_PHASES=compile install postinst postrm +DEPEND=acct-group/vboxguest acct-group/vboxsf acct-user/vboxguest ~sys-kernel/virtualbox-guest-modules-dkms-7.1.4 +DESCRIPTION=Kernel Modules (guest) for Virtualbox +EAPI=8 +HOMEPAGE=http://www.virtualbox.org/ +INHERIT=udev +KEYWORDS=amd64 +LICENSE=GPL-2 +RDEPEND=acct-group/vboxguest acct-group/vboxsf acct-user/vboxguest ~sys-kernel/virtualbox-guest-modules-dkms-7.1.4 +SLOT=0 +_eclasses_=multilib b2a329026f2e404e9e371097dda47f96 toolchain-funcs 6afdb6107430c1832ca7e16aacbf8fa1 udev f3d9a4376ebd22131726a68e1a0a058f +_md5_=4af167ac0905c4dd3df23afbaa0bb4fd diff --git a/metadata/md5-cache/app-emulation/virtualbox-guest-modules-7.1.6 b/metadata/md5-cache/app-emulation/virtualbox-guest-modules-7.1.6 deleted file mode 100644 index 681c3461..00000000 --- a/metadata/md5-cache/app-emulation/virtualbox-guest-modules-7.1.6 +++ /dev/null @@ -1,13 +0,0 @@ -BDEPEND=virtual/pkgconfig -DEFINED_PHASES=compile install postinst postrm -DEPEND=acct-group/vboxguest acct-group/vboxsf acct-user/vboxguest ~sys-kernel/virtualbox-guest-modules-dkms-7.1.6 -DESCRIPTION=Kernel Modules (guest) for Virtualbox -EAPI=8 -HOMEPAGE=http://www.virtualbox.org/ -INHERIT=udev -KEYWORDS=amd64 -LICENSE=GPL-2 -RDEPEND=acct-group/vboxguest acct-group/vboxsf acct-user/vboxguest ~sys-kernel/virtualbox-guest-modules-dkms-7.1.6 -SLOT=0 -_eclasses_=multilib b2a329026f2e404e9e371097dda47f96 toolchain-funcs 6afdb6107430c1832ca7e16aacbf8fa1 udev f3d9a4376ebd22131726a68e1a0a058f -_md5_=4af167ac0905c4dd3df23afbaa0bb4fd diff --git a/metadata/md5-cache/app-emulation/virtualbox-modules-7.1.4-r1 b/metadata/md5-cache/app-emulation/virtualbox-modules-7.1.4-r1 new file mode 100644 index 00000000..387f367b --- /dev/null +++ b/metadata/md5-cache/app-emulation/virtualbox-modules-7.1.4-r1 @@ -0,0 +1,10 @@ +DEFINED_PHASES=compile install +DEPEND=acct-group/vboxusers ~sys-kernel/virtualbox-modules-dkms-7.1.4 +DESCRIPTION=Kernel Modules for Virtualbox +EAPI=8 +HOMEPAGE=http://www.virtualbox.org/ +KEYWORDS=amd64 +LICENSE=GPL-2 +RDEPEND=acct-group/vboxusers ~sys-kernel/virtualbox-modules-dkms-7.1.4 +SLOT=0 +_md5_=955370ceca22eac1fb61001baf794501 diff --git a/metadata/md5-cache/app-emulation/virtualbox-modules-7.1.6-r1 b/metadata/md5-cache/app-emulation/virtualbox-modules-7.1.6-r1 deleted file mode 100644 index 4f7f6055..00000000 --- a/metadata/md5-cache/app-emulation/virtualbox-modules-7.1.6-r1 +++ /dev/null @@ -1,10 +0,0 @@ -DEFINED_PHASES=compile install -DEPEND=acct-group/vboxusers ~sys-kernel/virtualbox-modules-dkms-7.1.6 -DESCRIPTION=Kernel Modules for Virtualbox -EAPI=8 -HOMEPAGE=http://www.virtualbox.org/ -KEYWORDS=amd64 -LICENSE=GPL-2 -RDEPEND=acct-group/vboxusers ~sys-kernel/virtualbox-modules-dkms-7.1.6 -SLOT=0 -_md5_=955370ceca22eac1fb61001baf794501 diff --git a/metadata/md5-cache/sys-kernel/virtualbox-guest-modules-dkms-7.1.4 b/metadata/md5-cache/sys-kernel/virtualbox-guest-modules-dkms-7.1.4 new file mode 100644 index 00000000..1fb447bd --- /dev/null +++ b/metadata/md5-cache/sys-kernel/virtualbox-guest-modules-dkms-7.1.4 @@ -0,0 +1,13 @@ +BDEPEND=>=dev-build/kbuild-0.1.9998.3127 +DEFINED_PHASES=compile configure install postinst prepare prerm +DEPEND=sys-kernel/dkms +DESCRIPTION=Kernel Modules (guest) source for Virtualbox +EAPI=8 +HOMEPAGE=http://www.virtualbox.org/ +KEYWORDS=~amd64 +LICENSE=GPL-2 +RDEPEND=sys-kernel/dkms +RESTRICT=mirror +SLOT=0 +SRC_URI=https://download.virtualbox.org/virtualbox/7.1.4/VirtualBox-7.1.4.tar.bz2 +_md5_=0de8db54e057e9e18e6a6fa3e40760f5 diff --git a/metadata/md5-cache/sys-kernel/virtualbox-guest-modules-dkms-7.1.6 b/metadata/md5-cache/sys-kernel/virtualbox-guest-modules-dkms-7.1.6 deleted file mode 100644 index 73b3a861..00000000 --- a/metadata/md5-cache/sys-kernel/virtualbox-guest-modules-dkms-7.1.6 +++ /dev/null @@ -1,13 +0,0 @@ -BDEPEND=>=dev-build/kbuild-0.1.9998.3127 -DEFINED_PHASES=compile configure install postinst prepare prerm -DEPEND=sys-kernel/dkms -DESCRIPTION=Kernel Modules (guest) source for Virtualbox -EAPI=8 -HOMEPAGE=http://www.virtualbox.org/ -KEYWORDS=~amd64 -LICENSE=GPL-2 -RDEPEND=sys-kernel/dkms -RESTRICT=mirror -SLOT=0 -SRC_URI=https://download.virtualbox.org/virtualbox/7.1.6/VirtualBox-7.1.6.tar.bz2 -_md5_=0de8db54e057e9e18e6a6fa3e40760f5 diff --git a/metadata/md5-cache/sys-kernel/virtualbox-modules-dkms-7.1.4 b/metadata/md5-cache/sys-kernel/virtualbox-modules-dkms-7.1.4 new file mode 100644 index 00000000..25fdf264 --- /dev/null +++ b/metadata/md5-cache/sys-kernel/virtualbox-modules-dkms-7.1.4 @@ -0,0 +1,12 @@ +DEFINED_PHASES=compile install postinst prepare prerm +DEPEND=sys-apps/ethtool sys-kernel/dkms +DESCRIPTION=Kernel Modules source for Virtualbox +EAPI=8 +HOMEPAGE=http://www.virtualbox.org/ +KEYWORDS=amd64 +LICENSE=GPL-2 +RDEPEND=sys-apps/ethtool sys-kernel/dkms +RESTRICT=mirror +SLOT=0 +SRC_URI=https://dev.gentoo.org/~ceamac/app-emulation/virtualbox-modules/vbox-kernel-module-src-7.1.4.tar.xz +_md5_=8cea03aec6c07877e611865a4dc78843 diff --git a/metadata/md5-cache/sys-kernel/virtualbox-modules-dkms-7.1.6 b/metadata/md5-cache/sys-kernel/virtualbox-modules-dkms-7.1.6 deleted file mode 100644 index 30776f04..00000000 --- a/metadata/md5-cache/sys-kernel/virtualbox-modules-dkms-7.1.6 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile install postinst prepare prerm -DEPEND=sys-apps/ethtool sys-kernel/dkms -DESCRIPTION=Kernel Modules source for Virtualbox -EAPI=8 -HOMEPAGE=http://www.virtualbox.org/ -KEYWORDS=amd64 -LICENSE=GPL-2 -RDEPEND=sys-apps/ethtool sys-kernel/dkms -RESTRICT=mirror -SLOT=0 -SRC_URI=https://dev.gentoo.org/~ceamac/app-emulation/virtualbox-modules/vbox-kernel-module-src-7.1.6.tar.xz -_md5_=8cea03aec6c07877e611865a4dc78843 diff --git a/metadata/pkg_desc_index b/metadata/pkg_desc_index index 1db507c4..919c4d56 100644 --- a/metadata/pkg_desc_index +++ b/metadata/pkg_desc_index @@ -8,9 +8,9 @@ app-arch/unp 2.0_pre9-r1: Script for unpacking various file formats app-backup/timeshift 24.06.3: A system restore utility for Linux app-emulation/qemu-guest-agent 8.2.0-r6: QEMU Guest Agent (qemu-ga) for use when running inside a VM app-emulation/steam 1.0.0.79: Installer, launcher and supplementary files for Valve's Steam client -app-emulation/virtualbox-guest-additions 7.1.6-r1: VirtualBox user-space tools for Gentoo guests -app-emulation/virtualbox-guest-modules 7.1.6: Kernel Modules (guest) for Virtualbox -app-emulation/virtualbox-modules 7.1.6-r1: Kernel Modules for Virtualbox +app-emulation/virtualbox-guest-additions 7.1.4-r1: VirtualBox user-space tools for Gentoo guests +app-emulation/virtualbox-guest-modules 7.1.4: Kernel Modules (guest) for Virtualbox +app-emulation/virtualbox-modules 7.1.4-r1: Kernel Modules for Virtualbox app-laptop/tp_smapi 0.44-r1: IBM ThinkPad SMAPI BIOS driver app-misc/calamares-config-redcore 1.314.1337-r18: Redcore Linux Calamares modules config app-misc/redcore-live 1.314.1337-r4: Redcore Linux live scripts @@ -76,8 +76,8 @@ sys-kernel/linux-sources-redcore-lts 5.15.179-r1 6.1.131-r1 6.6.83-r1 6.12.19-r1 sys-kernel/nvidia-drivers-dkms 390.157-r8 470.256.02-r1 550.144.03: NVIDIA driver sources for linux sys-kernel/tp_smapi-dkms 0.44-r4: IBM ThinkPad SMAPI BIOS driver sources sys-kernel/vhba-dkms 20240917-r1: Virtual (SCSI) Host Bus Adapter kernel module for the CDEmu suite sources -sys-kernel/virtualbox-guest-modules-dkms 7.1.6: Kernel Modules (guest) source for Virtualbox -sys-kernel/virtualbox-modules-dkms 7.1.6: Kernel Modules source for Virtualbox +sys-kernel/virtualbox-guest-modules-dkms 7.1.4: Kernel Modules (guest) source for Virtualbox +sys-kernel/virtualbox-modules-dkms 7.1.4: Kernel Modules source for Virtualbox sys-kernel/zfs-dkms 2.3.0: ZFS sources for linux sys-power/radeon-profile 20200824-r10: Read current clocks of ATi/AMD Radeon cards virtual/libudev 314.1337-r1: Virtual for libudev providers diff --git a/sys-kernel/virtualbox-guest-modules-dkms/Manifest b/sys-kernel/virtualbox-guest-modules-dkms/Manifest index cceb1e2f..273be636 100644 --- a/sys-kernel/virtualbox-guest-modules-dkms/Manifest +++ b/sys-kernel/virtualbox-guest-modules-dkms/Manifest @@ -1 +1 @@ -DIST VirtualBox-7.1.6.tar.bz2 205786817 BLAKE2B 5328efe566217f69b665be58b19fc18f5898d634f0ee4057de93e66817dc15a2a708c71d9b323cfce752adf221dac44cbf2be0b8bfd37b2051c777fff0f4759a SHA512 16aa69eef997550e40e2759b9e0aa28b082d04de1352c62246bd8c63bb951545e5d6c6c1d930ae284c5c925eb44d504f071f545aa934bc4d94fbdb5ba74423d9 +DIST VirtualBox-7.1.4.tar.bz2 206218796 BLAKE2B 62a4f44b4eac2e1cb2c0bace5dfabf86c41b738d81aede3de75d88159a8d76158748eaae38ee3eedbc0f79b639a875f1ef6805a8ca7c95021f475935f54d7ef9 SHA512 97654339d509447e2604db01e29f9e810f59498a378e645f412cffb67022c4e547f205e8ebdac6ae33aaa8f7bc0f289bdca2e5a04b1fa31b4a05c191d7600a9c diff --git a/sys-kernel/virtualbox-guest-modules-dkms/files/dkms.conf b/sys-kernel/virtualbox-guest-modules-dkms/files/dkms.conf index e1196f45..39fb7a64 100644 --- a/sys-kernel/virtualbox-guest-modules-dkms/files/dkms.conf +++ b/sys-kernel/virtualbox-guest-modules-dkms/files/dkms.conf @@ -1,5 +1,5 @@ PACKAGE_NAME="virtualbox-guest-modules-dkms" -PACKAGE_VERSION="7.1.6" +PACKAGE_VERSION="7.1.4" BUILD_EXCLUSIVE_KERNEL="^(5\.[0-9]+\.|6\.[0-9]\.|\.|6\.1[0-2]\.)" # only build for kernels v5.x.x up to and including v6.12.x BUILT_MODULE_NAME[0]="vboxguest" BUILT_MODULE_LOCATION[0]="vboxguest" diff --git a/sys-kernel/virtualbox-guest-modules-dkms/virtualbox-guest-modules-dkms-7.1.4.ebuild b/sys-kernel/virtualbox-guest-modules-dkms/virtualbox-guest-modules-dkms-7.1.4.ebuild new file mode 100644 index 00000000..222e7fac --- /dev/null +++ b/sys-kernel/virtualbox-guest-modules-dkms/virtualbox-guest-modules-dkms-7.1.4.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=8 + + +MY_PN="VirtualBox" +MY_PV=${PV^^} +MY_P=${MY_PN}-${MY_PV} + +DESCRIPTION="Kernel Modules (guest) source for Virtualbox" +HOMEPAGE="http://www.virtualbox.org/" +SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2" +S="${WORKDIR}/${MY_PN}-${MY_PV}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="mirror" +IUSE="" + +DEPEND=" + sys-kernel/dkms +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + >=dev-build/kbuild-0.1.9998.3127 +" + +VBOX_MOD_SRC_DIR="out/linux.${ARCH}/release/bin/additions/src" + +src_prepare() { + rm -r kBuild/bin tools || die + + pushd src/VBox/Additions &>/dev/null || die + ebegin "Extracting guest kernel module sources" + kmk GuestDrivers-src vboxguest-src vboxsf-src &>/dev/null + eend $? || die + popd &>/dev/null || die + + eapply -d "${VBOX_MOD_SRC_DIR}" -- "${FILESDIR}"/vboxguest-6.1.36-log-use-c99.patch + eapply -d "${VBOX_MOD_SRC_DIR}" -- "${FILESDIR}"/Makefile-no-vboxvideo.patch + eapply -d "${VBOX_MOD_SRC_DIR}" -- "${FILESDIR}"/Makefile-dkms.patch + + eapply_user +} + +src_configure() { + : +} + +src_compile() { + : +} + +src_install() { + dodir usr/src/${P} + insinto usr/src/${P} + doins ${FILESDIR}/dkms.conf + doins -r ${VBOX_MOD_SRC_DIR}/* +} + +pkg_postinst() { + dkms add ${PN}/${PV} +} + +pkg_prerm() { + dkms remove ${PN}/${PV} --all +} diff --git a/sys-kernel/virtualbox-guest-modules-dkms/virtualbox-guest-modules-dkms-7.1.6.ebuild b/sys-kernel/virtualbox-guest-modules-dkms/virtualbox-guest-modules-dkms-7.1.6.ebuild deleted file mode 100644 index 222e7fac..00000000 --- a/sys-kernel/virtualbox-guest-modules-dkms/virtualbox-guest-modules-dkms-7.1.6.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=8 - - -MY_PN="VirtualBox" -MY_PV=${PV^^} -MY_P=${MY_PN}-${MY_PV} - -DESCRIPTION="Kernel Modules (guest) source for Virtualbox" -HOMEPAGE="http://www.virtualbox.org/" -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2" -S="${WORKDIR}/${MY_PN}-${MY_PV}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64" -RESTRICT="mirror" -IUSE="" - -DEPEND=" - sys-kernel/dkms -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - >=dev-build/kbuild-0.1.9998.3127 -" - -VBOX_MOD_SRC_DIR="out/linux.${ARCH}/release/bin/additions/src" - -src_prepare() { - rm -r kBuild/bin tools || die - - pushd src/VBox/Additions &>/dev/null || die - ebegin "Extracting guest kernel module sources" - kmk GuestDrivers-src vboxguest-src vboxsf-src &>/dev/null - eend $? || die - popd &>/dev/null || die - - eapply -d "${VBOX_MOD_SRC_DIR}" -- "${FILESDIR}"/vboxguest-6.1.36-log-use-c99.patch - eapply -d "${VBOX_MOD_SRC_DIR}" -- "${FILESDIR}"/Makefile-no-vboxvideo.patch - eapply -d "${VBOX_MOD_SRC_DIR}" -- "${FILESDIR}"/Makefile-dkms.patch - - eapply_user -} - -src_configure() { - : -} - -src_compile() { - : -} - -src_install() { - dodir usr/src/${P} - insinto usr/src/${P} - doins ${FILESDIR}/dkms.conf - doins -r ${VBOX_MOD_SRC_DIR}/* -} - -pkg_postinst() { - dkms add ${PN}/${PV} -} - -pkg_prerm() { - dkms remove ${PN}/${PV} --all -} diff --git a/sys-kernel/virtualbox-modules-dkms/Manifest b/sys-kernel/virtualbox-modules-dkms/Manifest index 1b012a4a..fb4a2a0c 100644 --- a/sys-kernel/virtualbox-modules-dkms/Manifest +++ b/sys-kernel/virtualbox-modules-dkms/Manifest @@ -1 +1 @@ -DIST vbox-kernel-module-src-7.1.6.tar.xz 739932 BLAKE2B 2b232b10dff9efef1e54fc010f0f44c9b399ca9cb98cfeb6b0eaaa2362e94c5d63850eaf95da40724c07377f28847c01d9a3ffa21360fe8f39f12c61c57ae6ce SHA512 f9c0abf51ff4d52ddef21544c206dd41ef9975c50e73338435c8576b37c00d302f9a7b4c909e89a83cfbd4627f38170572c1237728d91089e1478382c1eac253 +DIST vbox-kernel-module-src-7.1.4.tar.xz 738112 BLAKE2B 4313b21cd96b0a89edccbcc6bd5402271121df3fb97452d3487ba8b6f07fc952034f8ffa10bfebbde765e6672515041be7a42335d64faece19ec813ec03ce84f SHA512 e4261575209afe28dbc5108d6fd15fb29760aab8e12a9bca14781a7287653aa4366c159fa6af3a8df8d6685846325e23ad82f1aae353c0ec42328933449e77af diff --git a/sys-kernel/virtualbox-modules-dkms/files/dkms.conf b/sys-kernel/virtualbox-modules-dkms/files/dkms.conf index 84c9a69a..e27f9d64 100644 --- a/sys-kernel/virtualbox-modules-dkms/files/dkms.conf +++ b/sys-kernel/virtualbox-modules-dkms/files/dkms.conf @@ -1,5 +1,5 @@ PACKAGE_NAME="virtualbox-modules-dkms" -PACKAGE_VERSION="7.1.6" +PACKAGE_VERSION="7.1.4" BUILD_EXCLUSIVE_KERNEL="^(5\.[0-9]+\.|6\.[0-9]\.|\.|6\.1[0-2]\.)" # only build for kernels v5.x.x up to and including v6.12.x BUILT_MODULE_NAME[0]="vboxdrv" BUILT_MODULE_LOCATION[0]="vboxdrv" diff --git a/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-7.1.4.ebuild b/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-7.1.4.ebuild new file mode 100644 index 00000000..c78290ac --- /dev/null +++ b/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-7.1.4.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=8 + +MY_P="vbox-kernel-module-src-${PV}" +DESCRIPTION="Kernel Modules source for Virtualbox" +HOMEPAGE="http://www.virtualbox.org/" +SRC_URI="https://dev.gentoo.org/~ceamac/app-emulation/virtualbox-modules/${MY_P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64" +RESTRICT="mirror" +IUSE="" + +DEPEND=" + sys-apps/ethtool + sys-kernel/dkms +" +RDEPEND="${DEPEND}" + +PATCHES=( ${FILESDIR}/Makefile-dkms.patch ) + +S=${WORKDIR} + +src_prepare() { + default + grep -lR linux/autoconf.h * | xargs sed -i -e 's:::' +} + +src_compile() { + : +} + +src_install() { + dodir usr/src/${P} + insinto usr/src/${P} + doins ${FILESDIR}/dkms.conf + doins -r ${S}/* +} + +pkg_postinst() { + dkms add ${PN}/${PV} +} + +pkg_prerm() { + dkms remove ${PN}/${PV} --all +} diff --git a/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-7.1.6.ebuild b/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-7.1.6.ebuild deleted file mode 100644 index c78290ac..00000000 --- a/sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-7.1.6.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=8 - -MY_P="vbox-kernel-module-src-${PV}" -DESCRIPTION="Kernel Modules source for Virtualbox" -HOMEPAGE="http://www.virtualbox.org/" -SRC_URI="https://dev.gentoo.org/~ceamac/app-emulation/virtualbox-modules/${MY_P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64" -RESTRICT="mirror" -IUSE="" - -DEPEND=" - sys-apps/ethtool - sys-kernel/dkms -" -RDEPEND="${DEPEND}" - -PATCHES=( ${FILESDIR}/Makefile-dkms.patch ) - -S=${WORKDIR} - -src_prepare() { - default - grep -lR linux/autoconf.h * | xargs sed -i -e 's:::' -} - -src_compile() { - : -} - -src_install() { - dodir usr/src/${P} - insinto usr/src/${P} - doins ${FILESDIR}/dkms.conf - doins -r ${S}/* -} - -pkg_postinst() { - dkms add ${PN}/${PV} -} - -pkg_prerm() { - dkms remove ${PN}/${PV} --all -} -- cgit v1.2.3