From e7b33fbfab6416c13f2e0faaedb1b0ebef3e7439 Mon Sep 17 00:00:00 2001 From: Sergey Skvortsov Date: Wed, 6 Aug 2003 15:52:30 +0000 Subject: Add p5-Digest-SHA2 1.0.0, perl interface to the SHA-2 algorithms. --- security/p5-Digest-SHA2/Makefile | 31 +++++++++++++++++++++++++++++++ security/p5-Digest-SHA2/distinfo | 1 + security/p5-Digest-SHA2/pkg-descr | 8 ++++++++ security/p5-Digest-SHA2/pkg-plist | 7 +++++++ 4 files changed, 47 insertions(+) create mode 100644 security/p5-Digest-SHA2/Makefile create mode 100644 security/p5-Digest-SHA2/distinfo create mode 100644 security/p5-Digest-SHA2/pkg-descr create mode 100644 security/p5-Digest-SHA2/pkg-plist (limited to 'security/p5-Digest-SHA2') diff --git a/security/p5-Digest-SHA2/Makefile b/security/p5-Digest-SHA2/Makefile new file mode 100644 index 000000000000..8a1b5a30b47d --- /dev/null +++ b/security/p5-Digest-SHA2/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: Digest-SHA2 +# Date created: 06 August 2003 +# Whom: Sergey Skvortsov +# +# $FreeBSD$ +# + +PORTNAME= Digest-SHA2 +PORTVERSION= 1.0.0 +CATEGORIES= security perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Digest +PKGNAMEPREFIX= p5- + +MAINTAINER= skv@FreeBSD.org +COMMENT= Perl interface to the SHA-2 algorithms + +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= Digest::SHA2.3 + +.include + +.if ${PERL_LEVEL} < 500600 +IGNORE= "Perl 5.6 or newer required. Install lang/perl5 or lang/perl5.8 and try again." +.endif + +.include diff --git a/security/p5-Digest-SHA2/distinfo b/security/p5-Digest-SHA2/distinfo new file mode 100644 index 000000000000..1e0e4c8c2185 --- /dev/null +++ b/security/p5-Digest-SHA2/distinfo @@ -0,0 +1 @@ +MD5 (Digest-SHA2-1.0.0.tar.gz) = 02fe4f0c24a5e90163501d47d94e8936 diff --git a/security/p5-Digest-SHA2/pkg-descr b/security/p5-Digest-SHA2/pkg-descr new file mode 100644 index 000000000000..51a8f01a8635 --- /dev/null +++ b/security/p5-Digest-SHA2/pkg-descr @@ -0,0 +1,8 @@ +SHA-2 is the collective name of one-way hash functions developed by the +NIST. SHA-256, SHA-384, and SHA-512 pertain to hashes whose outputs are +256 bits, 384 bits and 512 bits, respectively. + +WWW: http://search.cpan.org/dist/Digest-SHA2/ + +-- Sergey Skvortsov +skv@FreeBSD.org diff --git a/security/p5-Digest-SHA2/pkg-plist b/security/p5-Digest-SHA2/pkg-plist new file mode 100644 index 000000000000..ad67dc76b57f --- /dev/null +++ b/security/p5-Digest-SHA2/pkg-plist @@ -0,0 +1,7 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/SHA2/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/Digest/SHA2.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/SHA2/SHA2.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/SHA2/SHA2.so +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/SHA2 +@unexec rmdir %D/%%SITE_PERL%%/Digest 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest 2>/dev/null || true -- cgit v1.2.3