aboutsummaryrefslogtreecommitdiff
path: root/security/p5-Digest-SHA-PurePerl
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2006-08-07 15:03:13 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2006-08-07 15:03:13 +0000
commit92d1c2a9242a16322461f51513b6a157bd7d42a5 (patch)
treea46823b745d34bfc37c737f021962606bbe5197b /security/p5-Digest-SHA-PurePerl
parentf4d08cc50880ee26577228ad8efffcf0de65d854 (diff)
downloadports-92d1c2a9242a16322461f51513b6a157bd7d42a5.tar.gz
ports-92d1c2a9242a16322461f51513b6a157bd7d42a5.zip
- Update to 5.43
- PurePerl.pm has used "eval" to try MIME::Base64 & Digest::base, so add these dependencies. PR: ports/101406 Submitted by: Gea-Suan Lin <gslin_AT_gslin dot org> Approved by: maintainer (gkovesdan_AT_t-hosting dot hu)
Notes
Notes: svn path=/head/; revision=169998
Diffstat (limited to 'security/p5-Digest-SHA-PurePerl')
-rw-r--r--security/p5-Digest-SHA-PurePerl/Makefile20
-rw-r--r--security/p5-Digest-SHA-PurePerl/distinfo6
-rw-r--r--security/p5-Digest-SHA-PurePerl/pkg-plist2
3 files changed, 19 insertions, 9 deletions
diff --git a/security/p5-Digest-SHA-PurePerl/Makefile b/security/p5-Digest-SHA-PurePerl/Makefile
index 55972cfa4a31..f80b8343d33a 100644
--- a/security/p5-Digest-SHA-PurePerl/Makefile
+++ b/security/p5-Digest-SHA-PurePerl/Makefile
@@ -4,7 +4,7 @@
# $FreeBSD$
PORTNAME= Digest-SHA-PurePerl
-PORTVERSION= 5.41
+PORTVERSION= 5.43
CATEGORIES= security perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Digest
@@ -15,11 +15,21 @@ COMMENT= Perl extension for SHA-1/224/256/384/512 in pure Perl
PERL_CONFIGURE= yes
-MAN1= shasum.1
-MAN3= Digest::SHA::PurePerl.3
+MAN1= shasum.1
+MAN3= Digest::SHA::PurePerl.3
.include <bsd.port.pre.mk>
-.if ${PERL_LEVEL} <= 500503
-IGNORE= requires Perl 5.6. Intall lang/perl5 or lang/perl5.8, and try again
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires Perl 5.6 or newer. Install lang/perl5.8 and try again
+.endif
+
+.if ${PERL_LEVEL} < 500800
+RUN_DEPENDS+= ${SITE_PERL}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Bas64
.endif
+
+.if ${PERL_LEVEL} < 500803
+RUN_DEPENDS+= ${SITE_PERL}/Digest/base.pm:${PORTSDIR}/security/p5-Digest
+.endif
+
.include <bsd.port.post.mk>
diff --git a/security/p5-Digest-SHA-PurePerl/distinfo b/security/p5-Digest-SHA-PurePerl/distinfo
index 0a319c0e6d4f..a03aa62a34cd 100644
--- a/security/p5-Digest-SHA-PurePerl/distinfo
+++ b/security/p5-Digest-SHA-PurePerl/distinfo
@@ -1,3 +1,3 @@
-MD5 (Digest-SHA-PurePerl-5.41.tar.gz) = 660f742c39c483ce9269300f5208d472
-SHA256 (Digest-SHA-PurePerl-5.41.tar.gz) = ce9665c3aeb72bdedfa8f01f334de99ccf5170d3cf251a15d4549a21338d2493
-SIZE (Digest-SHA-PurePerl-5.41.tar.gz) = 34052
+MD5 (Digest-SHA-PurePerl-5.43.tar.gz) = a8e6689a9e234e3950c96a4c06705db3
+SHA256 (Digest-SHA-PurePerl-5.43.tar.gz) = f616bc36ff6fa25082bd8f4c77f96a2211c375aca37fc6eb3913cfce6cc5fc22
+SIZE (Digest-SHA-PurePerl-5.43.tar.gz) = 34762
diff --git a/security/p5-Digest-SHA-PurePerl/pkg-plist b/security/p5-Digest-SHA-PurePerl/pkg-plist
index 81f8012613eb..0693252d084a 100644
--- a/security/p5-Digest-SHA-PurePerl/pkg-plist
+++ b/security/p5-Digest-SHA-PurePerl/pkg-plist
@@ -4,5 +4,5 @@ bin/shasum
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/SHA/PurePerl/
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/SHA/
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/
-@dirrm %%SITE_PERL%%/Digest/SHA/
+@dirrmtry %%SITE_PERL%%/Digest/SHA/
@dirrmtry %%SITE_PERL%%/Digest/