diff --git a/security/Makefile b/security/Makefile index ecb4add9a8a6..1b6daf7ab725 100644 --- a/security/Makefile +++ b/security/Makefile @@ -293,6 +293,7 @@ SUBDIR += p5-Crypt-CipherSaber SUBDIR += p5-Crypt-Cracklib SUBDIR += p5-Crypt-Cryptix + SUBDIR += p5-Crypt-Ctr SUBDIR += p5-Crypt-DES SUBDIR += p5-Crypt-DES_EDE3 SUBDIR += p5-Crypt-DH diff --git a/security/p5-Crypt-Ctr/Makefile b/security/p5-Crypt-Ctr/Makefile new file mode 100644 index 000000000000..49ddc6fef771 --- /dev/null +++ b/security/p5-Crypt-Ctr/Makefile @@ -0,0 +1,24 @@ +# New ports collection Makefile for: p5-Crypt-Ctr +# Date created: 18 Dec 2006 +# Whom: Gabor Kovesdan +# $FreeBSD$ + +PORTNAME= Crypt-Ctr +PORTVERSION= 0.01 +CATEGORIES= security perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Crypt +PKGNAMEPREFIX= p5- + +MAINTAINER= gkovesdan@t-hosting.hu +COMMENT= Perl extension for encrypting data in Counter Mode + +PERL_CONFIGURE= yes + +MAN3= Crypt::Ctr.3 + +.include +.if ${PERL_LEVEL} <= 500503 +IGNORE= requires Perl 5.6. Intall lang/perl5 or lang/perl5.8, and try again +.endif +.include diff --git a/security/p5-Crypt-Ctr/distinfo b/security/p5-Crypt-Ctr/distinfo new file mode 100644 index 000000000000..ad3f1d10cfe5 --- /dev/null +++ b/security/p5-Crypt-Ctr/distinfo @@ -0,0 +1,3 @@ +MD5 (Crypt-Ctr-0.01.tar.gz) = 2f5e1192078827c1425ae2d9e527211b +SHA256 (Crypt-Ctr-0.01.tar.gz) = 1835a9af5fb36790d0d8ace2abe5f3d42caaad8ef431fbc7e9be4487e2af6a9c +SIZE (Crypt-Ctr-0.01.tar.gz) = 7253 diff --git a/security/p5-Crypt-Ctr/pkg-descr b/security/p5-Crypt-Ctr/pkg-descr new file mode 100644 index 000000000000..6f1328d90a3c --- /dev/null +++ b/security/p5-Crypt-Ctr/pkg-descr @@ -0,0 +1,8 @@ +Generic Counter Mode implementation in pure Perl. The Counter Mode module +constructs a stream cipher from a block cipher or cryptographic hash funtion +and returns it as an object. Any block cipher in the Crypt:: class can be +used, as long as it supports the blocksize and keysize methods. Any hash +function in the Digest:: class can be used, as long as it supports +the add method. + +WWW: http://search.cpan.org/dist/Crypt-Ctr diff --git a/security/p5-Crypt-Ctr/pkg-plist b/security/p5-Crypt-Ctr/pkg-plist new file mode 100644 index 000000000000..8695dbd029e2 --- /dev/null +++ b/security/p5-Crypt-Ctr/pkg-plist @@ -0,0 +1,5 @@ +%%SITE_PERL%%/Crypt/Ctr.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Ctr/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Ctr/ +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Crypt 2>/dev/null || true