aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/virtualbox-ose-70/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/virtualbox-ose-70/Makefile')
-rw-r--r--emulators/virtualbox-ose-70/Makefile27
1 files changed, 19 insertions, 8 deletions
diff --git a/emulators/virtualbox-ose-70/Makefile b/emulators/virtualbox-ose-70/Makefile
index 70ae1ff3695f..ca6e82c9e081 100644
--- a/emulators/virtualbox-ose-70/Makefile
+++ b/emulators/virtualbox-ose-70/Makefile
@@ -1,6 +1,6 @@
PORTNAME= virtualbox-ose
DISTVERSION= 7.0.26
-PORTREVISION?= 4
+PORTREVISION?= 5
CATEGORIES= emulators
MASTER_SITES= https://download.virtualbox.org/virtualbox/${DISTVERSION}/:src \
LOCAL/vvd:docs
@@ -17,6 +17,9 @@ WWW= https://www.virtualbox.org/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
+DEPRECATED= Upstream EOL reaches on 2025-04-15, use emulators/virtualbox-ose${PKGNAMESUFFIX:S|0|2|} instead
+EXPIRATION_DATE= 2026-12-31
+
ONLY_FOR_ARCHS= amd64
BUILD_DEPENDS= gtar:archivers/gtar \
@@ -28,12 +31,11 @@ LIB_DEPENDS= libpng.so:graphics/png \
libcurl.so:ftp/curl
RUN_DEPENDS= ${LOCALBASE}/etc/rc.d/vboxnet:emulators/virtualbox-ose-kmod-70
-USES= compiler:c++14-lang cpe gnome iconv pkgconfig qt:5 ssl tar:bzip2
+USES= compiler:c++14-lang cpe gnome iconv pkgconfig ssl tar:bzip2
CPE_VENDOR= oracle
CPE_PRODUCT= vm_virtualbox
USE_BINUTILS= yes
USE_GNOME= libxml2
-USE_QT= buildtools:build linguisttools:build
USE_RC_SUBR= vboxheadless vboxwatchdog
HAS_CONFIGURE= yes
@@ -79,10 +81,10 @@ PLIST_SUB= GUEST_VER=${DISTVERSION} \
SLAVE_PORT?= no
-OPTIONS_DEFINE= AIO ALSA DBUS DEBUG DOCS GUESTADDITIONS NLS OGG PULSEAUDIO \
- PYTHON QT5 R0LOGGING UDPTUNNEL VBOXIMG VDE VNC VORBIS VPX \
- WEBSERVICE X11
-OPTIONS_DEFAULT= AIO DBUS QT5 UDPTUNNEL VNC WEBSERVICE X11
+OPTIONS_DEFINE= AIO ALSA DBUS DEBUG DOCS GUESTADDITIONS NLS OGG \
+ PULSEAUDIO PYTHON QT5 R0LOGGING TPM UDPTUNNEL VBOXIMG \
+ VDE VNC VORBIS VPX WEBSERVICE X11
+OPTIONS_DEFAULT= AIO DBUS QT5 TPM UDPTUNNEL VNC WEBSERVICE X11
.if ${SLAVE_PORT} == no
OPTIONS_DEFAULT+= PYTHON
.endif
@@ -96,8 +98,9 @@ DEBUG_DESC= Debug symbols, additional logs and assertions
GUESTADDITIONS_DESC= Build with Guest Additions
NLS_DESC= Native language support (requires QT5)
OGG_DESC= Use libogg from audio/libogg instead of bundled one
-QT5_DESC= Build with QT5 frontend (requires X11)
+QT5_DESC= Build with Qt5 frontend (requires X11)
R0LOGGING_DESC= Enable R0 logging (requires DEBUG)
+TPM_DESC= Enable TPM device emulation using sysutils/libtpms
UDPTUNNEL_DESC= Build with UDP tunnel support
VBOXIMG_DESC= Build vboximg-mount (requires fuse-libs)
VDE_DESC= Build with VDE support
@@ -128,6 +131,8 @@ QT5_USE= QT=buildtools:build,core,dbus,gui,linguisttools:build,opengl \
QT5_CONFIGURE_ON= --enable-qt5
QT5_CONFIGURE_OFF= --disable-qt
R0LOGGING_IMPLIES= DEBUG
+TPM_LIB_DEPENDS= libtpms.so:sysutils/libtpms
+TPM_CONFIGURE_OFF= --disable-libtpms
UDPTUNNEL_CONFIGURE_OFF= --disable-udptunnel
VBOXIMG_LIB_DEPENDS= libfuse.so.2:filesystems/fusefs-libs
VDE_RUN_DEPENDS= vde_switch:net/vde2
@@ -324,6 +329,12 @@ post-patch-AIO-off:
@${REINPLACE_CMD} 's|r3/freebsd/fileaio-freebsd.cpp|r3/posix/fileaio-posix.cpp|' \
${WRKSRC}/src/VBox/Runtime/Makefile.kmk
+post-patch-NLS-off:
+ @${ECHO} 'VBOX_WITH_NLS =' >> ${WRKSRC}/LocalConfig.kmk
+ @${ECHO} 'VBOX_WITH_MAIN_NLS =' >> ${WRKSRC}/LocalConfig.kmk
+ @${ECHO} 'VBOX_WITH_PUEL_NLS =' >> ${WRKSRC}/LocalConfig.kmk
+ @${ECHO} 'VBOX_WITH_VBOXMANAGE_NLS =' >> ${WRKSRC}/LocalConfig.kmk
+
do-build:
cd ${WRKSRC} && ${SH} -c '. ${WRKSRC}/env.sh && \
${SETENV} ${MAKE_ENV} ${KMK_CONFIG} ${LOCALBASE}/bin/kmk ${KMK_FLAGS}'