summaryrefslogtreecommitdiff
path: root/security/nacl
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2014-08-12 05:00:34 +0000
committerschmonz <schmonz@pkgsrc.org>2014-08-12 05:00:34 +0000
commit158526abc5eb037795e09b3cfb90bda9eda6f41f (patch)
tree9ede98f4db3d878a61ac4b6b4bfa96613288c2f4 /security/nacl
parent22020e66c43bb38685e1d633ee2fa6db5e481668 (diff)
downloadpkgsrc-158526abc5eb037795e09b3cfb90bda9eda6f41f.tar.gz
Initial import of NaCl.
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.
Diffstat (limited to 'security/nacl')
-rw-r--r--security/nacl/DESCR8
-rw-r--r--security/nacl/Makefile29
-rw-r--r--security/nacl/PLIST46
-rw-r--r--security/nacl/distinfo5
4 files changed, 88 insertions, 0 deletions
diff --git a/security/nacl/DESCR b/security/nacl/DESCR
new file mode 100644
index 00000000000..b7fbaf566ef
--- /dev/null
+++ b/security/nacl/DESCR
@@ -0,0 +1,8 @@
+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.
diff --git a/security/nacl/Makefile b/security/nacl/Makefile
new file mode 100644
index 00000000000..727390634e8
--- /dev/null
+++ b/security/nacl/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2014/08/12 05:00:34 schmonz Exp $
+
+DISTNAME= nacl-20110221
+CATEGORIES= security
+MASTER_SITES= ${HOMEPAGE}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://hyperelliptic.org/nacl/
+COMMENT= Secure, usable, fast networking and cryptography library
+LICENSE= djb-nonlicense
+
+USE_LANGUAGES= c c++
+
+INSTALLATION_DIRS= bin lib include
+
+do-build:
+ cd ${WRKSRC} && \
+ ./do && \
+ ${AR} -r build/*/lib/*/libnacl.a build/*/lib/*/randombytes.o
+
+do-install:
+ cd ${WRKSRC}/build/* && \
+ ${INSTALL_PROGRAM} bin/nacl-sha256 ${DESTDIR}${PREFIX}/bin && \
+ ${INSTALL_PROGRAM} bin/nacl-sha512 ${DESTDIR}${PREFIX}/bin && \
+ ${INSTALL_LIB} lib/*/* ${DESTDIR}${PREFIX}/lib && \
+ ${INSTALL_DATA} include/*/* ${DESTDIR}${PREFIX}/include
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/nacl/PLIST b/security/nacl/PLIST
new file mode 100644
index 00000000000..d3791d474a6
--- /dev/null
+++ b/security/nacl/PLIST
@@ -0,0 +1,46 @@
+@comment $NetBSD: PLIST,v 1.1 2014/08/12 05:00:34 schmonz Exp $
+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
diff --git a/security/nacl/distinfo b/security/nacl/distinfo
new file mode 100644
index 00000000000..870a43dd3f5
--- /dev/null
+++ b/security/nacl/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/08/12 05:00:34 schmonz Exp $
+
+SHA1 (nacl-20110221.tar.bz2) = 6007a6aee249f5a534ec53fddfc364601fba9629
+RMD160 (nacl-20110221.tar.bz2) = 2b1d6046ff633cb4d98fa548060de1a96930ed3c
+Size (nacl-20110221.tar.bz2) = 163415 bytes