mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 04:19:08 +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(
|
vcpkg_from_github(
|
||||||
OUT_SOURCE_PATH SOURCE_PATH
|
OUT_SOURCE_PATH SOURCE_PATH
|
||||||
REPO jedisct1/libsodium
|
REPO jedisct1/libsodium
|
||||||
@ -50,11 +55,11 @@ else()
|
|||||||
if(NOT VCPKG_TARGET_IS_MINGW)
|
if(NOT VCPKG_TARGET_IS_MINGW)
|
||||||
list(APPEND OPTIONS --disable-pie)
|
list(APPEND OPTIONS --disable-pie)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
vcpkg_configure_make(
|
vcpkg_configure_make(
|
||||||
AUTOCONFIG
|
AUTOCONFIG
|
||||||
SOURCE_PATH "${SOURCE_PATH}"
|
SOURCE_PATH "${SOURCE_PATH}"
|
||||||
OPTIONS ${OPTIONS}
|
OPTIONS ${OPTIONS}
|
||||||
)
|
)
|
||||||
vcpkg_install_make()
|
vcpkg_install_make()
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "libsodium",
|
"name": "libsodium",
|
||||||
"version": "1.0.20",
|
"version": "1.0.20",
|
||||||
"port-version": 2,
|
"port-version": 3,
|
||||||
"description": "A modern and easy-to-use crypto library",
|
"description": "A modern and easy-to-use crypto library",
|
||||||
"homepage": "https://libsodium.org/",
|
"homepage": "https://libsodium.org/",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
|
@ -4978,7 +4978,7 @@
|
|||||||
},
|
},
|
||||||
"libsodium": {
|
"libsodium": {
|
||||||
"baseline": "1.0.20",
|
"baseline": "1.0.20",
|
||||||
"port-version": 2
|
"port-version": 3
|
||||||
},
|
},
|
||||||
"libsonic": {
|
"libsonic": {
|
||||||
"baseline": "0.2.0",
|
"baseline": "0.2.0",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "6dcb750702485c4dafac0b605b910b81e2c48831",
|
||||||
|
"version": "1.0.20",
|
||||||
|
"port-version": 3
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "1b7b00b7cccd397e07fa2b1b3ce3725d3ebead29",
|
"git-tree": "1b7b00b7cccd397e07fa2b1b3ce3725d3ebead29",
|
||||||
"version": "1.0.20",
|
"version": "1.0.20",
|
||||||
|
Loading…
Reference in New Issue
Block a user