Subject: pkg/12629: update to p5-XML-Parser to version 2.30
To: None <gnats-bugs@gnats.netbsd.org>
From: None <nrahlstr@winternet.com>
List: netbsd-bugs
Date: 04/13/2001 06:38:58
>Number:         12629
>Category:       pkg
>Synopsis:       update to p5-XML-Parser to version 2.30
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 13 09:28:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Nathan Ahlstrom
>Release:        1.5.1_BETA with pkgsrc from today.
>Organization:
me
>Environment:
System: NetBSD games 1.5.1_BETA NetBSD 1.5.1_BETA (GAMES) #0: Tue Apr 10 17:28:44 CDT 2001 root@games:/a/src/sys/arch/i386/compile/GAMES i386


>Description:
	p5-XML-Parser is down a rev.
>How-To-Repeat:
	Look in the XML directory on CPAN and notice there is a 2.30 release.
	Also attempt to install some perl module that complain. (packages
	pending for those)
>Fix:
	Below are two attachments.  The first is a diff of the pkg.   
	The second is the Change File notes of the differences between
	2.29 and 2.30.   The distfile on CPAN has changed its naming 
	scheme which I have accounted for here....hopefully.


Index: Makefile
===================================================================
RCS file: /usr/NetBSD-cvs/pkgsrc/textproc/p5-XML-Parser/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile	2001/02/28 13:20:46	1.4
+++ Makefile	2001/04/13 14:12:53
@@ -1,14 +1,17 @@
 # $NetBSD: Makefile,v 1.3 2001/02/17 17:37:39 wiz Exp $
 #
 
-DISTNAME=	XML-Parser-2.29
-PKGNAME=	p5-${DISTNAME}
+DISTNAME=	XML-Parser.2.30
+PKGNAME=	p5-${DISTNAME:S/./-/1}
 CATEGORIES=	textproc perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN:=XML/}
+WRKSRC=		${WRKDIR}/${DISTNAME:S/./-/1}
 
 MAINTAINER=	bad@netbsd.org
 HOMEPAGE=	http://wwwx.netheaven.com/~coopercc/xmlparser/intro.html
 COMMENT=	Perl extension interface to James Clark's XML parser, expat
+
+DEPENDS+=	expat-*:../../textproc/expat
 
 USE_PERL5=	# defined
 PERL5_PACKLIST=	${PERL5_SITEARCH}/auto/XML/Parser/.packlist
Index: files/md5
===================================================================
RCS file: /usr/NetBSD-cvs/pkgsrc/textproc/p5-XML-Parser/files/md5,v
retrieving revision 1.2
diff -u -r1.2 md5
--- files/md5	2001/02/28 13:20:47	1.2
+++ files/md5	2001/04/13 14:12:53
@@ -1,3 +1,3 @@
 $NetBSD$
 
-MD5 (XML-Parser-2.29.tar.gz) = ed0c4169356c454cb860341505a6c592
+SHA1 (XML-Parser.2.30.tar.gz) = 1626c959e40446b5c71ce9d4477bc862b6c4ea07



# ---- END ---

Here is the Change File notes.


2.30 Thu Oct  5 12:47:36 EDT 2000
        - Get rid of ContentStash global. Not that big a deal looking it up
          everytime and gets rid of a potential threading problem.
        - Switch to shareable library version of expat from sourceforge
          (i.e. no longer include expat source and require that libexpat
           be installed)
        - Bob Tribit <btribit@traffic.com> demonstrated a fix for problems
          in compiling under perl 5.6.0 with 5.005 threading.
        - Matt Sergeant <matt@sergeant.org> discovered a typo ('IO::Handler'
          instead of 'IO::Handle') in Expat.pm that caused IO::Handle objects
          to be treated as strings instead of handles.
        - Matt Sergeant also provided a patch to allow tied handles to work
          properly in calls to parse.
        - Eric Bohlman <ebohlman@netcom.com> reported a failure when
          incremental parsing and external parsing were used together.
          Need to give explicit package when calling Do_External_Parse
          from externalEntityRef  otherwise fails when called through ExpatNB.


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