2004-04-27 06:59:42 +02:00
|
|
|
# $NetBSD: Makefile,v 1.10 2004/04/27 05:44:23 snj Exp $
|
2001-03-25 07:22:12 +02:00
|
|
|
|
2003-12-07 00:04:34 +01:00
|
|
|
DISTNAME= HTML-Mason-1.24
|
2001-03-25 07:22:12 +02:00
|
|
|
PKGNAME= p5-${DISTNAME}
|
2001-10-18 17:20:01 +02:00
|
|
|
SVR4_PKGNAME= p5hma
|
2001-03-25 07:22:12 +02:00
|
|
|
CATEGORIES= www perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTML/}
|
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
2001-03-25 07:22:12 +02:00
|
|
|
HOMEPAGE= http://www.masonhq.com/
|
|
|
|
COMMENT= Perl-based web site development and delivery system
|
|
|
|
|
|
|
|
DEPENDS+= p5-MLDBM>=2.0:../../databases/p5-MLDBM
|
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.
2001-05-22 19:24:54 +02:00
|
|
|
DEPENDS+= p5-Params-Validate>=0.04:../../devel/p5-Params-Validate
|
2003-12-07 00:04:34 +01:00
|
|
|
DEPENDS+= p5-Exception-Class>=1.14:../../devel/p5-Exception-Class
|
|
|
|
DEPENDS+= p5-Class-Container>=0.10:../../devel/p5-Class-Container
|
2001-03-25 07:22:12 +02:00
|
|
|
|
2004-04-27 06:59:42 +02:00
|
|
|
USE_BUILDLINK3= YES
|
2001-03-25 07:22:12 +02:00
|
|
|
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/HTML/Mason/.packlist
|
|
|
|
|
2002-10-27 21:48:55 +01:00
|
|
|
.include "../../lang/perl5/module.mk"
|
2001-03-25 07:22:12 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|