Skip to content

Commit a8c7798

Browse files
committed
Map openssl to libressl
OpenSSL gained support for the QUIC APIs that ngtcp2 needed so it replaced the libressl feature with openssl. Use an overlay port to fix the build of ngtcp2.
1 parent 8bab95e commit a8c7798

File tree

6 files changed

+31
-1
lines changed

6 files changed

+31
-1
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ jobs:
112112
id: ngtcp2
113113
if: steps.libressl.outcome == 'success'
114114
continue-on-error: true
115-
run: ./vcpkg.exe install ngtcp2[libressl] --overlay-ports ./WebKitRequirements/ports --overlay-triplets ./WebKitRequirements/triplets --triplet ${{ matrix.triplet }}
115+
run: ./vcpkg.exe install ngtcp2[openssl] --overlay-ports ./WebKitRequirements/ports --overlay-triplets ./WebKitRequirements/triplets --triplet ${{ matrix.triplet }}
116116
- name: Read ngtcp2 config
117117
if: steps.ngtcp2.outcome == 'success' || steps.ngtcp2.outcome == 'failure'
118118
continue-on-error: true

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ of third party libraries used in the Windows port of WebKit.
1212
| Library | Version | Release Date | Reason for Overlay |
1313
|---|:---:|:---:|---|
1414
| [icu](http://site.icu-project.org) | 77.1 | 2025-03-13 | CMake port. Upstream pinned to 74.1 |
15+
| [openssl](https://www.libressl.org/) | libressl | N/A | Map openssl to libressl |
1516
| [zlib](https://github.com/zlib-ng/zlib-ng) | zlib-ng | N/A | Map zlib to zlib-ng |
1617
| [curl](https://curl.se) | 8.13.0 | 2025-04-02 | Customization of build options, and release candidates |
1718
| [cairo](https://gitlab.freedesktop.org/cairo/cairo) | 1.18.2 | 2024-09-01 | CMake port. Will remove when cairo taken out of WebKit |

ports/openssl/portfile.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Mapping openssl to libressl
2+
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)

ports/openssl/vcpkg.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"name": "openssl",
3+
"version-string": "libressl",
4+
"description": [
5+
"LibreSSL is a TLS/crypto stack.",
6+
"It was forked from OpenSSL in 2014 by the OpenBSD project, with goals of modernizing the codebase, improving security, and applying best practice development processes.",
7+
"LibreSSL provides much of the OpenSSL 1.1 API. Incompatibilities between the projects exist and are unavoidable since both evolve with different goals and priorities."
8+
],
9+
"homepage": "https://www.libressl.org",
10+
"license": "ISC",
11+
"dependencies": [
12+
"libressl"
13+
]
14+
}

versions/baseline.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
"baseline": "77.1.0",
1313
"port-version": 0
1414
},
15+
"openssl": {
16+
"baseline": "libressl",
17+
"port-version": 0
18+
},
1519
"zlib": {
1620
"baseline": "zlib-ng",
1721
"port-version": 0

versions/o-/openssl.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"versions": [
3+
{
4+
"git-tree": "49722904b3d436ac499fc122102558b10ee73be1",
5+
"version-string": "libressl",
6+
"port-version": 0
7+
}
8+
]
9+
}

0 commit comments

Comments
 (0)