aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormharo <mharo@FreeBSD.org>2001-09-12 09:12:58 +0800
committermharo <mharo@FreeBSD.org>2001-09-12 09:12:58 +0800
commit2f3ab143b99ff758811e7fbae7755ee30ef36b6b (patch)
tree95a4b7c0ff4de2a22993f35e60fe11735c378be0
parentc7ff54bd9822cfccbdc1f4ec921344fd5113cea0 (diff)
downloadfreebsd-ports-gnome-2f3ab143b99ff758811e7fbae7755ee30ef36b6b.tar.gz
freebsd-ports-gnome-2f3ab143b99ff758811e7fbae7755ee30ef36b6b.tar.zst
freebsd-ports-gnome-2f3ab143b99ff758811e7fbae7755ee30ef36b6b.zip
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.
-rw-r--r--security/Makefile1
-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
7 files changed, 154 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 27df4f4f6142..91cd6d1f6992 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -115,6 +115,7 @@
SUBDIR += p5-Crypt-DSA
SUBDIR += p5-Crypt-ECB
SUBDIR += p5-Crypt-IDEA
+ SUBDIR += p5-Crypt-OpenPGP
SUBDIR += p5-Crypt-OpenSSL-RSA
SUBDIR += p5-Crypt-OpenSSL-Random
SUBDIR += p5-Crypt-Primes
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