debian/0000755000000000000000000000000012231173605007166 5ustar debian/watch0000644000000000000000000000020111561034212010203 0ustar version=3 http://search.cpan.org/dist/SGML-Parser-OpenSP/ .*/SGML-Parser-OpenSP-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/libsgml-parser-opensp-perl.examples0000644000000000000000000000001711561034212016104 0ustar eg/* samples/* debian/rules0000755000000000000000000000041411561034212010240 0ustar #!/usr/bin/make -f %: dh $@ override_dh_fixperms: dh_fixperms chmod a-x debian/libsgml-parser-opensp-perl/usr/share/doc/libsgml-parser-opensp-perl/examples/*.xml chmod a-x debian/libsgml-parser-opensp-perl/usr/share/doc/libsgml-parser-opensp-perl/examples/*.soc debian/copyright0000644000000000000000000000211711561034212011115 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Maintainer: Bjoern Hoehrmann Source: http://search.cpan.org/dist/SGML-Parser-OpenSP/ Name: SGML-Parser-OpenSP Files: * Copyright: 2006-2008, Bjoern Hoehrmann License: Artistic or GPL-1+ Files: debian/* Copyright: 2010, Nicholas Bamber License: Artistic or GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian GNU/Linux systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: GPL-1+ 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 1, or (at your option) any later version. . On Debian GNU/Linux systems, the complete text of version 1 of the General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/source/0000755000000000000000000000000011561037440010467 5ustar debian/source/format0000644000000000000000000000001411561034212011667 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000011561037440010616 5ustar debian/patches/doc_misspelling.patch0000644000000000000000000000165211561034212015010 0ustar Subject: Two words incorrectly spelt in the documentation Forwarded: no Author: Nicholas Bamber Last-Update: 2010-08-10 --- a/lib/SGML/Parser/OpenSP.pm +++ b/lib/SGML/Parser/OpenSP.pm @@ -491,7 +491,7 @@ =item refc -Warn about ommitted refc delimiters. +Warn about omitted refc delimiters. =item temp-ms @@ -527,7 +527,7 @@ =item missing-att-name -Warn about ommitted attribute names in start tags. +Warn about omitted attribute names in start tags. =item comment-decl-s @@ -613,7 +613,7 @@ =head1 PROCESSING FILES -In order to start processing of a document and recieve events, the +In order to start processing of a document and receive events, the C method must be called. It takes one argument specifying the path to a file (not a file handle). You must set an event handler using the C method prior to using this method. The return debian/patches/binnmu_rebuild_fix.patch0000644000000000000000000000156011561037075015511 0ustar From: Niko Tyni Date: Fri, 6 May 2011 18:03:59 +0300 Subject: [PATCH] Don't pass the full path of the file to parse() in restricted mode Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=613199 Bug: https://rt.cpan.org/Public/Bug/Display.html?id=67996 If the build directory name contains characters like '+', tests 11 and 12 of t/13restricted.t fail because the opensp library considers the directory unsafe and skips it. (see PosixStorageManager::isSafe() in lib/PosixStorage.cxx of opensp-1.5.2) (adjusted to apply to file with DOS line endings) --- a/t/13restricted.t 2011-05-06 19:06:03.000000000 +0100 +++ b/t/13restricted.t 2011-05-06 19:19:19.000000000 +0100 @@ -53,7 +53,7 @@ $h8->{ok1} = 0; $h8->{ok2} = 0; -my $sd = File::Spec->catfile(File::Spec->rel2abs('.'), 'samples'); +my $sd = 'samples'; $p->search_dirs($sd); debian/patches/series0000644000000000000000000000005711561036166012041 0ustar doc_misspelling.patch binnmu_rebuild_fix.patch debian/compat0000644000000000000000000000000211561034212010357 0ustar 7 debian/control0000644000000000000000000000211611561037324010573 0ustar Source: libsgml-parser-opensp-perl Section: perl Priority: optional Build-Depends: debhelper (>= 7.0.50~), libclass-accessor-perl, libtest-exception-perl, perl, libosp-dev, libtest-pod-perl, libtest-pod-coverage-perl Maintainer: Debian Perl Group Uploaders: Nicholas Bamber , Dominic Hargreaves Standards-Version: 3.9.2 Homepage: http://search.cpan.org/dist/SGML-Parser-OpenSP/ Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libsgml-parser-opensp-perl/ Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libsgml-parser-opensp-perl/ Package: libsgml-parser-opensp-perl Architecture: any Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends}, libclass-accessor-perl Description: OpenSP Parser of SGML documents SGML::Parser::OpenSP provides an interface to the OpenSP SGML parser. OpenSP and this module are event based. As the parser recognizes parts of the document (say the start or end of an element), then any handlers registered for that type of an event are called with suitable parameters. debian/changelog0000644000000000000000000000145612231173605011046 0ustar libsgml-parser-opensp-perl (0.994-2build2) trusty; urgency=low * Rebuild for Perl 5.18. -- Colin Watson Mon, 21 Oct 2013 10:44:37 +0100 libsgml-parser-opensp-perl (0.994-2build1) precise; urgency=low * Rebuild for Perl 5.14. -- Colin Watson Tue, 15 Nov 2011 20:13:18 +0000 libsgml-parser-opensp-perl (0.994-2) unstable; urgency=low * Apply patch from Niko Tyni fixing FTBFS in directories with characters like '+', such as during binNMUs (Closes: #613199) * Update Standards-Version (no changes) -- Dominic Hargreaves Fri, 06 May 2011 19:32:53 +0100 libsgml-parser-opensp-perl (0.994-1) unstable; urgency=low * Initial Release. (Closes: #590063) -- Nicholas Bamber Mon, 16 Aug 2010 21:18:00 +0100