debian/0000755000000000000000000000000012216656135007175 5ustar debian/patches/0000755000000000000000000000000012216655137010625 5ustar debian/patches/memory_leak.patch0000644000000000000000000000221212216654504014144 0ustar Description: In Text::Template 0.44 _scrubpkg is still causing memory leaks in long running processes. The generated package is not cleared and the package is not removed from the symbol table of Text::Template. Origin: https://rt.cpan.org/Public/Bug/Display.html?id=22031 Bug: https://rt.cpan.org/Public/Bug/Display.html?id=22031 Bug-Debian: http://bugs.debian.org/609528 Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=22031 Author: Radu Greab Reviewed-by: gregor herrmann Last-Update: 2011-01-10 --- a/lib/Text/Template.pm +++ b/lib/Text/Template.pm @@ -443,6 +443,8 @@ foreach my $key (keys %$hash) { undef $hash->{$key}; } + %$hash = (); + delete $Text::Template::{$s."::"}; } } --- a/t/01-basic.t +++ b/t/01-basic.t @@ -245,7 +245,9 @@ # (31) Test _scrubpkg for leakiness $Text::Template::GEN0::test = 1; Text::Template::_scrubpkg('Text::Template::GEN0'); -if ($Text::Template::GEN0::test) { +if ($Text::Template::GEN0::test + || exists $Text::Template::GEN0::{test} + || exists $Text::Template::{'GEN0::'}) { print "not ok $n\n"; } else { print "ok $n\n"; debian/patches/series0000644000000000000000000000004111672203100012015 0ustar memory_leak.patch spelling.patch debian/patches/spelling.patch0000644000000000000000000000227412216655137013470 0ustar Description: fix a spelling mistake Origin: https://rt.cpan.org/Public/Bug/Display.html?id=86872 --- a/lib/Text/Template.pm +++ b/lib/Text/Template.pm @@ -5,7 +5,7 @@ # # Copyright 2013 M. J. Dominus. # You may copy and distribute this program under the -# same terms as Perl iteself. +# same terms as Perl itself. # If in doubt, write to mjd-perl-template+@plover.com for a license. # # Version 1.46 @@ -677,7 +677,7 @@ Each program fragment should be a sequence of Perl statements, which are evaluated the usual way. The result of the last statement -executed will be evaluted in scalar context; the result of this +executed will be evaluated in scalar context; the result of this statement is a string, which is interpolated into the template in place of the program fragment itself. @@ -1493,7 +1493,7 @@ Because we didn't put C at the top of the second fragment, it was only active in the first fragment, and we didn't get any -C checking in the second fragment. Then we mispelled C<$foo> +C checking in the second fragment. Then we misspelled C<$foo> and the error wasn't caught. C version 1.22 and higher has a new feature to make debian/watch0000644000000000000000000000016712101267212010215 0ustar version=3 https://metacpan.org/release/Text-Template/ .+/Text-Template-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/copyright0000644000000000000000000000237212216656107011133 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Text-Template Upstream-Contact: Mark-Jason Dominus Source: https://metacpan.org/release/Text-Template/ Files: * Copyright: 2013, M. J. Dominus License: Artistic or GPL-1+ Files: debian/* Copyright: 1999, Craig Sanders 2002-2004, Scott M. Dier 2004, Andreas Barth 2008, Thijs Kinkhorst 2009, Ryan Niebur 2011, gregor herrmann 2013, Florian Schlichting 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/control0000644000000000000000000000174512216656076010613 0ustar Source: libtext-template-perl Section: perl Priority: extra Maintainer: Debian Perl Group Uploaders: Ryan Niebur , gregor herrmann , Florian Schlichting Build-Depends: debhelper (>= 8), perl Standards-Version: 3.9.4 Homepage: https://metacpan.org/release/Text-Template/ Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libtext-template-perl.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libtext-template-perl.git Package: libtext-template-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends} Description: perl module to process text templates Text::Template is a library for generating form letters, building HTML pages, or filling in templates generally. A `template' is a piece of text that has little Perl programs embedded in it here and there. When you `fill in' a template, you evaluate the little programs and replace them with their values. debian/compat0000644000000000000000000000000212216655621010372 0ustar 8 debian/changelog0000644000000000000000000000740712216656135011057 0ustar libtext-template-perl (1.46-1) unstable; urgency=low [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ Salvatore Bonaccorso ] * Change Vcs-Git to canonical URI (git://anonscm.debian.org) * Change search.cpan.org based URIs to metacpan.org based URIs [ Axel Beckert ] * debian/copyright: migrate pre-1.0 format to 1.0 using "cme fix dpkg- copyright" [ Florian Schlichting ] * Import Upstream version 1.46 * Update upstream copyright stanza * Refresh patches * Bump dh compatibility to level 8 (no changes necessary) * Bump Standards-Version to 3.9.4 (no change) * Reword short description * Add myself to uploaders and copyright -- Florian Schlichting Thu, 19 Sep 2013 22:19:32 +0200 libtext-template-perl (1.45-2) unstable; urgency=low [ Nathan Handler ] * debian/watch: Update to ignore development releases. [ Salvatore Bonaccorso ] * debian/control: Changed: Replace versioned (build-)dependency on perl (>= 5.6.0-{12,16}) with an unversioned dependency on perl (as permitted by Debian Policy 3.8.3). [ Ryan Niebur ] * Update ryan52's email address [ gregor herrmann ] * Fix "Slow memory leak in _scrubpkg": add patch from CPAN RT#22031; thanks to Dean Hamstead for the bug report (closes: #609528). * Switch to source format 3.0 (quilt). * Minimize debian/rules. * Install upstream README as changelog. * Add /me to Uploaders. * Set Standards-Version to 3.9.1 (no changes). * Refresh debian/copyright (formatting, license stanzas). * Add a patch to fix a spelling mistake. -- gregor herrmann Mon, 10 Jan 2011 17:25:37 +0100 libtext-template-perl (1.45-1) unstable; urgency=low * Take over for the Debian Perl Group; Closes: #519343 -- RFA * Add debian/watch. * New upstream release * standards version 3.8.1 * machine readable copyright format * remove sdier, add myself to uploaders * debhelper 7 * mention module name in long description -- Ryan Niebur Fri, 20 Mar 2009 21:24:48 -0700 libtext-template-perl (1.44-1.2) unstable; urgency=high * Non-maintainer upload to fix release critical bug, high urgency. * Fix test suite to cope with Perl 5.10, patch thanks to Niko Tyni. Closes: #467283 * Update section to match override, closes: #259147. * Drop two empty directories. -- Thijs Kinkhorst Sun, 15 Jun 2008 18:11:52 +0200 libtext-template-perl (1.44-1.1) unstable; urgency=low * NMU * Fix FTBFS, add dependency on cdbs. Closes: #252416 -- Andreas Barth Sun, 27 Jun 2004 17:05:12 +0200 libtext-template-perl (1.44-1) unstable; urgency=low * New upstream release. (Closes: #226166) * Converted to cdbs. -- Scott M. Dier Tue, 1 Jun 2004 14:34:16 -0500 libtext-template-perl (1.42-3) unstable; urgency=low * Fixed copyright Closes: #157658 -- Scott M. Dier Thu, 19 Dec 2002 01:40:15 -0600 libtext-template-perl (1.42-2) unstable; urgency=low * Forgot to set the Arch: to all. -- Scott M. Dier Sun, 3 Feb 2002 15:14:57 -0600 libtext-template-perl (1.42-1) unstable; urgency=low * New upstream release. Closes: #107566, #117593 -- Scott M. Dier Sun, 3 Feb 2002 13:44:52 -0600 libtext-template-perl (1.20-2) unstable; urgency=low * added references to GPL and Artistic licenses to satisfy pedantic fascists who find it difficult to comprehend plain language like "You may copy and distribute this program under the same terms as Perl iteself." -- Craig Sanders Sun, 14 Nov 1999 10:56:05 +1100 libtext-template-perl (1.20-1) unstable; urgency=low * Initial Release. -- Craig Sanders Sat, 13 Nov 1999 09:59:18 +1100 debian/source/0000755000000000000000000000000011672203100010456 5ustar debian/source/format0000644000000000000000000000001411672203100011664 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000013611672203100010236 0ustar #!/usr/bin/make -f %: dh $@ override_dh_installchangelogs: dh_installchangelogs -k README