-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR-URL: #43734 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
- Loading branch information
Showing
1 changed file
with
6 additions
and
55 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 |
---|---|---|
|
@@ -55,43 +55,11 @@ NASM version 2.11.08 | |
|
||
## 1. Obtain and extract new OpenSSL sources | ||
|
||
Get a new source from <https://github.com/quictls/openssl/tree/OpenSSL_1_1_1j+quic> | ||
Get a new source from <https://github.com/quictls/openssl/tree/openssl-3.0.5+quic> | ||
and copy all files into `deps/openssl/openssl`. Then add all files and commit | ||
them. (The link above, and the branch, will change with each new OpenSSL | ||
release). | ||
|
||
### OpenSSL 1.1.1 | ||
|
||
```console | ||
% git clone https://github.com/quictls/openssl | ||
% cd openssl | ||
% git checkout OpenSSL_1_1_1j+quic | ||
% cd ../node/deps/openssl | ||
% rm -rf openssl | ||
% cp -R ../../../openssl openssl | ||
% rm -rf openssl/.git* openssl/.travis* | ||
% git add --all openssl | ||
% git commit openssl | ||
``` | ||
|
||
The commit message can be written as (with the openssl version set | ||
to the relevant value): | ||
|
||
```text | ||
deps: upgrade openssl sources to OpenSSL_1_1_1j | ||
This updates all sources in deps/openssl/openssl by: | ||
$ git clone https://github.com/quictls/openssl | ||
$ cd openssl | ||
$ git checkout OpenSSL_1_1_1j+quic | ||
$ cd ../node/deps/openssl | ||
$ rm -rf openssl | ||
$ cp -R ../openssl openssl | ||
$ rm -rf openssl/.git* openssl/.travis* | ||
$ git add --all openssl | ||
$ git commit openssl | ||
``` | ||
|
||
### OpenSSL 3.x.x | ||
|
||
```console | ||
|
@@ -106,12 +74,12 @@ This updates all sources in deps/openssl/openssl by: | |
``` | ||
|
||
```text | ||
deps: upgrade openssl sources to quictls/openssl-3.0.2 | ||
deps: upgrade openssl sources to quictls/openssl-3.0.5+quic | ||
This updates all sources in deps/openssl/openssl by: | ||
$ git clone [email protected]:quictls/openssl.git | ||
$ cd openssl | ||
$ git checkout openssl-3.0.2+quic | ||
$ git checkout openssl-3.0.5+quic | ||
$ cd ../node/deps/openssl | ||
$ rm -rf openssl | ||
$ cp -R ../../../openssl openssl | ||
|
@@ -157,34 +125,17 @@ files if they are changed before committing: | |
|
||
```console | ||
% git add deps/openssl/config/archs | ||
% git add deps/openssl/openssl/include/crypto/bn_conf.h | ||
% git add deps/openssl/openssl/include/crypto/dso_conf.h | ||
% git add deps/openssl/openssl/include/openssl/opensslconf.h | ||
% git add deps/openssl/openssl | ||
% git commit | ||
``` | ||
|
||
The commit message can be written as (with the openssl version set | ||
to the relevant value): | ||
|
||
### OpenSSL 1.1.1 | ||
|
||
```text | ||
deps: update archs files for OpenSSL-1.1.1 | ||
After an OpenSSL source update, all the config files need to be | ||
regenerated and committed by: | ||
$ make -C deps/openssl/config | ||
$ git add deps/openssl/config/archs | ||
$ git add deps/openssl/openssl/include/crypto/bn_conf.h | ||
$ git add deps/openssl/openssl/include/crypto/dso_conf.h | ||
$ git add deps/openssl/openssl/include/openssl/opensslconf.h | ||
$ git commit | ||
``` | ||
|
||
### OpenSSL 3.0.x | ||
### OpenSSL 3.x.x | ||
|
||
```text | ||
deps: update archs files for quictls/openssl-3.0.0-alpha-16 | ||
deps: update archs files for quictls/openssl-3.0.5+quic | ||
After an OpenSSL source update, all the config files need to be | ||
regenerated and committed by: | ||
|