summaryrefslogtreecommitdiff
path: root/www/p5-HTML-Mason
AgeCommit message (Collapse)AuthorFilesLines
2006-06-02Rename all PHP 4 packages to php4-*, all PHP 5 packages to php5-*,joerg1-2/+2
all PEAR packages to php?-pear-* and all Apache packages to ap13-* or ap2-* respectively. Add new variables to simplify the Makefile handling. Add CONFLICTS on the old names. Reset revisions of bumped packages. ap-php will now depend on the default Apache and PHP version. All programs using it have an implicit option of the Apache version as well. OK from jlam@ and adrianp@.
2006-03-04Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where nojlam1-2/+2
developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
2006-01-24Bump BUILDLINK_RECOMMENDED of textproc/expat to 2.0.0 becausewiz1-1/+2
of the shlib major bump. PKGREVISION++ for the dependencies.
2005-09-26Update to version 1.3101. Yes, this is just before the branch, but thecube2-7/+7
diff between 1.31 and 1.3101 is minimal, yet it fixes important issues people have been reporting on e.g. the rt-users mailing list. 1.1301 August 23, 2005 - One last fix for CGIHandler. If you provided your own out_method it was ignoring it and using its own. Reported by David Glasser.
2005-08-22Update to 1.31, to ensure compatibility with the new API in the non-alphatv2-7/+7
release versions of ap2-perl. Changes: ===== An HTML version of this file, complete with links to documentation, is available at http://www.masonhq.com/code/history.html. ** denotes an incompatible change 1.31 August 20, 2005 [ BUG FIXES ] - Fix several regressions in the CGIHandler and FakeApache modules. Some changes from the stable branch were never merged into the trunk before 1.30. Reported by Jesse Vincent. Task id #589. - Under Apache2, if an ApacheHandler object was created during server startup and the associated Interp object created any files or directories, Mason would crash when attempting to chown those files/dirs to the uid/gid that Apache will use after forking. Task #586. - The compiler was adding an extra block around a component's body, which meant that variables declared in the body (in perl lines or blocks) were not seen in the cleanup section. Task id #587. - The compiler was also adding "no warnings 'uninitialized'" in this block, which could hide various errors. - Hopefully fix $VERSION in ApacheHandler so PAUSE will not be confused and think we have regressed. - Turned off some prompts during the module's installation. These were intended to help new users configure Apache to run Mason components, but they're probably a bit confusing. Will return in a future release as a separate script that can be run from the command line. 1.30 August 11, 2005 [ INCOMPATIBLE CHANGES ] - ** Under mod_perl2, MasonArgsMethod will default to "CGI", since libapreq2 is still in development. If you have successfully installed libapreq2, just set MasonArgsMethod to "mod_perl" to use it. [ ENHANCEMENTS ] - Some doc tweaks to clarify that Mason should work out of the box with both mod_perl 1 and 2. - Added "use warnings" to all modules and made sure all tests ran warnings-free. [ BUG FIXES ] - Silence a warning when HTML::Mason::ApacheHandler was loaded outside of mod_perl. - Support renamed Apache2::Status module. 1.29_02 June 22, 2005 [ ENHANCEMENTS ] - ** Support for mod_perl-2.00 (mod_perl-1.99 is no longer supported because of API changes in 2.0RC5). - Mason recovers more gracefully from an empty or corrupted object file. Task id #579. [ BUG FIXES ] - Fixed bug with content type being reset when decline_dirs=0. Submitted by Brian Phillips. Task id #584. - Put "Mason" prefix back in Params.pod. Task id #575. - Fixed fetch_comp(undef) to not return an empty hash. Task id #578. - static_source_touch_file did not take effect until after one request for a top-level component. Reported by Lai Zit Seng. Task id #576. 1.29_01 January 25, 2005 [ INCOMPATIBLE CHANGES ] - ** Mason now requires Perl 5.6.0 or later. However, because 5.6.0 has so many problems, it cannot be officially supported; we strongly recommend upgrading to at least 5.6.1. - ** Mason now requires version 1.24 of mod_perl in the ApacheHandler module. - ** The behaviors of $m->flush_buffer and $m->clear_buffer have been simplified. $m->flush_buffer only acts on the top-level output buffer; $m->clear_buffer clears all output buffers. Task id #554. - ** max_code_cache_size is now kept in terms of number of components, not bytes, and its default value is 'unlimited'. - ** Components with a <%filter> and a cache_self are no longer cached in their filtered state. Performance-related code simplifications made this behavior difficult to maintain. Long term this would be easier to implement with a cache_self component <%flag>. - ** All compiler properties are now read-only. If you need to change compiler properties on a per-request basis, you'll need to create multiple compiler and interpreter objects. - ** comp_exists may try to load the designated component, and may throw an error if it contains a syntax error. - ** The current_time method, deprecated in 1.1x, has been removed. - ** The HTML::Mason::Buffer class has been eliminated for performance reasons. You can use separate components, methods, or subcomponents and scomp to achieve the same effects as buffer pushes and pops. [ ENHANCEMENTS ] - Significantly improved performance in component execution, especially in static_source mode. - Added static_source_touch_file, making it much easier to update a server running in static_source mode. - Added a plugin architecture. Plugin classes can perform actions at key points, e.g. before and after each request and each component call. See HTML::Mason::Plugin for documentation. Task id #24. Initial implementation by Doug Treder. - Added the ability to change component root(s) on the fly if the dynamic_comp_root parameter is turned on. Task id #561. Suggested by Alex Robinson. - Added enable_autoflush parameter. When turned off, Mason can compile components to a more efficient form. - Changed the </&> tag to allow the starting component name to be included. e.g. <&| /foo &> ... </& /foo >. Task id #556. Suggested by Alex Robinson, John Williams, and others. - Moved the notion of component roots (single and multiple) from the Resolver to the Interpreter. This improved the performance of multiple component roots in conjunction with static source mode. Any resolver, file-based or otherwise, can benefit from component root settings or choose to ignore them. - Added the compiler object_id to the object file path, so that multiple versions of Mason do not collide in the same object directory. Task id #569. - Added .obj (or a configurable extension) to object filenames. Task id #152. Suggested by John Tobey. - Added $m->clear_and_abort, syntactic sugar for the common idiom of calling clear_buffer() and then abort(). Task id #505. - Added an official comment syntax, <% # ... %>, and documented the various comment markers in the developer's manual. Task id #566. - Added buffer_preallocate_size parameter, which allows you to potentially reduce buffer reallocations. - Augmented the 'could not find component' error message with the current component root(s). Task id #562. [ BUG FIXES ] - Mason now throws an error if the path specified in a component's 'inherit' flag cannot be found. Task id #480. - Fixed comp_exists to work with any path accepted by comp or fetch_comp, and fixed fetch_comp to stop throwing errors for certain bad paths. Task id #572. - Fixed $m->decline to work from /dhandler. Task id #573. Submitted by Carl Raiha. - Using 'next' or 'last' without a loop can no longer corrupt the component stack. Task id #539.
2005-08-06Bump the PKGREVISIONs of all (638) packages that hardcode the locationsjlam1-2/+2
of Perl files to deal with the perl-5.8.7 update that moved all pkgsrc-installed Perl files into the "vendor" directories.
2005-07-16Get rid of USE_PERL5. The new way to express needing the Perl executablejlam1-5/+1
around at either build-time or at run-time is: USE_TOOLS+= perl # build-time USE_TOOLS+= perl:run # run-time Also remove some places where perl5/buildlink3.mk was being included by a package Makefile, but all that the package wanted was the Perl executable.
2005-07-13Turn PERL5_PACKLIST into a relative path instead of an absolute path.jlam1-2/+2
These paths are now relative to PERL5_PACKLIST_DIR, which currently defaults to ${PERL5_SITEARCH}. There is no change to the binary packages.
2005-05-31Packages have no business modifying PKG_DEFAULT_OPTIONS -- it's adillo1-2/+2
user settable variable. Set PKG_SUGGESTED_OPTIONS instead. Also, make use of PKG_OPTIONS_LEGACY_VARS. Reviewed by wiz.
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-02-24Add RMD160 checksums.wiz1-1/+2
2005-01-07Add required dependency on devel/p5-Cache-Cache.seb1-4/+24
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.
2004-12-20since perl is now built with threads on most platforms, the perl archlibgrant1-1/+2
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-05Update p5-HTML-Mason from version 1.26 to 1.28.he2-5/+6
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-08-02Update to version 1.26.cube2-5/+5
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-04-27Convert to buildlink3.snj1-2/+2
2003-12-06Update to 1.24.epg3-20/+7
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-07-17s/netbsd.org/NetBSD.org/grant1-2/+2
2003-06-02Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.jschauma1-2/+2
Should anybody feel like they could be the maintainer for any of thewe packages, please adjust.
2002-10-27Use buildlink2. Use perl5/module.mk.seb1-6/+3
2002-04-17Updated to p5-HTML-Mason-1.04shell3-8/+8
- 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.
2001-11-26Buildlinkify, in the sense that only the perl headers are found injlam1-2/+4
${PREFIX} -- everything else is pickup up from ${BUILDLINK_DIR}.
2001-11-01Move pkg/ files into package's toplevel directoryzuntum3-1/+1
2001-10-18SVR4 packages have a limit of 9 chars for a package name.veego1-1/+2
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-05-22Update to 1.03.mjl3-5/+20
- 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-21Add size.wiz1-1/+2
2001-04-17+ move the distfile digest/checksum value from files/md5 to distinfoagc1-1/+1
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-03-25Initial import of p5-HTML-Mason, a Perl-based web site developmentmjl4-0/+31
and delivery system.