Changeset 61929 in vbox
- Timestamp:
- Jun 29, 2016 12:22:39 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 108368
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r61923 r61929 3120 3120 # @param 1 The bundle to sign. 3121 3121 # @param 2 Identifier, optional. 3122 ifdef VBOX_NOT_OSX_1053123 3122 VBOX_SIGN_VMM_MOD_FN = $(VBOX_SIGN_MACHO_FN) 3124 else3125 VBOX_SIGN_VMM_MOD_FN = $(call MSG_TOOL,SIGNTOOL,,$(1),$(2))$(NLTAB)$(VBOX_CODESIGN) \3126 --verbose=9 \3127 --force \3128 --file-list - \3129 $(VBOX_CERTIFICATE_SUBJECT_NAME_ARGS) \3130 $(1) -D $(1).codesign \3131 $(if $(2),--identifier "$(2)",)3132 endif3133 3123 3134 3124 ## Sign a non-executable file. 3135 3125 # @param 1 The bundle to sign. 3136 3126 # @param 2 Identifier, optional. 3137 ifdef VBOX_NOT_OSX_1053138 3127 VBOX_SIGN_FILE_FN = $(call MSG_TOOL,SIGNTOOL,,$(1),$(2))$(NLTAB)$(VBOX_CODESIGN) \ 3139 3128 --verbose=9 \ … … 3143 3132 $(1) \ 3144 3133 $(if $(2),--identifier "$(2)",) 3145 else3146 VBOX_SIGN_FILE_FN =3147 endif3148 3149 3134 3150 3135 ## @def VBOX_TEST_SIGN_KEXT -
trunk/src/VBox/Installer/darwin/Makefile.kmk
r61927 r61929 136 136 @# Populate the image with uninstaller, readme, picture, and .VolumeIcon.icns. (TODO) 137 137 $(INSTALL) $(VBOX_PATH_DI_SRC)/DiskImage/VirtualBox_Uninstall.tool $(VBOX_PATH_PACK_TMP)/DiskImage/ 138 if defined(VBOX_SIGNING_MODE) && defined(VBOX_NOT_OSX_105)138 ifdef VBOX_SIGNING_MODE 139 139 $(call VBOX_SIGN_FILE_FN,$(VBOX_PATH_PACK_TMP)/DiskImage/VirtualBox_Uninstall.tool,org.virtualbox.dmg.uninstaller) 140 140 endif … … 538 538 $(foreach qtmod, $(VBOX_QT_MOD_NAMES) \ 539 539 ,Frameworks/$(qtmod).framework/Versions/Current=>$(VBOX_QT_VERSION_MAJOR) ) 540 ifndef VBOX_NOT_OSX_105541 VBOX_DI_VBAPP_SYMLINKS += $(foreach qtmod, $(VBOX_QT_MOD_NAMES) \542 ,Frameworks/$(qtmod).framework/$(qtmod)=>Versions/$(VBOX_QT_VERSION_MAJOR)/$(qtmod) \543 Frameworks/$(qtmod).framework/Resources=>Versions/$(VBOX_QT_VERSION_MAJOR)/Resources/ )544 endif545 540 546 541 ifdef VBOX_WITH_PYTHON … … 747 742 $(foreach bin, $(VBOX_DI_VBAPP_UNIVERSAL_PROGS) \ 748 743 , $(NLTAB)$(call VBOX_SIGN_MACHO_FN,$(VBOX_PATH_VBOX_APP_TMP)/Contents/$(bin),org.virtualbox.app.macos.$(notdir $(bin))) ) 749 ifdef VBOX_NOT_OSX_105 ## @todo Move as much stuff out of MacOS/ as possible!!750 744 $(foreach other, $(VBOX_DI_VBAPP_OTHER_UNIVERSAL_BINS) $(VBOX_DI_VBAPP_OTHER_BINS)\ 751 745 , $(NLTAB)$(call VBOX_SIGN_MACHO_FN,$(VBOX_PATH_VBOX_APP_TMP)/Contents/$(other),org.virtualbox.app.macos.$(notdir $(other))) ) … … 770 764 $(call VBOX_SIGN_BUNDLE_FN,$(VBOX_PATH_VBOX_APP_TMP)/Contents/Resources/vmstarter.app,,) 771 765 $(call VBOX_SIGN_BUNDLE_FN,$(VBOX_PATH_VBOX_APP_TMP),,--deep) 772 else773 $(foreach other, $(VBOX_DI_VBAPP_OTHER_UNIVERSAL_BINS) $(VBOX_DI_VBAPP_OTHER_BINS) \774 , $(NLTAB)$(call VBOX_SIGN_VMM_MOD_FN,$(VBOX_PATH_VBOX_APP_TMP)/Contents/$(other),org.virtualbox.app.macos.$(notdir $(other))) )775 $(foreach bin, $(VBOX_DI_VBAPP_PROGS) \776 , $(NLTAB)$(call VBOX_SIGN_MACHO_FN,$(VBOX_PATH_VBOX_APP_TMP)/Contents/$(bin),org.virtualbox.app.macos.$(notdir $(bin))) )777 endif778 766 endif 779 767 @# Set the correct owner and set the set-user-ID-on-execution bit on the relevant executables. … … 813 801 --install-location /Applications/ \ 814 802 --ownership preserve \ 815 $(if-expr defined(VBOX_NOT_OSX_105),--preserve-xattr,)\803 --preserve-xattr \ 816 804 $(if $(VBOX_MACOSX_INSTALLER_SIGN),--sign "$(VBOX_MACOSX_INSTALLER_SIGN)",) \ 817 805 $@
Note:
See TracChangeset
for help on using the changeset viewer.