summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2002-01-26 03:01:41 +0000
committerpetef <petef@FreeBSD.org>2002-01-26 03:01:41 +0000
commitd23fff08f6cca39efbf89ea3c16f24dfc1007d9c (patch)
treee200cf6b05bb4451caf098491a1921d56557d02e
parent8e87b7fdb872b59a9a8bf3b952ce9c9d2ed72f4f (diff)
downloadFreeBSD-ports-d23fff08f6cca39efbf89ea3c16f24dfc1007d9c.zip
FreeBSD-ports-d23fff08f6cca39efbf89ea3c16f24dfc1007d9c.tar.gz
Add p5-Crypt-OTP 1.03, perl implementation of the One Time Pad
(hence, OTP) encryption method. PR: 33362 Submitted by: Seamus Venasse <svenasse@polaris.ca>
-rw-r--r--security/Makefile1
-rw-r--r--security/p5-Crypt-OTP/Makefile22
-rw-r--r--security/p5-Crypt-OTP/distinfo1
-rw-r--r--security/p5-Crypt-OTP/pkg-comment1
-rw-r--r--security/p5-Crypt-OTP/pkg-descr9
-rw-r--r--security/p5-Crypt-OTP/pkg-plist8
6 files changed, 42 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index a58191e..8fe38db 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -126,6 +126,7 @@
SUBDIR += p5-Crypt-ECB
SUBDIR += p5-Crypt-HCE_SHA
SUBDIR += p5-Crypt-IDEA
+ SUBDIR += p5-Crypt-OTP
SUBDIR += p5-Crypt-OpenPGP
SUBDIR += p5-Crypt-OpenSSL-RSA
SUBDIR += p5-Crypt-OpenSSL-Random
diff --git a/security/p5-Crypt-OTP/Makefile b/security/p5-Crypt-OTP/Makefile
new file mode 100644
index 0000000..b70a315
--- /dev/null
+++ b/security/p5-Crypt-OTP/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: Crypt::OTP
+# Date created: 30 Dec 2001
+# Whom: Seamus Venasse <svenasse@polaris.ca>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Crypt-OTP
+PORTVERSION= 1.03
+CATEGORIES= security perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Crypt
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= svenasse@polaris.ca
+
+PERL_CONFIGURE= yes
+
+MAN3= Crypt::OTP.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+.include <bsd.port.mk>
diff --git a/security/p5-Crypt-OTP/distinfo b/security/p5-Crypt-OTP/distinfo
new file mode 100644
index 0000000..9493d22
--- /dev/null
+++ b/security/p5-Crypt-OTP/distinfo
@@ -0,0 +1 @@
+MD5 (Crypt-OTP-1.03.tar.gz) = 53fbe88beeb9530ef7cca7b9b3bafadc
diff --git a/security/p5-Crypt-OTP/pkg-comment b/security/p5-Crypt-OTP/pkg-comment
new file mode 100644
index 0000000..a5e5481
--- /dev/null
+++ b/security/p5-Crypt-OTP/pkg-comment
@@ -0,0 +1 @@
+Perl implementation of the One Time Pad (hence, OTP) encryption method
diff --git a/security/p5-Crypt-OTP/pkg-descr b/security/p5-Crypt-OTP/pkg-descr
new file mode 100644
index 0000000..895c979
--- /dev/null
+++ b/security/p5-Crypt-OTP/pkg-descr
@@ -0,0 +1,9 @@
+The One Time Pad encryption method is very simple, and impossible
+to crack without the actual pad file against which the to-be-encrypted
+message is XOR'ed. Encryption and decryption are performed using
+excactly the same method, and the message will decrypt correctly
+only if the same pad is used in decryption as was use in encryption.
+
+WWW: http://search.cpan.org/search?dist=Crypt-OTP
+
+Seamus Venasse <svenasse@polaris.ca>
diff --git a/security/p5-Crypt-OTP/pkg-plist b/security/p5-Crypt-OTP/pkg-plist
new file mode 100644
index 0000000..b3f1977
--- /dev/null
+++ b/security/p5-Crypt-OTP/pkg-plist
@@ -0,0 +1,8 @@
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/OTP.pm
+lib/perl5/site_perl/%%PERL_VER%%/auto/Crypt/OTP/autosplit.ix
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OTP/.packlist
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/OTP
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/auto/Crypt/OTP
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/auto/Crypt 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Crypt 2>/dev/null || true
OpenPOWER on IntegriCloud