- In addition to sodium_bin2hex(), sodium_hex2bin() is now a constant-time function. - crypto_stream_xsalsa20_ic() has been added. - crypto_generichash_statebytes(), crypto_auth_*_statebytes() and crypto_hash_*_statebytes() have been added in order to retrieve the size of structures keeping states from foreign languages. - crypto_box_seal() and crypto_box_seal_open() have been added.
33 lines
737 B
Makefile
33 lines
737 B
Makefile
# $OpenBSD: Makefile,v 1.11 2015/05/13 08:32:25 sthen Exp $
|
|
|
|
COMMENT= library for network communications and cryptography
|
|
|
|
DISTNAME= libsodium-1.0.3
|
|
|
|
SHARED_LIBS += sodium 5.0 # .15.0
|
|
|
|
CATEGORIES= security net
|
|
|
|
HOMEPAGE= https://github.com/jedisct1/libsodium
|
|
|
|
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
|
|
|
|
# ISC
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB += m
|
|
|
|
MASTER_SITES= https://download.libsodium.org/libsodium/releases/
|
|
|
|
SEPARATE_BUILD= Yes
|
|
# If built with OpenBSD libtool, self-tests and net/dnscrypt-proxy fail
|
|
USE_LIBTOOL= gnu
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libsodium
|
|
${INSTALL_DATA} ${WRKSRC}/README.markdown ${PREFIX}/share/doc/libsodium/
|
|
|
|
.include <bsd.port.mk>
|