Bug 265592 - emulators/virtualbox-ose: Port missing Virtualbox Guest Additions
Summary: emulators/virtualbox-ose: Port missing Virtualbox Guest Additions
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Virtualbox Team (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-03 08:41 UTC by Robert
Modified: 2022-08-04 19:25 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert 2022-08-03 08:41:11 UTC
After upgrading virtualbox-ose-6.1.32 to virtualbox-ose-6.1.36 via 'pkg upgrade' the guest additions (here: VBoxGuestAdditions_6.1.32.iso) do not get upgraded.

I'm running Windows et al. as guests in Virtualbox on FreeBSD-12.3 as a host, thus I don't need the guest additions for FreeBSD guests in emulators/virtualbox-ose-additions.
Instead a download of the CD-image from https://download.virtualbox.org/virtualbox/6.1.36/VBoxGuestAdditions_6.1.36.iso is needed.
Comment 1 Guido Falsi freebsd_committer freebsd_triage 2022-08-03 19:42:31 UTC
Hi,

Thanks for reporting.

The virtualbox-ose port has the GUESTADDITIONS option turned off by default, so it is NOT installing the ISO file you are looking up by default. The default has been unmodified for a long time.

Are you using the project provided packages?

If you are building your own packages you should enable such option.

If you're using default packages or have not enable the option I'd mark this as "works as intended".

If you confirm you are building the package with the GUESTADDITIONS option turned on, then it needs further investigation, but on my system it is working as expected.
Comment 2 Guido Falsi freebsd_committer freebsd_triage 2022-08-03 19:43:57 UTC
(In reply to Guido Falsi from comment #1)

BTW if you think the default should be changed please file a separate bug about that, but since downloading the additions manually is quite simple I'd avoid that, since it would cause the package to be bigger for everyone, including people not needing additions.
Comment 3 Robert 2022-08-04 18:39:18 UTC
Yes, usually I prefer to use the prebuild pkgs so that my system doesn't get 
polluted with a huge number of unneccessary ports only used for building.
I would vote for enabling GUESTADDITIONS in the prebuild pkg or at least 
providing a pseudo-pkg to download the ISO matching the current version.

However, since I have trouble getting virtualbox work again after the 
upgrade due to the security advisory, I compiled it from the ports -- 
without success though (and, yes, the ISO got downloaded as I have 
GUESTADDITIONS enabled by default).
However, I'm afraid, next time I'll need to search for the URL to the 
ISO again.
Comment 4 Guido Falsi freebsd_committer freebsd_triage 2022-08-04 19:25:21 UTC
(In reply to Robert from comment #3)

> I would vote for enabling GUESTADDITIONS in the prebuild pkg or at least 
providing a pseudo-pkg to download the ISO matching the current version.

You should file a separate bug report requesting this change, maybe providing patches.

I'm personally not in favor of such a change, so I will not be the one making/committing it, but if someone else wants to do this I will not be an obstacle.