Commit Graph

37 Commits

Author SHA1 Message Date
martingalvan-volue
bc104c8f14
[libsodium] Add comment about tag usage (#39388) 2024-06-20 11:38:00 -07:00
pastdue
d36776f8e0
[libsodium] Fix build for emscripten and mingw-x86 (#39301)
Fixes issues compiling libsodium port for Emscripten and llvm-mingw x86.
2024-06-17 11:44:30 -07:00
Tobias Funk
186955d3f8
[libsodium] Fix relocation R_X86_64_PC32 against symbol `randombytes_sysrandom_implementation' can not be used when making a shared object; recompile with -fPIC (#38984)
Fixes: https://github.com/microsoft/vcpkg/issues/38982

- [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.
- [x] The "supports" clause reflects platforms that may be fixed by this
new version.
- [x] 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.
2024-05-30 10:39:17 -07:00
Lily Wang
dee924de74
[libsodium] Update to 1.0.20 (#38954)
Fixes #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 <v-lilywang@microsoft.com>
2024-05-27 23:25:01 -07:00
Kai Pastor
11ed79186f
[libsodium] Fix arm builds (android NDK r26) (#37932)
Upstream patch, adjusted. Cherry-picked from
https://github.com/microsoft/vcpkg/pull/35851.
Fixes https://github.com/microsoft/vcpkg/issues/37423,
2024-04-02 19:21:35 -07:00
Kai Pastor
7a7ef70514
[libsodium] Use official build systems (#36800)
Drop the complex and undermaintained build system vendored into the
port.
Use msbuild for windows, and autotools otherwise.

Note: Users who change options via triplet files
(`VCPKG_CMAKE_CONFIGURE_OPTIONS`) must/can migrate to the official
options (via `VCPKG_CONFIGURE_MAKE_OPTIONS`; no equivalent for
msbuild?).

Should resolve #32888 according to my earlier ["the build also succeeds
with the official autoconf build
system."](https://github.com/microsoft/vcpkg/issues/32888#issuecomment-1662730210)
Should resolve #36777.
2024-02-21 22:07:27 -08:00
Cheney Wang
4b2d315482
[libsodium] update to 1.0.19 (#35753)
* [libsodium] update to 1.0.19

* Fix config error

* Fixes cnats and proxygen failed with undefined reference to `_crypto_aead_aegis128l_pick_best_implementation' and `_crypto_aead_aegis256_pick_best_implementation'

* Fixes undefined reference to `aegis128l_aesni_implementation' and `aegis256_aesni_implementation'
2023-12-19 23:16:05 -08:00
Mengna Li
0e20c30315
Add pkgconfig file (#33031) 2023-08-08 11:32:45 -07:00
pastdue
0e9a28874c
Add VCPKG_TARGET_IS_EMSCRIPTEN, fix opus and libsodium ports for wasm32-emscripten (#26318)
* vcpkg_common_definitions: Add VCPKG_TARGET_IS_EMSCRIPTEN

* [opus] Fix wasm32-emscripten builds

* [libsodium] Fix wasm32-emscripten builds

* Run x-add-version
2022-09-08 14:01:20 -07:00
Thomas1664
d132d128b4
[many ports] Fix cmake warnings (#24706)
* [aubio]

* [bitserializer]

* [crfsuite] Update to 2020-08-27

* format

* [freealut]

* [libe57]

* version

* [libe57] Remove docs

* version

* [libffi]

* [libmodplug]

* [libsodium]

* [libsrtp]

* [libfio]

* [ned14-internal-quickcpplib]

* version string

* version

* version

* [matio] Update to 1.5.23

* [matplusplus] Update to 1.1.0

* [pystring]

* [rdbl]

* [recast]

* [restinfo]

* [sockpp]

* [sziü]

* [taglib]

* [thor]

* [workflow]

* version

* [Forkflow] Fix typo

* version

* [pystring] license

* version

* license

* version

* [sockpp]

* version

* [refl-cpp]

* [pixel] Fix synthax warning

* version

* [matplotplusplus]

* version

* license

* version

* [szip, workflow] Remove docs

* version

* license

* version

* [szip] Fix license install

* version

* [matplotplusplus] Revert update

* version
2022-05-17 11:15:06 -07:00
Sewon Park
92adeffbce
[libsodium] Fix cross compile build (#22117) 2021-12-21 23:10:25 -05:00
pastdue
8f8a4f8aee
[libsodium] Fix mingw builds (#18025)
* [libsodium] Fix mingw builds

* Run x-add-version libsodium
2021-05-24 15:14:14 -07:00
Thomas Gwynne-Timothy
2980294114
[libsodium] Rework CMake build to match autoconf (#16730)
* !wip Use targets to organize build

* !wip Add separate file list for MSVC builds

* Restructure to match autoconf

I re-ordered everything so it is easier to compare directly with the
project's autoconf build files.

* Move config files to expected location

* Convert CONTROL file to manifest file

Use vcpkg helper ports.

* Use sqlite3's approach to creating config file

* Fix MSVC source list

I was originally using libsodium:master as a reference, not the release.

* Turn off tests

* Fix definition scope

* Fix JSON formatting

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>

* Update libsodium version metadata

* [libsodium] Fix x64-windows-static[-md] builds

* [libsodium] Update port version metadata

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>

* Glob headers and sources on Windows

* [libsodium] Fix GLOB on Windows

* [libsodium] Update verson hash

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2021-03-29 09:45:43 -07:00
Igor Kostenko
77c59a8572
[libsodium] use x64 specific gcc options only on x64 platform (#15269) 2020-12-28 12:18:43 -08:00
Billy O'Neal
09a647a526
Delete use of vcpkg_test_cmake and vcpkg_common_functions. (#13065) 2020-10-28 14:18:07 -07:00
dabaichi
56b7f1cefd
Update CONTROL 2019-11-20 19:38:47 +08:00
dabaichi
68215073a7 fix 8956 2019-11-12 12:06:57 +08:00
NancyLi1013
709e042134 [libsodium] Fix linux build error. (#7297) 2019-07-17 16:24:26 -07:00
myd7349
70c615012f [libsodium] Update to 1.0.18 (#6778) 2019-06-17 13:19:38 -07:00
pravic
18b029a5e3 [WIP] Add a Homepage URL entry for vcpkg ports (#2933)
* [vcpkg] Add "Homepage" field to the CONTROL files.
2019-06-15 16:54:47 -07:00
Phil Christensen
58e0d4029e
[libsodium/darts-clone] remove conflicting makefile (#6875)
* [libsodium/darts-clone] remove conflicting makefile
2019-06-12 21:39:10 -07:00
myd7349
35009e4966 [libsodium] Migrate build system to CMake (#5600) 2019-05-01 15:43:48 -07:00
Victor Romero
8641dfd9dd
Modify vcpkg_fixup_cmake_targets() (#5459)
* some libraries export <PackageName>LibraryDepends.cmake
instead of <PackageName>Targets.cmake.
Those file also need the fix of #1044

should close #4753

* prefered the general solution #4622.
hopefully solved the issue within #4150
replaced the regex with something more readable
(also ident is lost)

should close:
#4753
#4633
#4150
and maybe more

* Hash vcpkg_fixup_cmake_targets.cmake

* [boost] Fix use of find_package(Boost) with cache variables
[socket-io-client] Fix install

* reversed change back to use regex replace

* [glbinding] Fix _IMPORT_PREFIX depth in *-export.cmake files

* [tinyspline] Ignore warnings treated as errors

* [libevent, liblemon, libpng, smpeg2, zlib] Fix apply patches

* [libsodium] Fix apply patches

* [folly] Link correct libraries in debug and release

* [vtk] Remove unset of _IMPORT_PREFIX

* [tinyspline] Do not treat warnings as errors

* [smpeg2] Fix double* to int comparison

* [nvtt] Define value for HAVE_UNISTD_H in MacOS

* [libui] Fix MacOS X build

* [zlib] Fix download URL

* [qhull] Update to v7.2.1

* [podofo] Set value for HAVE_UNISTD_H in MacOS

* [mongo-cxx-driver,ogre,podofo,qhull] Bump CONTROL version

* [mongo-c-driver] Set _IMPORT_PREFIX

* [tmxparser] Bump CONTROL version

* [qhull,vxl] Bump CONTROL version
2019-02-28 23:53:42 -08:00
Robert Schumacher
c6db2c880a Updates 2019.01.09 2019-01-18 14:08:49 -08:00
myd7349
cb1b311535 [libsodium] Fix static build 2018-12-19 20:01:14 +08:00
myd7349
d02acf4393 [libsodium] Fix #3374, #3385 2018-12-19 17:50:38 +08:00
LazyWolf Lin
e629afa182 Install sodium.h (#2986) 2018-03-07 17:38:30 -08:00
Robert Schumacher
86a652c31c [libsodium] Upgrade to 1.0.16 2018-02-22 06:22:12 -08:00
Alexander Karatarakis
1e6dd7b5d1 [libsodium] Disable tests
Also, this is a workaround for x64-windows-static taking forever in VS2017 15.5
2017-12-06 18:08:03 -08:00
Alexander Karatarakis
d165543c12 [libsodium] Fix static build trying to copy dlls 2017-11-30 18:10:33 -08:00
Robert Schumacher
ca947c664a [allegro5][refprop-headers][libsodium][arb] Fix use of vcpkg_from_github's OUT_SOURCE_PATH parameter. Fixes #2178. 2017-11-12 00:22:51 -08:00
xoviat
ab2dc2cae3 FIX: use the correct paths 2017-10-17 18:53:18 -05:00
xoviat
62f665010d FIX: use correct source path 2017-10-17 18:49:05 -05:00
xoviat
1af2299387 FIX: use forward slashes 2017-10-17 18:47:20 -05:00
xoviat
9642423f1d ENH: libsodium: Copy necessary files 2017-10-17 18:43:54 -05:00
xoviat
b3f123fdd0 ENH: add portfile 2017-10-17 18:25:58 -05:00
xoviat
4451a745a0 ENH: sodium: add control 2017-10-17 18:15:52 -05:00