Subject: CVS commit: pkgsrc/security/libsodium
From: Alistair G. Crooks
Date: 2013-05-01 07:52:06
Message id: 20130501055206.BA2F8175DD@cvs.netbsd.org

Log Message:
Update security/libsodium from version 0.3 to 0.4.1

Provided in pkg PR/47767 by csosstudy

Changes from previous version:

	* 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.

pkgsrc change:

	* install the NEWS file under share/ hierarchy

Files:
RevisionActionfile
1.2modifypkgsrc/security/libsodium/Makefile
1.2modifypkgsrc/security/libsodium/PLIST
1.2modifypkgsrc/security/libsodium/distinfo