debian/0000755000000000000000000000000011573750005007171 5ustar debian/control0000644000000000000000000000356011573747771010620 0ustar Source: libcgi-application-plugin-tt-perl Section: perl Priority: optional Build-Depends: debhelper (>= 8) Build-Depends-Indep: perl, pkg-components (>= 0.2), libcgi-application-perl, libclass-isa-perl | perl-modules (<< 5.12), libtemplate-perl, libtest-pod-perl, libtest-pod-coverage-perl, libcgi-application-basic-plugin-bundle-perl Maintainer: Debian Perl Group Uploaders: Nicholas Bamber , Jaldhar H. Vyas Standards-Version: 3.9.2 Homepage: http://search.cpan.org/dist/CGI-Application-Plugin-TT/ Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libcgi-application-plugin-tt-perl/ Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libcgi-application-plugin-tt-perl/ Package: libcgi-application-plugin-tt-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libcgi-application-perl, libtemplate-perl, libclass-isa-perl | perl-modules (<< 5.12) Replaces: libcgi-application-extra-plugin-bundle-perl (<< 0.3) Breaks: libcgi-application-extra-plugin-bundle-perl (<< 0.3) Enhances: libcgi-application-perl Recommends: libcgi-application-basic-plugin-bundle-perl Provides: libcgi-application-plugin-tt-lastmodified-perl Description: plugin that adds Template Toolkit support to CGI::Application CGI::Application::Plugin::TT adds support for the popular Template Toolkit engine to your CGI::Application modules by providing several helper methods that allow you to process template files from within your runmodes. It compliments the support for HTML::Template that is built into CGI::Application through the 'load_tmpl' method. . This package also bundles in the CGI::Application::Plugin::TT::LastModified module, which adds support for setting a "Last-Modified" header based on the most recent modification time of all the components of a template that was processed with TT. debian/copyright0000644000000000000000000000224411500514370011117 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Maintainer: Cees Hek Source: http://search.cpan.org/dist/CGI-Application-Plugin-TT/ Name: CGI-Application-Plugin-TT Files: * Copyright: 2005, Cees Hek License: Artistic or GPL-1+ Files: lastmodified/* Copyright: 2007, Graham TerMarsch 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 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 General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/update.sh0000755000000000000000000000134311504107354011010 0ustar #!/bin/sh set -e DESTDIR=${DESTDIR:-../tarballs} MODULE=CGI-Application-Plugin-TT PACKAGE=libcgi-application-plugin-tt-perl VERSION=1.05 LM_VERS=1.02 FD=--force-download NS=--no-symlink RE=--rename DD="--destdir ${DESTDIR}" RS=--report-status DC=-"-watch debian/components" US=--upstream-version if [ $1 ] then echo update; rm -f ${DESTDIR}/${MODULE}*.tar.gz uscan ${FD} ${RE} ${DD} && true; uscan ${DC}/lastmodified/watch ${FD} ${NS} ${DD} ${US} ${LM_VERS} && true; cd ${DESTDIR} LM=`ls ${MODULE}-LastModified*.tar.gz` mv ${LM} ${PACKAGE}_${VERSION}.orig-lastmodified.tar.gz cd - else echo report; uscan ${RS} && true; uscan ${DC}/lastmodified/watch ${RS} ${DD} ${US} ${LM_VERS} && true; fi debian/watch0000644000000000000000000000021711500514370010213 0ustar version=3 http://search.cpan.org/dist/CGI-Application-Plugin-TT/ .*/CGI-Application-Plugin-TT-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/patches/0000755000000000000000000000000011573750005010620 5ustar debian/patches/pod.patch0000644000000000000000000000230111500514370012410 0ustar Author: Nicholas Bamber Subject: Two spelling errors Last-Update: 2010-08-31 Bug: http://rt.cpan.org/Ticket/Display.html?id=60921 --- CGI-Application-Plugin-TT-1.05.orig/lib/CGI/Application/Plugin/TT.pm +++ CGI-Application-Plugin-TT-1.05/lib/CGI/Application/Plugin/TT.pm @@ -582,7 +582,7 @@ This options allows you to specify a directory (or an array of directories) to search when this module is loaded and then compile all files found into memory. -This provides a speed boost in persistant environments (mod_perl, fast-cgi) and +This provides a speed boost in persistent environments (mod_perl, fast-cgi) and can improve memory usage in environments that use shared memory (mod_perl). =item TEMPLATE_PRECOMPILE_FILETEST @@ -616,7 +616,7 @@ =head2 tt_obj This method will return the underlying Template Toolkit object that is used -behind the scenes. It is usually not necesary to use this object directly, +behind the scenes. It is usually not necessary to use this object directly, as you can process templates and configure the Template object through the tt_process and tt_config methods. Every call to this method will return the same object during a single request. debian/patches/series0000644000000000000000000000001211500677104012024 0ustar pod.patch debian/compat0000644000000000000000000000000211500514370010360 0ustar 8 debian/README.source0000644000000000000000000000214011504107354011342 0ustar For most purposes this package is a standard Debian Perl Group package. The aspect in which it is special is that some related modules are bundled together with the package. So long as you have the appropriate tar balls in the correct place you can build using dpkg-buildpackage or svn-buildpackage as you would normally. If you have a fresh checkout from the svn repository and you wish to download all the tarballs to build under svn-buildpackage, then from the package root directory run: ./debian/update.sh update To check for new updates drop the "update" argument. If you are building under dpkg-buildpackage you need to tell the script about the alternative build directory so run DESTDIR=.. ./debian/update.sh update There are a couple of important caveats about the update.sh script. First of all when used in update mode it will DELETE the existing tarballs. Secondly when you do update one of the components, the update.sh script will need to be updated. These limitations arise because it is a temporary work around until pkg-components (or even uscan) provides something more substantial. debian/changelog0000644000000000000000000000075511573747775011076 0ustar libcgi-application-plugin-tt-perl (1.05-2) unstable; urgency=low * Team upload. * Switch order of alternative (build) dependencies after the perl 5.12 upload. Closes: #629745. * Set Standards-Version to 3.9.2 (no changes). -- gregor herrmann Wed, 08 Jun 2011 21:37:25 +0200 libcgi-application-plugin-tt-perl (1.05-1) unstable; urgency=low * Initial Release. (Closes: #606511) -- Nicholas Bamber Mon, 20 Dec 2010 23:33:55 +0000 debian/source/0000755000000000000000000000000011573750005010471 5ustar debian/source/format0000644000000000000000000000001411500514370011670 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000006011500514370010236 0ustar #!/usr/bin/make -f %: dh $@ --with components debian/components/0000755000000000000000000000000011573750005011356 5ustar debian/components/lastmodified/0000755000000000000000000000000011573750005014022 5ustar debian/components/lastmodified/watch0000644000000000000000000000025111504107354015046 0ustar version=3 http://search.cpan.org/dist/CGI-Application-Plugin-TT-LastModified/ .*/CGI-Application-Plugin-TT-LastModified-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$