ports/98648: [PATCH] www/p5-HTML-Template-JIT: update to 0.05

Rong-En Fan rafan at infor.org
Wed Jun 7 23:36:13 UTC 2006


>Number:         98648
>Category:       ports
>Synopsis:       [PATCH] www/p5-HTML-Template-JIT: update to 0.05
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 07 21:10:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Rong-En Fan
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
NTU CSIE
>Environment:
>Description:
- Update to 0.05
- Remove patches that are merged into upstream.
- Use package dependency to meet minimum version

Removed file(s):
- files/patch-Compiler.pm
- files/patch-JIT::Base.pm
- files/patch-t::03loops.t
- files/patch-t::10escape.t

Port maintainer (mat at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- p5-HTML-Template-JIT-0.05.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/p5-HTML-Template-JIT/Makefile /home/rafan/tmp/ports/p5-HTML-Template-JIT/Makefile
--- /usr/ports/www/p5-HTML-Template-JIT/Makefile	Fri Aug 20 00:20:11 2004
+++ /home/rafan/tmp/ports/p5-HTML-Template-JIT/Makefile	Thu Jun  8 02:24:38 2006
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	HTML-Template-JIT
-PORTVERSION=	0.04
-PORTREVISION=	2
+PORTVERSION=	0.05
 CATEGORIES=	www perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	HTML
@@ -16,9 +15,9 @@
 MAINTAINER=	mat at FreeBSD.org
 COMMENT=	Perl module to compile HTML Templates with Inline::C
 
-BUILD_DEPENDS=	${SITE_PERL}/HTML/Template.pm:${PORTSDIR}/www/p5-HTML-Template \
+BUILD_DEPENDS=	p5-HTML-Template>=2.8:${PORTSDIR}/www/p5-HTML-Template \
 		${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
-		${SITE_PERL}/Inline/C.pm:${PORTSDIR}/devel/p5-Inline
+		p5-Inline>=0.43:${PORTSDIR}/devel/p5-Inline
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 PERL_CONFIGURE=	yes
diff -ruN --exclude=CVS /usr/ports/www/p5-HTML-Template-JIT/distinfo /home/rafan/tmp/ports/p5-HTML-Template-JIT/distinfo
--- /usr/ports/www/p5-HTML-Template-JIT/distinfo	Mon Nov 14 22:16:12 2005
+++ /home/rafan/tmp/ports/p5-HTML-Template-JIT/distinfo	Thu Jun  8 02:24:48 2006
@@ -1,3 +1,3 @@
-MD5 (HTML-Template-JIT-0.04.tar.gz) = 5814cd407e3dcca9704188d7b1332b48
-SHA256 (HTML-Template-JIT-0.04.tar.gz) = 9c7e3a7be451b3e216364c24dccf205a2cef5b9df550c639998484f8f440c842
-SIZE (HTML-Template-JIT-0.04.tar.gz) = 28874
+MD5 (HTML-Template-JIT-0.05.tar.gz) = 6acac4deeabced6f684aab7ee4cc8b32
+SHA256 (HTML-Template-JIT-0.05.tar.gz) = a43601f70b28eef1ee99e7175efcb8925bc40b21d48b3b9ddd61f69513babca3
+SIZE (HTML-Template-JIT-0.05.tar.gz) = 30221
diff -ruN --exclude=CVS /usr/ports/www/p5-HTML-Template-JIT/files/patch-Compiler.pm /home/rafan/tmp/ports/p5-HTML-Template-JIT/files/patch-Compiler.pm
--- /usr/ports/www/p5-HTML-Template-JIT/files/patch-Compiler.pm	Fri Aug 20 00:20:11 2004
+++ /home/rafan/tmp/ports/p5-HTML-Template-JIT/files/patch-Compiler.pm	Thu Jan  1 08:00:00 1970
@@ -1,11 +0,0 @@
---- Compiler.pm.orig	Tue May 18 18:32:59 2004
-+++ JIT/Compiler.pm	Tue May 18 18:33:52 2004
-@@ -131,7 +131,7 @@
-   SV * temp_sv;
-   int i;
-   STRLEN len;
--  char c;
-+  unsigned char c;
-   char buf[4];
- 
-   SvPOK_on(result);
diff -ruN --exclude=CVS /usr/ports/www/p5-HTML-Template-JIT/files/patch-JIT::Base.pm /home/rafan/tmp/ports/p5-HTML-Template-JIT/files/patch-JIT::Base.pm
--- /usr/ports/www/p5-HTML-Template-JIT/files/patch-JIT::Base.pm	Fri Aug 20 00:20:11 2004
+++ /home/rafan/tmp/ports/p5-HTML-Template-JIT/files/patch-JIT::Base.pm	Thu Jan  1 08:00:00 1970
@@ -1,11 +0,0 @@
---- JIT/Base.pm	Wed Jun  9 15:31:15 2004
-+++ JIT/Base.pm	Wed Jun  9 15:34:32 2004
-@@ -75,7 +75,7 @@
- 
-   foreach my $row (@$array) {
-     croak("Bad param settings - found non hash-ref for loop row in loop $loop_name!")
--      unless ref $row eq 'HASH';
-+      unless ref $row && UNIVERSAL::isa($row, 'HASH');
-     
-     my $lc_name;
-     foreach my $name (keys %$row) {
diff -ruN --exclude=CVS /usr/ports/www/p5-HTML-Template-JIT/files/patch-t::03loops.t /home/rafan/tmp/ports/p5-HTML-Template-JIT/files/patch-t::03loops.t
--- /usr/ports/www/p5-HTML-Template-JIT/files/patch-t::03loops.t	Fri Aug 20 00:20:11 2004
+++ /home/rafan/tmp/ports/p5-HTML-Template-JIT/files/patch-t::03loops.t	Thu Jan  1 08:00:00 1970
@@ -1,22 +0,0 @@
---- t/03loops.t	Wed Jun  9 15:57:13 2004
-+++ t/03loops.t	Wed Jun  9 16:00:15 2004
-@@ -1,4 +1,4 @@
--use Test::More tests => 8;
-+use Test::More tests => 9;
- use HTML::Template::JIT;
- 
- my $debug = 0;
-@@ -69,3 +69,13 @@
- like($output, qr/Apples, Oranges, Brains, Toes, and Kiwi./);
- like($output, qr/pingpongpingpongpingpong/);
- 
-+$template = HTML::Template::JIT->new(filename => 'loop.tmpl',
-+				     path => ['t/templates'],
-+				     jit_path => 't/jit_path',
-+				     jit_debug => $debug,
-+				    );
-+$template->param(foo => "FOO");
-+$template->param(bar => [ bless({ val => 'foo' }, 'barfoo'),
-+    bless({ val => 'bar' }, 'barbar') ]);
-+$output = $template->output();
-+like($output, qr/bar: foo,bar,/);
diff -ruN --exclude=CVS /usr/ports/www/p5-HTML-Template-JIT/files/patch-t::10escape.t /home/rafan/tmp/ports/p5-HTML-Template-JIT/files/patch-t::10escape.t
--- /usr/ports/www/p5-HTML-Template-JIT/files/patch-t::10escape.t	Fri Aug 20 00:20:11 2004
+++ /home/rafan/tmp/ports/p5-HTML-Template-JIT/files/patch-t::10escape.t	Thu Jan  1 08:00:00 1970
@@ -1,22 +0,0 @@
---- t/10escape.t	Tue May 18 18:39:12 2004
-+++ t/10escape.t	Tue May 18 18:42:03 2004
-@@ -1,4 +1,4 @@
--use Test::More tests => 3;
-+use Test::More tests => 4;
- use HTML::Template::JIT;
- my $debug = 0;
- 
-@@ -35,3 +35,13 @@
- $output = $template->output;
- like($output, qr/Some URL escaped stuff:/); 
- 
-+# test 8bit char in urlescaped var
-+$template = HTML::Template::JIT->new(
-+                                     filename => 'urlescape.tmpl',
-+                                     path => ['t/templates'],
-+                                     jit_path => 't/jit_path',
-+                                     jit_debug => $debug,
-+                                    );
-+$template->param(STUFF => "\xf4"); #"
-+$output = $template->output;
-+like($output, qr/%F4/); #"
Binary files /usr/ports/www/p5-HTML-Template-JIT/p5-HTML-Template-JIT-0.05.tbz and /home/rafan/tmp/ports/p5-HTML-Template-JIT/p5-HTML-Template-JIT-0.05.tbz differ
--- p5-HTML-Template-JIT-0.05.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list