aboutsummaryrefslogtreecommitdiff
path: root/security/hs-nonce
diff options
context:
space:
mode:
authorGabor Pali <pgj@FreeBSD.org>2015-08-20 23:02:14 +0000
committerGabor Pali <pgj@FreeBSD.org>2015-08-20 23:02:14 +0000
commit39b8e49140afdb1d1d001c477befb4b05efa7fc3 (patch)
tree607a5ca77efd301a2b4dc49b05d108829fcffa77 /security/hs-nonce
parent75b64b1cb42c127b71646f039269eb7bd560d8ef (diff)
downloadports-39b8e49140afdb1d1d001c477befb4b05efa7fc3.tar.gz
ports-39b8e49140afdb1d1d001c477befb4b05efa7fc3.zip
Notes
Diffstat (limited to 'security/hs-nonce')
-rw-r--r--security/hs-nonce/Makefile15
-rw-r--r--security/hs-nonce/distinfo2
-rw-r--r--security/hs-nonce/pkg-descr8
3 files changed, 25 insertions, 0 deletions
diff --git a/security/hs-nonce/Makefile b/security/hs-nonce/Makefile
new file mode 100644
index 000000000000..f3896b16105b
--- /dev/null
+++ b/security/hs-nonce/Makefile
@@ -0,0 +1,15 @@
+# $FreeBSD$
+
+PORTNAME= nonce
+PORTVERSION= 1.0.2
+CATEGORIES= security haskell
+
+MAINTAINER= haskell@FreeBSD.org
+COMMENT= Generate cryptographic nonces
+
+LICENSE= BSD3CLAUSE
+
+USE_CABAL= base64-bytestring cprng-aes>=0.5 crypto-random text>=0.9
+
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+.include <bsd.port.mk>
diff --git a/security/hs-nonce/distinfo b/security/hs-nonce/distinfo
new file mode 100644
index 000000000000..53abf7a6f4a4
--- /dev/null
+++ b/security/hs-nonce/distinfo
@@ -0,0 +1,2 @@
+SHA256 (cabal/nonce-1.0.2.tar.gz) = 1004184996ea797b43189a0e73eab0b939f129cafc776341ca82289edb329cd0
+SIZE (cabal/nonce-1.0.2.tar.gz) = 2872
diff --git a/security/hs-nonce/pkg-descr b/security/hs-nonce/pkg-descr
new file mode 100644
index 000000000000..6aa2a6699a72
--- /dev/null
+++ b/security/hs-nonce/pkg-descr
@@ -0,0 +1,8 @@
+According to the Wikipedia, a nonce is an arbitrary number used only
+once in a cryptographic communication. This package contain helper
+functions for generating nonces. There are many kinds of nonces used in
+different situations. It's not guaranteed that by using the nonces from
+this package you won't have any security issues. Please make sure that
+the nonces generated via this package are usable on your design.
+
+WWW: https://github.com/prowdsponsor/nonce