ports/90844: [PATCH] security/p5-Digest-SHA: update to 5.32

Yen-Ming Lee leeym at FreeBSD.org
Fri Dec 23 08:20:06 UTC 2005


>Number:         90844
>Category:       ports
>Synopsis:       [PATCH] security/p5-Digest-SHA: update to 5.32
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 23 08:20:04 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 6.0-STABLE FreeBSD 6.0-STABLE #0: Thu Nov 17 09:15:19 CST 2005
>Description:
- Update to 5.32
- Unbreak it on old perl

Port maintainer (hcoyote at ghostar.org) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- p5-Digest-SHA-5.32.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/security/p5-Digest-SHA/Makefile,v
retrieving revision 1.1
diff -u -u -r1.1 Makefile
--- Makefile	17 Sep 2005 16:43:48 -0000	1.1
+++ Makefile	23 Dec 2005 08:17:30 -0000
@@ -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 at ghostar.org
@@ -17,10 +17,18 @@
 
 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>
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/security/p5-Digest-SHA/distinfo,v
retrieving revision 1.1
diff -u -u -r1.1 distinfo
--- distinfo	17 Sep 2005 16:43:48 -0000	1.1
+++ distinfo	23 Dec 2005 08:17:30 -0000
@@ -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
--- p5-Digest-SHA-5.32.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list