git: 4f2ef91eedb7 - main - emulators/virtualbox-ose*: Add support of "Unattended Installation of Guest OS" feature
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 22 Feb 2026 23:18:30 UTC
The branch main has been updated by vvd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4f2ef91eedb7956a285a2f646d8dfd3e20b0982f
commit 4f2ef91eedb7956a285a2f646d8dfd3e20b0982f
Author: Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2026-02-22 23:11:02 +0000
Commit: Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-02-22 23:18:17 +0000
emulators/virtualbox-ose*: Add support of "Unattended Installation of Guest OS" feature
Install files required by Unattended Installation of Guest OS feature.
These files were already prepared during the ports' build, so just add
them to the installation.
Details about this feature are here:
https://www.virtualbox.org/manual/topics/create-vm.html#tk_create-vm-unattended-install
Reported by: xin3qu via IRC (#freebsd-vbox @ Libera.Chat)
---
emulators/virtualbox-ose-70/Makefile | 6 ++++--
emulators/virtualbox-ose-70/pkg-plist | 22 ++++++++++++++++++++++
emulators/virtualbox-ose-71/Makefile | 6 ++++--
emulators/virtualbox-ose-71/pkg-plist | 24 ++++++++++++++++++++++++
emulators/virtualbox-ose-72/Makefile | 6 ++++--
emulators/virtualbox-ose-72/pkg-plist | 24 ++++++++++++++++++++++++
emulators/virtualbox-ose-legacy/Makefile | 6 ++++--
emulators/virtualbox-ose-legacy/pkg-plist | 14 ++++++++++++++
emulators/virtualbox-ose-nox11-70/Makefile | 2 +-
emulators/virtualbox-ose-nox11-71/Makefile | 2 +-
emulators/virtualbox-ose-nox11-72/Makefile | 2 +-
emulators/virtualbox-ose-nox11-legacy/Makefile | 2 +-
emulators/virtualbox-ose-nox11/Makefile | 2 +-
emulators/virtualbox-ose/Makefile | 6 ++++--
emulators/virtualbox-ose/pkg-plist | 14 ++++++++++++++
15 files changed, 123 insertions(+), 15 deletions(-)
diff --git a/emulators/virtualbox-ose-70/Makefile b/emulators/virtualbox-ose-70/Makefile
index 8c7b9bddaef3..86f6e74139bf 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?= 6
+PORTREVISION?= 7
CATEGORIES= emulators
MASTER_SITES= https://download.virtualbox.org/virtualbox/${DISTVERSION}/:src \
LOCAL/vvd:docs
@@ -359,7 +359,9 @@ do-install:
${MKDIR} ${STAGEDIR}${VBOX_DIR}
cd ${KMK_BUILDDIR}/bin && ${COPYTREE_SHARE} \
- "*.fd *.r0 *.so components" ${STAGEDIR}${VBOX_DIR}
+ "*.fd *.r0 *.so components" ${STAGEDIR}${VBOX_DIR} && \
+ ${COPYTREE_SHARE} UnattendedTemplates ${STAGEDIR}${DATADIR}
+
.if ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MWEBSERVICE}
${RLN} ${STAGEDIR}${DATADIR}/sdk ${STAGEDIR}${VBOX_DIR}
.endif
diff --git a/emulators/virtualbox-ose-70/pkg-plist b/emulators/virtualbox-ose-70/pkg-plist
index 18e6d815264e..21569f65cb3a 100644
--- a/emulators/virtualbox-ose-70/pkg-plist
+++ b/emulators/virtualbox-ose-70/pkg-plist
@@ -438,6 +438,28 @@ lib/virtualbox/components/VirtualBox_XPCOM.xpt
%%QT%%share/applications/virtualbox.desktop
%%DOCS%%%%DOCSDIR%%/UserManual.pdf
%%QT%%share/pixmaps/VBox.png
+%%DATADIR%%/UnattendedTemplates/debian_postinstall.sh
+%%DATADIR%%/UnattendedTemplates/debian_preseed.cfg
+%%DATADIR%%/UnattendedTemplates/fedora_ks.cfg
+%%DATADIR%%/UnattendedTemplates/freebsd_installer.cfg
+%%DATADIR%%/UnattendedTemplates/freebsd_postinstall.sh
+%%DATADIR%%/UnattendedTemplates/ol8_ks.cfg
+%%DATADIR%%/UnattendedTemplates/ol9_ks.cfg
+%%DATADIR%%/UnattendedTemplates/ol_ks.cfg
+%%DATADIR%%/UnattendedTemplates/ol_postinstall.sh
+%%DATADIR%%/UnattendedTemplates/os2_cid_install.cmd
+%%DATADIR%%/UnattendedTemplates/os2_response_files.rsp
+%%DATADIR%%/UnattendedTemplates/os2_util.exe
+%%DATADIR%%/UnattendedTemplates/redhat67_ks.cfg
+%%DATADIR%%/UnattendedTemplates/redhat_postinstall.sh
+%%DATADIR%%/UnattendedTemplates/rhel3_ks.cfg
+%%DATADIR%%/UnattendedTemplates/rhel4_ks.cfg
+%%DATADIR%%/UnattendedTemplates/rhel5_ks.cfg
+%%DATADIR%%/UnattendedTemplates/suse_autoinstall.xml
+%%DATADIR%%/UnattendedTemplates/ubuntu_preseed.cfg
+%%DATADIR%%/UnattendedTemplates/win_nt5_unattended.sif
+%%DATADIR%%/UnattendedTemplates/win_nt6_unattended.xml
+%%DATADIR%%/UnattendedTemplates/win_postinstall.cmd
%%DATADIR%%/idl/VirtualBox_XPCOM.idl
%%DATADIR%%/idl/ipcIClientObserver.idl
%%DATADIR%%/idl/ipcIDConnectService.idl
diff --git a/emulators/virtualbox-ose-71/Makefile b/emulators/virtualbox-ose-71/Makefile
index 172677c33e6b..6a2a16e3ab93 100644
--- a/emulators/virtualbox-ose-71/Makefile
+++ b/emulators/virtualbox-ose-71/Makefile
@@ -1,6 +1,6 @@
PORTNAME= virtualbox-ose
DISTVERSION= 7.1.16
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES= emulators
MASTER_SITES= https://download.virtualbox.org/virtualbox/${DISTVERSION}/:src \
LOCAL/vvd:docs
@@ -351,7 +351,9 @@ do-install:
${MKDIR} ${STAGEDIR}${VBOX_DIR}
cd ${KMK_BUILDDIR}/bin && ${COPYTREE_SHARE} \
- "*.fd *.r0 *.so components" ${STAGEDIR}${VBOX_DIR}
+ "*.fd *.r0 *.so components" ${STAGEDIR}${VBOX_DIR} && \
+ ${COPYTREE_SHARE} UnattendedTemplates ${STAGEDIR}${DATADIR}
+
.if ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MWEBSERVICE}
${RLN} ${STAGEDIR}${DATADIR}/sdk ${STAGEDIR}${VBOX_DIR}
.endif
diff --git a/emulators/virtualbox-ose-71/pkg-plist b/emulators/virtualbox-ose-71/pkg-plist
index 426fd6b55c60..10d6f929965c 100644
--- a/emulators/virtualbox-ose-71/pkg-plist
+++ b/emulators/virtualbox-ose-71/pkg-plist
@@ -304,6 +304,30 @@ lib/virtualbox/components/VirtualBox_XPCOM.xpt
%%QT%%share/applications/virtualbox.desktop
%%DOCS%%%%DOCSDIR%%/UserManual.pdf
%%QT%%share/pixmaps/VBox.png
+%%DATADIR%%/UnattendedTemplates/debian_postinstall.sh
+%%DATADIR%%/UnattendedTemplates/debian_preseed.cfg
+%%DATADIR%%/UnattendedTemplates/fedora_ks.cfg
+%%DATADIR%%/UnattendedTemplates/freebsd_installer.cfg
+%%DATADIR%%/UnattendedTemplates/freebsd_postinstall.sh
+%%DATADIR%%/UnattendedTemplates/ol8_ks.cfg
+%%DATADIR%%/UnattendedTemplates/ol9_ks.cfg
+%%DATADIR%%/UnattendedTemplates/ol_ks.cfg
+%%DATADIR%%/UnattendedTemplates/ol_postinstall.sh
+%%DATADIR%%/UnattendedTemplates/os2_cid_install.cmd
+%%DATADIR%%/UnattendedTemplates/os2_response_files.rsp
+%%DATADIR%%/UnattendedTemplates/os2_util.exe
+%%DATADIR%%/UnattendedTemplates/redhat67_ks.cfg
+%%DATADIR%%/UnattendedTemplates/redhat_postinstall.sh
+%%DATADIR%%/UnattendedTemplates/rhel3_ks.cfg
+%%DATADIR%%/UnattendedTemplates/rhel4_ks.cfg
+%%DATADIR%%/UnattendedTemplates/rhel5_ks.cfg
+%%DATADIR%%/UnattendedTemplates/suse_autoinstall.xml
+%%DATADIR%%/UnattendedTemplates/ubuntu_autoinstall_meta_data
+%%DATADIR%%/UnattendedTemplates/ubuntu_autoinstall_user_data
+%%DATADIR%%/UnattendedTemplates/ubuntu_preseed.cfg
+%%DATADIR%%/UnattendedTemplates/win_nt5_unattended.sif
+%%DATADIR%%/UnattendedTemplates/win_nt6_unattended.xml
+%%DATADIR%%/UnattendedTemplates/win_postinstall.cmd
%%DATADIR%%/idl/VirtualBox_XPCOM.idl
%%DATADIR%%/idl/ipcIClientObserver.idl
%%DATADIR%%/idl/ipcIDConnectService.idl
diff --git a/emulators/virtualbox-ose-72/Makefile b/emulators/virtualbox-ose-72/Makefile
index a5d272c39e50..7f33e2c76060 100644
--- a/emulators/virtualbox-ose-72/Makefile
+++ b/emulators/virtualbox-ose-72/Makefile
@@ -1,6 +1,6 @@
PORTNAME= virtualbox-ose
DISTVERSION= 7.2.6
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES= emulators
MASTER_SITES= https://download.virtualbox.org/virtualbox/${DISTVERSION}/:src \
LOCAL/vvd:docs
@@ -352,7 +352,9 @@ do-install:
${MKDIR} ${STAGEDIR}${VBOX_DIR}
cd ${KMK_BUILDDIR}/bin && ${COPYTREE_SHARE} \
- "*.fd *.r0 *.so components" ${STAGEDIR}${VBOX_DIR}
+ "*.fd *.r0 *.so components" ${STAGEDIR}${VBOX_DIR} && \
+ ${COPYTREE_SHARE} UnattendedTemplates ${STAGEDIR}${DATADIR}
+
.if ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MWEBSERVICE}
${RLN} ${STAGEDIR}${DATADIR}/sdk ${STAGEDIR}${VBOX_DIR}
.endif
diff --git a/emulators/virtualbox-ose-72/pkg-plist b/emulators/virtualbox-ose-72/pkg-plist
index 478adcccb74c..3f8b4166732c 100644
--- a/emulators/virtualbox-ose-72/pkg-plist
+++ b/emulators/virtualbox-ose-72/pkg-plist
@@ -308,6 +308,30 @@ lib/virtualbox/components/VirtualBox_XPCOM.xpt
%%QT%%share/applications/virtualbox.desktop
%%DOCS%%%%DOCSDIR%%/UserManual.pdf
%%QT%%share/pixmaps/VBox.png
+%%DATADIR%%/UnattendedTemplates/debian_postinstall.sh
+%%DATADIR%%/UnattendedTemplates/debian_preseed.cfg
+%%DATADIR%%/UnattendedTemplates/fedora_ks.cfg
+%%DATADIR%%/UnattendedTemplates/freebsd_installer.cfg
+%%DATADIR%%/UnattendedTemplates/freebsd_postinstall.sh
+%%DATADIR%%/UnattendedTemplates/ol8_ks.cfg
+%%DATADIR%%/UnattendedTemplates/ol9_ks.cfg
+%%DATADIR%%/UnattendedTemplates/ol_ks.cfg
+%%DATADIR%%/UnattendedTemplates/ol_postinstall.sh
+%%DATADIR%%/UnattendedTemplates/os2_cid_install.cmd
+%%DATADIR%%/UnattendedTemplates/os2_response_files.rsp
+%%DATADIR%%/UnattendedTemplates/os2_util.exe
+%%DATADIR%%/UnattendedTemplates/redhat67_ks.cfg
+%%DATADIR%%/UnattendedTemplates/redhat_postinstall.sh
+%%DATADIR%%/UnattendedTemplates/rhel3_ks.cfg
+%%DATADIR%%/UnattendedTemplates/rhel4_ks.cfg
+%%DATADIR%%/UnattendedTemplates/rhel5_ks.cfg
+%%DATADIR%%/UnattendedTemplates/suse_autoinstall.xml
+%%DATADIR%%/UnattendedTemplates/ubuntu_autoinstall_meta_data
+%%DATADIR%%/UnattendedTemplates/ubuntu_autoinstall_user_data
+%%DATADIR%%/UnattendedTemplates/ubuntu_preseed.cfg
+%%DATADIR%%/UnattendedTemplates/win_nt5_unattended.sif
+%%DATADIR%%/UnattendedTemplates/win_nt6_unattended.xml
+%%DATADIR%%/UnattendedTemplates/win_postinstall.cmd
%%DATADIR%%/idl/VirtualBox_XPCOM.idl
%%DATADIR%%/idl/ipcIClientObserver.idl
%%DATADIR%%/idl/ipcIDConnectService.idl
diff --git a/emulators/virtualbox-ose-legacy/Makefile b/emulators/virtualbox-ose-legacy/Makefile
index b201dc6a4698..86692de2186e 100644
--- a/emulators/virtualbox-ose-legacy/Makefile
+++ b/emulators/virtualbox-ose-legacy/Makefile
@@ -1,6 +1,6 @@
PORTNAME= virtualbox-ose
DISTVERSION= 5.2.44
-PORTREVISION?= 34
+PORTREVISION?= 35
CATEGORIES= emulators
MASTER_SITES= https://download.virtualbox.org/virtualbox/${DISTVERSION}/:src \
LOCAL/bofh/emulators/virtualbox-ose-legacy:docs
@@ -342,7 +342,9 @@ do-install:
${MKDIR} ${STAGEDIR}${VBOX_DIR}
cd ${KMK_BUILDDIR}/bin && ${COPYTREE_SHARE} \
- "*.fd *.r0 *.rc *.so components" ${STAGEDIR}${VBOX_DIR}
+ "*.fd *.r0 *.rc *.so components" ${STAGEDIR}${VBOX_DIR} && \
+ ${COPYTREE_SHARE} UnattendedTemplates ${STAGEDIR}${DATADIR}
+
.if ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MWEBSERVICE}
${RLN} ${STAGEDIR}${DATADIR}/sdk ${STAGEDIR}${VBOX_DIR}
.endif
diff --git a/emulators/virtualbox-ose-legacy/pkg-plist b/emulators/virtualbox-ose-legacy/pkg-plist
index d95f1eeccd6a..bb326f39ef3e 100644
--- a/emulators/virtualbox-ose-legacy/pkg-plist
+++ b/emulators/virtualbox-ose-legacy/pkg-plist
@@ -440,6 +440,20 @@ lib/virtualbox/components/VirtualBox_XPCOM.xpt
%%QT%%share/applications/virtualbox.desktop
%%DOCS%%%%DOCSDIR%%/UserManual.pdf
%%QT%%share/pixmaps/VBox.png
+%%DATADIR%%/UnattendedTemplates/debian_postinstall.sh
+%%DATADIR%%/UnattendedTemplates/debian_preseed.cfg
+%%DATADIR%%/UnattendedTemplates/fedora_ks.cfg
+%%DATADIR%%/UnattendedTemplates/ol_ks.cfg
+%%DATADIR%%/UnattendedTemplates/redhat67_ks.cfg
+%%DATADIR%%/UnattendedTemplates/redhat_postinstall.sh
+%%DATADIR%%/UnattendedTemplates/rhel3_ks.cfg
+%%DATADIR%%/UnattendedTemplates/rhel4_ks.cfg
+%%DATADIR%%/UnattendedTemplates/rhel5_ks.cfg
+%%DATADIR%%/UnattendedTemplates/suse_autoinstall.xml
+%%DATADIR%%/UnattendedTemplates/ubuntu_preseed.cfg
+%%DATADIR%%/UnattendedTemplates/win_nt5_unattended.sif
+%%DATADIR%%/UnattendedTemplates/win_nt6_unattended.xml
+%%DATADIR%%/UnattendedTemplates/win_postinstall.cmd
%%DATADIR%%/idl/VirtualBox_XPCOM.idl
%%DATADIR%%/idl/ipcIClientObserver.idl
%%DATADIR%%/idl/ipcIDConnectService.idl
diff --git a/emulators/virtualbox-ose-nox11-70/Makefile b/emulators/virtualbox-ose-nox11-70/Makefile
index 4b3abd505663..20a2feb54f44 100644
--- a/emulators/virtualbox-ose-nox11-70/Makefile
+++ b/emulators/virtualbox-ose-nox11-70/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION= 5
+PORTREVISION= 7
PKGNAMESUFFIX= -nox11-70
MASTERDIR= ${.CURDIR}/../virtualbox-ose-70
diff --git a/emulators/virtualbox-ose-nox11-71/Makefile b/emulators/virtualbox-ose-nox11-71/Makefile
index 06750b5e3471..a7b12bd42636 100644
--- a/emulators/virtualbox-ose-nox11-71/Makefile
+++ b/emulators/virtualbox-ose-nox11-71/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION= 0
+PORTREVISION= 1
PKGNAMESUFFIX= -nox11-71
MASTERDIR= ${.CURDIR}/../virtualbox-ose-71
diff --git a/emulators/virtualbox-ose-nox11-72/Makefile b/emulators/virtualbox-ose-nox11-72/Makefile
index b3eb31d41f59..85313272d95b 100644
--- a/emulators/virtualbox-ose-nox11-72/Makefile
+++ b/emulators/virtualbox-ose-nox11-72/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION= 0
+PORTREVISION= 1
PKGNAMESUFFIX= -nox11-72
MASTERDIR= ${.CURDIR}/../virtualbox-ose-72
diff --git a/emulators/virtualbox-ose-nox11-legacy/Makefile b/emulators/virtualbox-ose-nox11-legacy/Makefile
index fcb49d1c8f52..24912cd0622c 100644
--- a/emulators/virtualbox-ose-nox11-legacy/Makefile
+++ b/emulators/virtualbox-ose-nox11-legacy/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION= 33
+PORTREVISION= 34
PKGNAMESUFFIX= -nox11-legacy
MASTERDIR= ${.CURDIR}/../virtualbox-ose-legacy
diff --git a/emulators/virtualbox-ose-nox11/Makefile b/emulators/virtualbox-ose-nox11/Makefile
index 12036182cd1e..7505d9d26e06 100644
--- a/emulators/virtualbox-ose-nox11/Makefile
+++ b/emulators/virtualbox-ose-nox11/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION= 16
+PORTREVISION= 18
PKGNAMESUFFIX= -nox11
MASTERDIR= ${.CURDIR}/../virtualbox-ose
diff --git a/emulators/virtualbox-ose/Makefile b/emulators/virtualbox-ose/Makefile
index 11ff14752ee6..dd82637e6262 100644
--- a/emulators/virtualbox-ose/Makefile
+++ b/emulators/virtualbox-ose/Makefile
@@ -1,6 +1,6 @@
PORTNAME= virtualbox-ose
DISTVERSION= 6.1.50
-PORTREVISION?= 17
+PORTREVISION?= 18
CATEGORIES= emulators
MASTER_SITES= https://download.virtualbox.org/virtualbox/${DISTVERSION}/:src \
LOCAL/bofh/emulators/virtualbox-ose:docs
@@ -363,7 +363,9 @@ do-install:
${MKDIR} ${STAGEDIR}${VBOX_DIR}
cd ${KMK_BUILDDIR}/bin && ${COPYTREE_SHARE} \
- "*.fd *.r0 *.so components" ${STAGEDIR}${VBOX_DIR}
+ "*.fd *.r0 *.so components" ${STAGEDIR}${VBOX_DIR} && \
+ ${COPYTREE_SHARE} UnattendedTemplates ${STAGEDIR}${DATADIR}
+
.if ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MWEBSERVICE}
${RLN} ${STAGEDIR}${DATADIR}/sdk ${STAGEDIR}${VBOX_DIR}
.endif
diff --git a/emulators/virtualbox-ose/pkg-plist b/emulators/virtualbox-ose/pkg-plist
index a73db9107c11..9b70c4479348 100644
--- a/emulators/virtualbox-ose/pkg-plist
+++ b/emulators/virtualbox-ose/pkg-plist
@@ -442,6 +442,20 @@ lib/virtualbox/components/VirtualBox_XPCOM.xpt
%%QT%%share/applications/virtualbox.desktop
%%DOCS%%%%DOCSDIR%%/UserManual.pdf
%%QT%%share/pixmaps/VBox.png
+%%DATADIR%%/UnattendedTemplates/debian_postinstall.sh
+%%DATADIR%%/UnattendedTemplates/debian_preseed.cfg
+%%DATADIR%%/UnattendedTemplates/fedora_ks.cfg
+%%DATADIR%%/UnattendedTemplates/ol_ks.cfg
+%%DATADIR%%/UnattendedTemplates/redhat67_ks.cfg
+%%DATADIR%%/UnattendedTemplates/redhat_postinstall.sh
+%%DATADIR%%/UnattendedTemplates/rhel3_ks.cfg
+%%DATADIR%%/UnattendedTemplates/rhel4_ks.cfg
+%%DATADIR%%/UnattendedTemplates/rhel5_ks.cfg
+%%DATADIR%%/UnattendedTemplates/suse_autoinstall.xml
+%%DATADIR%%/UnattendedTemplates/ubuntu_preseed.cfg
+%%DATADIR%%/UnattendedTemplates/win_nt5_unattended.sif
+%%DATADIR%%/UnattendedTemplates/win_nt6_unattended.xml
+%%DATADIR%%/UnattendedTemplates/win_postinstall.cmd
%%DATADIR%%/idl/VirtualBox_XPCOM.idl
%%DATADIR%%/idl/ipcIClientObserver.idl
%%DATADIR%%/idl/ipcIDConnectService.idl