summaryrefslogtreecommitdiff
path: root/security/p5-Digest-SHA2
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2003-08-06 15:52:30 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2003-08-06 15:52:30 +0000
commite7b33fbfab6416c13f2e0faaedb1b0ebef3e7439 (patch)
tree43d617ff85d10c0554bcca91cde7685a0349312a /security/p5-Digest-SHA2
parentAdd p5-Want 0.06, a generalisation of wantarray. (diff)
Add p5-Digest-SHA2 1.0.0, perl interface to the SHA-2 algorithms.
Notes
Notes: svn path=/head/; revision=86388
Diffstat (limited to 'security/p5-Digest-SHA2')
-rw-r--r--security/p5-Digest-SHA2/Makefile31
-rw-r--r--security/p5-Digest-SHA2/distinfo1
-rw-r--r--security/p5-Digest-SHA2/pkg-descr8
-rw-r--r--security/p5-Digest-SHA2/pkg-plist7
4 files changed, 47 insertions, 0 deletions
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 <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>
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