Date: Tue, 03 Feb 2026 18:46:21 +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: c22c337cf083 - main - emulators/virtualbox-ose*: Exclude from extract bundled binary files of kBuild Message-ID: <6982427d.27a66.4f2eac79@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=c22c337cf0830c02ace8aa8f1b5477f59aa6d0e0 commit c22c337cf0830c02ace8aa8f1b5477f59aa6d0e0 Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2026-02-03 18:27:50 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-02-03 18:27:50 +0000 emulators/virtualbox-ose*: Exclude from extract bundled binary files of kBuild Thes is ~430-640 files, ~30-55MB total for different platforms. We are using devel/kBuild for build VirtualBox ports. devel/kBuild is a newer version than the one included in the VirtualBox tarballs. --- emulators/virtualbox-ose-70/Makefile | 2 ++ emulators/virtualbox-ose-71/Makefile | 2 ++ emulators/virtualbox-ose-72/Makefile | 2 ++ emulators/virtualbox-ose-additions-70/Makefile | 6 +++++- emulators/virtualbox-ose-additions-71/Makefile | 6 +++++- emulators/virtualbox-ose-additions-72/Makefile | 6 +++++- emulators/virtualbox-ose-additions-legacy/Makefile | 8 +++++++- emulators/virtualbox-ose-additions/Makefile | 8 +++++++- emulators/virtualbox-ose-kmod-70/Makefile | 2 ++ emulators/virtualbox-ose-kmod-71/Makefile | 2 ++ emulators/virtualbox-ose-kmod-72/Makefile | 2 ++ emulators/virtualbox-ose-kmod-legacy/Makefile | 2 ++ emulators/virtualbox-ose-kmod/Makefile | 2 ++ emulators/virtualbox-ose-legacy/Makefile | 4 ++++ emulators/virtualbox-ose/Makefile | 4 ++++ 15 files changed, 53 insertions(+), 5 deletions(-) diff --git a/emulators/virtualbox-ose-70/Makefile b/emulators/virtualbox-ose-70/Makefile index f20a75ce91a6..8c7b9bddaef3 100644 --- a/emulators/virtualbox-ose-70/Makefile +++ b/emulators/virtualbox-ose-70/Makefile @@ -51,6 +51,8 @@ CONFLICTS_INSTALL= virtualbox-ose-legacy \ virtualbox-ose-72 \ virtualbox-ose-nox11-72 +EXTRACT_AFTER_ARGS= --exclude kBuild/bin \ + --no-same-owner --no-same-permissions PORTSCOUT= limit:^7\.0\. SUB_FILES= pkg-message SUB_LIST= VBOXDIR=${VBOX_DIR} \ diff --git a/emulators/virtualbox-ose-71/Makefile b/emulators/virtualbox-ose-71/Makefile index a3bcb459a3a0..172677c33e6b 100644 --- a/emulators/virtualbox-ose-71/Makefile +++ b/emulators/virtualbox-ose-71/Makefile @@ -52,6 +52,8 @@ CONFLICTS_INSTALL= virtualbox-ose-legacy \ virtualbox-ose-72 \ virtualbox-ose-nox11-72 +EXTRACT_AFTER_ARGS= --exclude kBuild/bin \ + --no-same-owner --no-same-permissions PORTSCOUT= limit:^7\.1\. SUB_FILES= pkg-message SUB_LIST= VBOXDIR=${VBOX_DIR} \ diff --git a/emulators/virtualbox-ose-72/Makefile b/emulators/virtualbox-ose-72/Makefile index cbf1908c1408..a5d272c39e50 100644 --- a/emulators/virtualbox-ose-72/Makefile +++ b/emulators/virtualbox-ose-72/Makefile @@ -53,6 +53,8 @@ CONFLICTS_INSTALL= virtualbox-ose-legacy \ virtualbox-ose-71 \ virtualbox-ose-nox11-71 +EXTRACT_AFTER_ARGS= --exclude kBuild/bin \ + --no-same-owner --no-same-permissions PORTSCOUT= limit:^7\.2\. SUB_FILES= pkg-message SUB_LIST= VBOXDIR=${VBOX_DIR} \ diff --git a/emulators/virtualbox-ose-additions-70/Makefile b/emulators/virtualbox-ose-additions-70/Makefile index 26ad27c4ddaf..cd88dbffb7ce 100644 --- a/emulators/virtualbox-ose-additions-70/Makefile +++ b/emulators/virtualbox-ose-additions-70/Makefile @@ -50,7 +50,11 @@ CONFLICTS_INSTALL= virtualbox-ose-additions-legacy \ virtualbox-ose-additions-nox11-72 PATCHDIR= ${.CURDIR}/../${PORTNAME}-70/files -EXTRACT_AFTER_ARGS= --exclude tools/*.x86 --exclude tools/*.amd64 --exclude Firmware +EXTRACT_AFTER_ARGS= --exclude tools/*.x86 \ + --exclude tools/*.amd64 \ + --exclude Firmware \ + --exclude kBuild/bin \ + --no-same-owner --no-same-permissions PORTSCOUT= limit:^7\.0\. WRKSRC= ${WRKDIR}/VirtualBox-${DISTVERSION} diff --git a/emulators/virtualbox-ose-additions-71/Makefile b/emulators/virtualbox-ose-additions-71/Makefile index 9385c221cfbc..2b3d641605ab 100644 --- a/emulators/virtualbox-ose-additions-71/Makefile +++ b/emulators/virtualbox-ose-additions-71/Makefile @@ -47,7 +47,11 @@ CONFLICTS_INSTALL= virtualbox-ose-additions-legacy \ virtualbox-ose-additions-nox11-72 PATCHDIR= ${.CURDIR}/../${PORTNAME}-71/files -EXTRACT_AFTER_ARGS= --exclude tools/*.x86 --exclude tools/*.amd64 --exclude Firmware +EXTRACT_AFTER_ARGS= --exclude tools/*.x86 \ + --exclude tools/*.amd64 \ + --exclude Firmware \ + --exclude kBuild/bin \ + --no-same-owner --no-same-permissions PORTSCOUT= limit:^7\.1\. WRKSRC= ${WRKDIR}/VirtualBox-${DISTVERSION} diff --git a/emulators/virtualbox-ose-additions-72/Makefile b/emulators/virtualbox-ose-additions-72/Makefile index c38c41aed669..1e087d2a9bab 100644 --- a/emulators/virtualbox-ose-additions-72/Makefile +++ b/emulators/virtualbox-ose-additions-72/Makefile @@ -47,7 +47,11 @@ CONFLICTS_INSTALL= virtualbox-ose-additions-legacy \ virtualbox-ose-additions-nox11-71 PATCHDIR= ${.CURDIR}/../${PORTNAME}-72/files -EXTRACT_AFTER_ARGS= --exclude tools/*.x86 --exclude tools/*.amd64 --exclude Firmware +EXTRACT_AFTER_ARGS= --exclude tools/*.x86 \ + --exclude tools/*.amd64 \ + --exclude Firmware \ + --exclude kBuild/bin \ + --no-same-owner --no-same-permissions PORTSCOUT= limit:^7\.2\. WRKSRC= ${WRKDIR}/VirtualBox-${DISTVERSION} diff --git a/emulators/virtualbox-ose-additions-legacy/Makefile b/emulators/virtualbox-ose-additions-legacy/Makefile index c08b94a7963e..db4b8ebbe269 100644 --- a/emulators/virtualbox-ose-additions-legacy/Makefile +++ b/emulators/virtualbox-ose-additions-legacy/Makefile @@ -47,7 +47,11 @@ CONFLICTS_INSTALL= virtualbox-ose-additions \ virtualbox-ose-additions-nox11-72 PATCHDIR= ${.CURDIR}/../${PORTNAME}-legacy/files -EXTRACT_AFTER_ARGS= --exclude tools/*.x86 --exclude tools/*.amd64 --exclude Firmware +EXTRACT_AFTER_ARGS= --exclude tools/*.x86 \ + --exclude tools/*.amd64 \ + --exclude Firmware \ + --exclude kBuild/bin \ + --no-same-owner --no-same-permissions PORTSCOUT= limit:^5\. WRKSRC= ${WRKDIR}/VirtualBox-${DISTVERSION} @@ -150,6 +154,8 @@ post-patch-X11-on: ${WRKSRC}/LocalConfig.kmk pre-build: + @${ECHO_CMD} 'export PATH_KBUILD="${WRKSRC}/kBuild"' >> ${WRKSRC}/env.sh + @${ECHO_CMD} 'export PATH_DEVTOOLS="${WRKSRC}/tools"' >> ${WRKSRC}/env.sh cd ${WRKSRC} && ${SH} -c \ ". env.sh && ${KMK_CONFIG} ${LOCALBASE}/bin/kmk" diff --git a/emulators/virtualbox-ose-additions/Makefile b/emulators/virtualbox-ose-additions/Makefile index fb8245fa6633..967dbf287ba8 100644 --- a/emulators/virtualbox-ose-additions/Makefile +++ b/emulators/virtualbox-ose-additions/Makefile @@ -50,7 +50,11 @@ CONFLICTS_INSTALL= virtualbox-ose-additions-legacy \ virtualbox-ose-additions-nox11-72 PATCHDIR= ${.CURDIR}/../${PORTNAME}/files -EXTRACT_AFTER_ARGS= --exclude tools/*.x86 --exclude tools/*.amd64 --exclude Firmware +EXTRACT_AFTER_ARGS= --exclude tools/*.x86 \ + --exclude tools/*.amd64 \ + --exclude Firmware \ + --exclude kBuild/bin \ + --no-same-owner --no-same-permissions PORTSCOUT= limit:^6\. WRKSRC= ${WRKDIR}/VirtualBox-${DISTVERSION} @@ -141,6 +145,8 @@ post-patch-X11-on: ${WRKSRC}/LocalConfig.kmk pre-build: + @${ECHO_CMD} 'export PATH_KBUILD="${WRKSRC}/kBuild"' >> ${WRKSRC}/env.sh + @${ECHO_CMD} 'export PATH_DEVTOOLS="${WRKSRC}/tools"' >> ${WRKSRC}/env.sh cd ${WRKSRC} && ${SH} -c \ ". env.sh && ${KMK_CONFIG} ${LOCALBASE}/bin/kmk" diff --git a/emulators/virtualbox-ose-kmod-70/Makefile b/emulators/virtualbox-ose-kmod-70/Makefile index c4935d35c4bd..48d3fdd85d7f 100644 --- a/emulators/virtualbox-ose-kmod-70/Makefile +++ b/emulators/virtualbox-ose-kmod-70/Makefile @@ -42,6 +42,8 @@ CONFLICTS_INSTALL= virtualbox-ose-kmod-legacy \ virtualbox-ose-kmod-72 PATCHDIR= ${.CURDIR}/../${PORTNAME}-70/files +EXTRACT_AFTER_ARGS= --exclude kBuild/bin \ + --no-same-owner --no-same-permissions PORTSCOUT= limit:^7\.0\. SUB_FILES= pkg-message SUB_LIST= OPSYS=${OPSYS} OSREL=${OSREL} diff --git a/emulators/virtualbox-ose-kmod-71/Makefile b/emulators/virtualbox-ose-kmod-71/Makefile index 8d15a72b4cb5..113e9c968ad9 100644 --- a/emulators/virtualbox-ose-kmod-71/Makefile +++ b/emulators/virtualbox-ose-kmod-71/Makefile @@ -39,6 +39,8 @@ CONFLICTS_INSTALL= virtualbox-ose-kmod-legacy \ virtualbox-ose-kmod-72 PATCHDIR= ${.CURDIR}/../${PORTNAME}-71/files +EXTRACT_AFTER_ARGS= --exclude kBuild/bin \ + --no-same-owner --no-same-permissions PORTSCOUT= limit:^7\.1\. SUB_FILES= pkg-message SUB_LIST= OPSYS=${OPSYS} OSREL=${OSREL} diff --git a/emulators/virtualbox-ose-kmod-72/Makefile b/emulators/virtualbox-ose-kmod-72/Makefile index 0369e50dc7c3..e8c57dbb65f1 100644 --- a/emulators/virtualbox-ose-kmod-72/Makefile +++ b/emulators/virtualbox-ose-kmod-72/Makefile @@ -38,6 +38,8 @@ CONFLICTS_INSTALL= virtualbox-ose-kmod-legacy \ virtualbox-ose-kmod-70 PATCHDIR= ${.CURDIR}/../${PORTNAME}-72/files +EXTRACT_AFTER_ARGS= --exclude kBuild/bin \ + --no-same-owner --no-same-permissions PORTSCOUT= limit:^7\.2\. SUB_FILES= pkg-message SUB_LIST= OPSYS=${OPSYS} OSREL=${OSREL} diff --git a/emulators/virtualbox-ose-kmod-legacy/Makefile b/emulators/virtualbox-ose-kmod-legacy/Makefile index ba05f9a005aa..5165b4d49dd4 100644 --- a/emulators/virtualbox-ose-kmod-legacy/Makefile +++ b/emulators/virtualbox-ose-kmod-legacy/Makefile @@ -40,6 +40,8 @@ CONFLICTS_INSTALL= virtualbox-ose-kmod \ virtualbox-ose-kmod-72 PATCHDIR= ${.CURDIR}/../${PORTNAME}-legacy/files +EXTRACT_AFTER_ARGS= --exclude kBuild/bin \ + --no-same-owner --no-same-permissions PORTSCOUT= limit:^5\. SUB_FILES= pkg-message SUB_LIST= OPSYS=${OPSYS} OSREL=${OSREL} diff --git a/emulators/virtualbox-ose-kmod/Makefile b/emulators/virtualbox-ose-kmod/Makefile index 68dd80374111..ac8e7a44e5f1 100644 --- a/emulators/virtualbox-ose-kmod/Makefile +++ b/emulators/virtualbox-ose-kmod/Makefile @@ -43,6 +43,8 @@ CONFLICTS_INSTALL= virtualbox-ose-kmod-legacy \ virtualbox-ose-kmod-72 PATCHDIR= ${.CURDIR}/../${PORTNAME}/files +EXTRACT_AFTER_ARGS= --exclude kBuild/bin \ + --no-same-owner --no-same-permissions PORTSCOUT= limit:^6\. SUB_FILES= pkg-message SUB_LIST= OPSYS=${OPSYS} OSREL=${OSREL} diff --git a/emulators/virtualbox-ose-legacy/Makefile b/emulators/virtualbox-ose-legacy/Makefile index 8db78e61efac..b201dc6a4698 100644 --- a/emulators/virtualbox-ose-legacy/Makefile +++ b/emulators/virtualbox-ose-legacy/Makefile @@ -48,6 +48,8 @@ CONFLICTS_INSTALL= virtualbox-ose \ virtualbox-ose-72 \ virtualbox-ose-nox11-72 +EXTRACT_AFTER_ARGS= --exclude kBuild/bin \ + --no-same-owner --no-same-permissions PORTSCOUT= limit:^5\. SUB_LIST= VBOXDIR=${VBOX_DIR} \ VBOXGROUP=${VBOXGROUP} \ @@ -318,6 +320,8 @@ post-patch: ${WRKSRC}/src/VBox/Runtime/generic/http-curl.cpp do-build: + @${ECHO_CMD} 'export PATH_KBUILD="${WRKSRC}/kBuild"' >> ${WRKSRC}/env.sh + @${ECHO_CMD} 'export PATH_DEVTOOLS="${WRKSRC}/tools"' >> ${WRKSRC}/env.sh cd ${WRKSRC} && ${SH} -c '. ${WRKSRC}/env.sh && \ ${SETENV} ${MAKE_ENV} ${KMK_CONFIG} ${LOCALBASE}/bin/kmk ${KMK_FLAGS}' .if ${PORT_OPTIONS:MPYTHON} diff --git a/emulators/virtualbox-ose/Makefile b/emulators/virtualbox-ose/Makefile index f6f9483a06e9..11ff14752ee6 100644 --- a/emulators/virtualbox-ose/Makefile +++ b/emulators/virtualbox-ose/Makefile @@ -49,6 +49,8 @@ CONFLICTS_INSTALL= virtualbox-ose-legacy \ virtualbox-ose-72 \ virtualbox-ose-nox11-72 +EXTRACT_AFTER_ARGS= --exclude kBuild/bin \ + --no-same-owner --no-same-permissions PORTSCOUT= limit:^6\. SUB_FILES= pkg-message SUB_LIST= VBOXDIR=${VBOX_DIR} \ @@ -339,6 +341,8 @@ post-patch-AIO-off: ${WRKSRC}/src/VBox/Runtime/Makefile.kmk do-build: + @${ECHO_CMD} 'export PATH_KBUILD="${WRKSRC}/kBuild"' >> ${WRKSRC}/env.sh + @${ECHO_CMD} 'export PATH_DEVTOOLS="${WRKSRC}/tools"' >> ${WRKSRC}/env.sh cd ${WRKSRC} && ${SH} -c '. ${WRKSRC}/env.sh && \ ${SETENV} ${MAKE_ENV} ${KMK_CONFIG} ${LOCALBASE}/bin/kmk ${KMK_FLAGS}' .if ${PORT_OPTIONS:MPYTHON}home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6982427d.27a66.4f2eac79>
