aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormharo <mharo@FreeBSD.org>2001-09-12 09:12:03 +0800
committermharo <mharo@FreeBSD.org>2001-09-12 09:12:03 +0800
commitc7ff54bd9822cfccbdc1f4ec921344fd5113cea0 (patch)
treeab7aa1730d8a35d72f7d3e6eff6fa7353528dcd6
parentc204ed62e59b308f411fd405ec92b5bb7d9160c6 (diff)
downloadfreebsd-ports-gnome-c7ff54bd9822cfccbdc1f4ec921344fd5113cea0.tar.gz
freebsd-ports-gnome-c7ff54bd9822cfccbdc1f4ec921344fd5113cea0.tar.zst
freebsd-ports-gnome-c7ff54bd9822cfccbdc1f4ec921344fd5113cea0.zip
Crypt::RSA is a pure-perl, cleanroom implementation of the RSA public-key
cryptosystem. It uses Math::Pari(3), a perl interface to the blazingly fast PARI library, for big integer arithmetic and number theoretic computations.
-rw-r--r--security/Makefile1
-rw-r--r--security/p5-Crypt-RSA/Makefile44
-rw-r--r--security/p5-Crypt-RSA/distinfo1
-rw-r--r--security/p5-Crypt-RSA/pkg-comment1
-rw-r--r--security/p5-Crypt-RSA/pkg-descr22
-rw-r--r--security/p5-Crypt-RSA/pkg-plist22
6 files changed, 91 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 65772a03b743..27df4f4f6142 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -118,6 +118,7 @@
SUBDIR += p5-Crypt-OpenSSL-RSA
SUBDIR += p5-Crypt-OpenSSL-Random
SUBDIR += p5-Crypt-Primes
+ SUBDIR += p5-Crypt-RSA
SUBDIR += p5-Crypt-Random
SUBDIR += p5-Crypt-Rijndael
SUBDIR += p5-Crypt-SSLeay
diff --git a/security/p5-Crypt-RSA/Makefile b/security/p5-Crypt-RSA/Makefile
new file mode 100644
index 000000000000..0553ad468413
--- /dev/null
+++ b/security/p5-Crypt-RSA/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: p5-Crypt-RSA
+# Date created: Tue Sep 11 10:31:23 PDT 2001
+# Whom: Michael Haro <mharo@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Crypt-RSA
+PORTVERSION= 1.47
+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}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \
+ ${PERLBASE}/${PERL_ARCH}/Crypt/Blowfish.pm:${PORTSDIR}/security/p5-Crypt-Blowfish \
+ ${PERLBASE}/Crypt/Random.pm:${PORTSDIR}/security/p5-Crypt-Random \
+ ${PERLBASE}/Crypt/Primes.pm:${PORTSDIR}/security/p5-Crypt-Primes \
+ ${PERLBASE}/Crypt/CBC.pm:${PORTSDIR}/security/p5-Crypt-CBC \
+ ${PERLBASE}/Convert/ASCII/Armor.pm:${PORTSDIR}/converters/p5-Convert-ASCII-Armour \
+ ${PERLBASE}/Data/Buffer.pm:${PORTSDIR}/misc/p5-Data-Buffer \
+ ${PERLBASE}/Sort/Versions.pm:${PORTSDIR}/devel/p5-Sort-Versions \
+ ${PERLBASE}/Class/Loader.pm:${PORTSDIR}/devel/p5-Class-Loader \
+ ${PERLBASE}/${PERL_ARCH}/Digest/MD2.pm:${PORTSDIR}/security/p5-Digest-MD2 \
+ ${PERLBASE}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
+ ${PERLBASE}/Tie/EncryptedHash.pm:${PORTSDIR}/security/p5-Tie-EncryptedHash
+
+RESTRICTED= "Crypto; export-controlled"
+
+PERL_CONFIGURE= yes
+
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= Crypt::RSA::Key.3 Crypt::RSA::SS::PSS.3 \
+ Crypt::RSA::Primitives.3 Crypt::RSA::ES::OAEP.3 \
+ Crypt::RSA.3 Crypt::RSA::SS::PKCS1v15.3 \
+ Crypt::RSA::DataFormat.3 Crypt::RSA::Key::Private.3 \
+ Crypt::RSA::ES::PKCS1v15.3 Crypt::RSA::Debug.3 \
+ Crypt::RSA::Key::Public.3 Crypt::RSA::Errorhandler.3
+
+.include <bsd.port.mk>
diff --git a/security/p5-Crypt-RSA/distinfo b/security/p5-Crypt-RSA/distinfo
new file mode 100644
index 000000000000..d3bc111ddb2c
--- /dev/null
+++ b/security/p5-Crypt-RSA/distinfo
@@ -0,0 +1 @@
+MD5 (Crypt-RSA-1.47.tar.gz) = 9651e71ea62356771e0063d50ecda167
diff --git a/security/p5-Crypt-RSA/pkg-comment b/security/p5-Crypt-RSA/pkg-comment
new file mode 100644
index 000000000000..4b7d85307047
--- /dev/null
+++ b/security/p5-Crypt-RSA/pkg-comment
@@ -0,0 +1 @@
+RSA public-key cryptosystem
diff --git a/security/p5-Crypt-RSA/pkg-descr b/security/p5-Crypt-RSA/pkg-descr
new file mode 100644
index 000000000000..8224c2e5e83e
--- /dev/null
+++ b/security/p5-Crypt-RSA/pkg-descr
@@ -0,0 +1,22 @@
+Crypt::RSA is a pure-perl, cleanroom implementation of the RSA public-key
+cryptosystem. It uses Math::Pari(3), a perl interface to the blazingly fast
+PARI library, for big integer arithmetic and number theoretic computations.
+
+Crypt::RSA provides arbitrary size key-pair generation, plaintext-aware
+encryption (OAEP) and digital signatures with appendix (PSS). For compatibility
+with SSLv3, RSAREF2, PGP and other applications that follow the PKCS #1 v1.5
+standard, it also provides PKCS #1 v1.5 encryption and signatures.
+
+Crypt::RSA is structured as bundle of modules that encapsulate different parts
+of the RSA cryptosystem. The RSA algorithm is implemented in
+Crypt::RSA::Primitives(3). Encryption schemes, located under Crypt::RSA::ES,
+and signature schemes, located under Crypt::RSA::SS, use the RSA algorithm to
+build encryption/signature schemes that employ secure padding. (See the note on
+Security of Padding Schemes.)
+
+The key generation engine and other functions that work on both components of
+the key-pair are encapsulated in Crypt::RSA::Key(3). Crypt::RSA::Key::Public(3)
+& Crypt::RSA::Key::Private(3) provide mechanisms for storage & retrival of keys
+from disk, decoding & encoding of keys in certain formats, and secure
+representation of keys in memory. Finally, the Crypt::RSA module provides a
+convenient, DWIM wrapper around the rest of the modules in the bundle.
diff --git a/security/p5-Crypt-RSA/pkg-plist b/security/p5-Crypt-RSA/pkg-plist
new file mode 100644
index 000000000000..843b9a33b039
--- /dev/null
+++ b/security/p5-Crypt-RSA/pkg-plist
@@ -0,0 +1,22 @@
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/Key.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/SS/PSS.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/SS/PKCS1v15.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/ES/OAEP.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/ES/PKCS1v15.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/Primitives.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/Key/Private/SSH.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/Key/Private.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/Key/Public/SSH.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/Key/Public.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/DataFormat.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/Debug.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/Errorhandler.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/RSA/.packlist
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/ES
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/Key/Private
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/Key/Public
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/Key
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/SS
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/RSA