diff options
author | heinz <heinz@pkgsrc.org> | 2007-06-13 23:21:34 +0000 |
---|---|---|
committer | heinz <heinz@pkgsrc.org> | 2007-06-13 23:21:34 +0000 |
commit | 8e7abc505d1132e162a74723dd645746d133b08e (patch) | |
tree | 44a300f5fd214f7cb55097f63550dcfb734055e2 /textproc | |
parent | 275971b6d9c3d95acc052d9f73066f02b1b262ab (diff) | |
download | pkgsrc-8e7abc505d1132e162a74723dd645746d133b08e.tar.gz |
Updated to version 0.39.
Pkgsrc changes:
- The package supports installation to DESTDIR.
- Took exact version numbers for prerequisites from Makefile.PL.
- Provided HOMEPAGE and SVR4_PKGNAME.
- Added INSTALL/DEINSTALL scripts for correct registration of the parser
with XML::SAX.
Changes since version 0.35:
===========================
0.39 2007-06-10 08:00
- check SKIP_SAX_INSTALL environment variable; thanks to Klaus Heinz for
the patch.
0.38 2007-01-25 14:00
- fix for http://rt.cpan.org/Public/Bug/Display.html?id=7434. Thanks to
Bjoern Hoehrmann <http://bjoern.hoehrmann.de/> for the bug report, and
to Chris Fields for the fix.
0.37 2003-07-04 22:22
- suppressed the warning for those strange people that process documents
without namespaces.
0.36 2003-07-04 20:25
- XML::SAX::Expat went through a thorough round of testing. A number of
bugs were found and addressed
- start_document and end_document used to get the same hash, which is
wrong
- same for start_prefix_mapping and end_prefix_mapping
- deprecated xml_decl() in favour of adding fields to start_document()
- removed some useless manipulations of the element stack
- end_dtd() now correctly passes an empty hash instead of nothing, as
wouldn't start_cdata and end_cdata
- element_decl would return XML::Parser::ContentModel objects instead of
a content model string.
- PublicId would sometimes be undef on external_entity_decl()
- added supported_features(), as well as support for
http://xml.org/sax/features/external-general-entities and
http://xml.org/sax/features/external-parameter-entities. XML::SAX::Base
or XML::SAX::ParserFactory seem to have a bug in that they don't blow
up on unsupported features. Thanks to the numerous people on the perl-xml
list that supplied patches for this.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/p5-XML-SAX-Expat/DEINSTALL | 11 | ||||
-rw-r--r-- | textproc/p5-XML-SAX-Expat/INSTALL | 11 | ||||
-rw-r--r-- | textproc/p5-XML-SAX-Expat/Makefile | 21 | ||||
-rw-r--r-- | textproc/p5-XML-SAX-Expat/distinfo | 8 |
4 files changed, 39 insertions, 12 deletions
diff --git a/textproc/p5-XML-SAX-Expat/DEINSTALL b/textproc/p5-XML-SAX-Expat/DEINSTALL new file mode 100644 index 00000000000..73010999f94 --- /dev/null +++ b/textproc/p5-XML-SAX-Expat/DEINSTALL @@ -0,0 +1,11 @@ +# $NetBSD: DEINSTALL,v 1.1 2007/06/13 23:21:34 heinz Exp $ + +case ${STAGE} in + +DEINSTALL) + ${PERL5} -I@PERL5_INSTALLVENDORLIB@ -MXML::SAX -e "XML::SAX->remove_parser(q(XML::SAX::Expat))->save_parsers()" + ${ECHO} "Removed parser from XML::SAX registry." + ;; + +esac + diff --git a/textproc/p5-XML-SAX-Expat/INSTALL b/textproc/p5-XML-SAX-Expat/INSTALL new file mode 100644 index 00000000000..51c5f8e66d5 --- /dev/null +++ b/textproc/p5-XML-SAX-Expat/INSTALL @@ -0,0 +1,11 @@ +# $NetBSD: INSTALL,v 1.1 2007/06/13 23:21:34 heinz Exp $ + +case ${STAGE} in + +POST-INSTALL) + ${PERL5} -I@PERL5_INSTALLVENDORLIB@ -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::Expat))->save_parsers()" + ${ECHO} "Added parser to XML::SAX registry." + ;; + +esac + diff --git a/textproc/p5-XML-SAX-Expat/Makefile b/textproc/p5-XML-SAX-Expat/Makefile index d709202f8ec..abb7ee6b3ea 100644 --- a/textproc/p5-XML-SAX-Expat/Makefile +++ b/textproc/p5-XML-SAX-Expat/Makefile @@ -1,20 +1,25 @@ -# $NetBSD: Makefile,v 1.12 2006/03/04 21:30:50 jlam Exp $ +# $NetBSD: Makefile,v 1.13 2007/06/13 23:21:34 heinz Exp $ -DISTNAME= XML-SAX-Expat-0.35 +DISTNAME= XML-SAX-Expat-0.39 PKGNAME= p5-${DISTNAME} -#SVR4_PKGNAME= -PKGREVISION= 4 +SVR4_PKGNAME= p5xse CATEGORIES= textproc perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=XML/} MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/XML-SAX-Expat/ COMMENT= Perl SAX2 XML driver sitting on top of Expat (XML::Parser) -DEPENDS+= p5-XML-NamespaceSupport-[0-9]*:../../textproc/p5-XML-NamespaceSupport -DEPENDS+= p5-XML-SAX-[0-9]*:../../textproc/p5-XML-SAX -DEPENDS+= p5-XML-Parser-[0-9]*:../../textproc/p5-XML-Parser +PKG_DESTDIR_SUPPORT= user-destdir -PERL5_PACKLIST= auto/XML/SAX/Expat/.packlist +DEPENDS+= p5-XML-NamespaceSupport>=0.03:../../textproc/p5-XML-NamespaceSupport +DEPENDS+= p5-XML-SAX>=0.03:../../textproc/p5-XML-SAX +DEPENDS+= p5-XML-Parser>=2.27:../../textproc/p5-XML-Parser + +MAKE_ENV+= SKIP_SAX_INSTALL=yes +PERL5_PACKLIST= auto/XML/SAX/Expat/.packlist + +FILES_SUBST+= PERL5_INSTALLVENDORLIB=${PERL5_INSTALLVENDORLIB:Q} .include "../../lang/perl5/module.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/p5-XML-SAX-Expat/distinfo b/textproc/p5-XML-SAX-Expat/distinfo index 918770d9b71..febfcf2a647 100644 --- a/textproc/p5-XML-SAX-Expat/distinfo +++ b/textproc/p5-XML-SAX-Expat/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.2 2005/02/24 14:48:47 agc Exp $ +$NetBSD: distinfo,v 1.3 2007/06/13 23:21:34 heinz Exp $ -SHA1 (XML-SAX-Expat-0.35.tar.gz) = 9f6e5c1928c5fee7fa513bf5c605c0a9191c39f5 -RMD160 (XML-SAX-Expat-0.35.tar.gz) = cf3e3e0e5a042078875b85e79fceaca7dd944475 -Size (XML-SAX-Expat-0.35.tar.gz) = 4534 bytes +SHA1 (XML-SAX-Expat-0.39.tar.gz) = 0f440b662a137705ee0e358fd1fc92e510500806 +RMD160 (XML-SAX-Expat-0.39.tar.gz) = da36f9b2a1c9a53729f4b0e1e35a15349c8f0101 +Size (XML-SAX-Expat-0.39.tar.gz) = 5838 bytes |