summaryrefslogtreecommitdiff
path: root/www/p5-CGI-Application
diff options
context:
space:
mode:
authorhe <he>2004-12-05 15:41:16 +0000
committerhe <he>2004-12-05 15:41:16 +0000
commit08ac04d5897be733e6d5690ad52b9e9dca6b3893 (patch)
treefbdb28f7528f8d13287931f2c41a82ab942e404f /www/p5-CGI-Application
parentf93dc6e67b0773fdea3b79dbdeb7c3122d6ce260 (diff)
downloadpkgsrc-08ac04d5897be733e6d5690ad52b9e9dca6b3893.tar.gz
Update p5-CGI-Application from version 2.1 to 3.31.
Added a HOMEPAGE pointing into CPAN. Change log: 3.31 Sun Sep 26, 2004 - Documentation clean-ups. No code changes. 3.30 Sun Sep 26, 2004 - Refactored test suite to use Test::More (Gabor Szabo) - Removed warnings being emitted for documented API calls - minor code clean-up to load_tmpl() (Emanuele Zeppieri) - Support for passing multiple template paths to HTML::Template (Michael Peters) - Added error_mode to support trapping runmodes dying (Rob Kinyon) - Added Plug-in related documentation. (Mark Stosberg) - mode_param() updated to more easily set the run mode from $ENV{PATH_INFO} (Mark Stosberg) 3.22 Fri Feb 13, 2004 - The nocgicarp flag introduced in 3.2 has now been removed due to ill importing side effects. Instead, we now simply use Carp instead of CGI::Carp. You must now explicitly load CGI::Carp if you want it. Any code that used the brief-lived 'nocgicarp' feature will need to be updated. - Support for run modes named '0'. (Josh Glover) 3.21 Wed Feb 4, 2004 - Updated some header tests to be compatible with old and new versions of CGI.pm, which handled the capitalization of the header differently. (Mark Stosberg) 3.2 Sat Jan 31, 2004 - header_add() has been added to allow setting extra headers, particularly cookies, after header_props has already been called (Cees Hek, Mark Stosberg) - CGI::Carp is now optional. See docs for details. (Steve Hay) - Avoid 'unitialized value' warning on redirects (Cees Hek) - Some tests added (Mark Stosberg) - Updated documentation to use term "Run Mode" consistently, versus "Run-Mode" with a dash. Run-mode-with-a-dash is dead. Don't revive it. Also added mentions of the CGI::Application wiki and CGI::Application::ValidateRM (Mark Stosberg) - Fixed typo in cgiapp_postrun documentation (Steve Hay) - Improved exception handling (Steve Hay) - delete() method added to remove items stored using param() (Michael Peters) - 'CGI_APP_RETURN_ONLY' environment variable that is used for testing is now documented (Michael Peters) - dump_html() is now properly HTML-escaped (podmaster, Brian Cassidy) - Migrated from Makefile.PL to Build.PL. Either can now be used for installation. - Updated 'Changes' file to put new releases on top. 3.1 Mon Jun 2 07:54:31 EDT 2003 - Changed dump_html default run mode to be referenced by name instead of sub-ref. This allows dump_html() to be overridden in sub-class. - Added current run mode to output of dump() and dump_html(). (Thanks to Mark Stosberg for the suggestion.) - Added example of doing an HTTP redirect (suggested by Sam Tregar) - Fixed bug where non-CGI.pm query objects couldn't be set at initialization time via the new() method. (Thanks to Steve Hay for the catch.) - Added header_type("none") to surpress HTTP header output. (Thanks to Steve Comrie for the suggestion.) - Numerous typos corrected in POD. - Added cgiapp_postrun() hook. This hook allows run mode output to be "pipelined" through optional filters, modifying the content and HTTP headers if so desired. 3.0 Sat Feb 1 02:27:19 EST 2003 - Changed run_modes() method to allow list of run modes to be designated via an array reference. This will automatically create a run modes table which maps from a run mode to a run mode method of the same name. Bumped major revision number to reflect this significant change in functionality. - Clarified license for module (GPL or Artistic). Included licenses in distribution package. 2.6 Mon Oct 7 07:34:35 EDT 2002 - Changed the run() method to use Perl's built-in dynamic method call for all run modes, whether by name or by code ref. This is intended to improve run-time performance somewhat. Thanks to Darin McBride for this patch. - Added new override-able method cgiapp_get_query(). This method is called when CGI::Application first needs access to the CGI query object. By default, this is a CGI.pm object. It is possible to override the cgiapp_get_query() method to return an object of some other module besides CGI.pm, providing that it is sufficiently compatible. Thanks to Eric Andreychek for the suggestion and his help troubleshooting the code. 2.5 Thu Jul 18 07:45:47 EDT 2002 - Changed mailing list address. The new mailing list address. To subscribe: cgiapp-subscribe@lists.erlbaum.net To post message: cgiapp@lists.erlbaum.net 2.4 Sat May 25 13:32:44 EDT 2002 - Modified tmpl_path() to propagate to HTML::Template's PATH parameter. This provides much more useful and intuitive behavior. Thanks to Sam Tregar for the patch! - Added prerun_mode() method to allow the run mode to be dynamically changed inside the cgiapp_prerun() method. Thanks to Steve Comrie for the suggestion of using a method call for this function. Thanks to many other list members for further refining this idea. - Refactored some test cases, general code clean-up. - Refactored POD a bit to make it less intimidating for new users. 2.3 Mon May 6 07:12:09 EDT 2002 - Fixed minor bug in build system for older Perl versions. 2.2 Sun Aug 19 12:20:21 EDT 2001 - Added new module CGI::Application::Mailform as both an example of how to use CGI::Application and a useful (albeit simple) reusable web-based application. - CGI::Application::Mailform allows the contents of data submitted through HTML forms to be easily sent via email to a specified recipient. This application is intended to be very easy to reuse, yet secure and functional enough to replace some of the most onerous "mailform" scripts which have been floating around the Internet for ages. - Added cgiapp_prerun() hook, for adding global behaviors before the run mode method is called. The cgiapp_prerun() gets the name of the run mode as a parameter. This would allow the user to perform some action based on the current run mode.
Diffstat (limited to 'www/p5-CGI-Application')
-rw-r--r--www/p5-CGI-Application/Makefile5
-rw-r--r--www/p5-CGI-Application/distinfo6
2 files changed, 6 insertions, 5 deletions
diff --git a/www/p5-CGI-Application/Makefile b/www/p5-CGI-Application/Makefile
index efc1142e071..3798f6a59d8 100644
--- a/www/p5-CGI-Application/Makefile
+++ b/www/p5-CGI-Application/Makefile
@@ -1,12 +1,13 @@
-# $NetBSD: Makefile,v 1.12 2004/04/25 06:07:44 minskim Exp $
+# $NetBSD: Makefile,v 1.13 2004/12/05 15:41:16 he Exp $
-DISTNAME= CGI-Application-2.1
+DISTNAME= CGI-Application-3.31
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5cga
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=CGI/}
MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/CGI-Application/
COMMENT= Perl5 module to create sophisticated, reusable web-based applications
DEPENDS+= {p5-CGI>=2.66,perl>=5.6.1nb2}:../../www/p5-CGI
diff --git a/www/p5-CGI-Application/distinfo b/www/p5-CGI-Application/distinfo
index 6648daf3783..24ac572b892 100644
--- a/www/p5-CGI-Application/distinfo
+++ b/www/p5-CGI-Application/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2002/01/18 22:36:36 mjl Exp $
+$NetBSD: distinfo,v 1.4 2004/12/05 15:41:16 he Exp $
-SHA1 (CGI-Application-2.1.tar.gz) = db302ad924000ac67101435c3dc1c9a8918d9f9f
-Size (CGI-Application-2.1.tar.gz) = 17045 bytes
+SHA1 (CGI-Application-3.31.tar.gz) = df63c94cacdf030dc4fd65a1837ce69630cda5e3
+Size (CGI-Application-3.31.tar.gz) = 47517 bytes