VirtualBox

Changeset 76818 in vbox for trunk/src/VBox/Installer/darwin


Ignore:
Timestamp:
Jan 14, 2019 4:17:07 PM (6 years ago)
Author:
vboxsync
Message:

Config.kmk, HostDrivers/Support, Main, FE/Qt, Installer: bugref:9049: Wipe out VBOX_GUI_WITH_SHARED_LIBRARY, leaving split GUI build as the only possible.

Location:
trunk/src/VBox/Installer/darwin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/darwin/Makefile.kmk

    r76614 r76818  
    407407endif
    408408ifdef VBOX_WITH_HARDENING
    409  ifndef VBOX_GUI_WITH_SHARED_LIBRARY
    410   VBOX_DI_VBAPP_DYLIBS += \
    411         MacOS/VirtualBox.dylib \
    412         MacOS/VBoxNetDHCP.dylib \
    413         MacOS/VBoxNetNAT.dylib \
    414         MacOS/VBoxHeadless.dylib
    415  else
    416   VBOX_DI_VBAPP_DYLIBS += \
    417         MacOS/VBoxGlobal.dylib \
    418         MacOS/VirtualBoxVM.dylib \
    419         MacOS/VBoxNetDHCP.dylib \
    420         MacOS/VBoxNetNAT.dylib \
    421         MacOS/VBoxHeadless.dylib
    422  endif
     409 VBOX_DI_VBAPP_DYLIBS += \
     410        MacOS/VBoxGlobal.dylib \
     411        MacOS/VirtualBoxVM.dylib \
     412        MacOS/VBoxNetDHCP.dylib \
     413        MacOS/VBoxNetNAT.dylib \
     414        MacOS/VBoxHeadless.dylib
    423415endif
    424416ifdef VBOX_WITH_HDDPARALLELS_INSTALL
     
    786778        sudo chmod u+s $(VBOX_PATH_VBOX_APP_TMP)/Contents/MacOS/VBoxNetAdpCtl
    787779ifdef VBOX_WITH_HARDENING
    788  ifndef VBOX_GUI_WITH_SHARED_LIBRARY
    789         sudo chmod u+s \
    790                 $(foreach bin,VBoxHeadless VirtualBox VirtualBoxVM VBoxNetDHCP VBoxNetNAT,\
    791                         $(VBOX_PATH_VBOX_APP_TMP)/Contents/MacOS/$(bin))
    792  else
    793780        sudo chmod u+s \
    794781                $(foreach bin,VBoxHeadless VirtualBoxVM VBoxNetDHCP VBoxNetNAT,\
    795782                        $(VBOX_PATH_VBOX_APP_TMP)/Contents/MacOS/$(bin))
    796  endif
    797783endif
    798784        @# Do keyword replacement in the package info and description files.
     
    809795        @# Copy the resources.
    810796        $(INSTALL) -m 0755 $(VBOX_PATH_DI_SRC)/VirtualBox/preflight                         $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.res/
    811 if defined(VBOX_WITH_HARDENING) && !defined(VBOX_GUI_WITH_SHARED_LIBRARY)
     797ifdef VBOX_WITH_HARDENING
    812798        $(INSTALL) -m 0755 $(VBOX_PATH_DI_SRC)/VirtualBox/postflight                        $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.res/
    813799else
    814         $(SED)  $(if-expr !defined(VBOX_WITH_HARDENING),-e '/WITH_HARDENING/d',) \
    815                 $(if-expr !defined(VBOX_GUI_WITH_SHARED_LIBRARY),-e '/WITH_SHARED_LIBRARY/d',-e '/WITHOUT_SHARED_LIBRARY/d') \
    816                 --output $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.res/postflight \
    817                 $(VBOX_PATH_DI_SRC)/VirtualBox/postflight
     800        $(SED) -s '/WITH_HARDENING/d' -o $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.res/postflight $(VBOX_PATH_DI_SRC)/VirtualBox/postflight
    818801        $(CHMOD) 0755 $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.res/postflight
    819802endif
     
    874857        $(APPEND) -tn  $(VBOX_PATH_PACK_TMP)/VirtualBoxCLI.pkg.root/usr/local/bin/VirtualBox \
    875858                '#!/bin/bash' 'exec /Applications/VirtualBox.app/Contents/MacOS/VirtualBox "$$@"'
    876 ifdef VBOX_GUI_WITH_SHARED_LIBRARY
    877859        $(APPEND) -tn  $(VBOX_PATH_PACK_TMP)/VirtualBoxCLI.pkg.root/usr/local/bin/VirtualBoxVM \
    878860                '#!/bin/bash' 'exec /Applications/VirtualBox.app/Contents/MacOS/VirtualBoxVM "$$@"'
    879 endif
    880861        $(APPEND) -tn  $(VBOX_PATH_PACK_TMP)/VirtualBoxCLI.pkg.root/usr/local/bin/VBoxManage \
    881862                '#!/bin/bash' 'exec /Applications/VirtualBox.app/Contents/MacOS/VBoxManage "$$@"'
  • trunk/src/VBox/Installer/darwin/VirtualBox/postflight

    r76553 r76818  
    9292SET_UID_BINARIES="VBoxNetAdpCtl"
    9393SET_UID_BINARIES="${SET_UID_BINARIES} VBoxHeadless VirtualBoxVM VBoxNetDHCP VBoxNetNAT" # WITH_HARDENING
    94 SET_UID_BINARIES="${SET_UID_BINARIES} VirtualBox"                                       # WITH_HARDENING WITHOUT_SHARED_LIBRARY
    9594for bin in ${SET_UID_BINARIES}; do
    9695    chmod u+s "/Applications/VirtualBox.app/Contents/MacOS/${bin}"
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette