diff options
author | wiz <wiz@pkgsrc.org> | 2014-05-18 13:16:13 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2014-05-18 13:16:13 +0000 |
commit | 54156c6e9f383469b78e40f01caae93be0dd8f72 (patch) | |
tree | 603b2d7beebe864d7c99bda15bac300daa7af7cf | |
parent | 098a9520beecb574a2532369e1929d387eb32b0a (diff) | |
download | pkgsrc-54156c6e9f383469b78e40f01caae93be0dd8f72.tar.gz |
Import tweetnacl-20140427 as security/TweetNaCl.
TweetNaCl is the world's first auditable high-security cryptographic
library. TweetNaCl fits into just 100 tweets while supporting all
25 of the NaCl functions used by applications.
This package installs a libtool library of the code.
-rw-r--r-- | security/TweetNaCl/DESCR | 3 | ||||
-rw-r--r-- | security/TweetNaCl/Makefile | 28 | ||||
-rw-r--r-- | security/TweetNaCl/PLIST | 3 | ||||
-rw-r--r-- | security/TweetNaCl/distinfo | 8 |
4 files changed, 42 insertions, 0 deletions
diff --git a/security/TweetNaCl/DESCR b/security/TweetNaCl/DESCR new file mode 100644 index 00000000000..7f8dfa4a599 --- /dev/null +++ b/security/TweetNaCl/DESCR @@ -0,0 +1,3 @@ +TweetNaCl is the world's first auditable high-security cryptographic +library. TweetNaCl fits into just 100 tweets while supporting all +25 of the NaCl functions used by applications. diff --git a/security/TweetNaCl/Makefile b/security/TweetNaCl/Makefile new file mode 100644 index 00000000000..8d5b978617c --- /dev/null +++ b/security/TweetNaCl/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1 2014/05/18 13:16:13 wiz Exp $ + +DISTNAME= tweetnacl-${VERSION} +VERSION= 20140427 +CATEGORIES= security +MASTER_SITES= http://tweetnacl.cr.yp.to/${VERSION}/ +DISTFILES= tweetnacl.c tweetnacl.h + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://tweetnacl.cr.yp.to/ +COMMENT= World's first auditable high-security cryptographic library +LICENSE= public-domain + +DIST_SUBDIR= ${DISTNAME} +USE_LIBTOOL= yes + +WRKSRC= ${WRKDIR} +INSTALLATION_DIRS= include lib + +do-build: + cd ${WRKSRC} && libtool --mode=compile --tag=C ${CC} ${CFLAGS} ${CPPFLAGS} -c -o tweetnacl.lo tweetnacl.c + cd ${WRKSRC} && libtool --mode=link --tag=C ${CC} ${LDFLAGS} -rpath ${PREFIX}/lib -o libtweetnacl.la tweetnacl.lo + +do-install: + cd ${WRKSRC} && ${INSTALL_DATA} tweetnacl.h ${DESTDIR}${PREFIX}/include + cd ${WRKSRC} && libtool --mode=install ${INSTALL_LIB} libtweetnacl.la ${DESTDIR}${PREFIX}/lib + +.include "../../mk/bsd.pkg.mk" diff --git a/security/TweetNaCl/PLIST b/security/TweetNaCl/PLIST new file mode 100644 index 00000000000..3da0ff1e07e --- /dev/null +++ b/security/TweetNaCl/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1 2014/05/18 13:16:13 wiz Exp $ +include/tweetnacl.h +lib/libtweetnacl.la diff --git a/security/TweetNaCl/distinfo b/security/TweetNaCl/distinfo new file mode 100644 index 00000000000..0fb7cddb5ff --- /dev/null +++ b/security/TweetNaCl/distinfo @@ -0,0 +1,8 @@ +$NetBSD: distinfo,v 1.1 2014/05/18 13:16:13 wiz Exp $ + +SHA1 (tweetnacl-20140427/tweetnacl.c) = 1d1d2dbd1219f1f360d92d43c501747d244462e5 +RMD160 (tweetnacl-20140427/tweetnacl.c) = 160cd3bd8a193347b3e216cfb9d491ec77308364 +Size (tweetnacl-20140427/tweetnacl.c) = 16637 bytes +SHA1 (tweetnacl-20140427/tweetnacl.h) = 154477811bcf007801bce52883a778f746334783 +RMD160 (tweetnacl-20140427/tweetnacl.h) = 57cfcaa08bae73279e9e4574f8da2edb590251f5 +Size (tweetnacl-20140427/tweetnacl.h) = 20014 bytes |