Commit graph

17 commits

Author SHA1 Message Date
seb
4215f8793d Add required dependency on devel/p5-Cache-Cache.
Drop apparently unneeded dependency on databases/p5-MLDBM.

Dependency on www/p5-libapreq is only required if HTML-Mason is
intended to be used with mod_perl and apache: add 'modperl' as a
bsd.options.mk framework option and include dependency on www/p5-libapreq
as needed. Also support apache13 or apache2.

The 'modperl' option is the default.

XXX ap2-perl install Apache::Filter perl module version 0.01 and
this module wants at least version 1.021. So I do not know if the
apache2/ap2-perl setup is really supported.

Bump PKGREVISION.
2005-01-07 22:29:59 +00:00
grant
908e765695 since perl is now built with threads on most platforms, the perl archlib
module directory has changed (eg. "darwin-2level" vs.
"darwin-thread-multi-2level").

binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.

addresses PR pkg/28619 from H. Todd Fujinaka.
2004-12-20 11:30:55 +00:00
he
9f505121f9 Update p5-HTML-Mason from version 1.26 to 1.28.
Add dependence on p5-libapreq, as that appears to be required
to run this with mod_perl (what would otherwise be the point? ;-)


Change log:

1.28  November 6, 2004

      This version is entirely identical to 1.27 except for a fix to make
      CPAN/PAUSE properly index the version number in
      HTML::Mason::ApacheHandler.  If you already installed 1.27 you do not
      need to install this version unless you want to fix the "out of date
      modules" report from the CPAN or CPANPLUS shells.

1.27  October 28, 2004

    [ ENHANCEMENTS ]

    - Full support for Apache2/mod_perl2.

    [ BUG FIXES ]

    - The request object was not available as $m in the preamble if
      in_package was set.  Reported by David Wheeler and David Baird.  Task
      id #538.

    - Component with subcomponents or methods were not getting freed when
      they were purged from the code cache.  Task id #549.

    - Component calls (<& &>) starting with a newline were compiled
      incorrectly. Reported by Rick Delaney. Task id #564.

    - If both a parent request and subrequest had autoflush set, output
      from the subrequest wasn't actually flushed.  Reported by Tony
      Clayton.  Task id #550.

    - The documentation in HTML::Mason::Tests for the path and call_path
      parameters was wrong.  Reported by Michael Gray.  Task id #528.

    - Line numbers in errors were incorrectly reported if the error
      happened in code after an <%args>, <%attr>, or <%flags> block.
      Reported by Tony Clayton.  Task id #552.

    - The Apache handler now only sends headers once if make_request()
      aborts, such as when a redirect is executed in a
      MasonX::Interp::WithCallbacks callback.
2004-12-05 18:19:26 +00:00
cube
adfc6ba05c Update to version 1.26.
1.26  April 5, 2004

    [ BUG FIXES ]

    - The fix to make CGIHandler support flush_buffer and autoflush caused
      it to not rethrow any exceptions created during the request.  If
      error_mode was set to 'fatal', then an error would simply cause no
      output to be generated.  Task id #531.

    - A comment in the last line of a component call with content caused a
      syntax error in the compiled component.  Reported by Todd Goldenbaum.
      Task id #530.

    - The various request handling methods in CGIHandler once again return
      the value of calling the Interp object's exec() method.

    - Explicitly handle redirect statuses when an abort exception is
      thrown from the Interp object's exec() method.  This fixes some
      problems when this module was used with David Wheeler's
      MasonX::Interp::WithCallbacks module.

    - Using a <%shared> block when "in_package" was set to something other
      than HTML::Mason::Commands led to an error like "Can't call method
      "call_dynamic" on an undefined value".  Reported by David Wheeler.
      Task id #535.

1.25  December 12, 2003

    [ BUG FIXES ]

    - CGIHandler did not support $m->flush_buffer or autoflush.  Reported
      by Shane McCarron.
    - Every line in the error stacktrace had a 'g' appended to it in HTML
      error mode.
    - The HTML error display of the stacktrace was not filtering out some
      packages that it should have, so there were extra lines that made it
      harder to find the real error.
    - Several FakeApache methods were broken: path_info, uri, and
      the_request.  Reported by Matthias F. Brandstetter.

    [ ENHANCEMENTS ]

    - The CGIHandler request object now supports the autoflush parameter.
2004-08-02 09:53:32 +00:00
snj
67721bd22d Convert to buildlink3. 2004-04-27 04:59:42 +00:00
epg
e7eab1d421 Update to 1.24.
Remove patch-aa, which does not appear to be needed.
Drop p5-gdbm dependency.
Add dependencies for p5-Exception-Class>=1.14 and
p5-Class-Container>=0.10

The change log between the previous, ancient version and this is over
700 lines, and thus not included.
2003-12-06 23:04:34 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
seb
e8328761a2 Use buildlink2. Use perl5/module.mk. 2002-10-27 20:48:55 +00:00
shell
72c102beab Updated to p5-HTML-Mason-1.04
- fmt on DESCR
(p5-HTML-Mason-1.09_1 was released for test, and available from CPAN)

Changes since p5-HTML-Mason-1.03

- Fixed locale parser_version 0,8 problem. (submitted by Louis-David Mitterrand)
- Fixed inability to use '/' for comp_root. (reported by Doug Hunt)
- Fixed HTML::Mason::Parser::make_dirs dying when reload_file not defined. (reported by Ivan E. Panchenko)
- Made error_process regexps more specific. (suggested by Vadim Belman)
- Fixed $m->count. (reported by David Wheeler)
- Fixed writing of object files in taint mode. (submitted by Barrie Slaymaker)
- Made it possible to run Makefile.PL without prompts.
2002-04-17 10:46:04 +00:00
jlam
cc4128d97e Buildlinkify, in the sense that only the perl headers are found in
${PREFIX} -- everything else is pickup up from ${BUILDLINK_DIR}.
2001-11-26 06:49:36 +00:00
zuntum
431e7a7dda Move pkg/ files into package's toplevel directory 2001-11-01 02:15:23 +00:00
veego
63ad910dee SVR4 packages have a limit of 9 chars for a package name.
The automatic truncation in gensolpkg doesn't work for packages which
have the same package name for the first 5-6 chars.
e.g. amanda-server and amanda-client would be named amanda and amanda.
Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for
amanda-server.
All svr4 packages also have a vendor tag, so we have to reserve some chars
for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6
or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the
vendor tag enough room.
All p5-* packages and a few other packages have now a SVR4_PKGNAME.
2001-10-18 15:20:01 +00:00
mjl
445e9c7820 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 17:24:54 +00:00
wiz
d3c112794d Add size. 2001-05-21 21:45:45 +00:00
agc
8f972b049a + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 12:12:16 +00:00
mjl
87b0c1b9b0 Initial import of p5-HTML-Mason, a Perl-based web site development
and delivery system.
2001-03-25 05:22:12 +00:00