mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 02:29:00 +08:00
[libsodium] Add comment about tag usage (#39388)
This commit is contained in:
parent
7e99074c28
commit
bc104c8f14
@ -1,3 +1,8 @@
|
||||
# libsodium has a special branching/tagging scheme, where regular version tags can actually be moved
|
||||
# as new patches are applied to that version. This means that we may get unexpected hash mismatches
|
||||
# when the upstream tag points to a new commit. To avoid this, we must make sure that we always
|
||||
# use a '-RELEASE' tag, since those seem to be fixed to a single commit.
|
||||
# See https://github.com/jedisct1/libsodium/issues/1373#issuecomment-2135172301 for more info.
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO jedisct1/libsodium
|
||||
@ -50,11 +55,11 @@ else()
|
||||
if(NOT VCPKG_TARGET_IS_MINGW)
|
||||
list(APPEND OPTIONS --disable-pie)
|
||||
endif()
|
||||
|
||||
|
||||
vcpkg_configure_make(
|
||||
AUTOCONFIG
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS ${OPTIONS}
|
||||
OPTIONS ${OPTIONS}
|
||||
)
|
||||
vcpkg_install_make()
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "libsodium",
|
||||
"version": "1.0.20",
|
||||
"port-version": 2,
|
||||
"port-version": 3,
|
||||
"description": "A modern and easy-to-use crypto library",
|
||||
"homepage": "https://libsodium.org/",
|
||||
"license": "ISC",
|
||||
|
@ -4978,7 +4978,7 @@
|
||||
},
|
||||
"libsodium": {
|
||||
"baseline": "1.0.20",
|
||||
"port-version": 2
|
||||
"port-version": 3
|
||||
},
|
||||
"libsonic": {
|
||||
"baseline": "0.2.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "6dcb750702485c4dafac0b605b910b81e2c48831",
|
||||
"version": "1.0.20",
|
||||
"port-version": 3
|
||||
},
|
||||
{
|
||||
"git-tree": "1b7b00b7cccd397e07fa2b1b3ce3725d3ebead29",
|
||||
"version": "1.0.20",
|
||||
|
Loading…
Reference in New Issue
Block a user