On Wed, Sep 13, 2023 at 01:46:26PM +0200, Theo Buehler wrote: > Released a couple of hours ago. Only lightly tested. There's lots of > changes listed here: > > https://github.com/jedisct1/libsodium/releases/tag/1.0.19-RELEASE > > While I haven't heard of people running into issues, one thing that > stands out: > > * Compatibility with CET instrumentation / IBT / Shadow Stack was added. > > check_sym only reports symbol additions for the aegis/hkdf stuff. > Some function signatures changed from array[SIZE] to *array, which I > don't think constitutes a signature change, so only a minor bump. > > Regress passes on amd64, arm64 and sparc64.
Upstream rerolled the tarball to fix some aarch-specific defines. Here's an updated diff. Index: Makefile =================================================================== RCS file: /cvs/ports/security/libsodium/Makefile,v retrieving revision 1.34 diff -u -p -r1.34 Makefile --- Makefile 11 Mar 2022 19:53:32 -0000 1.34 +++ Makefile 13 Sep 2023 15:52:14 -0000 @@ -1,9 +1,8 @@ COMMENT= library for network communications and cryptography -DISTNAME= libsodium-1.0.18 -REVISION= 1 +DISTNAME= libsodium-1.0.19 -SHARED_LIBS += sodium 10.0 # 26.0 +SHARED_LIBS += sodium 10.1 # 27.0 CATEGORIES= security net @@ -19,6 +18,7 @@ MASTER_SITES= https://download.libsodium SEPARATE_BUILD= Yes +WRKSRC= ${WRKDIR}/libsodium-stable CONFIGURE_STYLE= gnu post-install: Index: distinfo =================================================================== RCS file: /cvs/ports/security/libsodium/distinfo,v retrieving revision 1.23 diff -u -p -r1.23 distinfo --- distinfo 31 May 2019 14:29:13 -0000 1.23 +++ distinfo 13 Sep 2023 15:52:17 -0000 @@ -1,2 +1,2 @@ -SHA256 (libsodium-1.0.18.tar.gz) = b1BEkLNCpPikxKAvybhmy++GItXfTlRStGvhIeRmNsE= -SIZE (libsodium-1.0.18.tar.gz) = 1919817 +SHA256 (libsodium-1.0.19.tar.gz) = AY15/goEXMoHMx03vQy1ey6DjFG8SP2DehRy5QBou+o= +SIZE (libsodium-1.0.19.tar.gz) = 1945523 Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/security/libsodium/pkg/PLIST,v retrieving revision 1.13 diff -u -p -r1.13 PLIST --- pkg/PLIST 11 Mar 2022 19:53:32 -0000 1.13 +++ pkg/PLIST 13 Sep 2023 11:19:16 -0000 @@ -1,6 +1,8 @@ include/sodium/ include/sodium.h include/sodium/core.h +include/sodium/crypto_aead_aegis128l.h +include/sodium/crypto_aead_aegis256.h include/sodium/crypto_aead_aes256gcm.h include/sodium/crypto_aead_chacha20poly1305.h include/sodium/crypto_aead_xchacha20poly1305.h @@ -25,6 +27,8 @@ include/sodium/crypto_hash_sha256.h include/sodium/crypto_hash_sha512.h include/sodium/crypto_kdf.h include/sodium/crypto_kdf_blake2b.h +include/sodium/crypto_kdf_hkdf_sha256.h +include/sodium/crypto_kdf_hkdf_sha512.h include/sodium/crypto_kx.h include/sodium/crypto_onetimeauth.h include/sodium/crypto_onetimeauth_poly1305.h @@ -62,7 +66,7 @@ include/sodium/randombytes_sysrandom.h include/sodium/runtime.h include/sodium/utils.h include/sodium/version.h -lib/libsodium.a +@static-lib lib/libsodium.a lib/libsodium.la @lib lib/libsodium.so.${LIBsodium_VERSION} lib/pkgconfig/libsodium.pc
