From 50c8478051873ff58eee3f0b04974b3761e2539d Mon Sep 17 00:00:00 2001 From: Pete Fritchman Date: Sat, 26 Jan 2002 03:11:46 +0000 Subject: [PATCH] Add p5-Crypt-RC4 2.02, perl implementation of the RC4 encryption algorithm. PR: 33364 Submitted by: Seamus Venasse --- security/Makefile | 1 + security/p5-Crypt-RC4/Makefile | 22 ++++++++++++++++++++++ security/p5-Crypt-RC4/distinfo | 1 + security/p5-Crypt-RC4/pkg-comment | 1 + security/p5-Crypt-RC4/pkg-descr | 18 ++++++++++++++++++ security/p5-Crypt-RC4/pkg-plist | 5 +++++ 6 files changed, 48 insertions(+) create mode 100644 security/p5-Crypt-RC4/Makefile create mode 100644 security/p5-Crypt-RC4/distinfo create mode 100644 security/p5-Crypt-RC4/pkg-comment create mode 100644 security/p5-Crypt-RC4/pkg-descr create mode 100644 security/p5-Crypt-RC4/pkg-plist diff --git a/security/Makefile b/security/Makefile index 8fe38db1bf95..e01d90ea1b36 100644 --- a/security/Makefile +++ b/security/Makefile @@ -132,6 +132,7 @@ SUBDIR += p5-Crypt-OpenSSL-Random SUBDIR += p5-Crypt-PassGen SUBDIR += p5-Crypt-Primes + SUBDIR += p5-Crypt-RC4 SUBDIR += p5-Crypt-RIPEMD160 SUBDIR += p5-Crypt-RSA SUBDIR += p5-Crypt-Random diff --git a/security/p5-Crypt-RC4/Makefile b/security/p5-Crypt-RC4/Makefile new file mode 100644 index 000000000000..ee9633f35774 --- /dev/null +++ b/security/p5-Crypt-RC4/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: Crypt::RC4 +# Date created: 30 Dec 2001 +# Whom: Seamus Venasse +# +# $FreeBSD$ +# + +PORTNAME= Crypt-RC4 +PORTVERSION= 2.02 +CATEGORIES= security perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Crypt +PKGNAMEPREFIX= p5- + +MAINTAINER= svenasse@polaris.ca + +PERL_CONFIGURE= yes + +MAN3= Crypt::RC4.3 +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} + +.include diff --git a/security/p5-Crypt-RC4/distinfo b/security/p5-Crypt-RC4/distinfo new file mode 100644 index 000000000000..8b08a9ec83aa --- /dev/null +++ b/security/p5-Crypt-RC4/distinfo @@ -0,0 +1 @@ +MD5 (Crypt-RC4-2.02.tar.gz) = 4ca59a7e58ac9597c3b4f3f46ea22629 diff --git a/security/p5-Crypt-RC4/pkg-comment b/security/p5-Crypt-RC4/pkg-comment new file mode 100644 index 000000000000..6388c484694c --- /dev/null +++ b/security/p5-Crypt-RC4/pkg-comment @@ -0,0 +1 @@ +Perl implementation of the RC4 encryption algorithm diff --git a/security/p5-Crypt-RC4/pkg-descr b/security/p5-Crypt-RC4/pkg-descr new file mode 100644 index 000000000000..1a5e06cf096b --- /dev/null +++ b/security/p5-Crypt-RC4/pkg-descr @@ -0,0 +1,18 @@ +A simple implementation of the RC4 algorithm, developed by RSA +Security, Inc. Here is the description from RSA's website: + +RC4 is a stream cipher designed by Rivest for RSA Data Security +(now RSA Security). It is a variable key-size stream cipher with +byte-oriented operations. The algorithm is based on the use of a +random permutation. Analysis shows that the period of the cipher +is overwhelmingly likely to be greater than 10100. Eight to sixteen +machine operations are required per output byte, and the cipher can +be expected to run very quickly in software. Independent analysts +have scrutinized the algorithm and it is considered secure. + +Based substantially on the "RC4 in 3 lines of perl" found at +http://www.cypherspace.org + +WWW: http://search.cpan.org/search?dist=Crypt-RC4 + +Seamus Venasse diff --git a/security/p5-Crypt-RC4/pkg-plist b/security/p5-Crypt-RC4/pkg-plist new file mode 100644 index 000000000000..709e992f69c5 --- /dev/null +++ b/security/p5-Crypt-RC4/pkg-plist @@ -0,0 +1,5 @@ +lib/perl5/site_perl/%%PERL_VER%%/Crypt/RC4.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/RC4/.packlist +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/RC4 +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Crypt 2>/dev/null || true