aboutsummaryrefslogtreecommitdiffstats
path: root/security/p5-Digest-SHA2
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2003-08-06 23:52:30 +0800
committerskv <skv@FreeBSD.org>2003-08-06 23:52:30 +0800
commit967c64aa9ebeacd061601a99e586e1a48de72293 (patch)
tree52a565f555219d7cf6f1c16c5885077851a78370 /security/p5-Digest-SHA2
parente56f03386d59ff4e604c06276e34c167c0cff75b (diff)
downloadfreebsd-ports-gnome-967c64aa9ebeacd061601a99e586e1a48de72293.tar.gz
freebsd-ports-gnome-967c64aa9ebeacd061601a99e586e1a48de72293.tar.zst
freebsd-ports-gnome-967c64aa9ebeacd061601a99e586e1a48de72293.zip
Add p5-Digest-SHA2 1.0.0, perl interface to the SHA-2 algorithms.
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