Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jan 2026 14:11:34 +0000
From:      Vladimir Druzenko <vvd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2d96a548336f - main - emulators/virtualbox-ose*-72: Update 7.2.4 => 7.2.6
Message-ID:  <697e0d96.2716e.15a5af89@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2d96a548336fb22505b98464efb10629978f1fce

commit 2d96a548336fb22505b98464efb10629978f1fce
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2026-01-31 13:51:29 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-01-31 14:08:17 +0000

    emulators/virtualbox-ose*-72: Update 7.2.4 => 7.2.6
    
    Changelog:
    https://www.virtualbox.org/wiki/Changelog-7.2#v6
    
    emulators/virtualbox-ose{,-nox11}-72:
    Remove the OGG, VORBIS, and VPX options - without libogg and libvorbis
    in the system, the ports attempts to use the bundled versions, but
    without libvpx, the build fails. Even when using libvpx, building the
    bundled libvorbis library also fails.
    These 3 libraries are not heavy dependencies, so we simply make them
    mandatory even for emulators/virtualbox-ose-nox11-72.
    
    PR:             292801
    Tested by:      jwb
    Security:       CVE-2026-21955
    Security:       CVE-2026-21956
    Security:       CVE-2026-21987
    Security:       CVE-2026-21988
    Security:       CVE-2026-21990
    Security:       CVE-2026-21989
    Security:       CVE-2026-21957
    Security:       CVE-2026-21983
    Security:       CVE-2026-21984
    Security:       CVE-2026-21982
    Security:       CVE-2026-21986
    Security:       CVE-2026-21963
    Security:       CVE-2026-21985
    Security:       CVE-2026-21981
    MFH:            2026Q1
---
 emulators/virtualbox-ose-72/Makefile               |  30 +++---
 emulators/virtualbox-ose-72/distinfo               |  14 +--
 emulators/virtualbox-ose-72/files/patch-configure  |  30 +++---
 ...Box-Additions-common-VBoxGuest-freebsd-Makefile |   6 +-
 ...itions_common_VBoxService_VBoxServiceVMInfo.cpp | 108 ++++++++++-----------
 ...x_VMM_VMMR3_PDMR3AsyncCompletionFileNormal.cpp} |   4 +-
 emulators/virtualbox-ose-72/files/pkg-message.in   |  20 +---
 emulators/virtualbox-ose-72/pkg-plist              |   1 +
 emulators/virtualbox-ose-additions-72/Makefile     |   4 +-
 emulators/virtualbox-ose-additions-72/distinfo     |   6 +-
 .../virtualbox-ose-additions-nox11-72/Makefile     |   2 +-
 emulators/virtualbox-ose-kmod-72/Makefile          |   2 +-
 emulators/virtualbox-ose-kmod-72/distinfo          |   6 +-
 emulators/virtualbox-ose-nox11-72/Makefile         |   4 +-
 14 files changed, 102 insertions(+), 135 deletions(-)

diff --git a/emulators/virtualbox-ose-72/Makefile b/emulators/virtualbox-ose-72/Makefile
index e88426cbf41f..67ede13f9803 100644
--- a/emulators/virtualbox-ose-72/Makefile
+++ b/emulators/virtualbox-ose-72/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	virtualbox-ose
-DISTVERSION=	7.2.4
-PORTREVISION?=	1
+DISTVERSION=	7.2.6
+PORTREVISION?=	0
 CATEGORIES=	emulators
 MASTER_SITES=	https://download.virtualbox.org/virtualbox/${DISTVERSION}/:src \
 		LOCAL/vvd:docs
@@ -25,7 +25,11 @@ BUILD_DEPENDS=	gtar:archivers/gtar \
 		${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \
 		xsltproc:textproc/libxslt
 LIB_DEPENDS=	libpng.so:graphics/png \
-		libcurl.so:ftp/curl
+		libcurl.so:ftp/curl \
+		libogg.so:audio/libogg \
+		libvorbis.so:audio/libvorbis \
+		libvorbisenc.so:audio/libvorbis \
+		libvpx.so:multimedia/libvpx
 RUN_DEPENDS=	${LOCALBASE}/etc/rc.d/vboxnet:emulators/virtualbox-ose-kmod-72
 
 USES=		compiler:c++17-lang cpe gnome iconv pkgconfig ssl tar:bzip2
@@ -33,12 +37,12 @@ CPE_VENDOR=	oracle
 CPE_PRODUCT=	vm_virtualbox
 USE_BINUTILS=	yes
 USE_GNOME=	libxml2
-#USE_QT=		tools:build
 USE_RC_SUBR=	vboxheadless vboxwatchdog
 
 HAS_CONFIGURE=		yes
-CONFIGURE_ARGS=		--disable-java --passive-mesa --disable-docs
-CONFIGURE_ARGS+=	--with-gcc="${CC}" --with-g++="${CXX}"
+CONFIGURE_ARGS+=	--disable-docs --disable-java \
+			--enable-libogg --enable-libvorbis --passive-mesa \
+			--with-gcc="${CC}" --with-g++="${CXX}"
 
 CONFLICTS_INSTALL=	virtualbox-ose-legacy \
 			virtualbox-ose-nox11-legacy \
@@ -79,9 +83,9 @@ PLIST_SUB=	GUEST_VER=${DISTVERSION} \
 
 SLAVE_PORT?=	no
 
-OPTIONS_DEFINE=		AIO ALSA DBUS DEBUG DOCS GUESTADDITIONS NLS OGG \
+OPTIONS_DEFINE=		AIO ALSA DBUS DEBUG DOCS GUESTADDITIONS NLS \
 			PULSEAUDIO PYTHON QT6 R0LOGGING TPM UDPTUNNEL VBOXIMG \
-			VDE VNC VORBIS VPX WEBSERVICE X11
+			VDE VNC WEBSERVICE X11
 OPTIONS_DEFAULT=	AIO DBUS QT6 TPM UDPTUNNEL VNC WEBSERVICE X11
 .if ${SLAVE_PORT} == no
 OPTIONS_DEFAULT+=	PYTHON
@@ -95,7 +99,6 @@ AIO_DESC=		Enable Asyncronous IO support (check pkg-message)
 DEBUG_DESC=		Debug symbols, additional logs and assertions
 GUESTADDITIONS_DESC=	Build with Guest Additions
 NLS_DESC=		Native language support (requires QT6)
-OGG_DESC=		Use libogg from audio/libogg instead of bundled one
 QT6_DESC=		Build with Qt6 frontend (requires X11)
 R0LOGGING_DESC=		Enable R0 logging (requires DEBUG)
 TPM_DESC=		Enable TPM device emulation using sysutils/libtpms
@@ -103,8 +106,6 @@ UDPTUNNEL_DESC=		Build with UDP tunnel support
 VBOXIMG_DESC=		Build vboximg-mount (requires fuse-libs)
 VDE_DESC=		Build with VDE support
 VNC_DESC=		Build with VNC support
-VORBIS_DESC=		Use libvorbis from audio/libvorbis instead of bundled one
-VPX_DESC=		Use libvpx for video recording
 WEBSERVICE_DESC=	Build Webservice
 
 ALSA_LIB_DEPENDS=	libasound.so:audio/alsa-lib
@@ -113,8 +114,6 @@ DBUS_LIB_DEPENDS=	libdbus-1.so:devel/dbus
 DBUS_CONFIGURE_OFF=	--disable-dbus
 DEBUG_CONFIGURE_ON=	--build-debug
 NLS_IMPLIES=		QT6
-OGG_LIB_DEPENDS=	libogg.so:audio/libogg
-OGG_CONFIGURE_ON=	--enable-libogg
 PULSEAUDIO_LIB_DEPENDS=	libpulse.so:audio/pulseaudio
 PULSEAUDIO_CONFIGURE_OFF=	--disable-pulse
 PYTHON_USES=		python
@@ -136,11 +135,6 @@ VDE_RUN_DEPENDS=	vde_switch:net/vde2
 VDE_CONFIGURE_ON=	--enable-vde
 VNC_LIB_DEPENDS=	libvncserver.so:net/libvncserver
 VNC_CONFIGURE_ON=	--enable-vnc
-VORBIS_LIB_DEPENDS=	libvorbis.so:audio/libvorbis \
-			libvorbisenc.so:audio/libvorbis
-VORBIS_CONFIGURE_ON=	--enable-libvorbis
-VPX_LIB_DEPENDS=	libvpx.so:multimedia/libvpx
-VPX_CONFIGURE_OFF=	--disable-libvpx
 WEBSERVICE_BUILD_DEPENDS=	soapcpp2:devel/gsoap
 X11_USES=		sdl xorg
 X11_USE=		SDL=sdl XORG=x11,xcursor,xext,xinerama,xmu,xorgproto,xt
diff --git a/emulators/virtualbox-ose-72/distinfo b/emulators/virtualbox-ose-72/distinfo
index e657c539342b..5ac40b201edd 100644
--- a/emulators/virtualbox-ose-72/distinfo
+++ b/emulators/virtualbox-ose-72/distinfo
@@ -1,7 +1,7 @@
-TIMESTAMP = 1761088888
-SHA256 (VirtualBox-7.2.4.tar.bz2) = d281ec981b5f580211a0cedd1b75a1adcb0fbfcbb768d8c2bf4429f4763e8bbd
-SIZE (VirtualBox-7.2.4.tar.bz2) = 207084201
-SHA256 (VirtualBox-docs-7.2.4.tar.bz2) = d9639bdee32d36c05436485b1dfd7d0c08736e53a6fcf8bda0c708681cf211e5
-SIZE (VirtualBox-docs-7.2.4.tar.bz2) = 9134788
-SHA256 (VBoxGuestAdditions_7.2.4.iso) = 66fa60b041fcda5d8b2ed22ba91bfafafaa3a5ff05c7d8ba01fbbe639669e153
-SIZE (VBoxGuestAdditions_7.2.4.iso) = 53153792
+TIMESTAMP = 1769696969
+SHA256 (VirtualBox-7.2.6.tar.bz2) = c58443a0e6fcc7fc7e84c1011a10823b3540c6a2b8f2e27c4d8971272baf09f7
+SIZE (VirtualBox-7.2.6.tar.bz2) = 211192590
+SHA256 (VirtualBox-docs-7.2.6.tar.bz2) = eab24e948dfdd5943a1fac924928f4b5bff0b24f3cdbd6ae9ffaaa914893dfc2
+SIZE (VirtualBox-docs-7.2.6.tar.bz2) = 9138179
+SHA256 (VBoxGuestAdditions_7.2.6.iso) = 740e9a729c944180a165188fd426f9a2e1a2581d654402a1b856f9755a1ffc97
+SIZE (VBoxGuestAdditions_7.2.6.iso) = 53391360
diff --git a/emulators/virtualbox-ose-72/files/patch-configure b/emulators/virtualbox-ose-72/files/patch-configure
index 6e5b1f151854..37feb02e76cd 100644
--- a/emulators/virtualbox-ose-72/files/patch-configure
+++ b/emulators/virtualbox-ose-72/files/patch-configure
@@ -1,6 +1,6 @@
---- configure.orig	2025-08-13 19:37:05 UTC
+--- configure.orig	2026-01-27 12:44:16 UTC
 +++ configure
-@@ -155,10 +155,14 @@ if [ "$OS" = "freebsd" ]; then
+@@ -156,10 +156,14 @@ if [ "$OS" = "freebsd" ]; then
  if [ "$OS" = "freebsd" ]; then
    INCCURL="-I/usr/local/include"
    LIBCURL="-L/usr/local/lib -lcurl"
@@ -15,17 +15,17 @@
  else
    INCCURL=""
    LIBCURL="-lcurl"
-@@ -1171,6 +1175,9 @@ extern "C" int main(int argc, char** argv)
+@@ -1172,6 +1176,9 @@ extern "C" int main(int argc, char** argv)
    printf("found version %d.%d.%d",
           SDL_MAJOR_VERSION, SDL_MINOR_VERSION, SDL_PATCHLEVEL);
- #if SDL_VERSION_ATLEAST(1,2,7)
+ #if SDL_VERSION_ATLEAST(1,2,15)
 +#if !defined(SDL_VIDEO_DRIVER_X11)
 +#error SDL must be compiled with X11 support
 +#endif
    printf(", OK.\n");
    return 0;
  #else
-@@ -1255,7 +1262,7 @@ EOF
+@@ -1256,7 +1263,7 @@ EOF
  #endif
  }
  EOF
@@ -34,7 +34,7 @@
      test_execute
    fi
  }
-@@ -1559,6 +1566,7 @@ EOF
+@@ -1560,6 +1567,7 @@ EOF
          SDKQT6=$PATH_SDK_QT6
        fi
        FLGQT6="-framework QtCore -std=c++17 -Wl,-rpath,`L_to_PATH "$LIBQT6"`"
@@ -42,7 +42,7 @@
      else
        log_failure "Qt6 framework not found (can be disabled using --disable-qt)"
        fail
-@@ -2125,8 +2133,8 @@ EOF
+@@ -2127,8 +2135,8 @@ EOF
          echo "compiling the following source file:" >> $LOG
          cat $ODIR.tmp_src.cc >> $LOG
          echo "using the following command line:" >> $LOG
@@ -53,7 +53,7 @@
          if [ $? -eq 0 ]; then
            found=1
            break
-@@ -2246,7 +2254,7 @@ check_gsoap()
+@@ -2262,7 +2270,7 @@ check_gsoap()
          else
            cnf_append "VBOX_GSOAP_CXX_SOURCES" ""
          fi
@@ -62,7 +62,7 @@
          gsoap_version=`pkg-config gsoapssl++ --modversion`
          log_success "found version $gsoap_version"
          return
-@@ -2619,7 +2627,7 @@ for option in "$@"; do
+@@ -2637,7 +2645,7 @@ for option in "$@"; do
      --with-openssl-dir=*)
        OPENSSLDIR=`echo $option | cut -d'=' -f2`
        INCCRYPTO="-I${OPENSSLDIR}/include"
@@ -71,8 +71,8 @@
        # On Darwin (at least for macports) static OpenSSL also needs zlib.
        [ "$OS" = "darwin" ] && LIBCRYPTO="$LIBCRYPTO ${OPENSSLDIR}/lib/libz.a"
        # On Linux static OpenSSL typically needs a few additional libraries.
-@@ -2978,12 +2986,22 @@ if [ $ONLY_ADDITIONS -eq 0 ]; then
-   [ $WITH_JAVA   -eq 1 ] && check_java
+@@ -3000,12 +3008,22 @@ if [ $ONLY_ADDITIONS -eq 0 ]; then
+   [ $WITH_DXVK   -eq 1 ] && check_dxvk
  
    # PulseAudio
 -  if [ $WITH_PULSE -eq 1 ]; then
@@ -100,7 +100,7 @@
    fi
  fi
  
-@@ -2999,14 +3017,6 @@ if [ "$OS" = "linux" ]; then
+@@ -3021,14 +3039,6 @@ if [ "$OS" = "linux" ]; then
      cnf_append "VBOX_WITHOUT_LINUX_TEST_BUILDS" "1"
    fi
    if [ $ONLY_ADDITIONS -eq 0 ]; then
@@ -112,6 +112,6 @@
 -    if [ $WITH_DBUS -eq 0 ]; then
 -      cnf_append "VBOX_WITH_DBUS" ""
 -    fi
-     if [ $WITH_DEVMAPPER -eq 1 ]; then
-       check_libdevmapper
-     else
+     if [ $WITH_DXVK -eq 0 ]; then
+       cnf_append "VBOX_WITH_DXVK" ""
+     fi
diff --git a/emulators/virtualbox-ose-72/files/patch-src-VBox-Additions-common-VBoxGuest-freebsd-Makefile b/emulators/virtualbox-ose-72/files/patch-src-VBox-Additions-common-VBoxGuest-freebsd-Makefile
index 37c1596cfe87..70ee8d7b5d10 100644
--- a/emulators/virtualbox-ose-72/files/patch-src-VBox-Additions-common-VBoxGuest-freebsd-Makefile
+++ b/emulators/virtualbox-ose-72/files/patch-src-VBox-Additions-common-VBoxGuest-freebsd-Makefile
@@ -1,12 +1,12 @@
---- src/VBox/Additions/common/VBoxGuest/freebsd/Makefile.orig	2025-10-16 14:25:29 UTC
+--- src/VBox/Additions/common/VBoxGuest/freebsd/Makefile.orig	2026-01-27 12:48:10 UTC
 +++ src/VBox/Additions/common/VBoxGuest/freebsd/Makefile
 @@ -34,9 +34,8 @@ KMOD = vboxguest
  # SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0
  #
  KMOD = vboxguest
-+CFLAGS += -DRT_OS_FREEBSD -DIN_RING0 -DIN_RT_R0 -DIN_GUEST -DIN_GUEST_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -Iinclude -I. -Ir0drv -w -DVBGL_VBOXGUEST -DVBOX_WITH_HGCM -DVBOX_WITH_64_BITS_GUESTS
++CFLAGS += -DRT_OS_FREEBSD -DIN_RING0 -DIN_RT_R0 -DIN_GUEST -DIN_GUEST_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -Iinclude -I. -Ir0drv -w -DVBGL_VBOXGUEST -DVBOX_WITH_HGCM
  
--CFLAGS += -DRT_OS_FREEBSD -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -Iinclude -I. -Ir0drv -w -DVBGL_VBOXGUEST -DVBOX_WITH_HGCM -DVBOX_WITH_64_BITS_GUESTS
+-CFLAGS += -DRT_OS_FREEBSD -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -Iinclude -I. -Ir0drv -w -DVBGL_VBOXGUEST -DVBOX_WITH_HGCM
 -
  .if (${MACHINE_ARCH} == "i386")
   CFLAGS += -DRT_ARCH_X86
diff --git a/emulators/virtualbox-ose-72/files/patch-src_VBox_Additions_common_VBoxService_VBoxServiceVMInfo.cpp b/emulators/virtualbox-ose-72/files/patch-src_VBox_Additions_common_VBoxService_VBoxServiceVMInfo.cpp
index a6b7c5d6285c..673af173c5ad 100644
--- a/emulators/virtualbox-ose-72/files/patch-src_VBox_Additions_common_VBoxService_VBoxServiceVMInfo.cpp
+++ b/emulators/virtualbox-ose-72/files/patch-src_VBox_Additions_common_VBoxService_VBoxServiceVMInfo.cpp
@@ -1,6 +1,6 @@
---- src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo.cpp.orig	2025-10-17 08:52:40 UTC
+--- src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo.cpp.orig	2026-01-27 12:48:12 UTC
 +++ src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo.cpp
-@@ -77,8 +77,8 @@
+@@ -116,8 +116,8 @@
  # include <net/if.h>
  # include <pwd.h> /* getpwuid */
  # include <unistd.h>
@@ -11,77 +11,67 @@
  # endif
  # ifdef RT_OS_OS2
  #  include <net/if_dl.h>
-@@ -573,7 +573,7 @@ static void vgsvcVMInfoWriteFixedProperties(void)
+@@ -795,7 +795,7 @@ void VGSvcVMInfoAddUserToList(PVBOXSERVICEVMINFOUSERLI
  }
  
  
--#if defined(VBOX_WITH_DBUS) && defined(RT_OS_LINUX) /* Not yet for Solaris/FreeBSB. */
+-#if !defined(RT_OS_WINDOWS) && !defined(RT_OS_OS2) && !defined(RT_OS_HAIKU) && !defined(RT_OS_FREEBSD)
++#if !defined(RT_OS_WINDOWS) && !defined(RT_OS_OS2) && !defined(RT_OS_HAIKU)
+ /**
+  * Worker for vgsvcVMInfoWriteUsers that uses the utmpx.h interface to gather
+  * users that are logged in.
+@@ -806,7 +806,7 @@ static void vgsvcVMInfoAddUsersFromUTmpX(PVBOXSERVICEV
+     utmpx *ut_user;
+     while ((ut_user = getutxent()) != NULL)
+     {
+-# ifdef RT_OS_DARWIN /* No ut_user->ut_session on Darwin */
++# if defined(RT_OS_DARWIN) || defined(RT_OS_FREEBSD) /* No ut_user->ut_session on Darwin/FreeBSD */
+         VGSvcVerbose(4, "Found entry '%s' (type: %d, PID: %RU32)\n", ut_user->ut_user, ut_user->ut_type, ut_user->ut_pid);
+ # else
+         VGSvcVerbose(4, "Found entry '%s' (type: %d, PID: %RU32, session: %RU32)\n",
+@@ -822,7 +822,7 @@ static void vgsvcVMInfoAddUsersFromUTmpX(PVBOXSERVICEV
+ }
+ #endif
+ 
+-#if defined(VBOX_WITH_DBUS) && defined(RT_OS_LINUX) /* Not yet for Solaris or FreeBSD. */
 +#if defined(VBOX_WITH_DBUS) && (defined(RT_OS_LINUX) || defined(RT_OS_FREEBSD)) /* Not yet for Solaris. */
- /*
-  * Simple wrappers to work around compiler-specific va_list madness.
-  */
-@@ -702,12 +702,6 @@ static int vgsvcVMInfoWriteUsers(void)
- #ifdef RT_OS_WINDOWS
-     rc = VGSvcVMInfoWinWriteUsers(&g_VMInfoPropCache, &pszUserList, &cUsersInList);
+ 
+ /** @name Simple wrappers to work around compiler-specific va_list madness.
+  * @{
+@@ -1274,12 +1274,6 @@ static int vgsvcVMInfoWriteUsers(void)
+        doesn't technically need them). */
+     int rc = VGSvcVMInfoWinQueryUserListAndUpdateInfo(&UserGatherer, &g_VMInfoPropCache);
  
 -#elif defined(RT_OS_FREEBSD)
 -    /** @todo FreeBSD: Port logged on user info retrieval.
 -     *                 However, FreeBSD 9 supports utmpx, so we could use the code
 -     *                 block below (?). */
--    rc = VERR_NOT_IMPLEMENTED;
+-    int rc = VERR_NOT_IMPLEMENTED;
 -
  #elif defined(RT_OS_HAIKU)
      /** @todo Haiku: Port logged on user info retrieval. */
-     rc = VERR_NOT_IMPLEMENTED;
-@@ -733,7 +727,7 @@ static int vgsvcVMInfoWriteUsers(void)
-     while (   (ut_user = getutxent())
-            && RT_SUCCESS(rc))
-     {
--# ifdef RT_OS_DARWIN /* No ut_user->ut_session on Darwin */
-+# if defined(RT_OS_DARWIN) || defined(RT_OS_FREEBSD) /* No ut_user->ut_session on Darwin/FreeBSD */
-         VGSvcVerbose(4, "Found entry '%s' (type: %d, PID: %RU32)\n", ut_user->ut_user, ut_user->ut_type, ut_user->ut_pid);
- # else
-         VGSvcVerbose(4, "Found entry '%s' (type: %d, PID: %RU32, session: %RU32)\n",
-@@ -749,7 +743,7 @@ static int vgsvcVMInfoWriteUsers(void)
-     }
- 
- # ifdef VBOX_WITH_DBUS
--#  if defined(RT_OS_LINUX) /* Not yet for Solaris/FreeBSB. */
-+#  if defined(RT_OS_LINUX) || defined(RT_OS_FREEBSD) /* Not yet for Solaris. */
-     DBusError dbErr;
-     DBusConnection *pConnection = NULL;
-     int rc2 = RTDBusLoadLib();
-@@ -1074,7 +1068,7 @@ static int vgsvcVMInfoWriteUsers(void)
-     if (   fHaveLibDbus
-         && dbus_error_is_set(&dbErr))
-         dbus_error_free(&dbErr);
--#  endif /* RT_OS_LINUX */
-+#  endif /* RT_OS_LINUX || RT_OS_FREEBSD */
- # endif /* VBOX_WITH_DBUS */
+     int rc = VERR_NOT_IMPLEMENTED;
+@@ -1294,12 +1288,12 @@ static int vgsvcVMInfoWriteUsers(void)
+     /* Gather using setutxent & getutxent to source the utmp file. */
+     vgsvcVMInfoAddUsersFromUTmpX(&UserGatherer);
  
-     /* Calc the string length. */
-@@ -1109,7 +1103,7 @@ static int vgsvcVMInfoWriteUsers(void)
-     RTMemFree(papszUsers);
+-# if defined(VBOX_WITH_DBUS) && defined(RT_OS_LINUX) /* Not yet for Solaris/FreeBSD. */
++# if defined(VBOX_WITH_DBUS) && (defined(RT_OS_LINUX) || defined(RT_OS_FREEBSD)) /* Not yet for Solaris. */
+     /* Gather using various DBus interface. */
+     vgsvcVMInfoDBusAddToUserList(&UserGatherer);
+ # endif
  
-     endutxent(); /* Close utmpx file. */
 -#endif /* !RT_OS_WINDOWS && !RT_OS_FREEBSD && !RT_OS_HAIKU && !RT_OS_OS2 */
 +#endif /* !RT_OS_WINDOWS && !RT_OS_HAIKU && !RT_OS_OS2 */
  
-     Assert(RT_FAILURE(rc) || cUsersInList == 0 || (pszUserList && *pszUserList));
- 
-@@ -1403,6 +1397,15 @@ static int vgsvcVMInfoWriteNetwork(void)
- 
-             RTStrPrintf(szPropPath, sizeof(szPropPath), "/VirtualBox/GuestInfo/Net/%RU32/Status", cIfsReported);
-             VGSvcPropCacheUpdate(&g_VMInfoPropCache, szPropPath, pIfCurr->ifa_flags & IFF_UP ? "Up" : "Down");
-+
-+# ifdef RT_OS_FREEBSD /** @todo Check the other guests. */
-+            RTStrPrintf(szPropPath, sizeof(szPropPath), "/VirtualBox/GuestInfo/Net/%RU32/Name", cIfsReported);
-+            int rc2 = RTStrValidateEncoding(pIfCurr->ifa_name);
-+            if (RT_SUCCESS(rc2))
-+                VGSvcPropCacheUpdate(&g_VMInfoPropCache, szPropPath, "%s", pIfCurr->ifa_name);
-+            else
-+                VGSvcPropCacheUpdate(&g_VMInfoPropCache, szPropPath, NULL);
-+# endif
- 
-             cIfsReported++;
-         }
+     if (RT_SUCCESS(rc))
+         g_cVMInfoLoggedInUsers = UserGatherer.cUsersInList;
+@@ -1583,7 +1577,7 @@ static int vgsvcVMInfoWriteNetwork(void)
+             RTStrPrintf(szPropPath, sizeof(szPropPath), "/VirtualBox/GuestInfo/Net/%RU32/Name", cIfsReported);
+             int rc2 = RTStrValidateEncoding(pIfCurr->ifa_name);
+             if (RT_SUCCESS(rc2))
+-                VGSvcPropCacheUpdate(&g_VMInfoPropCache, szPropPath, "%s", pIfCurr->ifa_name);
++                VGSvcPropCacheUpdateF(&g_VMInfoPropCache, szPropPath, "%s", pIfCurr->ifa_name);
+             else
+                 VGSvcPropCacheUpdate(&g_VMInfoPropCache, szPropPath, NULL);
+ # endif
diff --git a/emulators/virtualbox-ose-72/files/patch-src_VBox_VMM_VMMR3_PDMAsyncCompletionFileNormal.cpp b/emulators/virtualbox-ose-72/files/patch-src_VBox_VMM_VMMR3_PDMR3AsyncCompletionFileNormal.cpp
similarity index 95%
rename from emulators/virtualbox-ose-72/files/patch-src_VBox_VMM_VMMR3_PDMAsyncCompletionFileNormal.cpp
rename to emulators/virtualbox-ose-72/files/patch-src_VBox_VMM_VMMR3_PDMR3AsyncCompletionFileNormal.cpp
index b460847d13f0..2fcd8317d9b3 100644
--- a/emulators/virtualbox-ose-72/files/patch-src_VBox_VMM_VMMR3_PDMAsyncCompletionFileNormal.cpp
+++ b/emulators/virtualbox-ose-72/files/patch-src_VBox_VMM_VMMR3_PDMR3AsyncCompletionFileNormal.cpp
@@ -1,5 +1,5 @@
---- src/VBox/VMM/VMMR3/PDMAsyncCompletionFileNormal.cpp.orig	2025-08-13 19:52:13 UTC
-+++ src/VBox/VMM/VMMR3/PDMAsyncCompletionFileNormal.cpp
+--- src/VBox/VMM/VMMR3/PDMR3AsyncCompletionFileNormal.cpp.orig	2026-01-27 12:58:32 UTC
++++ src/VBox/VMM/VMMR3/PDMR3AsyncCompletionFileNormal.cpp
 @@ -37,6 +37,13 @@
  #include <iprt/string.h>
  #include <iprt/assert.h>
diff --git a/emulators/virtualbox-ose-72/files/pkg-message.in b/emulators/virtualbox-ose-72/files/pkg-message.in
index 27c14e0a2e2a..c685c2e82f18 100644
--- a/emulators/virtualbox-ose-72/files/pkg-message.in
+++ b/emulators/virtualbox-ose-72/files/pkg-message.in
@@ -53,13 +53,6 @@ NS_ERROR_FACTORY_NOT_REGISTERED. In this case delete /tmp/.vbox-*-ipc file.
 If you experience "Network: write Failed: Cannot allocate memory" errors
 try to increase net.graph.maxdata in /boot/loader.conf
 
-If you are using AIO, then increase these limits (https://bugs.freebsd.org/168298):
-vfs.aio.max_buf_aio=8192
-vfs.aio.max_aio_queue_per_proc=65536
-vfs.aio.max_aio_per_proc=8192
-vfs.aio.max_aio_queue=65536
-To check if AIO is used use: kldstat -v | grep aio
-
 If you are experiencing VMs freezes with an error in VBox.log such as:
 "
 00:01:29.590192 AssertLogRel /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.44
@@ -91,7 +84,7 @@ in %%VBOX_ETC%%/networks.conf (https://bugs.freebsd.org/259399).
 Check the wiki page for known issues and troubleshooting:
 https://wiki.freebsd.org/VirtualBox
 
-Please report any problems to emulation@. Thanks!
+Please report any problems to vbox@ and emulation@. Thanks!
 EOM
 }
 { type: upgrade
@@ -106,15 +99,4 @@ machines using the Pulseaudio host audio driver to use another
 supported one.
 EOM
 }
-{ type: upgrade
-  minimum_version: 6.1.26
-  maximum_version: 6.1.32_1
-  message: <<EOM
-To comply to hier(7) requirements, networks.conf's location changed
-to %%VBOX_ETC%%/networks.conf.
-
-In case /etc/vbox/networks.conf exists, it needs to be moved to
-%%VBOX_ETC%% and /etc/vbox should be deleted.
-EOM
-}
 ]
diff --git a/emulators/virtualbox-ose-72/pkg-plist b/emulators/virtualbox-ose-72/pkg-plist
index d2dfcb82d4d5..478adcccb74c 100644
--- a/emulators/virtualbox-ose-72/pkg-plist
+++ b/emulators/virtualbox-ose-72/pkg-plist
@@ -280,6 +280,7 @@ lib/virtualbox/VBoxTraceLogDecoders.so
 lib/virtualbox/VBoxVMM.so
 lib/virtualbox/VBoxVMMArm.so
 lib/virtualbox/VBoxVMMPreload.so
+lib/virtualbox/VBoxVRDP.so
 lib/virtualbox/VBoxXPCOM.so
 lib/virtualbox/VBoxXPCOMC.so
 lib/virtualbox/VBoxXPCOMIPCD.so
diff --git a/emulators/virtualbox-ose-additions-72/Makefile b/emulators/virtualbox-ose-additions-72/Makefile
index c597ed99b598..ebff3dc869c5 100644
--- a/emulators/virtualbox-ose-additions-72/Makefile
+++ b/emulators/virtualbox-ose-additions-72/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	virtualbox-ose
-DISTVERSION=	7.2.4
-PORTREVISION?=	1
+DISTVERSION=	7.2.6
+PORTREVISION?=	0
 CATEGORIES=	emulators
 MASTER_SITES=	https://download.virtualbox.org/virtualbox/${DISTVERSION}/
 PKGNAMESUFFIX?=	-additions-72
diff --git a/emulators/virtualbox-ose-additions-72/distinfo b/emulators/virtualbox-ose-additions-72/distinfo
index 729b45a32abd..7eec869a6fba 100644
--- a/emulators/virtualbox-ose-additions-72/distinfo
+++ b/emulators/virtualbox-ose-additions-72/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1761088888
-SHA256 (VirtualBox-7.2.4.tar.bz2) = d281ec981b5f580211a0cedd1b75a1adcb0fbfcbb768d8c2bf4429f4763e8bbd
-SIZE (VirtualBox-7.2.4.tar.bz2) = 207084201
+TIMESTAMP = 1769696969
+SHA256 (VirtualBox-7.2.6.tar.bz2) = c58443a0e6fcc7fc7e84c1011a10823b3540c6a2b8f2e27c4d8971272baf09f7
+SIZE (VirtualBox-7.2.6.tar.bz2) = 211192590
diff --git a/emulators/virtualbox-ose-additions-nox11-72/Makefile b/emulators/virtualbox-ose-additions-nox11-72/Makefile
index 59e4e48e8416..ed7edcf49366 100644
--- a/emulators/virtualbox-ose-additions-nox11-72/Makefile
+++ b/emulators/virtualbox-ose-additions-nox11-72/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	1
+PORTREVISION=	0
 PKGNAMESUFFIX=	-additions-nox11-72
 
 MASTERDIR=	${.CURDIR}/../virtualbox-ose-additions-72
diff --git a/emulators/virtualbox-ose-kmod-72/Makefile b/emulators/virtualbox-ose-kmod-72/Makefile
index 1fbfaa53f6df..0369e50dc7c3 100644
--- a/emulators/virtualbox-ose-kmod-72/Makefile
+++ b/emulators/virtualbox-ose-kmod-72/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	virtualbox-ose
-DISTVERSION=	7.2.4
+DISTVERSION=	7.2.6
 CATEGORIES=	emulators
 MASTER_SITES=	https://download.virtualbox.org/virtualbox/${DISTVERSION}/
 PKGNAMESUFFIX=	-kmod-72
diff --git a/emulators/virtualbox-ose-kmod-72/distinfo b/emulators/virtualbox-ose-kmod-72/distinfo
index 729b45a32abd..7eec869a6fba 100644
--- a/emulators/virtualbox-ose-kmod-72/distinfo
+++ b/emulators/virtualbox-ose-kmod-72/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1761088888
-SHA256 (VirtualBox-7.2.4.tar.bz2) = d281ec981b5f580211a0cedd1b75a1adcb0fbfcbb768d8c2bf4429f4763e8bbd
-SIZE (VirtualBox-7.2.4.tar.bz2) = 207084201
+TIMESTAMP = 1769696969
+SHA256 (VirtualBox-7.2.6.tar.bz2) = c58443a0e6fcc7fc7e84c1011a10823b3540c6a2b8f2e27c4d8971272baf09f7
+SIZE (VirtualBox-7.2.6.tar.bz2) = 211192590
diff --git a/emulators/virtualbox-ose-nox11-72/Makefile b/emulators/virtualbox-ose-nox11-72/Makefile
index d415932ea096..b3eb31d41f59 100644
--- a/emulators/virtualbox-ose-nox11-72/Makefile
+++ b/emulators/virtualbox-ose-nox11-72/Makefile
@@ -3,8 +3,8 @@ PKGNAMESUFFIX=	-nox11-72
 
 MASTERDIR=	${.CURDIR}/../virtualbox-ose-72
 
-OPTIONS_EXCLUDE=	ALSA DBUS DEBUG GUESTADDITIONS DOCS NLS OGG PULSEAUDIO \
-			QT6 VORBIS VPX X11
+OPTIONS_EXCLUDE=	ALSA DBUS DEBUG GUESTADDITIONS DOCS NLS PULSEAUDIO \
+			QT6 X11
 
 SLAVE_PORT=	yes
 


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?697e0d96.2716e.15a5af89>