-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deps: updated openssl upgrade instructions
Patching the s390 asm rules is no longer required. See: openssl/openssl#8351 PR-URL: #28212 Reviewed-By: Beth Griggs <[email protected]>
- Loading branch information
1 parent
ada0ed5
commit c59e0c2
Showing
1 changed file
with
3 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,49 +50,15 @@ This updates all sources in deps/openssl/openssl by: | |
$ git commit openssl | ||
``` | ||
### 2. Apply a floating patch | ||
Currently, one floating patch is needed to build S390 asm files: | ||
``` | ||
Author: Shigeki Ohtsu <[email protected]> | ||
Date: Wed Mar 7 23:52:52 2018 +0900 | ||
|
||
deps: add s390 asm rules for OpenSSL-1.1.0 | ||
|
||
This is a floating patch against OpenSSL-1.1.0 to generate asm files | ||
with Makefile rules and it is to be submitted to the upstream. | ||
|
||
Fixes: https://github.com/nodejs/node/issues/4270 | ||
PR-URL: https://github.com/nodejs/node/pull/19794 | ||
Reviewed-By: James M Snell <[email protected]> | ||
Reviewed-By: Rod Vagg <[email protected]> | ||
Reviewed-By: Michael Dawson <[email protected]> | ||
|
||
deps/openssl/openssl/crypto/poly1305/build.info | 2 ++ | ||
``` | ||
Find the SHA of the previous commit of this patch: | ||
```sh | ||
$ git log -n1 --oneline -- deps/openssl/openssl/crypto/poly1305/build.info | ||
``` | ||
|
||
Using the SHA found in the previous step, cherry pick it from the previous | ||
commit (with the openssl version in the commit message set to the relevant | ||
value): | ||
```sh | ||
$ git cherry-pick 45b9f5df6ff1548f01ed646ebee75e3f0873cefd | ||
``` | ||
|
||
|
||
### 3. Execute `make` in `deps/openssl/config` directory | ||
### 2. Execute `make` in `deps/openssl/config` directory | ||
Use `make` to regenerate all platform dependent files in | ||
`deps/openssl/config/archs/`: | ||
```sh | ||
$ cd deps/openssl/config; make | ||
``` | ||
|
||
### 4. Check diffs | ||
### 3. Check diffs | ||
|
||
Check diffs if updates are right. Even if no updates in openssl | ||
sources, `buildinf.h` files will be updated for they have a timestamp | ||
|
@@ -109,7 +75,7 @@ created. When source files or build options are updated in Windows, | |
it needs to change these two Makefiles by hand. If you are not sure, | ||
please ask @shigeki for details. | ||
|
||
### 5. Commit and make test | ||
### 4. Commit and make test | ||
|
||
Update all architecture dependent files. Do not forget to git add or remove | ||
files if they are changed before commit: | ||
|