summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authormharo <mharo@FreeBSD.org>2001-09-12 01:09:39 +0000
committermharo <mharo@FreeBSD.org>2001-09-12 01:09:39 +0000
commitc25d630a0e6689de3cd7a392be6a84df54922734 (patch)
treea7af18d9ed893984a6c5bdee977693682090647b /security
parent7d8c8c434d02bb8baff8e02a2b24464d28935d60 (diff)
downloadFreeBSD-ports-c25d630a0e6689de3cd7a392be6a84df54922734.zip
FreeBSD-ports-c25d630a0e6689de3cd7a392be6a84df54922734.tar.gz
Provable Prime Number Generator suitable for Cryptographic Applications
Diffstat (limited to 'security')
-rw-r--r--security/Makefile1
-rw-r--r--security/p5-Crypt-Primes/Makefile29
-rw-r--r--security/p5-Crypt-Primes/distinfo1
-rw-r--r--security/p5-Crypt-Primes/pkg-comment1
-rw-r--r--security/p5-Crypt-Primes/pkg-descr12
-rw-r--r--security/p5-Crypt-Primes/pkg-plist5
6 files changed, 49 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 4bfe247..dec852f 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -116,6 +116,7 @@
SUBDIR += p5-Crypt-IDEA
SUBDIR += p5-Crypt-OpenSSL-RSA
SUBDIR += p5-Crypt-OpenSSL-Random
+ SUBDIR += p5-Crypt-Primes
SUBDIR += p5-Crypt-Random
SUBDIR += p5-Crypt-Rijndael
SUBDIR += p5-Crypt-SSLeay
diff --git a/security/p5-Crypt-Primes/Makefile b/security/p5-Crypt-Primes/Makefile
new file mode 100644
index 0000000..439c06e
--- /dev/null
+++ b/security/p5-Crypt-Primes/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: p5-Crypt-Primes
+# Date created: Tue Sep 11 10:31:23 PDT 2001
+# Whom: Michael Haro <mharo@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Crypt-Primes
+PORTVERSION= 0.49
+CATEGORIES= security perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Crypt
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= mharo@FreeBSD.org
+
+PERLBASE= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
+
+BUILD_DEPENDS= ${PERLBASE}/Crypt/Random.pm:${PORTSDIR}/security/p5-Crypt-Random \
+ ${PERLBASE}/${PERL_ARCH}/Math/Pari.pm:${PORTSDIR}/math/p5-Math-Pari
+
+RESTRICTED= "Crypto; export-controlled"
+
+PERL_CONFIGURE= yes
+
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= Crypt::Primes.3
+
+.include <bsd.port.mk>
diff --git a/security/p5-Crypt-Primes/distinfo b/security/p5-Crypt-Primes/distinfo
new file mode 100644
index 0000000..c0d5d89
--- /dev/null
+++ b/security/p5-Crypt-Primes/distinfo
@@ -0,0 +1 @@
+MD5 (Crypt-Primes-0.49.tar.gz) = 8f642885306967a5294ce16865af71d0
diff --git a/security/p5-Crypt-Primes/pkg-comment b/security/p5-Crypt-Primes/pkg-comment
new file mode 100644
index 0000000..1e9174b
--- /dev/null
+++ b/security/p5-Crypt-Primes/pkg-comment
@@ -0,0 +1 @@
+Provable Prime Number Generator suitable for Cryptographic Applications
diff --git a/security/p5-Crypt-Primes/pkg-descr b/security/p5-Crypt-Primes/pkg-descr
new file mode 100644
index 0000000..eda828e
--- /dev/null
+++ b/security/p5-Crypt-Primes/pkg-descr
@@ -0,0 +1,12 @@
+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. Detailed description and running time
+analysis of the algorithm can be found in Maurer's paper[1].
+
+Crypt::Primes is a pure perl implementation. It uses Math::Pari for
+multiple precision integer arithmetic and number theoretic functions.
+Random numbers are gathered with Crypt::Random, a perl interface to
+/dev/u?random devices found on modern Unix operating systems.
diff --git a/security/p5-Crypt-Primes/pkg-plist b/security/p5-Crypt-Primes/pkg-plist
new file mode 100644
index 0000000..90ebd0f
--- /dev/null
+++ b/security/p5-Crypt-Primes/pkg-plist
@@ -0,0 +1,5 @@
+bin/largeprimes
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/Primes.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Primes/.packlist
+man/man1/largeprimes.1
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Primes
OpenPOWER on IntegriCloud