debian/0000755000000000000000000000000011660776034007200 5ustar debian/control0000644000000000000000000000207711660776034010611 0ustar Source: libtest-log4perl-perl Section: perl Priority: optional Build-Depends: debhelper (>= 8) Build-Depends-Indep: perl, libclass-accessor-chained-perl, liblingua-en-numbers-ordinate-perl, liblog-log4perl-perl, libtest-exception-perl Maintainer: Debian Perl Group Uploaders: AGOSTINI Yves , Tim Retout , gregor herrmann Standards-Version: 3.9.2 Homepage: http://search.cpan.org/dist/Test-Log4perl/ Vcs-Git: git://git.debian.org/pkg-perl/packages/libtest-log4perl-perl.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libtest-log4perl-perl.git Package: libtest-log4perl-perl Architecture: all Depends: ${perl:Depends}, ${misc:Depends}, libclass-accessor-chained-perl, liblingua-en-numbers-ordinate-perl, liblog-log4perl-perl Description: test module for checking Log::Log4perl code Test::Log4perl can be used to test that you're logging the right thing with Log::Log4perl. It checks that you get exactly what you expect logged by your code. debian/copyright0000644000000000000000000000221111660776034011127 0ustar Format-Specification: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?view=markup&pathrev=135 Maintainer: Mark Fowler Source: http://search.cpan.org/dist/Test-Log4perl/ Name: Test-Log4perl Files: * Copyright: 2005, Fotango Ltd License-Alias: Perl License: Artistic or GPL-1+ Files: debian/* Copyright: 2008, AGOSTINI Yves 2009, Tim Retout 2010, 2011, gregor herrmann 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 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 systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/watch0000644000000000000000000000035611660776034010235 0ustar # format version number, currently 3; this line is compulsory! version=3 # URL to the package page followed by a regex to search http://search.cpan.org/dist/Test-Log4perl/ .*/Test-Log4perl-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/patches/0000755000000000000000000000000011660776034010627 5ustar debian/patches/perl5.14-re.patch0000644000000000000000000000160211660776034013525 0ustar Description: regexp stringification is different Origin: vendor Bug: https://rt.cpan.org/Ticket/Display.html?id=70002 Forwarded: https://rt.cpan.org/Ticket/Display.html?id=70002 Bug-Debian: http://bugs.debian.org/636521 Author: gregor herrmann Last-Update: 2011-11-16 --- a/t/04re.t +++ b/t/04re.t @@ -27,11 +27,15 @@ ######################################################## +# perldelta 5.14 +# Accept both old and new-style stringification +my $modifiers = (qr/foobar/ =~ /\Q(?^/) ? "^" : "-xism"; + test_out("not ok 1 - Log4perl test"); test_fail(+9); test_diag("1st message logged wasn't what we expected:"); test_diag(" message was 'my hair is on fire!'"); -test_diag(" not like '(?-xism:tree)'"); +test_diag(" not like '(?$modifiers:tree)'"); test_diag(" (Offending log call from line ".(__LINE__+4)." in ".filename().")"); Test::Log4perl->start(); debian/patches/fix-test-init.patch0000644000000000000000000000113111660776034014350 0ustar Author: Tim Retout Description: Initialize logger object in basic test. This is required from Log::Log4perl 0.22 onwards. Index: libtest-log4perl-perl/t/01basic.t =================================================================== --- libtest-log4perl-perl.orig/t/01basic.t 2009-08-09 16:13:57.000000000 +0100 +++ libtest-log4perl-perl/t/01basic.t 2009-08-09 16:14:15.000000000 +0100 @@ -3,7 +3,8 @@ use strict; use warnings; -use Log::Log4perl; +use Log::Log4perl qw(:easy); +Log::Log4perl->easy_init($DEBUG); # do some setup here...honest guv use Test::More tests => 9; debian/patches/series0000644000000000000000000000004611660776034012044 0ustar fix-test-init.patch perl5.14-re.patch debian/compat0000644000000000000000000000000211660776034010376 0ustar 8 debian/changelog0000644000000000000000000000363711660776034011063 0ustar libtest-log4perl-perl (0.1001-3) unstable; urgency=medium [ Tim Retout ] * debian/control: Update my email address. [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ gregor herrmann ] * New patch perl5.14-re.patch: handle different forms of regexp stringification. (Closes: #636521) * Switch to source format 3.0 (quilt). Remove quilt framework. * debian/copyright: update formatting and packaging copyright years. * Switch to debhelper compatibility level 8. * Set Standards-Version to 3.9.2, remove version from perl build dependency. * Add /me to Uploaders. * Set urgency to medium (RC bug fix, perl 5.14 transition). -- gregor herrmann Wed, 16 Nov 2011 19:05:20 +0100 libtest-log4perl-perl (0.1001-2) unstable; urgency=medium [ gregor herrmann ] * debian/control: make short description a bit more explicit, thanks to Barry deFreese for the bug report (closes: #493603). * debian/control: Changed: Switched Vcs-Browser field to ViewSVN (source stanza). [ Nathan Handler ] * debian/watch: Update to ignore development releases. [ Tim Retout ] * debian/patches/fix-test-init.patch: New patch to initialize logger object during basic test. Fixes FTBFS. (Closes: #531239) * Set urgency to medium for RC bug fix. * Use short format dh and quilt debian/rules. * debian/control: + Bump debhelper build-dep. Add quilt. + Remove libmodule-build-perl from build-deps. + Bump Standards-Version to 3.8.2. + Add self to Uploaders. + Revise long description to avoid use of 'we'. * debian/copyright: Use new copyright format. * debian/README.source: Add standard quilt README.source. -- Tim Retout Sun, 09 Aug 2009 17:30:57 +0100 libtest-log4perl-perl (0.1001-1) unstable; urgency=low * Initial Release (Closes: #476937) -- AGOSTINI Yves Sun, 20 Apr 2008 11:31:41 +0200 debian/source/0000755000000000000000000000000011660776034010500 5ustar debian/source/format0000644000000000000000000000001411660776034011706 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000003611660776034010257 0ustar #!/usr/bin/make -f %: dh $@