1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Add p5-Digest-SHA2 1.0.0, perl interface to the SHA-2 algorithms.

This commit is contained in:
Sergey Skvortsov 2003-08-06 15:52:30 +00:00
parent 2185ca8f7d
commit e7b33fbfab
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=86388
5 changed files with 48 additions and 0 deletions

View File

@ -237,6 +237,7 @@
SUBDIR += p5-Digest-MD5
SUBDIR += p5-Digest-Nilsimsa
SUBDIR += p5-Digest-SHA1
SUBDIR += p5-Digest-SHA2
SUBDIR += p5-File-Scan
SUBDIR += p5-GnuPG-Interface
SUBDIR += p5-IO-Socket-SSL

View File

@ -0,0 +1,31 @@
# New ports collection makefile for: Digest-SHA2
# Date created: 06 August 2003
# Whom: Sergey Skvortsov <skv@protey.ru>
#
# $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 <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
IGNORE= "Perl 5.6 or newer required. Install lang/perl5 or lang/perl5.8 and try again."
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1 @@
MD5 (Digest-SHA2-1.0.0.tar.gz) = 02fe4f0c24a5e90163501d47d94e8936

View File

@ -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

View File

@ -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