On Fri, Apr 01, 2016 at 03:01:59PM +0100, Stuart Henderson wrote:
> XML::SAX::Base was split off, so this needs a new p5-XML-SAX-Base
> port (attached) as well. I've run tests for most dependencies and
> didn't run into problems. OK to update/import?
OK bluhm@ for update and import
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/textproc/p5-XML-SAX/Makefile,v
> retrieving revision 1.22
> diff -u -p -r1.22 Makefile
> --- Makefile 20 Mar 2016 19:57:12 -0000 1.22
> +++ Makefile 1 Apr 2016 13:56:57 -0000
> @@ -1,21 +1,23 @@
> -# $OpenBSD: Makefile,v 1.22 2016/03/20 19:57:12 naddy Exp $
> +# $OpenBSD: Port.pm,v 1.1.1.1 2016/01/18 18:08:19 tsg Exp $
>
> -COMMENT= perl interface to the SAX2 XML parser
> +COMMENT = framework for the Perl SAX2 XML parsers, filters and drivers
>
> -MODULES= cpan
> -PKG_ARCH= *
> -DISTNAME= XML-SAX-0.96
> -REVISION= 1
> -CATEGORIES= textproc
> +DISTNAME = XML-SAX-0.99
>
> -# GPL/Artistic
> -PERMIT_PACKAGE_CDROM= Yes
> +CATEGORIES = textproc
>
> -RUN_DEPENDS= textproc/p5-XML-NamespaceSupport>=0.03
> +# Perl (see LICENSE)
> +PERMIT_PACKAGE_CDROM = Yes
> +
> +MODULES = cpan
> +PKG_ARCH = *
> +
> +RUN_DEPENDS = textproc/p5-XML-SAX-Base>=1.05 \
> + textproc/p5-XML-NamespaceSupport>=0.03
>
> # Install parser template
> post-install:
> - @${INSTALL_DATA} ${FILESDIR}/ParserDetails.ini \
> + @${INSTALL_DATA} ${FILESDIR}/ParserDetails.ini \
> ${PREFIX}/libdata/perl5/site_perl/XML/SAX/
>
> .include <bsd.port.mk>
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/textproc/p5-XML-SAX/distinfo,v
> retrieving revision 1.11
> diff -u -p -r1.11 distinfo
> --- distinfo 18 Jan 2015 03:15:28 -0000 1.11
> +++ distinfo 1 Apr 2016 13:56:57 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (XML-SAX-0.96.tar.gz) = m772E6+kLEbfAI1TfezFph336S1lRj88kAdp855cjgg=
> -SIZE (XML-SAX-0.96.tar.gz) = 62775
> +SHA256 (XML-SAX-0.99.tar.gz) = MrBLjja2zEz8SG3i2FnYevU4bdkw8jg8STRwUNb1rYQ=
> +SIZE (XML-SAX-0.99.tar.gz) = 46703
> Index: files/ParserDetails.ini
> ===================================================================
> RCS file: /cvs/ports/textproc/p5-XML-SAX/files/ParserDetails.ini,v
> retrieving revision 1.1
> diff -u -p -r1.1 ParserDetails.ini
> --- files/ParserDetails.ini 1 Jan 2002 12:36:03 -0000 1.1
> +++ files/ParserDetails.ini 1 Apr 2016 13:56:57 -0000
> @@ -1,3 +1,2 @@
> [XML::SAX::PurePerl]
> http://xml.org/sax/features/namespaces = 1
> -http://xml.org/sax/features/validation = 0
> Index: patches/patch-Makefile_PL
> ===================================================================
> RCS file: /cvs/ports/textproc/p5-XML-SAX/patches/patch-Makefile_PL,v
> retrieving revision 1.3
> diff -u -p -r1.3 patch-Makefile_PL
> --- patches/patch-Makefile_PL 7 Nov 2006 18:16:02 -0000 1.3
> +++ patches/patch-Makefile_PL 1 Apr 2016 13:56:57 -0000
> @@ -1,7 +1,11 @@
> $OpenBSD: patch-Makefile_PL,v 1.3 2006/11/07 18:16:02 espie Exp $
> ---- Makefile.PL.orig Mon Apr 24 01:56:41 2006
> -+++ Makefile.PL Mon Nov 6 18:44:51 2006
> -@@ -20,6 +20,7 @@ sub MY::install {
> +
> +comment-out this block, it uses an installed version of XML::SAX to write out
> +an ini file. this is provided by ${FILESDIR}/ParserDetails.ini instead.
> +
> +--- Makefile.PL.orig Sun Sep 4 22:37:48 2011
> ++++ Makefile.PL Fri Apr 1 14:45:14 2016
> +@@ -21,6 +21,7 @@ sub MY::install {
>
> my $write_ini_ok = 0;
>
> @@ -9,7 +13,7 @@ $OpenBSD: patch-Makefile_PL,v 1.3 2006/1
> eval { require XML::SAX };
> if ($@) {
> $write_ini_ok = 1;
> -@@ -37,6 +38,7 @@ sub MY::install {
> +@@ -38,6 +39,7 @@ sub MY::install {
> }
> }
>
> Index: pkg/DESCR
> ===================================================================
> RCS file: /cvs/ports/textproc/p5-XML-SAX/pkg/DESCR,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 DESCR
> --- pkg/DESCR 1 Jan 2002 11:28:24 -0000 1.1.1.1
> +++ pkg/DESCR 1 Apr 2016 13:56:57 -0000
> @@ -1,3 +1,6 @@
> -XML::SAX is a SAX parser access API for Perl. It includes classes
> -and APIs required for implementing SAX drivers, along with a factory
> -class for returning any SAX parser installed on the user's system.
> +XML::SAX consists of several framework classes for using and building
> +Perl SAX2 XML parsers, filters, and drivers. It is designed around the
> +need to be able to "plug in" different SAX parsers to an application
> +without requiring programmer intervention. Those of you familiar with
> +the DBI will be right at home. Some of the designs come from the Java
> +JAXP specification (SAX part), only without the javaness.
> Index: pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/textproc/p5-XML-SAX/pkg/PLIST,v
> retrieving revision 1.9
> diff -u -p -r1.9 PLIST
> --- pkg/PLIST 1 Oct 2008 16:04:27 -0000 1.9
> +++ pkg/PLIST 1 Apr 2016 13:56:57 -0000
> @@ -1,9 +1,6 @@
> @comment $OpenBSD: PLIST,v 1.9 2008/10/01 16:04:27 simon Exp $
> -${P5SITE}/XML/SAX/
> ${P5SITE}/XML/SAX.pm
> -${P5SITE}/XML/SAX/Base.pm
> ${P5SITE}/XML/SAX/DocumentLocator.pm
> -${P5SITE}/XML/SAX/Exception.pm
> ${P5SITE}/XML/SAX/Intro.pod
> ${P5SITE}/XML/SAX/ParserDetails.ini
> ${P5SITE}/XML/SAX/ParserFactory.pm
> @@ -25,11 +22,8 @@ ${P5SITE}/XML/SAX/PurePerl/Reader/URI.pm
> ${P5SITE}/XML/SAX/PurePerl/Reader/UnicodeExt.pm
> ${P5SITE}/XML/SAX/PurePerl/UnicodeExt.pm
> ${P5SITE}/XML/SAX/PurePerl/XMLDecl.pm
> -${P5SITE}/XML/SAX/placeholder.pl
> @man man/man3p/XML::SAX.3p
> -@man man/man3p/XML::SAX::Base.3p
> @man man/man3p/XML::SAX::DocumentLocator.3p
> -@man man/man3p/XML::SAX::Exception.3p
> @man man/man3p/XML::SAX::Intro.3p
> @man man/man3p/XML::SAX::ParserFactory.3p
> @man man/man3p/XML::SAX::PurePerl.3p
>