aboutsummaryrefslogtreecommitdiffstats
path: root/security/p5-Digest-SHA
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2005-12-24 21:14:23 +0800
committerleeym <leeym@FreeBSD.org>2005-12-24 21:14:23 +0800
commit133aa5e954664b41a837aecfcdda30d87e7f376a (patch)
treeaa92e98e9f24c55ea284c002171ea150f21f050d /security/p5-Digest-SHA
parent5f2dddcee5f8d2e1f14e684c5ad8a0a463837b28 (diff)
downloadfreebsd-ports-gnome-133aa5e954664b41a837aecfcdda30d87e7f376a.tar.gz
freebsd-ports-gnome-133aa5e954664b41a837aecfcdda30d87e7f376a.tar.zst
freebsd-ports-gnome-133aa5e954664b41a837aecfcdda30d87e7f376a.zip
- Update to 5.32
- Unbreak it on old perl PR: 90844 Submitted by: leeym Approved by: maintainer
Diffstat (limited to 'security/p5-Digest-SHA')
-rw-r--r--security/p5-Digest-SHA/Makefile16
-rw-r--r--security/p5-Digest-SHA/distinfo5
2 files changed, 15 insertions, 6 deletions
diff --git a/security/p5-Digest-SHA/Makefile b/security/p5-Digest-SHA/Makefile
index 37da3cd1530f..dd2fd8923296 100644
--- a/security/p5-Digest-SHA/Makefile
+++ b/security/p5-Digest-SHA/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= Digest-SHA
-PORTVERSION= 5.31
+PORTVERSION= 5.32
CATEGORIES= security perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR= ../by-authors/id/M/MS/MSHELOR
+MASTER_SITE_SUBDIR= Digest
PKGNAMEPREFIX= p5-
MAINTAINER= hcoyote@ghostar.org
@@ -17,10 +17,18 @@ COMMENT= Perl extension for SHA-1/224/256/384/512
PERL_CONFIGURE= yes
+MAN1= shasum.1
MAN3= Digest::SHA.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
+BUILD_DEPENDS+= ${SITE_PERL}/XSLoader.pm:${PORTSDIR}/devel/p5-XSLoader
+RUN_DEPENDS+= ${SITE_PERL}/XSLoader.pm:${PORTSDIR}/devel/p5-XSLoader
+
+post-patch:
+ ${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' ${WRKSRC}/SHA.pm
+ ${PERL} -pi -e '$$_="" if m{warnings}' ${WRKSRC}/SHA.pm
.endif
+
.include <bsd.port.post.mk>
diff --git a/security/p5-Digest-SHA/distinfo b/security/p5-Digest-SHA/distinfo
index 7967ee51cd16..99cc21c71e2c 100644
--- a/security/p5-Digest-SHA/distinfo
+++ b/security/p5-Digest-SHA/distinfo
@@ -1,2 +1,3 @@
-MD5 (Digest-SHA-5.31.tar.gz) = 931cf9ac0ce1c93506de8e643585a9cb
-SIZE (Digest-SHA-5.31.tar.gz) = 45152
+MD5 (Digest-SHA-5.32.tar.gz) = 4cf333e87dc1e8cc19eb40dacb008a82
+SHA256 (Digest-SHA-5.32.tar.gz) = d46d6862a51cdf567bfbeda9054d23ac201e7b494ec0d8f6eb66e8914f934ad3
+SIZE (Digest-SHA-5.32.tar.gz) = 45466