38 COMPONENT_ARCHIVE_HASH= \ |
38 COMPONENT_ARCHIVE_HASH= \ |
39 sha256:3c179f46ca77069a6a0bac70212a9b3b838b2f66129cb52d568837fc79d8fcc7 |
39 sha256:3c179f46ca77069a6a0bac70212a9b3b838b2f66129cb52d568837fc79d8fcc7 |
40 COMPONENT_ARCHIVE_URL = $(COMPONENT_PROJECT_URL)source/$(COMPONENT_ARCHIVE) |
40 COMPONENT_ARCHIVE_URL = $(COMPONENT_PROJECT_URL)source/$(COMPONENT_ARCHIVE) |
41 COMPONENT_BUGDB= utility/openssl |
41 COMPONENT_BUGDB= utility/openssl |
42 |
42 |
43 # OpenSSL FIPS 2.0.5 directory |
43 # OpenSSL FIPS directory |
44 OPENSSL_FIPS_DIR = $(COMPONENT_DIR)/../openssl-fips |
44 OPENSSL_FIPS_DIR = $(COMPONENT_DIR)/../openssl-fips |
45 |
45 |
46 # Note that the SPARC patch above does not fit this pattern. That is intentional |
46 # Note that the SPARC patch above does not fit this pattern. That is intentional |
47 # and a reason why we can add it to the EXTRA_PATCHES variable so that we use it |
47 # and a reason why we can add it to the EXTRA_PATCHES variable so that we use it |
48 # only on SPARC. |
48 # only on SPARC. |
148 |
148 |
149 # We do not ship our engines as patches since it would be more difficult to |
149 # We do not ship our engines as patches since it would be more difficult to |
150 # update the files which have been under continuous development. We rather copy |
150 # update the files which have been under continuous development. We rather copy |
151 # the files to the right directories and let OpenSSL makefiles build it. |
151 # the files to the right directories and let OpenSSL makefiles build it. |
152 # We also copy some FIPS specific header files needed to build FIPS version |
152 # We also copy some FIPS specific header files needed to build FIPS version |
153 # of OpenSSL from FIPS module (openssl-fips-ecp-2.0.5). |
153 # of OpenSSL from FIPS module. |
154 COMPONENT_PRE_BUILD_ACTION = \ |
154 COMPONENT_PRE_BUILD_ACTION = \ |
155 ( $(LN) -fs $(COMPONENT_DIR)/engines/pkcs11/* $(@D)/engines; \ |
155 ( $(LN) -fs $(COMPONENT_DIR)/engines/pkcs11/* $(@D)/engines; \ |
156 $(MKDIR) $(@D)/bin; \ |
156 $(MKDIR) $(@D)/bin; \ |
157 $(LN) -fs $(OPENSSL_FIPS_DIR)/openssl-fips-ecp-2.0.5/fips/fips.h $(@D)/include/openssl; \ |
157 $(LN) -fs $(OPENSSL_FIPS_DIR)/openssl-fips-ecp-$(IPS_COMPONENT_VERSION)/fips/fips.h $(@D)/include/openssl; \ |
158 $(LN) -fs $(OPENSSL_FIPS_DIR)/openssl-fips-ecp-2.0.5/fips/fipssyms.h $(@D)/include/openssl; \ |
158 $(LN) -fs $(OPENSSL_FIPS_DIR)/openssl-fips-ecp-$(IPS_COMPONENT_VERSION)/fips/fipssyms.h $(@D)/include/openssl; \ |
159 $(LN) -fs $(OPENSSL_FIPS_DIR)/openssl-fips-ecp-2.0.5/fips/rand/fips_rand.h $(@D)/include/openssl; \ |
159 $(LN) -fs $(OPENSSL_FIPS_DIR)/openssl-fips-ecp-$(IPS_COMPONENT_VERSION)/fips/rand/fips_rand.h $(@D)/include/openssl; \ |
160 $(LN) -fs $(OPENSSL_FIPS_DIR)/openssl-fips-ecp-2.0.5/fips/fipsld $(@D)/bin/; \ |
160 $(LN) -fs $(OPENSSL_FIPS_DIR)/openssl-fips-ecp-$(IPS_COMPONENT_VERSION)/fips/fipsld $(@D)/bin/; \ |
161 $(LN) -fs $(OPENSSL_FIPS_DIR)/build/$(MACH$(BITS))/fips/fips_standalone_sha1 $(@D)/bin/; \ |
161 $(LN) -fs $(OPENSSL_FIPS_DIR)/build/$(MACH$(BITS))/fips/fips_standalone_sha1 $(@D)/bin/; \ |
162 $(LN) -fs $(COMPONENT_DIR)/build/$(MACH$(BITS))/fips_premain_dso $(@D)/bin/;) |
162 $(LN) -fs $(COMPONENT_DIR)/build/$(MACH$(BITS))/fips_premain_dso $(@D)/bin/;) |
163 |
163 |
164 # OpenSSL does not install into <dir>/$(MACH64) for 64-bit install so no such |
164 # OpenSSL does not install into <dir>/$(MACH64) for 64-bit install so no such |
165 # directory is created and Userland install code would fail when installing lint |
165 # directory is created and Userland install code would fail when installing lint |