diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2003-08-06 15:52:30 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2003-08-06 15:52:30 +0000 |
commit | e7b33fbfab6416c13f2e0faaedb1b0ebef3e7439 (patch) | |
tree | 43d617ff85d10c0554bcca91cde7685a0349312a /security | |
parent | 2185ca8f7daa14a4092de14f78e5f100caa485a7 (diff) | |
download | ports-e7b33fbfab6416c13f2e0faaedb1b0ebef3e7439.tar.gz ports-e7b33fbfab6416c13f2e0faaedb1b0ebef3e7439.zip |
Notes
Diffstat (limited to 'security')
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/p5-Digest-SHA2/Makefile | 31 | ||||
-rw-r--r-- | security/p5-Digest-SHA2/distinfo | 1 | ||||
-rw-r--r-- | security/p5-Digest-SHA2/pkg-descr | 8 | ||||
-rw-r--r-- | security/p5-Digest-SHA2/pkg-plist | 7 |
5 files changed, 48 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index 72cb6cc8d0b0..cd250eb6bda5 100644 --- a/security/Makefile +++ b/security/Makefile @@ -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 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 |