summaryrefslogtreecommitdiff
path: root/security/p5-Crypt-OpenPGP
diff options
context:
space:
mode:
authorMichael Haro <mharo@FreeBSD.org>2001-09-12 01:12:58 +0000
committerMichael Haro <mharo@FreeBSD.org>2001-09-12 01:12:58 +0000
commitc099a45fe45a6a1fa21d5ac9d0888570a2e94330 (patch)
tree657fcdb3557bfde27a043255a833617d3209a698 /security/p5-Crypt-OpenPGP
parentCrypt::RSA is a pure-perl, cleanroom implementation of the RSA public-key (diff)
Crypt::OpenPGP is a pure-Perl implementation of the OpenPGP standard[1].
In addition to support for the standard itself, Crypt::OpenPGP claims compatibility with many other PGP implementations, both those that support the standard and those that preceded it.
Notes
Notes: svn path=/head/; revision=47728
Diffstat (limited to 'security/p5-Crypt-OpenPGP')
-rw-r--r--security/p5-Crypt-OpenPGP/Makefile50
-rw-r--r--security/p5-Crypt-OpenPGP/distinfo1
-rw-r--r--security/p5-Crypt-OpenPGP/files/patch-makefile35
-rw-r--r--security/p5-Crypt-OpenPGP/pkg-comment1
-rw-r--r--security/p5-Crypt-OpenPGP/pkg-descr21
-rw-r--r--security/p5-Crypt-OpenPGP/pkg-plist45
6 files changed, 153 insertions, 0 deletions
diff --git a/security/p5-Crypt-OpenPGP/Makefile b/security/p5-Crypt-OpenPGP/Makefile
new file mode 100644
index 000000000000..595ff135a849
--- /dev/null
+++ b/security/p5-Crypt-OpenPGP/Makefile
@@ -0,0 +1,50 @@
+# New ports collection makefile for: p5-Crypt-OpenPGP
+# Date created: Tue Sep 11 02:08:49 PDT 2001
+# Whom: Michael Haro <mharo@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Crypt-OpenPGP
+PORTVERSION= 0.16
+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}/Crypt/DES.pm:${PORTSDIR}/security/p5-Crypt-DES \
+ ${PERLBASE}/${PERL_ARCH}/Crypt/Blowfish.pm:${PORTSDIR}/security/p5-Crypt-Blowfish \
+ ${PERLBASE}/${PERL_ARCH}/Crypt/IDEA.pm:${PORTSDIR}/security/p5-Crypt-IDEA \
+ ${PERLBASE}/Crypt/DSA.pm:${PORTSDIR}/security/p5-Crypt-DSA \
+ ${PERLBASE}/Crypt/RSA.pm:${PORTSDIR}/security/p5-Crypt-RSA \
+ ${PERLBASE}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \
+ ${PERLBASE}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \
+ ${PERLBASE}/${PERL_ARCH}/Math/Pari.pm:${PORTSDIR}/math/p5-Math-Pari \
+ ${PERLBASE}/Data/Buffer.pm:${PORTSDIR}/misc/p5-Data-Buffer \
+
+RESTRICTED= "Crypto; export-controlled"
+
+PERL_CONFIGURE= yes
+
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= Crypt::OpenPGP::ErrorHandler.3 Crypt::OpenPGP::Key.3 \
+ Crypt::OpenPGP::CFB.3 Crypt::OpenPGP::SKSessionKey.3 \
+ Crypt::OpenPGP::UserID.3 Crypt::OpenPGP::SessionKey.3 \
+ Crypt::OpenPGP::Words.3 Crypt::OpenPGP::PacketFactory.3 \
+ Crypt::OpenPGP::S2k.3 Crypt::OpenPGP.3 \
+ Crypt::OpenPGP::Signature.3 Crypt::DES_EDE3.3 \
+ Crypt::OpenPGP::KeyBlock.3 Crypt::OpenPGP::MDC.3 \
+ Crypt::OpenPGP::Compressed.3 Crypt::OpenPGP::Armour.3 \
+ Crypt::OpenPGP::KeyRing.3 Crypt::OpenPGP::Plaintext.3 \
+ Crypt::OpenPGP::Buffer.3 Crypt::OpenPGP::Cipher.3 \
+ Crypt::OpenPGP::OnePassSig.3 Crypt::OpenPGP::Constants.3 \
+ Crypt::OpenPGP::Util.3 Crypt::OpenPGP::Digest.3 \
+ Crypt::OpenPGP::Ciphertext.3 Crypt::OpenPGP::Marker.3 \
+ Crypt::OpenPGP::Trust.3 Crypt::OpenPGP::Certificate.3 \
+ Crypt::OpenPGP::Message.3
+
+.include <bsd.port.mk>
diff --git a/security/p5-Crypt-OpenPGP/distinfo b/security/p5-Crypt-OpenPGP/distinfo
new file mode 100644
index 000000000000..05740a37c36f
--- /dev/null
+++ b/security/p5-Crypt-OpenPGP/distinfo
@@ -0,0 +1 @@
+MD5 (Crypt-OpenPGP-0.16.tar.gz) = cda01e391e4e23084b66db00bddfee8f
diff --git a/security/p5-Crypt-OpenPGP/files/patch-makefile b/security/p5-Crypt-OpenPGP/files/patch-makefile
new file mode 100644
index 000000000000..cc2dfe5e76ae
--- /dev/null
+++ b/security/p5-Crypt-OpenPGP/files/patch-makefile
@@ -0,0 +1,35 @@
+--- Makefile.PL.orig Tue Sep 11 10:23:45 2001
++++ Makefile.PL Tue Sep 11 10:25:39 2001
+@@ -49,9 +49,9 @@
+ MSG
+ my $i = 1;
+ for my $ciph (@cryptmod) {
+- printf " [%d] %s\n", $i++, $ciph->[0];
++ #printf " [%d] %s\n", $i++, $ciph->[0];
+ }
+-my $c = prompt("\nEnter your choices, separated by spaces:", 1);
++my $c = "1 2 5";
+ print "\n";
+
+ for my $id (split /\s+/, $c) {
+@@ -70,9 +70,9 @@
+ MSG
+ my $i = 1;
+ for my $ciph (@dgstmod) {
+- printf " [%d] %s\n", $i++, $ciph->[0];
++ #printf " [%d] %s\n", $i++, $ciph->[0];
+ }
+-my $c = prompt("\nEnter your choices, separated by spaces:", 2);
++my $c = "1 2";
+ print "\n";
+
+ for my $id (split /\s+/, $c) {
+@@ -98,7 +98,7 @@
+ for my $pk (@pkmod) {
+ printf " [%d] %s\n", $i++, $pk->[0];
+ }
+-my $c = prompt("\nEnter your choices, separated by spaces:", '1 2');
++my $c = "1 2";
+ print "\n";
+
+ for my $id (split /\s+/, $c) {
diff --git a/security/p5-Crypt-OpenPGP/pkg-comment b/security/p5-Crypt-OpenPGP/pkg-comment
new file mode 100644
index 000000000000..aea5a0b3c37d
--- /dev/null
+++ b/security/p5-Crypt-OpenPGP/pkg-comment
@@ -0,0 +1 @@
+Pure-Perl OpenPGP-compatible PGP implementation
diff --git a/security/p5-Crypt-OpenPGP/pkg-descr b/security/p5-Crypt-OpenPGP/pkg-descr
new file mode 100644
index 000000000000..f26496b779a0
--- /dev/null
+++ b/security/p5-Crypt-OpenPGP/pkg-descr
@@ -0,0 +1,21 @@
+Crypt::OpenPGP is a pure-Perl implementation of the OpenPGP standard[1].
+In addition to support for the standard itself, Crypt::OpenPGP claims
+compatibility with many other PGP implementations, both those that
+support the standard and those that preceded it.
+
+Crypt::OpenPGP provides signing/verification, encryption/decryption,
+keyring management, and key-pair generation; in short it should provide
+you with everything you need to PGP-enable yourself. Alternatively it can
+be used as part of a larger system; for example, perhaps you have a
+web-form-to-email generator written in Perl, and you'd like to encrypt
+outgoing messages, because they contain sensitive information.
+Crypt::OpenPGP can be plugged into such a scenario, given your public
+key, and told to encrypt all messages; they will then be readable only by
+you.
+
+This module currently supports RSA and DSA for digital signatures, and
+RSA and ElGamal for encryption/decryption. It supports the symmetric
+ciphers 3DES, Blowfish, IDEA, Twofish, and Rijndael (AES). Rijndael is
+supported for key sizes of 128, 192, and 256 bits. Crypt::OpenPGP
+supports the digest algorithms MD5, SHA-1, and RIPE-MD/160. And it
+supports ZIP and Zlib compression.
diff --git a/security/p5-Crypt-OpenPGP/pkg-plist b/security/p5-Crypt-OpenPGP/pkg-plist
new file mode 100644
index 000000000000..34ecea5ef7da
--- /dev/null
+++ b/security/p5-Crypt-OpenPGP/pkg-plist
@@ -0,0 +1,45 @@
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/Key.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/CFB.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/UserID.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/S2k.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/Key/Secret/RSA.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/Key/Secret/ElGamal.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/Key/Secret/DSA.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/Key/Public/ElGamal.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/Key/Public/DSA.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/Key/Public/RSA.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/Key/Secret.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/Key/Public.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/Armour.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/Plaintext.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/KeyRing.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/Constants.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/Util.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/Ciphertext.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/Digest.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/Marker.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/Trust.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/Certificate.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/Message.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/ErrorHandler.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/SKSessionKey.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/SessionKey.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/Words.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/PacketFactory.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/Signature.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/KeyBlock.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/MDC.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/Compressed.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/Buffer.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/Cipher.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/OnePassSig.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/Signature/SubPacket.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/DES_EDE3.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OpenPGP/.packlist
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/Key/Secret
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/Key/Public
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/Key
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP/Signature
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/Crypt/OpenPGP
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OpenPGP