summaryrefslogtreecommitdiff
path: root/textproc/p5-Text-Template
diff options
context:
space:
mode:
authormartti <martti@pkgsrc.org>2001-11-22 09:45:21 +0000
committermartti <martti@pkgsrc.org>2001-11-22 09:45:21 +0000
commite1c8b183570e463863ccc0d7b6cc2407f565b642 (patch)
tree5d25f8c1342be05c1d64b00715e642342a271549 /textproc/p5-Text-Template
parent85d4a6baf7d09c4c4867cf91acc6b887b3a8b5ae (diff)
downloadpkgsrc-e1c8b183570e463863ccc0d7b6cc2407f565b642.tar.gz
Updated to version 1.42 (PR#14570). Changes since 1.31:
Fixed a bug relating to use of UNTAINT under perl 5.005_03 and possibly other versions. Taint-related tests are now more comprehensive. Tests now work correctly on Windows systems and possibly on other non-unix systems. New UNTAINT option tells the module that it is safe to 'eval' code even though it has come from a file or filehandle. Code added to prevent memory leaks when filling many templates. Thanks to Itamar Almeida de Carvalho. Bug fix: $OUT was not correctly initialized when used in conjunction with SAFE. You may now use a glob ref when passing a filehandle to the ->new funcion. Formerly, a glob was reuqired. New subclass: Text::Template::Preprocess. Just like Text::Template, but you may supply a PREPROCESS option in the constructor or the fill_in call; this is a function which receives each code fragment prior to evaluation, and which may modify and return the fragment; the modified fragment is what is evaluated. Error messages passed to BROKEN subroutines will now report the correct line number of the template at which the error occurred. If the template comes from a file, the filename will be reported as well. INCOMPATIBLE CHANGE: The format of the default error message has changed. Note that the default message used to report the line number at which the program fragment began; it now reports the line number at which the error actually occurred.
Diffstat (limited to 'textproc/p5-Text-Template')
-rw-r--r--textproc/p5-Text-Template/Makefile7
-rw-r--r--textproc/p5-Text-Template/distinfo6
2 files changed, 6 insertions, 7 deletions
diff --git a/textproc/p5-Text-Template/Makefile b/textproc/p5-Text-Template/Makefile
index 6c3781af6d2..378e4bae51b 100644
--- a/textproc/p5-Text-Template/Makefile
+++ b/textproc/p5-Text-Template/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2001/10/18 15:20:43 veego Exp $
+# $NetBSD: Makefile,v 1.6 2001/11/22 09:45:21 martti Exp $
#
-DISTNAME= Text-Template-1.31
+DISTNAME= Text-Template-1.42
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5tte
CATEGORIES= textproc perl5
@@ -15,7 +15,6 @@ USE_PERL5= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Text/Template/.packlist
do-configure:
- @cd ${WRKSRC} && ${ECHO} >.test && \
- ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/p5-Text-Template/distinfo b/textproc/p5-Text-Template/distinfo
index d07fb5296ab..31250d98f0b 100644
--- a/textproc/p5-Text-Template/distinfo
+++ b/textproc/p5-Text-Template/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2001/04/20 15:05:03 skrll Exp $
+$NetBSD: distinfo,v 1.3 2001/11/22 09:45:22 martti Exp $
-SHA1 (Text-Template-1.31.tar.gz) = 093ea92413c07a670ff9a8355f8b597138379d1a
-Size (Text-Template-1.31.tar.gz) = 30323 bytes
+SHA1 (Text-Template-1.42.tar.gz) = dcd389054d9f5fac507d6ee0fd32752d49a835ba
+Size (Text-Template-1.42.tar.gz) = 42497 bytes