From leeym@utopia.leeym.com  Fri Dec 23 08:18:22 2005
Return-Path: <leeym@utopia.leeym.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1F49F16A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 23 Dec 2005 08:18:22 +0000 (GMT)
	(envelope-from leeym@utopia.leeym.com)
Received: from msr40.hinet.net (msr40.hinet.net [168.95.4.140])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4E1CA43D5A
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 23 Dec 2005 08:18:21 +0000 (GMT)
	(envelope-from leeym@utopia.leeym.com)
Received: from utopia.leeym.com (arcadia.leeym.com [211.21.137.53])
	by msr40.hinet.net (8.9.3/8.9.3) with ESMTP id QAA28067;
	Fri, 23 Dec 2005 16:18:07 +0800 (CST)
Received: from localhost (localhost [127.0.0.1])
	by utopia.leeym.com (Postfix) with ESMTP id A9662B29C9F;
	Fri, 23 Dec 2005 16:18:04 +0800 (CST)
Received: from utopia.leeym.com ([127.0.0.1])
 by localhost (utopia.leeym.com [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 82747-05; Fri, 23 Dec 2005 16:17:59 +0800 (CST)
Received: by utopia.leeym.com (Postfix, from userid 1000)
	id 0F500B29C9E; Fri, 23 Dec 2005 16:17:59 +0800 (CST)
Message-Id: <20051223081759.0F500B29C9E@utopia.leeym.com>
Date: Fri, 23 Dec 2005 16:17:59 +0800 (CST)
From: Yen-Ming Lee <leeym@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: hcoyote@ghostar.org
Subject: [PATCH] security/p5-Digest-SHA: update to 5.32
X-Send-Pr-Version: 3.113
X-GNATS-Notify: hcoyote@ghostar.org

>Number:         90844
>Category:       ports
>Synopsis:       [PATCH] security/p5-Digest-SHA: update to 5.32
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    leeym
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 23 08:20:04 GMT 2005
>Closed-Date:    Sat Dec 24 13:14:27 GMT 2005
>Last-Modified:  Sat Dec 24 13:14:27 GMT 2005
>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@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@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:
State-Changed-From-To: open->feedback 
State-Changed-By: leeym 
State-Changed-When: Fri Dec 23 08:20:43 UTC 2005 
State-Changed-Why:  
The maintainer is noticed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=90844 
Responsible-Changed-From-To: freebsd-ports-bugs->leeym 
Responsible-Changed-By: leeym 
Responsible-Changed-When: Fri Dec 23 08:20:50 UTC 2005 
Responsible-Changed-Why:  
I will take care of this PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=90844 

From: Travis Campbell <hcoyote@ghostar.org>
To: bug-followup@FreeBSD.org
Cc: hcoyote@ghostar.org
Subject: Re: ports/90844: [PATCH] security/p5-Digest-SHA: update to 5.32
Date: Fri, 23 Dec 2005 20:21:19 -0600

 On Fri, Dec 23, 2005 at 08:20:04AM +0000, Edwin Groothuis wrote:
 > Maintainer of security/p5-Digest-SHA,
 > 
 > Please note that PR ports/90844 has just been submitted.
 > 
 > If it contains a patch for an upgrade, an enhancement or a bug fix
 > you agree on, reply to this email stating that you approve the patch
 > and a committer will take care of it.
 > 
 > The full text of the PR can be found at:
 >     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/90844
 
 approved.
 
 Travis
State-Changed-From-To: feedback->closed 
State-Changed-By: leeym 
State-Changed-When: Sat Dec 24 13:14:26 UTC 2005 
State-Changed-Why:  
Committed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=90844 
>Unformatted:
