summaryrefslogtreecommitdiff
path: root/security/p5-Crypt-Primes
diff options
context:
space:
mode:
authormcr <mcr>2001-10-01 00:33:14 +0000
committermcr <mcr>2001-10-01 00:33:14 +0000
commita881ddf0c73f4b435e6b7efb35011f8b0ff0cd2a (patch)
treea7a644292ec1c3dd6c1dfea3c7acefec179c8fce /security/p5-Crypt-Primes
parent6cde01b622729d8e3b0dded36bc93f4660e1ce98 (diff)
downloadpkgsrc-a881ddf0c73f4b435e6b7efb35011f8b0ff0cd2a.tar.gz
pkg from sen_ml@eccosys.com in support of p5-Crypt-OpenPGP
Diffstat (limited to 'security/p5-Crypt-Primes')
-rw-r--r--security/p5-Crypt-Primes/Makefile22
-rw-r--r--security/p5-Crypt-Primes/distinfo4
-rw-r--r--security/p5-Crypt-Primes/pkg/DESCR6
-rw-r--r--security/p5-Crypt-Primes/pkg/PLIST1
4 files changed, 33 insertions, 0 deletions
diff --git a/security/p5-Crypt-Primes/Makefile b/security/p5-Crypt-Primes/Makefile
new file mode 100644
index 00000000000..37b4b9b14da
--- /dev/null
+++ b/security/p5-Crypt-Primes/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2001/10/01 00:33:14 mcr Exp $
+#
+
+DISTNAME= Crypt-Primes-0.49
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= security perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Crypt/}
+
+MAINTAINER= packages@netbsd.org
+#HOMEPAGE=
+COMMENT= perl5 module for provable prime number generation
+
+DEPENDS+= p5-Math-Pari-*:../../math/p5-Math-Pari
+DEPENDS+= p5-Crypt-Random-*:../../security/p5-Crypt-Random
+
+USE_PERL5= # defined
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Crypt/Primes/.packlist
+
+do-configure:
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/p5-Crypt-Primes/distinfo b/security/p5-Crypt-Primes/distinfo
new file mode 100644
index 00000000000..eeff1f1977f
--- /dev/null
+++ b/security/p5-Crypt-Primes/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1 2001/10/01 00:33:14 mcr Exp $
+
+SHA1 (Crypt-Primes-0.49.tar.gz) = 8da71a3b2631890ab610f20853cb154f99026067
+Size (Crypt-Primes-0.49.tar.gz) = 136219 bytes
diff --git a/security/p5-Crypt-Primes/pkg/DESCR b/security/p5-Crypt-Primes/pkg/DESCR
new file mode 100644
index 00000000000..3c73b4a1da0
--- /dev/null
+++ b/security/p5-Crypt-Primes/pkg/DESCR
@@ -0,0 +1,6 @@
+This module implements Ueli Maurer's algorithm for generating large provable
+primes and secure parameters for public-key cryptosystems. The generated
+primes are almost uniformly distributed over the set of primes of the
+specified bitsize and expected time for generation is less than the time
+required for generating a pseudo-prime of the same size with Miller-Rabin
+tests.
diff --git a/security/p5-Crypt-Primes/pkg/PLIST b/security/p5-Crypt-Primes/pkg/PLIST
new file mode 100644
index 00000000000..78ee2bd8a71
--- /dev/null
+++ b/security/p5-Crypt-Primes/pkg/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1 2001/10/01 00:33:23 mcr Exp $