ports/79313: Update port: devel/pear-XML_Parser to 1.2.6
Antonio Carlos Venancio Junior
antonio at php.net
Mon Mar 28 17:50:03 UTC 2005
>Number: 79313
>Category: ports
>Synopsis: Update port: devel/pear-XML_Parser to 1.2.6
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Mar 28 17:50:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Antônio Carlos Venâncio Júnior
>Release: FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: FreeBSD antonio.cb.sc.gov.br 4.11-STABLE FreeBSD 4.11-STABLE #6: Tue Mar 22 09:46:44 BRT 2005 root at antonio.cb.sc.gov.br:/usr/obj/usr/src/sys/ANTONIO i386
>Description:
+ update port: devel/pear-XML_Parser to 1.2.6
+ changelog: http://pear.php.net/package/XML_Parser/download/1.2.6/
+ take maintainership
+ fix CATEGORIES
+ update pkg-descr
>How-To-Repeat:
>Fix:
diff -ruN pear-XML_Parser.orig/Makefile pear-XML_Parser/Makefile
--- pear-XML_Parser.orig/Makefile Mon Mar 28 14:29:22 2005
+++ pear-XML_Parser/Makefile Mon Mar 28 14:35:17 2005
@@ -6,25 +6,21 @@
#
PORTNAME= XML_Parser
-PORTVERSION= 1.2.5
-CATEGORIES= devel www pear
+PORTVERSION= 1.2.6
+CATEGORIES= devel pear
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= antonio at php.net
COMMENT= PEAR XML parsing class based on PHP's bundled expat
BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
RUN_DEPENDS= ${BUILD_DEPENDS}
CATEGORY= XML
-FILES= Parser.php Parser/Simple.php
+FILES= Parser/Simple.php Parser.php
TESTS= 001.phpt 002.phpt 003.phpt 004.phpt 005.phpt test2.xml test3.xml
-EXAMPLES= xml_parser_file.php xml_parser_file.xml xml_parser_handler.php \
- xml_parser_simple1.php xml_parser_simple1.xml xml_parser_simple2.php \
+EXAMPLES= xml_parser_file.php xml_parser_file.xml xml_parser_handler.php \
+ xml_parser_simple1.php xml_parser_simple1.xml xml_parser_simple2.php \
xml_parser_simple2.xml xml_parser_simple_handler.php
-
-do-install-tests-msg: .USE
- @${ECHO_MSG} " (These tests require PHPUnit - see"
- @${ECHO_MSG} " the port devel/pear-PHPUnit)."
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
diff -ruN pear-XML_Parser.orig/distinfo pear-XML_Parser/distinfo
--- pear-XML_Parser.orig/distinfo Mon Mar 28 14:29:22 2005
+++ pear-XML_Parser/distinfo Mon Mar 28 14:30:36 2005
@@ -1,2 +1,2 @@
-MD5 (PEAR/XML_Parser-1.2.5.tgz) = f7182f156894d97f682abbc46368a368
-SIZE (PEAR/XML_Parser-1.2.5.tgz) = 10887
+MD5 (PEAR/XML_Parser-1.2.6.tgz) = 96ebc0fc2f349249f1455389797e72a4
+SIZE (PEAR/XML_Parser-1.2.6.tgz) = 12944
diff -ruN pear-XML_Parser.orig/pkg-descr pear-XML_Parser/pkg-descr
--- pear-XML_Parser.orig/pkg-descr Mon Mar 28 14:29:22 2005
+++ pear-XML_Parser/pkg-descr Mon Mar 28 14:32:16 2005
@@ -1,7 +1,15 @@
-This is an XML parser based on PHP's built-in xml extension. It
-supports two basic modes of operation: "func" and "event". In "func"
-mode, it will look for a function named after each element
-(xmltag_ELEMENT for start tags and xmltag_ELEMENT_ for end tags), and
-in "event" mode it uses a set of generic callbacks.
+This is an XML parser based on PHPs built-in xml extension.
+It supports two basic modes of operation: "func" and "event". In "func" mode,
+it will look for a function named after each element (xmltag_ELEMENT for start
+tags and xmltag_ELEMENT_ for end tags), and in "event" mode it uses a set of
+generic callbacks.
-WWW: http://pear.php.net/package/XML_Parser
+Since version 1.2.0 there's a new XML_Parser_Simple class that makes parsing
+of most XML documents easier, by automatically providing a stack for the
+elements.
+
+Furthermore its now possible to split the parser from the handler object, so
+you do not have to extend XML_Parser anymore in order to parse a document
+with it.
+
+WWW: http://pear.php.net/package/XML_Parser/
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list