--- libxml-parser-perl-2.36.orig/samples/xmlcomments +++ libxml-parser-perl-2.36/samples/xmlcomments @@ -1,4 +1,4 @@ -#!/usr/local/bin/perl -w +#!/usr/bin/perl -w # # $Revision: 1.1.1.1 $ # --- libxml-parser-perl-2.36.orig/samples/xmlfilter +++ libxml-parser-perl-2.36/samples/xmlfilter @@ -1,4 +1,4 @@ -#!/usr/local/bin/perl -w +#!/usr/bin/perl -w # # $Revision: 1.1.1.1 $ # --- libxml-parser-perl-2.36.orig/samples/canonical +++ libxml-parser-perl-2.36/samples/canonical @@ -1,4 +1,4 @@ -#!/usr/local/bin/perl -w +#!/usr/bin/perl -w # # Copyright 1999 Clark Cooper # All rights reserved. --- libxml-parser-perl-2.36.orig/samples/xmlstats +++ libxml-parser-perl-2.36/samples/xmlstats @@ -1,4 +1,4 @@ -#!/usr/local/bin/perl -w +#!/usr/bin/perl -w # # $Revision: 1.1.1.1 $ # --- libxml-parser-perl-2.36.orig/debian/compat +++ libxml-parser-perl-2.36/debian/compat @@ -0,0 +1 @@ +4 --- libxml-parser-perl-2.36.orig/debian/libxml-parser-perl.examples +++ libxml-parser-perl-2.36/debian/libxml-parser-perl.examples @@ -0,0 +1 @@ +samples/* --- libxml-parser-perl-2.36.orig/debian/libxml-parser-perl.docs +++ libxml-parser-perl-2.36/debian/libxml-parser-perl.docs @@ -0,0 +1,2 @@ +README +README.Encodings --- libxml-parser-perl-2.36.orig/debian/rules +++ libxml-parser-perl-2.36/debian/rules @@ -0,0 +1,85 @@ +#!/usr/bin/make -f +## ---------------------------------------------------------------------- +## debian/rules : package script for libxml-parser-perl +## ---------------------------------------------------------------------- + +## ---------------------------------------------------------------------- +## uncomment this to turn on verbose mode +#export DH_VERBOSE=1 + +## ---------------------------------------------------------------------- +TMP_DIR := $(CURDIR)/debian/tmp + +## ---------------------------------------------------------------------- +CFLAGS = -Wall -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +## ---------------------------------------------------------------------- +ADDED_ENCODINGS = \ + iso-8859-1 \ + iso-8859-6 \ + iso-8859-10 \ + iso-8859-11 \ + iso-8859-13 \ + iso-8859-14 \ + iso-8859-15 \ + iso-8859-16 \ + windows-1251 + +## ---------------------------------------------------------------------- +## targets + +clean: + dh_testdir + dh_testroot + [ ! -f Makefile ] || $(MAKE) realclean + dh_clean README.Encodings build-stamp install-stamp \ + $(foreach encoding,$(ADDED_ENCODINGS),Parser/Encodings/$(encoding).enc) + +build: build-stamp +build-stamp: + dh_testdir + $(foreach encoding,$(ADDED_ENCODINGS),uudecode -o Parser/Encodings/$(encoding).enc debian/encodings/$(encoding).uuenc ;) + perl Makefile.PL INSTALLDIRS=vendor + $(MAKE) OPTIMIZE="$(CFLAGS)" + $(MAKE) test + touch build-stamp + +install: install-stamp +install-stamp: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) install DESTDIR=$(TMP_DIR) PREFIX=/usr + cp -a Parser/Encodings/README README.Encodings + touch install-stamp + +binary-indep: + +binary-arch: build install + dh_testdir + dh_testroot + dh_install --sourcedir=$(TMP_DIR) + dh_installdocs + dh_installexamples + dh_installchangelogs Changes + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_perl + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch + +.PHONY: clean build install binary-indep binary-arch binary + +## ---------------------------------------------------------------------- --- libxml-parser-perl-2.36.orig/debian/libxml-parser-perl.install +++ libxml-parser-perl-2.36/debian/libxml-parser-perl.install @@ -0,0 +1,2 @@ +usr/lib +usr/share/man --- libxml-parser-perl-2.36.orig/debian/control +++ libxml-parser-perl-2.36/debian/control @@ -0,0 +1,35 @@ +Source: libxml-parser-perl +Section: perl +Priority: optional +Maintainer: Debian XML/SGML Group +Uploaders: Ardo van Rangelrooij +Homepage: http://www.libexpat.org/ +Vcs-Browser: http://alioth.debian.org/plugins/scmcvs/cvsweb.php/packages/libxml-parser-perl/?cvsroot=debian-xml-sgml +Vcs-Cvs: :pserver:anonymous@cvs.alioth.debian.org:/cvsroot/debian-xml-sgml/packages/libxml-parser-perl +Standards-Version: 3.7.3 +Build-Depends: debhelper (>= 5.0), perl (>= 5.12), liburi-perl, libwww-perl, libexpat1-dev, sharutils + +Package: libxml-parser-perl +Section: perl +Priority: optional +Architecture: any +Depends: ${perl:Depends}, liburi-perl, libwww-perl, ${shlibs:Depends} +Description: Perl module for parsing XML files + This module provides ways to parse XML documents. It is built on top + of XML::Parser::Expat, which is a lower level interface to James + Clark's expat library. Each call to one of the parsing methods + creates a new instance of XML::Parser::Expat which is then used to + parse the document. Expat options may be provided when the + XML::Parser object is created. These options are then passed on to + the Expat object on each parse call. They can also be given as extra + arguments to the parse methods, in which case they override options + given at XML::Parser creation time. + . + The behavior of the parser is controlled either by Style and/or + Handlers options, or by setHandlers method. These all provide + mechanisms for XML::Parser to set the handlers needed by + XML::Parser::Expat. If neither Style nor Handlers are specified, + then parsing just checks the document for being well-formed. + . + When underlying handlers get called, they receive as their first + parameter the Expat object, not the Parser object. --- libxml-parser-perl-2.36.orig/debian/copyright +++ libxml-parser-perl-2.36/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by Stevie Strickland +on Mon, 3 May, 1999, 09:42:42 -0400. + +It was downloaded from the Comprehensive Perl Archive Network (CPAN). +Visit to find a CPAN site near you. + +Upstream Authors: Larry Wall and Clark Cooper + +Copyright: + +Copyright (c) 1998-2000 Larry Wall and Clark Cooper. +All rights reserved. + +This program is free software; you can redistribute it and/or modify +it under the terms of either: + +a) the GNU General Public License as published by the Free Software + Foundation; either version 1, or (at your option) any later + version, or + +b) the "Artistic License" which comes with Perl. + +On a Debian system the complete text of the GNU General Public License +can be found in the file `/usr/share/common-licenses/GPL' and the +complete text of the the Artistic Licence can be found in the file +`/usr/share/common-licenses/Artistic'. --- libxml-parser-perl-2.36.orig/debian/changelog +++ libxml-parser-perl-2.36/debian/changelog @@ -0,0 +1,319 @@ +libxml-parser-perl (2.36-1.1build4) oneiric; urgency=low + + * Rebuild for perl-5.12. + + -- Matthias Klose Wed, 04 May 2011 23:10:41 +0200 + +libxml-parser-perl (2.36-1.1build3) lucid; urgency=low + + * rebuild rest of main for armel armv7/thumb2 optimization; + UbuntuSpec:mobile-lucid-arm-gcc-v7-thumb2 + + -- Alexander Sack Sun, 07 Mar 2010 00:55:35 +0100 + +libxml-parser-perl (2.36-1.1build2) intrepid; urgency=low + + * Rebuild against Perl 5.10 (this time on hppa too). + + -- Colin Watson Sat, 14 Jun 2008 11:45:46 +0100 + +libxml-parser-perl (2.36-1.1build1) intrepid; urgency=low + + * Rebuild against Perl 5.10. + + -- Martin Pitt Thu, 08 May 2008 08:57:08 +0200 + +libxml-parser-perl (2.36-1.1) unstable; urgency=low + + * Non-maintainer upload for the Perl 5.10 transition. + * Copy and uuencode the additional generated encoding files from the + previous version of this package instead of build-depending on + libxml-encoding-perl to break a dependency loop. (Closes: #458144) + + -- Niko Tyni Thu, 03 Apr 2008 21:31:59 +0300 + +libxml-parser-perl (2.36-1) unstable; urgency=low + + * New upstream release + * Official inclusion of NMU patches (thanks Joey, Joris and Steinar) + (closes: Bug387720,Bug#380426,Bug#378412,Bug#378411,Bug#213623,Bug#132989) + * debian/watch + * bumped version to 3 + * fixed typo in version regexp + (closes: Bug#429176) + * debian/compat: bumped version to 5 + * debian/control: + * changed build dependency on 'debhelper' to '(>= 5.0)' + * upgraded to Debian Policy 3.7.3 (no changes) + * added Vcs-Browser and Vcs-Cvs fields + * added Homepage field + * debian/rules: deconfused call of compile_encoding + (closes: Bug#458580) + + -- Ardo van Rangelrooij Sat, 05 Jan 2008 12:39:54 -0600 + +libxml-parser-perl (2.34-4.3) unstable; urgency=low + + * NMU. + * Build-Depend on libxml-encoding-perl to use it as a source of encoding + files. (For now, only use it for the encodings below, that are not + included in this package's source, but it could be used as the source of + all the encoding files in this package.) + * Include encoding files for iso-8859-1, iso-8859-6, iso-8859-10, + iso-8859-11, iso-8859-13, iso-8859-14, iso-8859-15, iso-8859-16, + and windows-1251. Closes: #132989, #380426, #213623 + + -- Joey Hess Sat, 21 Jul 2007 20:39:46 -0400 + +libxml-parser-perl (2.34-4.2) unstable; urgency=medium + + * Non-maintainer upload. + * Fix buffer overflow when reading UTF-8 data; patch from Joris van + Rantwijk. (Closes: #378411) + + -- Steinar H. Gunderson Fri, 15 Sep 2006 21:56:47 +0200 + +libxml-parser-perl (2.34-4.1) unstable; urgency=high + + * NMU. + * Fix buffer overflow in XML::Parser::Expat triggered by deep nesting, + reported by and patch provided by Joris van Rantwijk. Closes: #378412 + + -- Joey Hess Sat, 5 Aug 2006 14:07:17 -0400 + +libxml-parser-perl (2.34-4) unstable; urgency=low + + * Added 'debian/watch' + * debian/rules: various small improvements + + -- Ardo van Rangelrooij Wed, 24 Nov 2004 10:59:57 -0600 + +libxml-parser-perl (2.34-3) unstable; urgency=low + + * debian/control: changed 'Maintainer' to 'Debian XML/SGML Group + ' and added current + maintainer as 'Uploaders' + + -- Ardo van Rangelrooij Sun, 29 Feb 2004 11:40:40 -0600 + +libxml-parser-perl (2.34-2) unstable; urgency=low + + * debian/copyright: updated + * debian/control: upgraded to Debian Policy 3.6.1 (no changes) + + -- Ardo van Rangelrooij Sat, 7 Feb 2004 23:00:58 -0600 + +libxml-parser-perl (2.34-1) unstable; urgency=low + + * New upstream release + * debian/control: upgraded build dependency on 'debhelper' to '>= 4.1' + * debian/control: upgraded to Debian Policy 3.6.0 (no changes) + + -- Ardo van Rangelrooij Thu, 4 Sep 2003 20:01:33 -0500 + +libxml-parser-perl (2.31-6) unstable; urgency=low + + * Expat/Parser.pm: applied a quick fix to a memory leak introduced in + version 2.30-3 + (closes: Bug#189775) + * debian/control: upgraded to Debian Policy 3.5.9 (no changes) + * debian/rules: moved debhelper compatibility level setting to + 'debian/compat' per latest debhelper best practices + * debian/control: updated sections according to latest archive changes: + - 'libxml-parser-perl' from 'interpreters' to 'perl' + + -- Ardo van Rangelrooij Sun, 20 Apr 2003 20:52:35 -0500 + +libxml-parser-perl (2.31-5) unstable; urgency=low + + * Expat/Expat.pm: applied patch needed for XML::DOM v1.42 + * Expat/Expat.xs: applied patch needed for XML::DOM v1.42 + + -- Ardo van Rangelrooij Sun, 2 Feb 2003 18:20:04 -0600 + +libxml-parser-perl (2.31-4) unstable; urgency=low + + * rebuild against expat 1.95.5 + * rebuild fixes "can't resolve parameter-entity reference" problem + (closes: Bug#118528) + * debian/control: upgraded to Debian Policy 3.5.8 (no changes) + + -- Ardo van Rangelrooij Wed, 25 Dec 2002 18:48:04 -0600 + +libxml-parser-perl (2.31-3) unstable; urgency=low + + * debian/rules: added erroneously removed 'dh_testroot' to 'binary-indep' + + -- Ardo van Rangelrooij Sun, 4 Aug 2002 14:56:43 -0500 + +libxml-parser-perl (2.31-2) unstable; urgency=low + + * Rebuild against perl 5.8.0 + * debian/control: changed build dependency on perl accordingly + * debian/rules: upgraded to debhelper v4 + * debian/control: changed build dependency on debhelper accordingly + * debian/rules: migrated from 'dh_movefiles' to 'dh_install' + * debian/rules: split off 'install' target from 'binary-arch' target + * debian/copyright: added pointer to license + + -- Ardo van Rangelrooij Sat, 3 Aug 2002 17:02:19 -0500 + +libxml-parser-perl (2.31-1) unstable; urgency=low + + * New upstream release + + -- Ardo van Rangelrooij Sat, 27 Apr 2002 14:34:48 -0500 + +libxml-parser-perl (2.30-4) unstable; urgency=low + + * recompile against libexpat1 v1.95.2-3 due to library number change + (closes: Bug#116914, Bug#117377) + * debian/control: upgraded to Debian Policy 3.5.6 + + -- Ardo van Rangelrooij Sat, 3 Nov 2001 14:10:08 -0600 + +libxml-parser-perl (2.30-3) unstable; urgency=low + + * Expat/Expat.pm: moved "no strict 'refs';" to correct place to prevent + incorrect generation of warnings + (closes: Bug#95821) (thanks Dagfinn!) + * debian/control: cleaned up Build-Depends + * debian/control: upgraded to Debian Policy 3.5.5 + * debian/control: upgraded to Debian Perl Policy 1.20 + + -- Ardo van Rangelrooij Mon, 3 Sep 2001 08:43:15 -0500 + +libxml-parser-perl (2.30-2) unstable; urgency=low + + * rebuild against official expat library + (closes: Bug#99322) + + -- Ardo van Rangelrooij Sat, 2 Jun 2001 12:26:10 -0500 + +libxml-parser-perl (2.30-1) unstable; urgency=low + + * New upstream release + (closes: Bug#96074, Bug#96091) + * debian/copyright: updated + + -- Ardo van Rangelrooij Mon, 28 May 2001 10:36:27 -0500 + +libxml-parser-perl (2.27-9) unstable; urgency=low + + * debian/changelog: removed maintainer's email address from local settings + + -- Ardo van Rangelrooij Sun, 15 Apr 2001 15:27:50 -0500 + +libxml-parser-perl (2.27-8) unstable; urgency=low + + * debian/control: updated debhelper dependency to remove dh_testversion + * debian/control: upgraded to Debian Policy 3.5.2 + * debian/control: upgraded to Debian Perl Policy 1.17 + * debian/rules: upgraded to Debian Perl Policy 1.17 + + -- Ardo van Rangelrooij Sun, 15 Apr 2001 13:34:48 -0500 + +libxml-parser-perl (2.27-7) unstable; urgency=low + + * debian/rules: put back in the patch introduced in 2.27-3 + + -- Ardo van Rangelrooij Sun, 28 Jan 2001 11:29:24 -0600 + +libxml-parser-perl (2.27-6) unstable; urgency=low + + * Parser.pm: fixed small typos in documentation + (closes: Bug#82888) + + -- Ardo van Rangelrooij Fri, 19 Jan 2001 19:33:44 -0600 + +libxml-parser-perl (2.27-5) unstable; urgency=low + + * debian/control: changed perl dependency + (closes: Bug#76849, Bug#80687) + * debian/control: upgraded to Debian Policy 3.2.1 + * debian/rules: upgraded to debhelper v3 + + -- Ardo van Rangelrooij Wed, 17 Jan 2001 15:43:08 -0600 + +libxml-parser-perl (2.27-4) unstable; urgency=low + + * debian/control: updated short description + * debian/control: updated long description + * debian/control: upgraded to Debian Policy 3.1.1 + * debian/copyright: updated + + -- Ardo van Rangelrooij Thu, 15 Jun 2000 20:54:34 +0200 + +libxml-parser-perl (2.27-3) frozen unstable; urgency=low + + * debian/rules: changed build process to export only those symbols which + are needed by Perl + (closes: Bug#61231) (thanks Steve and Remco!) + + -- Ardo van Rangelrooij Tue, 11 Apr 2000 20:39:34 +0200 + +libxml-parser-perl (2.27-2) unstable; urgency=low + + * examples/*: fixed wrong path for perl + + -- Ardo van Rangelrooij Thu, 13 Jan 2000 21:00:20 +0100 + +libxml-parser-perl (2.27-1) unstable; urgency=low + + * New upstream release + (closes: #46865) + * Made lintian-free + + -- Ardo van Rangelrooij Thu, 21 Oct 1999 19:59:38 +0200 + +libxml-parser-perl (2.26-2) unstable; urgency=low + + * New maintainer + * Added examples + * Upgraded to Debian Policy 3.0.1 + * Upgraded to Debian Perl Policy 1.1 + + -- Ardo van Rangelrooij Sun, 17 Oct 1999 17:30:00 +0200 + +libxml-parser-perl (2.26-1) unstable; urgency=low + + * New upstream version. + * Incorporates Raphael's NMU patch for the perl upgrade (Thanks again! :) + + -- Stevie Strickland Mon, 26 Jul 1999 19:35:33 -0400 + +libxml-parser-perl (2.23-3.1) unstable; urgency=low + + * NMU for the perl upgrade. + * Corrected the rules file. + + -- Raphael Hertzog Mon, 12 Jul 1999 11:41:34 +0200 + +libxml-parser-perl (2.23-3) unstable; urgency=low + + * Fixes: #38960 + * Added lines to debian/rules that will keep from future problems + popping up, with respect to empty directories, that have occurred + with other packages. Just in case ;) + + -- Stevie Strickland Tue, 15 Jun 1999 14:05:03 -0400 + +libxml-parser-perl (2.23-2) unstable; urgency=low + + * Closes Bug #38029 (doesn't remove debian/files) + * Also breaks this back up into a non-Debian specific package + (.orig.tar.gz/.diff.gz/.dsc instead of .tar.gz/.dsc) + + -- Stevie Strickland Mon, 24 May 1999 04:36:50 -0400 + +libxml-parser-perl (2.23-1) unstable; urgency=low + + * New upstream release. Changes to description, also. + + -- Stevie Strickland Fri, 14 May 1999 11:34:13 -0400 + +libxml-parser-perl (2.22-1) unstable; urgency=low + + * Initial Release. + + -- Stevie Strickland Mon, 3 May 1999 09:42:42 -0400 --- libxml-parser-perl-2.36.orig/debian/watch +++ libxml-parser-perl-2.36/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.cpan.org/modules/by-module/XML/XML-Parser-(\d+\.\d+)\.tar.gz --- libxml-parser-perl-2.36.orig/debian/encodings/iso-8859-16.uuenc +++ libxml-parser-perl-2.36/debian/encodings/iso-8859-16.uuenc @@ -0,0 +1,27 @@ +begin 644 iso-8859-16.enc +M_NOZSDE33RTX.#4Y+3$V```````````````````````````````````````` +M``````````````$````"`````P````0````%````!@````<````(````"0`` +M``H````+````#`````T````.````#P```!`````1````$@```!,````4```` +M%0```!8````7````&````!D````:````&P```!P````=````'@```!\````@ +M````(0```"(````C````)````"4````F````)P```"@````I````*@```"L` +M```L````+0```"X````O````,````#$````R````,P```#0````U````-@`` +M`#<````X````.0```#H````[````/````#T````^````/P```$````!!```` +M0@```$,```!$````10```$8```!'````2````$D```!*````2P```$P```!- +M````3@```$\```!0````40```%(```!3````5````%4```!6````5P```%@` +M``!9````6@```%L```!<````70```%X```!?````8````&$```!B````8P`` +M`&0```!E````9@```&<```!H````:0```&H```!K````;````&T```!N```` +M;P```'````!Q````<@```',```!T````=0```'8```!W````>````'D```!Z +M````>P```'P```!]````?@```'\```"`````@0```((```"#````A````(4` +M``"&````AP```(@```")````B@```(L```",````C0```(X```"/````D``` +M`)$```"2````DP```)0```"5````E@```)<```"8````F0```)H```";```` +MG````)T```">````GP```*````$$```!!0```4$``""L```@'@```6````"G +M```!80```*D```(8````JP```7D```"M```!>@```7L```"P````L0```0P` +M``%"```!?0``(!T```"V````MP```7X```$-```"&0```+L```%2```!4P`` +M`7@```%\````P````,$```#"```!`@```,0```$&````Q@```,<```#(```` +MR0```,H```#+````S````,T```#.````SP```1````%#````T@```-,```#4 +M```!4````-8```%:```!<````-D```#:````VP```-P```$8```"&@```-\` +M``#@````X0```.(```$#````Y````0<```#F````YP```.@```#I````Z@`` +M`.L```#L````[0```.X```#O```!$0```40```#R````\P```/0```%1```` +E]@```5L```%Q````^0```/H```#[````_````1D```(;````_P`` +` +end --- libxml-parser-perl-2.36.orig/debian/encodings/iso-8859-15.uuenc +++ libxml-parser-perl-2.36/debian/encodings/iso-8859-15.uuenc @@ -0,0 +1,27 @@ +begin 644 iso-8859-15.enc +M_NOZSDE33RTX.#4Y+3$U```````````````````````````````````````` +M``````````````$````"`````P````0````%````!@````<````(````"0`` +M``H````+````#`````T````.````#P```!`````1````$@```!,````4```` +M%0```!8````7````&````!D````:````&P```!P````=````'@```!\````@ +M````(0```"(````C````)````"4````F````)P```"@````I````*@```"L` +M```L````+0```"X````O````,````#$````R````,P```#0````U````-@`` +M`#<````X````.0```#H````[````/````#T````^````/P```$````!!```` +M0@```$,```!$````10```$8```!'````2````$D```!*````2P```$P```!- +M````3@```$\```!0````40```%(```!3````5````%4```!6````5P```%@` +M``!9````6@```%L```!<````70```%X```!?````8````&$```!B````8P`` +M`&0```!E````9@```&<```!H````:0```&H```!K````;````&T```!N```` +M;P```'````!Q````<@```',```!T````=0```'8```!W````>````'D```!Z +M````>P```'P```!]````?@```'\```"`````@0```((```"#````A````(4` +M``"&````AP```(@```")````B@```(L```",````C0```(X```"/````D``` +M`)$```"2````DP```)0```"5````E@```)<```"8````F0```)H```";```` +MG````)T```">````GP```*````"A````H@```*,``""L````I0```6````"G +M```!80```*D```"J````JP```*P```"M````K@```*\```"P````L0```+(` +M``"S```!?0```+4```"V````MP```7X```"Y````N@```+L```%2```!4P`` +M`7@```"_````P````,$```#"````PP```,0```#%````Q@```,<```#(```` +MR0```,H```#+````S````,T```#.````SP```-````#1````T@```-,```#4 +M````U0```-8```#7````V````-D```#:````VP```-P```#=````W@```-\` +M``#@````X0```.(```#C````Y````.4```#F````YP```.@```#I````Z@`` +M`.L```#L````[0```.X```#O````\````/$```#R````\P```/0```#U```` +E]@```/<```#X````^0```/H```#[````_````/T```#^````_P`` +` +end --- libxml-parser-perl-2.36.orig/debian/encodings/windows-1251.uuenc +++ libxml-parser-perl-2.36/debian/encodings/windows-1251.uuenc @@ -0,0 +1,27 @@ +begin 644 windows-1251.enc +M_NOZSG=I;F1O=W,M,3(U,0`````````````````````````````````````` +M``````````````$````"`````P````0````%````!@````<````(````"0`` +M``H````+````#`````T````.````#P```!`````1````$@```!,````4```` +M%0```!8````7````&````!D````:````&P```!P````=````'@```!\````@ +M````(0```"(````C````)````"4````F````)P```"@````I````*@```"L` +M```L````+0```"X````O````,````#$````R````,P```#0````U````-@`` +M`#<````X````.0```#H````[````/````#T````^````/P```$````!!```` +M0@```$,```!$````10```$8```!'````2````$D```!*````2P```$P```!- +M````3@```$\```!0````40```%(```!3````5````%4```!6````5P```%@` +M``!9````6@```%L```!<````70```%X```!?````8````&$```!B````8P`` +M`&0```!E````9@```&<```!H````:0```&H```!K````;````&T```!N```` +M;P```'````!Q````<@```',```!T````=0```'8```!W````>````'D```!Z +M````>P```'P```!]````?@```'\```0"```$`P``(!H```13```@'@``("8` +M`"`@```@(0``(*P``"`P```$"0``(#D```0*```$#```!`L```0/```$4@`` +M(!@``"`9```@'```(!T``"`B```@$P``(!3_____```A(@``!%D``"`Z```$ +M6@``!%P```1;```$7P```*````0.```$7@``!`@```"D```$D````*8```"G +M```$`0```*D```0$````JP```*P```"M````K@``!`<```"P````L0``!`8` +M``16```$D0```+4```"V````MP``!%$``"$6```$5````+L```18```$!0`` +M!%4```17```$$```!!$```02```$$P``!!0```05```$%@``!!<```08```$ +M&0``!!H```0;```$'```!!T```0>```$'P``!"````0A```$(@``!",```0D +M```$)0``!"8```0G```$*```!"D```0J```$*P``!"P```0M```$+@``!"\` +M``0P```$,0``!#(```0S```$-```!#4```0V```$-P``!#@```0Y```$.@`` +M!#L```0\```$/0``!#X```0_```$0```!$$```1"```$0P``!$0```1%```$ +E1@``!$<```1(```$20``!$H```1+```$3```!$T```1.```$3P`` +` +end --- libxml-parser-perl-2.36.orig/debian/encodings/iso-8859-6.uuenc +++ libxml-parser-perl-2.36/debian/encodings/iso-8859-6.uuenc @@ -0,0 +1,27 @@ +begin 644 iso-8859-6.enc +M_NOZSDE33RTX.#4Y+38````````````````````````````````````````` +M``````````````$````"`````P````0````%````!@````<````(````"0`` +M``H````+````#`````T````.````#P```!`````1````$@```!,````4```` +M%0```!8````7````&````!D````:````&P```!P````=````'@```!\````@ +M````(0```"(````C````)````"4````F````)P```"@````I````*@```"L` +M```L````+0```"X````O````,````#$````R````,P```#0````U````-@`` +M`#<````X````.0```#H````[````/````#T````^````/P```$````!!```` +M0@```$,```!$````10```$8```!'````2````$D```!*````2P```$P```!- +M````3@```$\```!0````40```%(```!3````5````%4```!6````5P```%@` +M``!9````6@```%L```!<````70```%X```!?````8````&$```!B````8P`` +M`&0```!E````9@```&<```!H````:0```&H```!K````;````&T```!N```` +M;P```'````!Q````<@```',```!T````=0```'8```!W````>````'D```!Z +M````>P```'P```!]````?@```'\```"`````@0```((```"#````A````(4` +M``"&````AP```(@```")````B@```(L```",````C0```(X```"/````D``` +M`)$```"2````DP```)0```"5````E@```)<```"8````F0```)H```";```` +MG````)T```">````GP```*#_______________\```"D________________ +M_____________________P``!@P```"M____________________________ +M_________________________________________P``!AO_____________ +M__\```8?_____P``!B$```8B```&(P``!B0```8E```&)@``!B<```8H```& +M*0``!BH```8K```&+```!BT```8N```&+P``!C````8Q```&,@``!C,```8T +M```&-0``!C8```8W```&.```!CD```8Z__________________________\` +M``9````&00``!D(```9#```&1```!D4```9&```&1P``!D@```9)```&2@`` +M!DL```9,```&30``!DX```9/```&4```!E$```92____________________ +E_________________________________________________P`` +` +end --- libxml-parser-perl-2.36.orig/debian/encodings/README +++ libxml-parser-perl-2.36/debian/encodings/README @@ -0,0 +1,9 @@ +These uuencoded binary encoding files were copied from version 2.36-1 +of the libxml-parser-perl package. They were originally created from +XML source files in the libxml-encoding-perl package (version 2.01-1) +with the 'compile_encoding' script in the same package: + + compile_encoding -o Parser/Encodings/$(encoding).enc /usr/share/libxml-encoding-perl/$(encoding).xml + +See http://bugs.debian.org/458144 + --- libxml-parser-perl-2.36.orig/debian/encodings/iso-8859-11.uuenc +++ libxml-parser-perl-2.36/debian/encodings/iso-8859-11.uuenc @@ -0,0 +1,27 @@ +begin 644 iso-8859-11.enc +M_NOZSDE33RTX.#4Y+3$Q```````````````````````````````````````` +M``````````````$````"`````P````0````%````!@````<````(````"0`` +M``H````+````#`````T````.````#P```!`````1````$@```!,````4```` +M%0```!8````7````&````!D````:````&P```!P````=````'@```!\````@ +M````(0```"(````C````)````"4````F````)P```"@````I````*@```"L` +M```L````+0```"X````O````,````#$````R````,P```#0````U````-@`` +M`#<````X````.0```#H````[````/````#T````^````/P```$````!!```` +M0@```$,```!$````10```$8```!'````2````$D```!*````2P```$P```!- +M````3@```$\```!0````40```%(```!3````5````%4```!6````5P```%@` +M``!9````6@```%L```!<````70```%X```!?````8````&$```!B````8P`` +M`&0```!E````9@```&<```!H````:0```&H```!K````;````&T```!N```` +M;P```'````!Q````<@```',```!T````=0```'8```!W````>````'D```!Z +M````>P```'P```!]````?@```'\```"`````@0```((```"#````A````(4` +M``"&````AP```(@```")````B@```(L```",````C0```(X```"/````D``` +M`)$```"2````DP```)0```"5````E@```)<```"8````F0```)H```";```` +MG````)T```">````GP```*````X!```.`@``#@,```X$```.!0``#@8```X' +M```."```#@D```X*```."P``#@P```X-```.#@``#@\```X0```.$0``#A(` +M``X3```.%```#A4```X6```.%P``#A@```X9```.&@``#AL```X<```.'0`` +M#AX```X?```.(```#B$```XB```.(P``#B0```XE```.)@``#B<```XH```. +M*0``#BH```XK```.+```#BT```XN```.+P``#C````XQ```.,@``#C,```XT +M```.-0``#C8```XW```..```#CD```XZ_____________________P``#C\` +M``Y````.00``#D(```Y#```.1```#D4```Y&```.1P``#D@```Y)```.2@`` +M#DL```Y,```.30``#DX```Y/```.4```#E$```Y2```.4P``#E0```Y5```. +E5@``#E<```Y8```.60``#EH```Y;_____________________P`` +` +end --- libxml-parser-perl-2.36.orig/debian/encodings/iso-8859-10.uuenc +++ libxml-parser-perl-2.36/debian/encodings/iso-8859-10.uuenc @@ -0,0 +1,27 @@ +begin 644 iso-8859-10.enc +M_NOZSDE33RTX.#4Y+3$P```````````````````````````````````````` +M``````````````$````"`````P````0````%````!@````<````(````"0`` +M``H````+````#`````T````.````#P```!`````1````$@```!,````4```` +M%0```!8````7````&````!D````:````&P```!P````=````'@```!\````@ +M````(0```"(````C````)````"4````F````)P```"@````I````*@```"L` +M```L````+0```"X````O````,````#$````R````,P```#0````U````-@`` +M`#<````X````.0```#H````[````/````#T````^````/P```$````!!```` +M0@```$,```!$````10```$8```!'````2````$D```!*````2P```$P```!- +M````3@```$\```!0````40```%(```!3````5````%4```!6````5P```%@` +M``!9````6@```%L```!<````70```%X```!?````8````&$```!B````8P`` +M`&0```!E````9@```&<```!H````:0```&H```!K````;````&T```!N```` +M;P```'````!Q````<@```',```!T````=0```'8```!W````>````'D```!Z +M````>P```'P```!]````?@```'\```"`````@0```((```"#````A````(4` +M``"&````AP```(@```")````B@```(L```",````C0```(X```"/````D``` +M`)$```"2````DP```)0```"5````E@```)<```"8````F0```)H```";```` +MG````)T```">````GP```*````$$```!$@```2(```$J```!*````38```"G +M```!.P```1````%@```!9@```7T```"M```!:@```4H```"P```!!0```1,` +M``$C```!*P```2D```$W````MP```3P```$1```!80```6<```%^```@%0`` +M`6L```%+```!`````,$```#"````PP```,0```#%````Q@```2X```$,```` +MR0```1@```#+```!%@```,T```#.````SP```-````%%```!3````-,```#4 +M````U0```-8```%H````V````7(```#:````VP```-P```#=````W@```-\` +M``$!````X0```.(```#C````Y````.4```#F```!+P```0T```#I```!&0`` +M`.L```$7````[0```.X```#O````\````48```%-````\P```/0```#U```` +E]@```6D```#X```!````'D```!Z +M````>P```'P```!]````?@```'\```"`````@0```((```"#````A````(4` +M``"&````AP```(@```")````B@```(L```",````C0```(X```"/````D``` +M`)$```"2````DP```)0```"5````E@```)<```"8````F0```)H```";```` +MG````)T```">````GP```*````"A````H@```*,```"D````I0```*8```"G +M````J````*D```"J````JP```*P```"M````K@```*\```"P````L0```+(` +M``"S````M````+4```"V````MP```+@```"Y````N@```+L```"\````O0`` +M`+X```"_````P````,$```#"````PP```,0```#%````Q@```,<```#(```` +MR0```,H```#+````S````,T```#.````SP```-````#1````T@```-,```#4 +M````U0```-8```#7````V````-D```#:````VP```-P```#=````W@```-\` +M``#@````X0```.(```#C````Y````.4```#F````YP```.@```#I````Z@`` +M`.L```#L````[0```.X```#O````\````/$```#R````\P```/0```#U```` +E]@```/<```#X````^0```/H```#[````_````/T```#^````_P`` +` +end --- libxml-parser-perl-2.36.orig/debian/encodings/iso-8859-14.uuenc +++ libxml-parser-perl-2.36/debian/encodings/iso-8859-14.uuenc @@ -0,0 +1,27 @@ +begin 644 iso-8859-14.enc +M_NOZSDE33RTX.#4Y+3$T```````````````````````````````````````` +M``````````````$````"`````P````0````%````!@````<````(````"0`` +M``H````+````#`````T````.````#P```!`````1````$@```!,````4```` +M%0```!8````7````&````!D````:````&P```!P````=````'@```!\````@ +M````(0```"(````C````)````"4````F````)P```"@````I````*@```"L` +M```L````+0```"X````O````,````#$````R````,P```#0````U````-@`` +M`#<````X````.0```#H````[````/````#T````^````/P```$````!!```` +M0@```$,```!$````10```$8```!'````2````$D```!*````2P```$P```!- +M````3@```$\```!0````40```%(```!3````5````%4```!6````5P```%@` +M``!9````6@```%L```!<````70```%X```!?````8````&$```!B````8P`` +M`&0```!E````9@```&<```!H````:0```&H```!K````;````&T```!N```` +M;P```'````!Q````<@```',```!T````=0```'8```!W````>````'D```!Z +M````>P```'P```!]````?@```'\```"`````@0```((```"#````A````(4` +M``"&````AP```(@```")````B@```(L```",````C0```(X```"/````D``` +M`)$```"2````DP```)0```"5````E@```)<```"8````F0```)H```";```` +MG````)T```">````GP```*```!X"```>`P```*,```$*```!"P``'@H```"G +M```>@````*D``!Z"```>"P``'O(```"M````K@```7@``!X>```>'P```2`` +M``$A```>0```'D$```"V```>5@``'H$``!Y7```>@P``'F```![S```>A``` +M'H4``!YA````P````,$```#"````PP```,0```#%````Q@```,<```#(```` +MR0```,H```#+````S````,T```#.````SP```70```#1````T@```-,```#4 +M````U0```-8``!YJ````V````-D```#:````VP```-P```#=```!=@```-\` +M``#@````X0```.(```#C````Y````.4```#F````YP```.@```#I````Z@`` +M`.L```#L````[0```.X```#O```!=0```/$```#R````\P```/0```#U```` +E]@``'FL```#X````^0```/H```#[````_````/T```%W````_P`` +` +end --- libxml-parser-perl-2.36.orig/debian/encodings/iso-8859-13.uuenc +++ libxml-parser-perl-2.36/debian/encodings/iso-8859-13.uuenc @@ -0,0 +1,27 @@ +begin 644 iso-8859-13.enc +M_NOZSDE33RTX.#4Y+3$S```````````````````````````````````````` +M``````````````$````"`````P````0````%````!@````<````(````"0`` +M``H````+````#`````T````.````#P```!`````1````$@```!,````4```` +M%0```!8````7````&````!D````:````&P```!P````=````'@```!\````@ +M````(0```"(````C````)````"4````F````)P```"@````I````*@```"L` +M```L````+0```"X````O````,````#$````R````,P```#0````U````-@`` +M`#<````X````.0```#H````[````/````#T````^````/P```$````!!```` +M0@```$,```!$````10```$8```!'````2````$D```!*````2P```$P```!- +M````3@```$\```!0````40```%(```!3````5````%4```!6````5P```%@` +M``!9````6@```%L```!<````70```%X```!?````8````&$```!B````8P`` +M`&0```!E````9@```&<```!H````:0```&H```!K````;````&T```!N```` +M;P```'````!Q````<@```',```!T````=0```'8```!W````>````'D```!Z +M````>P```'P```!]````?@```'\```"`````@0```((```"#````A````(4` +M``"&````AP```(@```")````B@```(L```",````C0```(X```"/````D``` +M`)$```"2````DP```)0```"5````E@```)<```"8````F0```)H```";```` +MG````)T```">````GP```*```"`=````H@```*,```"D```@'@```*8```"G +M````V````*D```%6````JP```*P```"M````K@```,8```"P````L0```+(` +M``"S```@'````+4```"V````MP```/@```"Y```!5P```+L```"\````O0`` +M`+X```#F```!!````2X```$````!!@```,0```#%```!&````1(```$,```` +MR0```7D```$6```!(@```38```$J```!.P```6````%#```!10```-,```%, +M````U0```-8```#7```!<@```4$```%:```!:@```-P```%[```!?0```-\` +M``$%```!+P```0$```$'````Y````.4```$9```!$P```0T```#I```!>@`` +M`1<```$C```!-P```2L```$\```!80```40```%&````\P```4T```#U```` +E]@```/<```%S```!0@```5L```%K````_````7P```%^```@&0`` +` +end --- libxml-parser-perl-2.36.orig/Expat/Expat.xs +++ libxml-parser-perl-2.36/Expat/Expat.xs @@ -291,7 +291,6 @@ char * linebuff; STRLEN lblen; STRLEN br = 0; - int buffsize; int done = 0; int ret = 1; char * msg = NULL; @@ -336,33 +335,27 @@ } PUTBACK ; - buffsize = lblen; done = lblen == 0; } else { tbuff = newSV(0); tsiz = newSViv(BUFSIZE); - buffsize = BUFSIZE; } while (! done) { - char *buffer = XML_GetBuffer(parser, buffsize); - - if (! buffer) - croak("Ran out of memory for input buffer"); + char *buffer, *tb; SAVETMPS; if (cbv->delim) { - Copy(linebuff, buffer, lblen, char); + tb = linebuff; br = lblen; done = 1; } else { int cnt; SV * rdres; - char * tb; PUSHMARK(SP); EXTEND(SP, 3); @@ -384,14 +377,22 @@ croak("read error"); tb = SvPV(tbuff, br); - if (br > 0) - Copy(tb, buffer, br, char); - else + /* br == number of bytes read from stream + Note that it is possible that br > BUFSIZE if the input stream + is decoding a non-ASCII source. */ + if (br <= 0) done = 1; PUTBACK ; } + buffer = XML_GetBuffer(parser, br); + if (! buffer) + croak("Ran out of memory for input buffer"); + + if (br > 0) + Copy(tb, buffer, br, char); + ret = XML_ParseBuffer(parser, br, done); SPAGAIN; /* resync local SP in case callbacks changed global stack */ @@ -495,7 +496,7 @@ } } - if (cbv->st_serial_stackptr >= cbv->st_serial_stacksize) { + if (cbv->st_serial_stackptr + 1 >= cbv->st_serial_stacksize) { unsigned int newsize = cbv->st_serial_stacksize + 512; Renew(cbv->st_serial_stack, newsize, unsigned int);