1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

Add NaCl, a high speed cryptography library.

This commit is contained in:
David Thiel 2011-10-04 02:36:58 +00:00
parent 0a27148e1a
commit 5e7030c41d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=282904
5 changed files with 96 additions and 0 deletions

View File

@ -295,6 +295,7 @@
SUBDIR += monkeysphere
SUBDIR += mosref
SUBDIR += mussh
SUBDIR += nacl
SUBDIR += nbaudit
SUBDIR += ncrack
SUBDIR += ncrypt

37
security/nacl/Makefile Normal file
View File

@ -0,0 +1,37 @@
# New ports collection makefile for: nacl
# Date created: 2011-10-03
# Whom: David Thiel <lx@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= nacl
PORTVERSION= 20110221
CATEGORIES= security
MASTER_SITES= http://hyperelliptic.org/nacl/
MAINTAINER= lx@FreeBSD.org
COMMENT= High speed cryptography library
ALL_TARGET= do
USE_BZIP2= YES
MAKE_JOBS_UNSAFE= YES
.include <bsd.port.pre.mk>
HOSTNAME_CMD?= /bin/hostname
do-build:
cd ${WRKSRC} && ./do
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/build/`${HOSTNAME_CMD} -s`/bin/nacl-sha256 \
${PREFIX}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/build/`${HOSTNAME_CMD} -s`/bin/nacl-sha512 \
${PREFIX}/bin
@${INSTALL_DATA} ${WRKSRC}/build/`${HOSTNAME_CMD} -s`/lib/${ARCH}/* \
${PREFIX}/lib
@${INSTALL_DATA} ${WRKSRC}/build/`${HOSTNAME_CMD} -s`/include/${ARCH}/* \
${PREFIX}/include
.include <bsd.port.post.mk>

2
security/nacl/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (nacl-20110221.tar.bz2) = 4f277f89735c8b0b8a6bbd043b3efb3fa1cc68a9a5da6a076507d067fc3b3bf8
SIZE (nacl-20110221.tar.bz2) = 163415

10
security/nacl/pkg-descr Normal file
View File

@ -0,0 +1,10 @@
NaCl (pronounced "salt") is a new easy-to-use high-speed software
library for network communication, encryption, decryption, signatures,
etc. NaCl's goal is to provide all of the core operations needed to
build higher-level cryptographic tools.
Of course, other libraries already exist for these core operations.
NaCl advances the state of the art by improving security, by improving
usability, and by improving speed.
WWW: http://nacl.cace-project.eu/

46
security/nacl/pkg-plist Normal file
View File

@ -0,0 +1,46 @@
@comment $FreeBSD$
bin/nacl-sha256
bin/nacl-sha512
include/cpucycles.h
include/crypto_auth.h
include/crypto_auth_hmacsha256.h
include/crypto_auth_hmacsha512256.h
include/crypto_box.h
include/crypto_box_curve25519xsalsa20poly1305.h
include/crypto_core_hsalsa20.h
include/crypto_core_salsa20.h
include/crypto_core_salsa2012.h
include/crypto_core_salsa208.h
include/crypto_hash.h
include/crypto_hash_sha256.h
include/crypto_hash_sha512.h
include/crypto_hashblocks.h
include/crypto_hashblocks_sha256.h
include/crypto_hashblocks_sha512.h
include/crypto_int16.h
include/crypto_int32.h
include/crypto_int64.h
include/crypto_int8.h
include/crypto_onetimeauth.h
include/crypto_onetimeauth_poly1305.h
include/crypto_scalarmult_curve25519.h
include/crypto_secretbox.h
include/crypto_secretbox_xsalsa20poly1305.h
include/crypto_sign.h
include/crypto_sign_edwards25519sha512batch.h
include/crypto_stream.h
include/crypto_stream_aes128ctr.h
include/crypto_stream_salsa20.h
include/crypto_stream_salsa2012.h
include/crypto_stream_salsa208.h
include/crypto_stream_xsalsa20.h
include/crypto_uint16.h
include/crypto_uint32.h
include/crypto_uint64.h
include/crypto_uint8.h
include/crypto_verify_16.h
include/crypto_verify_32.h
include/randombytes.h
lib/cpucycles.o
lib/libnacl.a
lib/randombytes.o