git: e1d4165e6613 - 2025Q4 - emulators/virtualbox-ose{,-kmod,-nox11}-71: Update 7.1.12 => 7.1.14 (fixed 9 CVEs)

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Wed, 22 Oct 2025 02:15:42 UTC
The branch 2025Q4 has been updated by vvd:

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

commit e1d4165e66134f574894d31d105a65e01a6e400b
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2025-10-22 01:59:25 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-10-22 02:15:00 +0000

    emulators/virtualbox-ose{,-kmod,-nox11}-71: Update 7.1.12 => 7.1.14 (fixed 9 CVEs)
    
    Changelog:
    https://www.virtualbox.org/wiki/Changelog-7.1
    
    Fixed 9 CVEs:
    https://www.oracle.com/security-alerts/cpuoct2025.html#AppendixOVIR
    
    Security:       CVE-2025-62587
    Security:       CVE-2025-62588
    Security:       CVE-2025-62589
    Security:       CVE-2025-62641
    Security:       CVE-2025-62590
    Security:       CVE-2025-61760
    Security:       CVE-2025-61759
    Security:       CVE-2025-62591
    Security:       CVE-2025-62592
    MFH:            2025Q4
    (cherry picked from commit b0699300462a8a49bcd1a8c52de009eacbec8d16)
---
 emulators/virtualbox-ose-71/Makefile              |  4 +--
 emulators/virtualbox-ose-71/distinfo              | 14 ++++----
 emulators/virtualbox-ose-71/files/patch-configure | 41 ++++++-----------------
 emulators/virtualbox-ose-kmod-71/Makefile         |  2 +-
 emulators/virtualbox-ose-kmod-71/distinfo         |  6 ++--
 emulators/virtualbox-ose-nox11-71/Makefile        |  2 +-
 6 files changed, 24 insertions(+), 45 deletions(-)

diff --git a/emulators/virtualbox-ose-71/Makefile b/emulators/virtualbox-ose-71/Makefile
index 390f4ffa655b..70ba35ab5460 100644
--- a/emulators/virtualbox-ose-71/Makefile
+++ b/emulators/virtualbox-ose-71/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	virtualbox-ose
-DISTVERSION=	7.1.12
-PORTREVISION?=	1
+DISTVERSION=	7.1.14
+PORTREVISION?=	0
 CATEGORIES=	emulators
 MASTER_SITES=	https://download.virtualbox.org/virtualbox/${DISTVERSION}/:src \
 		LOCAL/vvd:docs
diff --git a/emulators/virtualbox-ose-71/distinfo b/emulators/virtualbox-ose-71/distinfo
index e7b992b0b10c..c6cabfd397f1 100644
--- a/emulators/virtualbox-ose-71/distinfo
+++ b/emulators/virtualbox-ose-71/distinfo
@@ -1,7 +1,7 @@
-TIMESTAMP = 1752700000
-SHA256 (VirtualBox-7.1.12.tar.bz2) = 6f9618f39168898134975f51df7c2d6d5129c0aa82b6ae11cf47f920c70df276
-SIZE (VirtualBox-7.1.12.tar.bz2) = 214691769
-SHA256 (VirtualBox-docs-7.1.12.tar.bz2) = ba48f2da2593d8cae56fcf601c132d77dbf1d16b1e26db162c89449250c269bd
-SIZE (VirtualBox-docs-7.1.12.tar.bz2) = 10109084
-SHA256 (VBoxGuestAdditions_7.1.12.iso) = 256883e2eabf7ab5c10fb3b6831c294942ce34bc615807f9d0cf6c3d2e882236
-SIZE (VBoxGuestAdditions_7.1.12.iso) = 61331456
+TIMESTAMP = 1761088888
+SHA256 (VirtualBox-7.1.14.tar.bz2) = 6a4eea884cd98049a5357133b718078d8aaae68047836a3f86cd5904336d6218
+SIZE (VirtualBox-7.1.14.tar.bz2) = 216819853
+SHA256 (VirtualBox-docs-7.1.14.tar.bz2) = f0b683626a41a8aad1054e6c215c2b0f917a87a200a661a1e1a142b051a8a778
+SIZE (VirtualBox-docs-7.1.14.tar.bz2) = 10110959
+SHA256 (VBoxGuestAdditions_7.1.14.iso) = 3c22ab6fe1acadf1ac522a6fb53984a8bd236862a490ab5cc9e0e3bcc521aae6
+SIZE (VBoxGuestAdditions_7.1.14.iso) = 61343744
diff --git a/emulators/virtualbox-ose-71/files/patch-configure b/emulators/virtualbox-ose-71/files/patch-configure
index 3645d1236ea8..ce88f3f17087 100644
--- a/emulators/virtualbox-ose-71/files/patch-configure
+++ b/emulators/virtualbox-ose-71/files/patch-configure
@@ -1,6 +1,6 @@
---- configure.orig	2025-04-14 17:41:37 UTC
+--- configure.orig	2025-10-16 14:17:04 UTC
 +++ configure
-@@ -158,10 +158,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,7 +15,7 @@
  else
    INCCURL=""
    LIBCURL="-lcurl"
-@@ -1211,6 +1215,9 @@ extern "C" int main(int argc, char** argv)
+@@ -1179,6 +1183,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)
@@ -25,7 +25,7 @@
    printf(", OK.\n");
    return 0;
  #else
-@@ -1295,7 +1302,7 @@ EOF
+@@ -1263,7 +1270,7 @@ EOF
  #endif
  }
  EOF
@@ -34,7 +34,7 @@
      test_execute
    fi
  }
-@@ -1599,6 +1606,7 @@ EOF
+@@ -1567,6 +1574,7 @@ EOF
          SDKQT6=$PATH_SDK_QT6
        fi
        FLGQT6="-framework QtCore -std=c++17 -Wl,-rpath,`L_to_PATH "$LIBQT6"`"
@@ -42,28 +42,7 @@
      else
        log_failure "Qt6 framework not found (can be disabled using --disable-qt)"
        fail
-@@ -1875,9 +1883,9 @@ check_libvorbis()
-   if which_wrapper pkg-config > /dev/null; then
-     libvorbis_ver=`pkg-config vorbis --modversion 2>> $LOG`
-     if [ $? -eq 0 ]; then
--      FLGVRB=`pkg-config vorbis --cflags`
-+      FLGVRB=`pkg-config vorbis vorbisenc --cflags`
-       INCVRB=`strip_I "$FLGVRB"`
--      LIBVRB=`pkg-config vorbis --libs`
-+      LIBVRB=`pkg-config vorbis vorbisenc --libs`
-     fi
-     cat > $ODIR.tmp_src.cc << EOF
- #include <cstdio>
-@@ -1927,7 +1935,7 @@ EOF
-   return 0;
- }
- EOF
--    [ -n "$INCOGG" ] && I_INCVRB=`prefix_I "$INCOGG"`
-+    [ -n "$INCOGG" ] && I_INCOGG=`prefix_I "$INCOGG"`
-     if test_compile "$LIBOGG $I_INCOGG" ogg ogg nofatal; then
-       if test_execute; then
-         cnf_append "SDK_VBoxLibOgg_INCS" "$INCOGG"
-@@ -2194,8 +2202,8 @@ EOF
+@@ -2133,8 +2141,8 @@ EOF
          echo "compiling the following source file:" >> $LOG
          cat $ODIR.tmp_src.cc >> $LOG
          echo "using the following command line:" >> $LOG
@@ -74,7 +53,7 @@
          if [ $? -eq 0 ]; then
            found=1
            break
-@@ -2311,7 +2319,7 @@ check_gsoap()
+@@ -2250,7 +2258,7 @@ check_gsoap()
          else
            cnf_append "VBOX_GSOAP_CXX_SOURCES" ""
          fi
@@ -83,7 +62,7 @@
          gsoap_version=`pkg-config gsoapssl++ --modversion`
          log_success "found version $gsoap_version"
          return
-@@ -2687,7 +2695,7 @@ for option in "$@"; do
+@@ -2624,7 +2632,7 @@ for option in "$@"; do
      --with-openssl-dir=*)
        OPENSSLDIR=`echo $option | cut -d'=' -f2`
        INCCRYPTO="-I${OPENSSLDIR}/include"
@@ -92,7 +71,7 @@
        # 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.
-@@ -3054,12 +3062,22 @@ if [ $ONLY_ADDITIONS -eq 0 ]; then
+@@ -2988,12 +2996,22 @@ if [ $ONLY_ADDITIONS -eq 0 ]; then
    [ $WITH_JAVA   -eq 1 ] && check_java
  
    # PulseAudio
@@ -121,7 +100,7 @@
    fi
  fi
  
-@@ -3075,14 +3093,6 @@ if [ "$OS" = "linux" ]; then
+@@ -3009,14 +3027,6 @@ if [ "$OS" = "linux" ]; then
      cnf_append "VBOX_WITHOUT_LINUX_TEST_BUILDS" "1"
    fi
    if [ $ONLY_ADDITIONS -eq 0 ]; then
diff --git a/emulators/virtualbox-ose-kmod-71/Makefile b/emulators/virtualbox-ose-kmod-71/Makefile
index 75f20dc887fc..88f593c525fc 100644
--- a/emulators/virtualbox-ose-kmod-71/Makefile
+++ b/emulators/virtualbox-ose-kmod-71/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	virtualbox-ose
-DISTVERSION=	7.1.12
+DISTVERSION=	7.1.14
 CATEGORIES=	emulators
 MASTER_SITES=	https://download.virtualbox.org/virtualbox/${DISTVERSION}/
 PKGNAMESUFFIX=	-kmod-71
diff --git a/emulators/virtualbox-ose-kmod-71/distinfo b/emulators/virtualbox-ose-kmod-71/distinfo
index fb7394d7745c..440b2b8ba4f1 100644
--- a/emulators/virtualbox-ose-kmod-71/distinfo
+++ b/emulators/virtualbox-ose-kmod-71/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1752700000
-SHA256 (VirtualBox-7.1.12.tar.bz2) = 6f9618f39168898134975f51df7c2d6d5129c0aa82b6ae11cf47f920c70df276
-SIZE (VirtualBox-7.1.12.tar.bz2) = 214691769
+TIMESTAMP = 1761088888
+SHA256 (VirtualBox-7.1.14.tar.bz2) = 6a4eea884cd98049a5357133b718078d8aaae68047836a3f86cd5904336d6218
+SIZE (VirtualBox-7.1.14.tar.bz2) = 216819853
diff --git a/emulators/virtualbox-ose-nox11-71/Makefile b/emulators/virtualbox-ose-nox11-71/Makefile
index 66d0c82c9bc9..bd1a0035d424 100644
--- a/emulators/virtualbox-ose-nox11-71/Makefile
+++ b/emulators/virtualbox-ose-nox11-71/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	1
+PORTREVISION=	0
 PKGNAMESUFFIX=	-nox11-71
 
 MASTERDIR=	${.CURDIR}/../virtualbox-ose-71