summaryrefslogtreecommitdiff
path: root/www/p5-HTML-Mason
diff options
context:
space:
mode:
authormjl <mjl>2001-05-22 17:24:54 +0000
committermjl <mjl>2001-05-22 17:24:54 +0000
commit79f4b32610112e2c4cc544b263b4f4a17261ee40 (patch)
tree1a82f32b0dc6b97c9af85bca994bd86ce7df36e7 /www/p5-HTML-Mason
parent6daa7695baa2707d842bdf3ee6bedbaac67e08c0 (diff)
downloadpkgsrc-79f4b32610112e2c4cc544b263b4f4a17261ee40.tar.gz
Update to 1.03.
- Made raw error message accessible from the new error display via an unobtrusive link. - Fixed Apache tests when started by a non-root user. - Added short-circuits for Apache tests on Win32 and on systems with Apache configurations that cannot be properly parsed. - Completely redesigned error display. The new display includes a contextual source listing and readable stacktrace. You can access the old error behavior with the raw_html and raw_fatal error modes. - Fixed $m->file to close its filehandle between uses. - Fixed bad interaction with Mason 1.01 and CPAN module, by adding version number to ApacheHandler.pm. - Fixed $m->top_comp to work as documented, and made documentation - Fixed specification of a component root as "foo => /foo" - Added 'use Apache.pm' to ApacheHandler.pm, necessary for some mod_perl installations. - Implemented configuration of Mason from httpd.conf via PerlSetVar directives. This removes the need for a handler.pl file in many cases. - Revamped ApacheHandler tests to use a real Apache web server and mod_perl (assuming this is installed). This allows for much better testing of Mason. However, the test suite takes a bit longer to run as starting and stopping the server can take a second or two each time. - ** Fixed handling of POST requests with query strings via CGI.pm; the query string arguments were previously ignored, and are now merged with POST arguments. This is an incompatible change only for those whose code relied on the arguments missing. - Added basic validation of arguments to Parser, Interp, and ApacheHandler constructors. - Added interp->die_handler, allowing you to install your own subroutine as $SIG{__DIE__} to catch errors during component execution. Alternately, you can simply turn the special error handling off. - Added interp->use_dhandlers and interp->use_autohandlers, more intuitive ways to turn on/off dhandlers and autohandlers. - Eliminated interp->verbose_compile_error, which is no longer needed and has not worked for some time. - Documented that you cannot call return() from a <%shared> or <%once> section. - Fixed documentation of escaped newline behavior. - Fixed incorrect code for using mod_perl args method in eg/session_handler.pl.
Diffstat (limited to 'www/p5-HTML-Mason')
-rw-r--r--www/p5-HTML-Mason/Makefile5
-rw-r--r--www/p5-HTML-Mason/distinfo7
-rw-r--r--www/p5-HTML-Mason/patches/patch-aa13
3 files changed, 20 insertions, 5 deletions
diff --git a/www/p5-HTML-Mason/Makefile b/www/p5-HTML-Mason/Makefile
index 0e2e94050c5..38d76cfaa6d 100644
--- a/www/p5-HTML-Mason/Makefile
+++ b/www/p5-HTML-Mason/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1.1.1 2001/03/25 05:22:12 mjl Exp $
+# $NetBSD: Makefile,v 1.2 2001/05/22 17:24:54 mjl Exp $
-DISTNAME= HTML-Mason-1.0
+DISTNAME= HTML-Mason-1.03
PKGNAME= p5-${DISTNAME}
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTML/}
@@ -10,6 +10,7 @@ HOMEPAGE= http://www.masonhq.com/
COMMENT= Perl-based web site development and delivery system
DEPENDS+= p5-MLDBM>=2.0:../../databases/p5-MLDBM
+DEPENDS+= p5-Params-Validate>=0.04:../../devel/p5-Params-Validate
USE_PERL5= # defined
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/HTML/Mason/.packlist
diff --git a/www/p5-HTML-Mason/distinfo b/www/p5-HTML-Mason/distinfo
index e3e9b31a199..3b59060090c 100644
--- a/www/p5-HTML-Mason/distinfo
+++ b/www/p5-HTML-Mason/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.2 2001/05/21 21:51:26 wiz Exp $
+$NetBSD: distinfo,v 1.3 2001/05/22 17:24:54 mjl Exp $
-SHA1 (HTML-Mason-1.0.tar.gz) = 4d04bba369d9b994c187b4eed8a1dff8ea091502
-Size (HTML-Mason-1.0.tar.gz) = 258678 bytes
+SHA1 (HTML-Mason-1.03.tar.gz) = ae248e08b635a3422e7e9fd0948aaae34f8cb8a6
+Size (HTML-Mason-1.03.tar.gz) = 279632 bytes
+SHA1 (patch-aa) = c9e4b93e3991211a877717db7fa3e0a28ed90ff2
diff --git a/www/p5-HTML-Mason/patches/patch-aa b/www/p5-HTML-Mason/patches/patch-aa
new file mode 100644
index 00000000000..b38a062b67c
--- /dev/null
+++ b/www/p5-HTML-Mason/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2001/05/22 17:24:55 mjl Exp $
+
+--- makeconfig.pl.orig Tue May 22 19:16:04 2001
++++ makeconfig.pl Tue May 22 19:16:24 2001
+@@ -223,7 +223,7 @@
+
+ sub write_apache_conf
+ {
+- my %p = Apache::test->get_test_params();
++ my %p = (); # Apache::test->get_test_params();
+ while (my ($k, $v) = each %p)
+ {
+ $APACHE{$k} = $v;