Opened 11 years ago

Closed 11 years ago

#39231 closed update (fixed)

libsodium: please update to version 0.4.1

Reported by: jpo@… Owned by: tresni (Brian Hartvigsen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch maintainer Cc:
Port: libsodium

Description

Please update libsodium to the latest upstream version (v0.4.1):

Changelog since v0.3 (source: https://github.com/jedisct1/libsodium/blob/master/NEWS):

* Version 0.4.1
 - sodium_version_*() functions were not exported in version 0.4. They
are now visible as intended.
 - sodium_init() now calls randombytes_stir().
 - optimized assembly version of salsa20 is now used on amd64.
 - further cleanups and enhanced compatibility with non-C99 compilers.

* Version 0.4
 - Most constants and operations are now available as actual functions
instead of macros, making it easier to use from other languages.
 - New operation: crypto_generichash, featuring a variable key size, a
variable output size, and a streaming API. Currently implemented using
Blake2b.
 - The package can be compiled in a separate directory.
 - aes128ctr functions are exported.
 - Optimized versions of curve25519 (curve25519_donna_c64), poly1305
(poly1305_53) and ed25519 (ed25519_ref10) are available. Optionally calling
sodium_init() once before using the library makes it pick the fastest
implementation.
 - New convenience function: sodium_memzero() in order to securely
wipe a memory area.
 - A whole bunch of cleanups and portability enhancements.
 - On Windows, a .REF file is generated along with the shared library,
for use with Visual Studio. The installation path for these has become
$prefix/bin as expected by MingW.

Download:

Attachments (1)

libsodium-0.4.1.patch (1.1 KB) - added by tresni (Brian Hartvigsen) 11 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)

Cc: brian.andrew@… removed
Owner: changed from macports-tickets@… to brian.andrew@…
Version: 2.1.3

Changed 11 years ago by tresni (Brian Hartvigsen)

Attachment: libsodium-0.4.1.patch added

comment:2 Changed 11 years ago by tresni (Brian Hartvigsen)

I can't add a haspatch tag, but here's a patch that updates the Portfile to 0.4.1. I've compiled on my box and used with no problems.

comment:3 Changed 11 years ago by mf2k (Frank Schima)

Keywords: haspatch maintainer added

comment:4 Changed 11 years ago by larryv (Lawrence Velázquez)

Resolution: fixed
Status: newclosed

Committed in r106462.

Note: See TracTickets for help on using tickets.