debian/0000755000000000000000000000000012171047230007163 5ustar debian/control0000644000000000000000000000244612171045563010603 0ustar Source: libhtml-html5-parser-perl Section: perl Priority: optional Build-Depends: cdbs, devscripts, debhelper, dh-buildinfo, libhtml-html5-entities-perl, libio-html-perl, libtry-tiny-perl, liburi-perl, libxml-libxml-perl (>= 1.93), perl (>= 5.14) | libhttp-tiny-perl Maintainer: Debian Perl Group Uploaders: Jonas Smedegaard , Florian Schlichting Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/git/pkg-perl/packages/libhtml-html5-parser-perl Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libhtml-html5-parser-perl.git Homepage: https://metacpan.org/release/HTML-HTML5-Parser Package: libhtml-html5-parser-perl Architecture: all Depends: ${perl:Depends}, ${misc:Depends}, ${cdbs:Depends} Suggests: ${cdbs:Suggests} Description: parse HTML reliably HTML::HTML5::Parser is an HTML parser, similar to the non-CPAN module Whatpm::HTML with some changes including: . * Provides an XML::LibXML-like DOM interface. If you usually use XML::LibXML's DOM parser, this should be a drop-in solution for tag soup HTML. . * Constructs an XML::LibXML::Document as the result of parsing. . * Via bundling and modifications, removed external dependencies on non-CPAN packages. debian/source/0000755000000000000000000000000011773630121010467 5ustar debian/source/format0000644000000000000000000000001411773630121011675 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000001335112171047230011040 0ustar libhtml-html5-parser-perl (0.301-1) unstable; urgency=low [ Salvatore Bonaccorso ] * Use canonical hostname (anonscm.debian.org) in Vcs-Git URI. [ Jonas Smedegaard ] * Add README.source emphasizing control.in file as *not* a show-stopper for contributions, referring to wiki page for details. * Bump standards-version to 3.9.4. * Drop patch 1001: Build problem turned out to be (and fixed by now) in CDBS. * Add git URL as alternate source. * Stop tracking md5sum of upstream tarball. * List upstream issue tracker as preferred contact. * Update Homepage to use metacpan.com, to match upstream hint. * Bump packaging license to GPL-3+, and extend copyrigt coverage for myself to include recent years. * Update copyright coverage for additional convenience code copies. -- Jonas Smedegaard Mon, 15 Jul 2013 21:33:38 +0200 libhtml-html5-parser-perl (0.208-1) unstable; urgency=low [ upstream ] * New upstream release. + Bugfix: If two tags were in the same file, attributes on the second element could cause crashes. + Bugfix: Minor fix re LWP-independence. [ Jonas Smedegaard ] * Recommend libwww-perl. * Unfuzz patch. -- Jonas Smedegaard Tue, 11 Dec 2012 01:11:47 +0100 libhtml-html5-parser-perl (0.206-2) unstable; urgency=low * Bump debhelper compatibility level to 8. * Update package relations: + Relax to (build-)depend unversioned on cdbs: Needed version satisfied in stable, and oldstable no longer supported. * Update copyright file: + Fix use pseudo-license-in-comment and -comment-in-license fields: File format 1.0 mandates License field to either be single-line or include all licensing info. -- Jonas Smedegaard Tue, 07 Aug 2012 16:38:44 +0200 libhtml-html5-parser-perl (0.206-1) experimental; urgency=low * New upstream release. * (Build-)depend on recent perl or libttp-tiny-perl (not libwww-perl), and liburi-perl. * Update copyright file to cover yet another convenience copy of external Perl module. -- Jonas Smedegaard Sat, 30 Jun 2012 21:05:10 +0200 libhtml-html5-parser-perl (0.200-1) experimental; urgency=low * New upstream release. * Update inclusion of example files. * (Build-)depend on libio-html-perl and libtry-tiny-perl (not liberror-perl or libhtml-encoding-perl). * Update copyright file: + Improve Files sections for convenience copies of external Perl modules. + Quote license string in GPL comment. * Add patch 1001 to avoid auto-installing dependencies during build. -- Jonas Smedegaard Thu, 14 Jun 2012 18:57:17 +0200 libhtml-html5-parser-perl (0.110-1) unstable; urgency=low * New upstream release. * Use anonscm.debian.org URL in Vcs-Browser field. * Update package relations: + Newline-delimit dependencies. + Suggest (not yet packaged) libxml-libxml-devel-setlinenumber-perl. -- Jonas Smedegaard Sun, 25 Mar 2012 14:13:59 +0200 libhtml-html5-parser-perl (0.109-1) unstable; urgency=low * New upstream release. [Jonas Smedegaard] * Fix use by-module URL for get-orig-source rule. * Update copyright file: + Improve coverage of convenience code copies below inc/. + Fix double-indent in Copyright fields as per Policy §5.6.13. + Quote license strings in comments. * List Florian as copyright holder in debian/rules, and extend copyright years for myself. * Update package relations: + Relax build-dependency on cdbs (needlessly tight). + Relax build-depend unversioned on debhelper and devscripts (needed versions satisfied even in oldstable). [ Florian Schlichting ] * Tighten dependency on XML::LibXML to at least version 1.93. * Bump Standards-Version to 3.9.3. * Update copyright file: + Bump copyright format to 1.0. + Adjust copyright year for Scalar::Util version 1.23. + Add files paragraph for html5lib test data. -- Jonas Smedegaard Mon, 19 Mar 2012 22:54:41 +0100 libhtml-html5-parser-perl (0.108-1) unstable; urgency=low * Imported Upstream version 0.108. * Bumped years of copyright. * Included a separate copyright stanza for M::P::Dist::RDF. * Don't install sample scripts into /usr/bin but into examples/. -- Florian Schlichting Thu, 19 Jan 2012 21:20:09 +0100 libhtml-html5-parser-perl (0.107-1) unstable; urgency=low [ Florian Schlichting ] * Imported Upstream version 0.107. * Dropped 2001_disable_verification.patch, modified file was removed. * Bumped copyright years, adjusted DEP-5 headers and added/deleted stanzas for new and removed files. * Added dependency on libhtml-html5-entities-perl, dropped dependency on libmodule-signature-perl. * Added myself to uploaders and copyright. [ Jonas Smedegaard ] * Update copyright file: Improve references for convenience copy of Module::Install. [ gregor herrmann ] * Remove debian/source/local-options; abort-on-upstream-changes and unapply-patches are default in dpkg-source since 1.16.1. -- Florian Schlichting Sun, 18 Dec 2011 23:18:51 +0100 libhtml-html5-parser-perl (0.103-2) unstable; urgency=low * Improve package relations: + Stop declaring packages part of core Perl even in oldstable: - libtest-simple-perl * Update copyright file: + Rewrite using draft 174 of DEP-5 format. + Rewrap license fields at 72 chars, and shorten comments. * Bump policy compliance to standards-version 3.9.2. -- Jonas Smedegaard Sun, 08 May 2011 20:27:12 +0200 libhtml-html5-parser-perl (0.103-1) unstable; urgency=low * Initial packaging release. Closes: bug#616516. -- Jonas Smedegaard Sat, 05 Mar 2011 08:04:44 +0100 debian/README.source0000644000000000000000000000056312134045103011342 0ustar CDBS+git-buildpackage --------------------- This source package uses CDBS and git-buildpackage. NMUs need not (but are encouraged to) make special use of these tools. In particular, the debian/control.in file can be completely ignored. More info here: http://wiki.debian.org/CDBS+git-buildpackage -- Jonas Smedegaard Mon, 18 Feb 2013 12:55:37 +0100 debian/compat0000644000000000000000000000000212010223332010350 0ustar 8 debian/watch0000644000000000000000000000025311773630121010220 0ustar # Run the "uscan" command to check for upstream updates and more. version=3 http://search.cpan.org/dist/HTML-HTML5-Parser/ .*/HTML-HTML5-Parser-([\d.]+)\.tar\.gz debian debian/copyright_hints0000644000000000000000000001245212171045557012341 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: FIXME Upstream-Contact: FIXME Source: FIXME Disclaimer: Autogenerated by CDBS Files: CREDITS MANIFEST META.yml Makefile.PL NEWS SIGNATURE TODO bin/html2xhtml bin/html5debug debian/README.source debian/compat debian/control debian/control.in debian/gbp.conf debian/source/format debian/watch examples/charsets.pl examples/html/iso-8859-15.html examples/html/utf-16.html examples/html/utf-8.html inc/Module/AutoInstall.pm inc/Module/Install/AutoInstall.pm inc/Module/Install/AutoManifest.pm inc/Module/Install/Base.pm inc/Module/Install/Can.pm inc/Module/Install/Contributors.pm inc/Module/Install/Fetch.pm inc/Module/Install/Include.pm inc/Module/Install/Makefile.pm inc/Module/Install/Scripts.pm inc/Module/Install/TrustMetaYml.pm inc/Module/Install/Win32.pm inc/Module/Install/WriteAll.pm inc/Module/Package/Dist/RDF.pm inc/YAML/Tiny.pm lib/HTML/HTML5/Parser/Charset/DecodeHandle.pm lib/HTML/HTML5/Parser/Charset/Info.pm lib/HTML/HTML5/Parser/Charset/UnicodeChecker.pm lib/HTML/HTML5/Parser/Charset/WebLatin1.pm lib/HTML/HTML5/Parser/Charset/WebThai.pm lib/HTML/HTML5/Parser/TagSoupParser.pm meta/doap.ttl meta/makefile.ttl meta/rt-bugs.ttl t/html5lib-fail/domjs-unsafe.dat t/html5lib-fail/entities02.dat t/html5lib-fail/plain-text-unsafe.dat t/html5lib-fail/tests1.dat t/html5lib-fail/tests11.dat t/html5lib-fail/tests14.dat t/html5lib-fail/tests16.dat t/html5lib-fail/tests21.dat t/html5lib-fail/tests22.dat t/html5lib-fail/tests23.dat t/html5lib-fail/tests5.dat t/html5lib-fail/tests6.dat t/html5lib-fail/tests9.dat t/html5lib-fail/tests_innerHTML_1.dat t/html5lib-pass/adoption01.dat t/html5lib-pass/adoption02.dat t/html5lib-pass/comments01.dat t/html5lib-pass/doctype01.dat t/html5lib-pass/entities01.dat t/html5lib-pass/html5test-com.dat t/html5lib-pass/inbody01.dat t/html5lib-pass/isindex.dat t/html5lib-pass/pending-spec-changes-plain-text-unsafe.dat t/html5lib-pass/pending-spec-changes.dat t/html5lib-pass/scriptdata01.dat t/html5lib-pass/scripted/adoption01.dat t/html5lib-pass/scripted/ark.dat t/html5lib-pass/scripted/webkit01.dat t/html5lib-pass/tables01.dat t/html5lib-pass/tests10.dat t/html5lib-pass/tests12.dat t/html5lib-pass/tests15.dat t/html5lib-pass/tests17.dat t/html5lib-pass/tests18.dat t/html5lib-pass/tests19.dat t/html5lib-pass/tests2.dat t/html5lib-pass/tests20.dat t/html5lib-pass/tests24.dat t/html5lib-pass/tests25.dat t/html5lib-pass/tests26.dat t/html5lib-pass/tests3.dat t/html5lib-pass/tests4.dat t/html5lib-pass/tests7.dat t/html5lib-pass/tests8.dat t/html5lib-pass/tricky01.dat t/html5lib-pass/webkit01.dat t/html5lib-pass/webkit02.dat Copyright: *No copyright* License: UNKNOWN FIXME Files: lib/HTML/HTML5/Parser/Error.pm lib/HTML/HTML5/Parser/UA.pm t/01basic.t t/02html5.t t/03html4.t t/04fragments.t t/05origins.t t/06xlxdsln.t t/07ua.t t/08ua-lwp.t t/99html5lib.t t/rt-79019.t Copyright: 2010-2012, Toby Inkster 2011-2012, Toby Inkster 2012, Toby Inkster License: UNKNOWN FIXME Files: Changes inc/Module/Install/Package.pm inc/Module/Package.pm Copyright: 2010, 2011 2011, 2012 License: UNKNOWN FIXME Files: README lib/HTML/HTML5/Parser.pm Copyright: 2007-2011, Wakaba 2009-2012, Toby Inkster License: UNKNOWN FIXME Files: inc/Module/Install/Metadata.pm Copyright: License: Expat FIXME Files: debian/rules Copyright: 2011-2012, Florian Schlichting 2011-2013, Jonas Smedegaard License: GPL-3+ FIXME Files: LICENSE Copyright: 1989, Free Software Foundation, Inc 19xx name of author 19yy 2013, Toby Inkster , Wakaba HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR HOLDERS AND/OR OTHER PARTIES Holder Holder maintains some semblance of Holder may not be used to endorse or promote Holder to include your Holder" is whoever is named in the or s for Holder, but only to the Holder. A Package modified in such disclaimer" for the program, if holder saying it may be interest in the notices and associated disclaimers the software, and License: GPL-ever FIXME Files: COPYRIGHT Copyright: 2002, - 2012, Brian Ingerson, Audrey Tang and Adam Kennedy 2002-2004, Audrey Tang and Brian Ingerson 2003-2004, Audrey Tang 2006, - 2012, Adam Kennedy 2007-2011, Wakaba 2009-2012, Toby Inkster 2010-2012, Toby Inkster 2011-2012, Toby Inkster 2011. Ingy doet Net 2012, Toby Inkster 2013, the holder(s) None This software is 2011-2012, by Toby Inkster This software is 2013, by Toby Inkster Unknown License: UNKNOWN FIXME Files: meta/changes.ttl Copyright: 2011."@en ; a dcs:Update , dcs:Documentation License: UNKNOWN FIXME Files: META.ttl Copyright: 2010."@en; 2011."@en; 2012."@en; License: UNKNOWN FIXME Files: inc/Module/Install.pm Copyright: 2008, - 2012, Adam Kennedy License: UNKNOWN FIXME Files: t/lib/Test/HTTP/Server.pm Copyright: Przemysław Iskra License: UNKNOWN FIXME Files: lib/HTML/HTML5/Parser/Charset/UniversalCharDet.pm Copyright: 2007-2011, Wakaba 2009-2012, Toby Inkster License: UNKNOWN FIXME Files: lib/HTML/HTML5/Parser/Tokenizer.pm Copyright: 2007-2011, Wakaba License: UNKNOWN FIXME debian/copyright0000644000000000000000000001256412171045754011137 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: HTML::HTML5::Parser Upstream-Contact: http://rt.cpan.org/Dist/Display.html?Queue=HTML-HTML5-Parser Source: http://search.cpan.org/dist/HTML-HTML5-Parser/ git://github.com/tobyink/p5-html-html5-parser Files: * Copyright: 2007-2011, Wakaba 2009-2012, Toby Inkster License: Artistic or GPL-1+ Comment: License: . This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.1 or, at your option, any later version of Perl 5 you may have available. . Comment: . Perl 5 is licensed under either the "Artistic license" or the "GNU General Public License" version 1 or later. Files: inc/Module/AutoInstall.pm inc/Module/Install* Copyright: 2001-2006, Audrey Tang 2002-2004, Brian Ingerson 2006,2008-2012, Adam Kennedy License: Artistic or GPL-1+ Comment: Mangled convenience copy of Module::Install. Files: inc/Module/Package.pm inc/Module/Install/Package.pm Copyright: 2011, Ingy döt Net License: Artistic or GPL-1+ Comment: Mangled convenience copy of Module::Package. Files: inc/Module/Install/AutoManifest.pm Copyright: 2008, Hans Dieter Pearcey License: Artistic or GPL-1+ Comment: Mangled convenience copy of Module::Install::AutoManifest. Files: inc/Module/Install/Contributors.pm Copyright: 2013, Toby Inkster License: Artistic or GPL-1+ Comment: Mangled convenience copy of Module::Install::Contributors. Files: inc/Module/Install/TrustMetaYml.pm Copyright: 2011, Toby Inkster License: Artistic or GPL-1+ Comment: Mangled convenience copy of Module::Install::TrustMetaYml. Files: inc/Module/Package/Dist/RDF.pm Copyright: 2011, Toby Inkster License: Artistic or GPL-1+ Comment: Mangled convenience copy of Module::Package::RDF. Files: inc/YAML/Tiny.pm Copyright: 2006-2011, Adam Kennedy License: Artistic or GPL-1+ Comment: Mangled convenience copy of YAML::Tiny. Files: t/html5lib* Copyright: 2006-2011 The Authors License: Expat Comment: Code lacks licensing, but is clearly a subset of of html5lib from , which contains above copyright and licensing. . It is unclear who are "the Authors", but the file LICENSE within html5lib project lists "Contributors" as follows (as of html5lib 0.95): . James Graham - jg307@cam.ac.uk Anne van Kesteren - annevankesteren@gmail.com Lachlan Hunt - lachlan.hunt@lachy.id.au Matt McDonald - kanashii@kanashii.ca Sam Ruby - rubys@intertwingly.net Ian Hickson (Google) - ian@hixie.ch Thomas Broyer - t.broyer@ltgt.net Jacques Distler - distler@golem.ph.utexas.edu Henri Sivonen - hsivonen@iki.fi Adam Barth - abarth@webkit.org Eric Seidel - eric@webkit.org The Mozilla Foundation (contributions from Henri Sivonen since 2008) David Flanagan (Mozilla) - dflanagan@mozilla.com Files: t/lib/Test/HTTP/Server.pm Copyright: 2011, Przemysław Iskra License: Artistic or GPL-1+ Comment: Mangled convenience copy of Test::HTTP::Server. Files: debian/* Copyright: 2011-2013, Jonas Smedegaard 2011-2012, Florian Schlichting License: GPL-3+ License: Artistic Comment: . On Debian systems the "Artistic License" is located in "/usr/share/common-licenses/Artistic". License: GPL-1+ Comment: . On Debian systems the "GNU General Public License" version 1 is located in "/usr/share/common-licenses/GPL-1". License: GPL-3+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . Comment: . On Debian systems the "GNU General Public License" version 3 is located in "/usr/share/common-licenses/GPL-3". . You should have received a copy of the "GNU General Public License" along with this program. If not, see . License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/gbp.conf0000644000000000000000000000014611773630121010607 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] pristine-tar = True sign-tags = True debian/rules0000755000000000000000000000340012171044603010241 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Copyright 2011, 2012, 2013 Jonas Smedegaard # Copyright 2011, 2012 Florian Schlichting # Description: Main Debian packaging script for HTML::HTML5::Parser # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . include /usr/share/cdbs/1/rules/upstream-tarball.mk include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/class/perl-makemaker.mk include /usr/share/cdbs/1/rules/debhelper.mk pkg = $(DEB_SOURCE_PACKAGE) DEB_UPSTREAM_PACKAGE = HTML-HTML5-Parser DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/HTML # Needed by upstream build and (always) at runtime perl-deps = html-html5-entities io-html try-tiny uri deps = $(patsubst %,$(comma) lib%-perl,$(perl-deps)) deps +=, libxml-libxml-perl (>= 1.93) deps +=, perl (>= 5.14) | libhttp-tiny-perl # Needed (often/seldom) at runtime # TODO: recommend ...linenumber... when available in Debian recommends = libwww-perl suggests = libxml-libxml-devel-setlinenumber-perl CDBS_BUILD_DEPENDS +=, $(deps) CDBS_DEPENDS_$(pkg) = $(deps) CDBS_RECOMMENDS_$(pkg) = $(recommends) CDBS_SUGGESTS_$(pkg) = $(suggests) DEB_INSTALL_EXAMPLES_$(pkg) = examples/* debian/control.in0000644000000000000000000000215312171044246011200 0ustar Source: libhtml-html5-parser-perl Section: perl Priority: optional Build-Depends: @cdbs@ Maintainer: Debian Perl Group Uploaders: Jonas Smedegaard , Florian Schlichting Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/git/pkg-perl/packages/libhtml-html5-parser-perl Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libhtml-html5-parser-perl.git Homepage: https://metacpan.org/release/HTML-HTML5-Parser Package: libhtml-html5-parser-perl Architecture: all Depends: ${perl:Depends}, ${misc:Depends}, ${cdbs:Depends} Suggests: ${cdbs:Suggests} Description: parse HTML reliably HTML::HTML5::Parser is an HTML parser, similar to the non-CPAN module Whatpm::HTML with some changes including: . * Provides an XML::LibXML-like DOM interface. If you usually use XML::LibXML's DOM parser, this should be a drop-in solution for tag soup HTML. . * Constructs an XML::LibXML::Document as the result of parsing. . * Via bundling and modifications, removed external dependencies on non-CPAN packages.