diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2022-11-29 14:28:54 +0100 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2022-11-29 19:25:16 +0100 |
commit | 54dba44317a34835dca271c5b265770c20284bfc (patch) | |
tree | 0111a78f017dac221682bd4f8a1d88554a6e1aff /pkgs/tools/admin/meshcentral/fix-js-include-paths.patch | |
parent | 24fbf8323c15e3d9e512b4d41aa98fd2a6407635 (diff) |
meshcentral: 1.0.18 -> 1.1.0
Diffstat (limited to 'pkgs/tools/admin/meshcentral/fix-js-include-paths.patch')
-rw-r--r-- | pkgs/tools/admin/meshcentral/fix-js-include-paths.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/tools/admin/meshcentral/fix-js-include-paths.patch b/pkgs/tools/admin/meshcentral/fix-js-include-paths.patch new file mode 100644 index 0000000000000..3fdbc033c9da9 --- /dev/null +++ b/pkgs/tools/admin/meshcentral/fix-js-include-paths.patch @@ -0,0 +1,31 @@ +diff --git a/pkcs7-modified.js b/pkcs7-modified.js +index 661904a6..932a41ad 100644 +--- a/pkcs7-modified.js ++++ b/pkcs7-modified.js +@@ -31,16 +31,16 @@ try { + } catch (ex) { } + + if (forge == null) { +- forge = require('./node_modules/node-forge/lib/forge'); +- require('./node_modules/node-forge/lib/aes'); +- require('./node_modules/node-forge/lib/asn1'); +- require('./node_modules/node-forge/lib/des'); +- require('./node_modules/node-forge/lib/oids'); +- require('./node_modules/node-forge/lib/pem'); +- require('./node_modules/node-forge/lib/pkcs7asn1'); +- require('./node_modules/node-forge/lib/random'); +- require('./node_modules/node-forge/lib/util'); +- require('./node_modules/node-forge/lib/x509'); ++ forge = require('node-forge/lib/forge'); ++ require('node-forge/lib/aes'); ++ require('node-forge/lib/asn1'); ++ require('node-forge/lib/des'); ++ require('node-forge/lib/oids'); ++ require('node-forge/lib/pem'); ++ require('node-forge/lib/pkcs7asn1'); ++ require('node-forge/lib/random'); ++ require('node-forge/lib/util'); ++ require('node-forge/lib/x509'); + } + + // shortcut for ASN.1 API |