From e389610bc24a0eefd06a2c62713b12ff2511c6c9 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Tue, 28 Feb 2023 21:55:19 -0500 Subject: [PATCH] Add patch to fix OpenSSL shared build Signed-off-by: Stephen Gallagher --- 0001-Remove-unused-OpenSSL-config.patch | 45 +++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 0001-Remove-unused-OpenSSL-config.patch diff --git a/0001-Remove-unused-OpenSSL-config.patch b/0001-Remove-unused-OpenSSL-config.patch new file mode 100644 index 0000000..b50e16c --- /dev/null +++ b/0001-Remove-unused-OpenSSL-config.patch @@ -0,0 +1,45 @@ +From ff8035bf1039a63785cbb325b24f1d9520b17854 Mon Sep 17 00:00:00 2001 +From: Stephen Gallagher +Date: Fri, 17 Apr 2020 12:59:44 +0200 +Subject: [PATCH] Remove unused OpenSSL config + +The build process will try to create these config files, even when +using the system OpenSSL and will thus fail since we strip this path +from the tarball. + +Signed-off-by: Stephen Gallagher +--- + node.gyp | 17 ----------------- + 1 file changed, 17 deletions(-) + +diff --git a/node.gyp b/node.gyp +index 6d1b2bf36902cf54f33513873441c403c2e7ee3d..e5c1f696ffb14421df1a5626be6cf1c6738d870e 100644 +--- a/node.gyp ++++ b/node.gyp +@@ -421,23 +421,6 @@ + ], + }, + ], +- }, { +- 'variables': { +- 'opensslconfig_internal': '<(obj_dir)/deps/openssl/openssl.cnf', +- 'opensslconfig': './deps/openssl/nodejs-openssl.cnf', +- }, +- 'actions': [ +- { +- 'action_name': 'reset_openssl_cnf', +- 'inputs': [ '<(opensslconfig)', ], +- 'outputs': [ '<(opensslconfig_internal)', ], +- 'action': [ +- '<(python)', 'tools/copyfile.py', +- '<(opensslconfig)', +- '<(opensslconfig_internal)', +- ], +- }, +- ], + }], + ], + }, # node_core_target_name +-- +2.39.2 +