[libressl] Fix GitHub download URL (#42218)

This commit is contained in:
Don Olmstead 2024-11-18 21:28:27 -08:00 committed by GitHub
parent d14bd2b23d
commit 0661551e76
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 8 additions and 9 deletions

View File

@ -5,23 +5,16 @@ endif()
vcpkg_download_distfile( vcpkg_download_distfile(
LIBRESSL_SOURCE_ARCHIVE LIBRESSL_SOURCE_ARCHIVE
URLS "https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${PORT}-${VERSION}.tar.gz" URLS "https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${PORT}-${VERSION}.tar.gz"
"https://github.com/libressl/portable/releases/download/v{VERSION}/${PORT}-${VERSION}.tar.gz" "https://github.com/libressl/portable/releases/download/v${VERSION}/${PORT}-${VERSION}.tar.gz"
FILENAME "${PORT}-${VERSION}.tar.gz" FILENAME "${PORT}-${VERSION}.tar.gz"
SHA512 b5ec6d1f4e3842ecb487f9a67d86db658d05cbe8cd3fcba61172affa8c65c5d0823aa244065a7233f06c669d04a5a36517c02a2d99d2f2da3c4df729ac243b37 SHA512 b5ec6d1f4e3842ecb487f9a67d86db658d05cbe8cd3fcba61172affa8c65c5d0823aa244065a7233f06c669d04a5a36517c02a2d99d2f2da3c4df729ac243b37
) )
vcpkg_download_distfile(WARNINGS_REMOVAL_PATCH
URLS https://github.com/libressl/portable/commit/1996dbc07d129cf2b1d32be384a131b9e6fa5373.diff?full_index=1
FILENAME Disable-additional-MSVC-warnings.patch
SHA512 8e32bd2b14c84a9e7106d5bc0ffc9f6bea712db2087c7b944e9b41a3a6cca0b09adcee2cff9bfd136060d539a34f7dc7d9283ec1c058028cc15410475790f4b6
)
vcpkg_extract_source_archive( vcpkg_extract_source_archive(
SOURCE_PATH SOURCE_PATH
ARCHIVE "${LIBRESSL_SOURCE_ARCHIVE}" ARCHIVE "${LIBRESSL_SOURCE_ARCHIVE}"
PATCHES PATCHES
pkgconfig.diff pkgconfig.diff
${WARNINGS_REMOVAL_PATCH}
) )
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS

View File

@ -1,6 +1,7 @@
{ {
"name": "libressl", "name": "libressl",
"version": "4.0.0", "version": "4.0.0",
"port-version": 1,
"description": [ "description": [
"LibreSSL is a TLS/crypto stack.", "LibreSSL is a TLS/crypto stack.",
"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.", "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.",

View File

@ -5046,7 +5046,7 @@
}, },
"libressl": { "libressl": {
"baseline": "4.0.0", "baseline": "4.0.0",
"port-version": 0 "port-version": 1
}, },
"librsvg": { "librsvg": {
"baseline": "2.40.20", "baseline": "2.40.20",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "becbc2d569c392b3f2d60027db3797b51839c53a",
"version": "4.0.0",
"port-version": 1
},
{ {
"git-tree": "b734f8a265b1b45c5cbf6ebedf32e8aca340807f", "git-tree": "b734f8a265b1b45c5cbf6ebedf32e8aca340807f",
"version": "4.0.0", "version": "4.0.0",