Skip to content

Commit

Permalink
[libsodium] Update to 1.0.20 (microsoft#38954)
Browse files Browse the repository at this point in the history
Fixes microsoft#38947
- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [x] SHA512s are updated for each updated download.
- [ ] ~~The "supports" clause reflects platforms that may be fixed by
this new version.~~
- [ ] ~~Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.~~
- [x] Any patches that are no longer applied are deleted from the port's
directory.
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is added to each modified port's versions file.

---------

Co-authored-by: Lily Wang <[email protected]>
  • Loading branch information
LilyWangLL and Lily Wang authored May 28, 2024
1 parent ad80822 commit dee924d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 127 deletions.
119 changes: 0 additions & 119 deletions ports/libsodium/arm-neon.diff

This file was deleted.

6 changes: 2 additions & 4 deletions ports/libsodium/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO jedisct1/libsodium
REF ${VERSION}
SHA512 6094d7bf191ea3be85f2ddab76b71f1b9c69c786493db5b84d3c5d5a0237003377ddf6a8687a962ea651fe4a9369cf5ee1676ba0bae82690f5f7ef31a698efa9
REF "${VERSION}-RELEASE"
SHA512 477b9dc10d87ae3c83db3fc207b50b9fe39593684a59f164986cce32bdaba95db0df7dee32149bf9a23c5794354fce8241d88a9a4bd4bbf2630483cbbc378c2f
HEAD_REF master
PATCHES
arm-neon.diff # https://github.com/jedisct1/libsodium/commit/8f453f41f8834e0fe47610f2a3e03e696ddb3450 with fuzz 2
)

if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
Expand Down
3 changes: 1 addition & 2 deletions ports/libsodium/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "libsodium",
"version": "1.0.19",
"port-version": 2,
"version": "1.0.20",
"description": "A modern and easy-to-use crypto library",
"homepage": "https://libsodium.org/",
"license": "ISC",
Expand Down
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -4969,8 +4969,8 @@
"port-version": 2
},
"libsodium": {
"baseline": "1.0.19",
"port-version": 2
"baseline": "1.0.20",
"port-version": 0
},
"libsonic": {
"baseline": "0.2.0",
Expand Down
5 changes: 5 additions & 0 deletions versions/l-/libsodium.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "5ac7f4518f3cf6bd123fd625b19e32b98beb3e41",
"version": "1.0.20",
"port-version": 0
},
{
"git-tree": "24563a7817fe403090f82593e4be4c3bc8219510",
"version": "1.0.19",
Expand Down

0 comments on commit dee924d

Please sign in to comment.