summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2017-08-23 13:46:12 +0000
committerhe <he@pkgsrc.org>2017-08-23 13:46:12 +0000
commitbab7644093e7a468fb5a9027ee54f5e287b504d1 (patch)
treea5a8c8c2fab2ee2df0ae9538dee8e4c67a7997d3 /security
parent12a2e6fd4174bc033b575b9c5e0149fd47189f7c (diff)
downloadpkgsrc-bab7644093e7a468fb5a9027ee54f5e287b504d1.tar.gz
Add p5-Crypt-Curve25519 version 0.06.
Curve25519 is a state-of-the-art Diffie-Hellman function suitable for a wide variety of applications. Given a user's 32-byte secret key, Curve25519 computes the user's 32-byte public key. Given the user's 32-byte secret key and another user's 32-byte public key, Curve25519 computes a 32-byte secret shared by the two users. This secret can then be used to authenticate and encrypt messages between the two users.
Diffstat (limited to 'security')
-rw-r--r--security/p5-Crypt-Curve25519/DESCR8
-rw-r--r--security/p5-Crypt-Curve25519/Makefile25
-rw-r--r--security/p5-Crypt-Curve25519/distinfo6
3 files changed, 39 insertions, 0 deletions
diff --git a/security/p5-Crypt-Curve25519/DESCR b/security/p5-Crypt-Curve25519/DESCR
new file mode 100644
index 00000000000..bf3d4eee6a8
--- /dev/null
+++ b/security/p5-Crypt-Curve25519/DESCR
@@ -0,0 +1,8 @@
+Curve25519 is a state-of-the-art Diffie-Hellman function suitable
+for a wide variety of applications.
+
+Given a user's 32-byte secret key, Curve25519 computes the user's
+32-byte public key. Given the user's 32-byte secret key and another
+user's 32-byte public key, Curve25519 computes a 32-byte secret
+shared by the two users. This secret can then be used to authenticate
+and encrypt messages between the two users.
diff --git a/security/p5-Crypt-Curve25519/Makefile b/security/p5-Crypt-Curve25519/Makefile
new file mode 100644
index 00000000000..3dfcccd96ab
--- /dev/null
+++ b/security/p5-Crypt-Curve25519/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2017/08/23 13:46:12 he Exp $
+
+DISTNAME= Crypt-Curve25519-0.06
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= security perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Crypt/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Crypt-Curve25519/
+COMMENT= Perl5 module for the elliptic-curve Diffie-Hellman key exchange
+LICENSE= ${PERL5_LICENSE}
+
+#DEPENDS+= p5-Math-BigInt-GMP-[0-9]*:../../math/p5-Math-BigInt-GMP
+#DEPENDS+= p5-Math-BigInt-Pari-[0-9]*:../../math/p5-Math-BigInt-Pari
+#DEPENDS+= p5-Crypt-Random>=0.33:../../security/p5-Crypt-Random
+
+USE_LANGUAGES= c
+
+PERL5_PACKLIST= auto/Crypt/Curve25519/.packlist
+MAKE_PARAMS+= --skipdeps
+
+MAKE_ENV+= PERL_USE_UNSAFE_INC=1
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/p5-Crypt-Curve25519/distinfo b/security/p5-Crypt-Curve25519/distinfo
new file mode 100644
index 00000000000..91b09d82085
--- /dev/null
+++ b/security/p5-Crypt-Curve25519/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/08/23 13:46:12 he Exp $
+
+SHA1 (Crypt-Curve25519-0.06.tar.gz) = 5c3e217f6260f83c1a5cce33c2b63ae4954a85e1
+RMD160 (Crypt-Curve25519-0.06.tar.gz) = 5c4ec052c338d798d41d1e12e76ca1c482896cf6
+SHA512 (Crypt-Curve25519-0.06.tar.gz) = e5d351c36c9f60e1b55f45bf9fa871fddf949bd5c0a20b4d065e1eb2d4e24ba43807289591eda854fca28b5909fd6af1b0fc9ede63efbeeaf6e011e7382a4e1d
+Size (Crypt-Curve25519-0.06.tar.gz) = 27835 bytes