VirtualBox

Changeset 2681 in vbox


Ignore:
Timestamp:
May 16, 2007 10:24:43 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
21244
Message:

more code signing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r2680 r2681  
    834834
    835835# This is kind of bad, the returned string needs to be re-evaluated before use.
    836 # The reason for this hack is that the windows kmk_ash cannot deal with $((1+1)). 
     836# The reason for this hack is that the windows kmk_ash cannot deal with $((1+1)).
    837837VBOX_GCC_VERSION = $(shell \
    838838  $(1) -dumpversion | $(SED_EXT) 's|\([0-9]\)\.\([0-9]\)\.\([0-9]\)|$$(int-add $$(int-mul 10000, \1), $$(int-mul 100, \2), \3)|' )
     
    904904   endif
    905905  endif
    906   VBOX_SIGNTOOL    ?= $(VBOX_PATH_SELFSIGN)/SignTool.exe
    907   VBOX_SIGNABILITY ?= $(VBOX_PATH_SELFSIGN)/Signability.exe
     906  VBOX_SIGNTOOL ?= $(VBOX_PATH_SELFSIGN)/SignTool.exe
     907  VBOX_INF2CAT  ?= $(VBOX_PATH_SELFSIGN)/Inf2Cat.exe
    908908
    909909  # There are two signing modes; 'self' and 'release'.
     
    912912  else ifeq ($(strip $(VBOX_SIGNING_MODE)),release)
    913913   VBOX_CROSS_CERTIFICATE_FILE ?= $(VBOX_PATH_SELFSIGN)/MSCV-GlobalSign.cer
     914   VBOX_CERTIFICATE_SUBJECT_NAME ?= InnoTek Systemberatung GmbH
    914915   VBOX_CERTIFICATE_STORE ?= my
    915    VBOX_CERTIFICATE_SUBJECT_NAME ?= InnoTek Systemberatung GmbH
    916916   VBOX_TSA_URL ?= http://timestamp.verisign.com/scripts/timestamp.dll
    917917   VBOX_SIGN_DRIVER_CMDS = $(if $(eq $(tool_do),LINK_LIBRARY),,$(VBOX_SIGNTOOL) sign \
     
    926926                /n "$(VBOX_CERTIFICATE_SUBJECT_NAME)" \
    927927                $(out))
     928   ## Sign an MSI.
     929   # @param 1  The msi to sign.
    928930   VBOX_SIGN_MSI_FN      = $(VBOX_SIGNTOOL) sign \
    929931                /ac "$(VBOX_CROSS_CERTIFICATE_FILE)" \
     
    931933                /n "$(VBOX_CERTIFICATE_SUBJECT_NAME)" \
    932934                $(1)
    933         VBOX_MAKE_CAT64_FN   = $(VBOX_SIGNABILITY) /driver:$(2) /cat /auto /os:656
    934         VBOX_MAKE_CAT32_FN   = $(VBOX_SIGNABILITY) /driver:$(2) /cat /auto /os:298
     935   ## Create a security catalog file.
     936   # @param 1  The directory containing the stuff to sign.
     937   # @param 2  The expected .cat name. (Inf2Cat lowercases it)
     938   # @param 3  The list of OSes, separated by ';'.
     939   VBOX_MAKE_CAT_HLP_FN     = \
     940                $(RM) -f $(2)\
     941                $(NL)$(TAB)$(VBOX_INF2CAT) /driver:$(strip $(1)) /os:$(strip $(subst ;,$(COMMA),$(3))) /verbose \
     942                $(NL)$(TAB)$(MV) $(2) $(2)
     943   VBOX_MAKE_CAT64_FN   = $(call VBOX_MAKE_CAT_HLP_FN,$(1),$(2),XP_X64;Server2003_X64;Vista_X64)
     944   VBOX_MAKE_CAT32_FN   = $(call VBOX_MAKE_CAT_HLP_FN,$(1),$(2),2000;XP_X86;Server2003_X86;Vista_X86)
     945   ifeq ($(BUILD_TARGET_ARCH),x86)
     946    VBOX_MAKE_CAT_FN    = $(call VBOX_MAKE_CAT32_FN,$(1),$(2))
     947   else
     948    VBOX_MAKE_CAT_FN    = $(call VBOX_MAKE_CAT64_FN,$(1),$(2))
     949   endif
    935950  else
    936951   $(error Unknown VBOX_SIGNING_MODE: $(VBOX_SIGNING_MODE))
Note: See TracChangeset for help on using the changeset viewer.

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