VirtualBox

Changes between Version 64 and Version 65 of Mac OS X build instructions


Ignore:
Timestamp:
Aug 31, 2011 2:36:06 PM (13 years ago)
Author:
Christian Pötzsch
Comment:

Hardening update

Legend:

Unmodified
Added
Removed
Modified
  • Mac OS X build instructions

    v64 v65  
    7979 3. Run {{{./VirtualBox}}}
    8080
    81 == Building and using hardening builds ==
     81== Building OSE packages for distribution ==
    8282
    83 For any distribution builds hardening should be enabled for security reasons. Hardening needs some additional configuration and post-build steps. The default install directory of !VirtualBox is `/Applications/VirtualBox.app/`. If you like to change that, say into `/Applications/OpenSource/VirtualBox.app/`, you need to add the following to the `LocalConfig.kmk`:
     83Never disable hardening (see previous section) when creating packages for redistribution.
     84
     85Hardening needs some additional configuration and post-build steps. The default install directory of !VirtualBox is `/Applications/VirtualBox.app/`. If you like to change that, say into `/Applications/OpenSource/VirtualBox.app/`, you need to add the following to the `LocalConfig.kmk`:
    8486{{{
    8587VBOX_PATH_APP_PRIVATE      = "/Applications/OpenSource/VirtualBox.app/Contents/MacOS"
     
    8789VBOX_PATH_SHARED_LIBS      = "/Applications/OpenSource/VirtualBox.app/Contents/MacOS"
    8890VBOX_PATH_APP_DOCS         = "/Applications/OpenSource/VirtualBox.app/Contents/MacOS"
     91}}}
     92It may also make sense to disable some of the development only stuff, like test cases. Add the following to `LocalConfig.kmk`:
     93{{{
     94VBOX_WITH_TESTSUITE=
     95VBOX_WITH_TESTCASES=
    8996}}}
    9097Next rebuild !VirtualBox and install it into `/Applications/OpenSource/`. Now make sure that the setuid stubs have the correct permissions:

© 2023 Oracle
ContactPrivacy policyTerms of Use