Skip to content

Commit b084632

Browse files
authored
Merge pull request #2041 from minrk/libsodium
bump bundled libsodium to 1.0.20
2 parents 63209e4 + a791512 commit b084632

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ option(PYZMQ_LIBZMQ_RPATH "Add $ZMQ_PREFIX/lib to $RPATH (true by default). Set
2323
# anything new should start with PYZMQ_
2424
option(PYZMQ_LIBZMQ_NO_BUNDLE "Prohibit building bundled libzmq. Useful for repackaging, to allow default search for libzmq and requiring it to succeed." OFF)
2525
set(PYZMQ_LIBZMQ_VERSION "4.3.5" CACHE STRING "libzmq version when bundling")
26-
set(PYZMQ_LIBSODIUM_VERSION "1.0.19" CACHE STRING "libsodium version when bundling")
26+
set(PYZMQ_LIBSODIUM_VERSION "1.0.20" CACHE STRING "libsodium version when bundling")
2727
set(PYZMQ_LIBZMQ_URL "" CACHE STRING "full URL to download bundled libzmq")
2828
set(PYZMQ_LIBSODIUM_URL "" CACHE STRING "full URL to download bundled libsodium")
2929
set(PYZMQ_LIBSODIUM_CONFIGURE_ARGS "" CACHE STRING "semicolon-separated list of arguments to pass to ./configure for bundled libsodium")

buildutils/bundle.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
repo_root = buildutils.parent.resolve()
1313
licenses = repo_root / "licenses"
1414

15-
bundled_libsodium_version = "1.0.19"
15+
bundled_libsodium_version = "1.0.20"
1616
bundled_version = "4.3.5"
1717

1818

@@ -28,7 +28,7 @@ def report_version(library="libzmq"):
2828
def fetch_licenses():
2929
"""Download license files for bundled dependencies"""
3030
licenses.mkdir(exist_ok=True)
31-
libsodium_license_url = f"https://raw.githubusercontent.com/jedisct1/libsodium/{bundled_libsodium_version}/LICENSE"
31+
libsodium_license_url = f"https://raw.githubusercontent.com/jedisct1/libsodium/{bundled_libsodium_version}-RELEASE/LICENSE"
3232
libzmq_license_url = (
3333
f"https://raw.githubusercontent.com/zeromq/libzmq/v{bundled_version}/LICENSE"
3434
)

docs/source/howto/build.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,14 +172,14 @@ You can specify which version of libsodium/libzmq to bundle with:
172172

173173
```
174174
-DPYZMQ_LIBZMQ_VERSION=4.3.5
175-
-DPYZMQ_LIBSODIUM_VERSION=1.0.19
175+
-DPYZMQ_LIBSODIUM_VERSION=1.0.20
176176
```
177177

178178
or the specify the full URL to download (e.g. to test bundling an unreleased version):
179179

180180
```
181181
-DPYZMQ_LIBZMQ_URL="https://github.com/zeromq/libzmq/releases/download/v4.3.5/zeromq-4.3.5.tar.gz"
182-
-DPYZMQ_LIBSODIUM_URL="https://download.libsodium.org/libsodium/releases/libsodium-1.0.19.tar.gz"
182+
-DPYZMQ_LIBSODIUM_URL="https://download.libsodium.org/libsodium/releases/libsodium-1.0.20.tar.gz"
183183
```
184184

185185
```{warning}
@@ -246,7 +246,7 @@ PYZMQ_LIBSODIUM_MSBUILD_ARGS:STRING=
246246
PYZMQ_LIBSODIUM_URL:STRING=
247247

248248
# libsodium version when bundling
249-
PYZMQ_LIBSODIUM_VERSION:STRING=1.0.19
249+
PYZMQ_LIBSODIUM_VERSION:STRING=1.0.20
250250

251251
# Visual studio solution version for bundled libsodium (default: detect from MSVC_VERSION)
252252
PYZMQ_LIBSODIUM_VS_VERSION:STRING=

docs/source/howto/cross-android.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ RUN make install
5454

5555
# (optional) cross-compile libsodium, libzmq
5656
WORKDIR /src
57-
ENV LIBSODIUM_VERSION=1.0.19
57+
ENV LIBSODIUM_VERSION=1.0.20
5858
RUN curl -L -O "https://download.libsodium.org/libsodium/releases/libsodium-${LIBSODIUM_VERSION}.tar.gz" \
5959
&& tar -xzf libsodium-${LIBSODIUM_VERSION}.tar.gz \
6060
&& mv libsodium-stable libsodium \

docs/source/howto/cross.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ WORKDIR /src
5252

5353
# # (optional) cross-compile libsodium, libzmq
5454
# WORKDIR /src
55-
# ENV LIBSODIUM_VERSION=1.0.19
55+
# ENV LIBSODIUM_VERSION=1.0.20
5656
# RUN curl -L -O "https://download.libsodium.org/libsodium/releases/libsodium-${LIBSODIUM_VERSION}.tar.gz" \
5757
# && tar -xzf libsodium-${LIBSODIUM_VERSION}.tar.gz \
5858
# && mv libsodium-stable libsodium \

0 commit comments

Comments
 (0)