From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jan 12 15:40:01 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 211A216A41A for ; Sat, 12 Jan 2008 15:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DF77013C47E for ; Sat, 12 Jan 2008 15:40:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m0CFe0Tv087707 for ; Sat, 12 Jan 2008 15:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m0CFe0Tq087706; Sat, 12 Jan 2008 15:40:00 GMT (envelope-from gnats) Resent-Date: Sat, 12 Jan 2008 15:40:00 GMT Resent-Message-Id: <200801121540.m0CFe0Tq087706@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ruben de Groot Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5545B16A417 for ; Sat, 12 Jan 2008 15:32:39 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 3059E13C45B for ; Sat, 12 Jan 2008 15:32:39 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m0CFVSAK019564 for ; Sat, 12 Jan 2008 15:31:28 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m0CFVSYr019563; Sat, 12 Jan 2008 15:31:28 GMT (envelope-from nobody) Message-Id: <200801121531.m0CFVSYr019563@www.freebsd.org> Date: Sat, 12 Jan 2008 15:31:28 GMT From: Ruben de Groot To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/119598: New Port: devel/p5-CGI-Ajax, for writing Asynchronous web applications X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jan 2008 15:40:01 -0000 >Number: 119598 >Category: ports >Synopsis: New Port: devel/p5-CGI-Ajax, for writing Asynchronous web applications >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jan 12 15:40:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Ruben de Groot >Release: FreeBSD 7.0-BETA3 >Organization: Bzerk >Environment: FreeBSD morninglightmountain.hacktor.net 7.0-BETA3 FreeBSD 7.0-BETA3 #4: Fri Nov 30 14:04:56 UTC 2007 root@morninglightmountain.hacktor.net:/usr/obj/usr/src/sys/MORNINGLIGHTMOUNTAIN sparc64 >Description: CGI::Ajax is an object-oriented module that provides a unique mechanism for using perl code asynchronously from javascript- enhanced HTML pages. CGI::Ajax unburdens the user from having to write extensive javascript, except for associating an exported method with a document-defined event (such as onClick, onKeyUp, etc). CGI::Ajax also mixes well with HTML containing more complex javascript. CGI::Ajax supports methods that return single results or multiple results to the web page, and supports returning values to multiple DIV elements on the HTML page. Using CGI::Ajax, the URL for the HTTP GET/POST request is automatically generated based on HTML layout and events, and the page is then dynamically updated with the output from the perl function. Additionally, CGI::Ajax supports mapping URL's to a CGI::Ajax function name, so you can separate your code processing over multiple scripts. Other than using the Class::Accessor module to generate CGI::Ajax' accessor methods, CGI::Ajax is completely self-contained - it does not require you to install a larger package or a full Content Management System, etc. We have added support for other CGI handler/decoder modules, like CGI::Simple or CGI::Minimal, but we can't test these since we run mod_perl2 only here. CGI::Ajax checks to see if a header() method is available to the CGI object, and then uses it. If method() isn't available, it creates it's own minimal header. A primary goal of CGI::Ajax is to keep the module streamlined and maximally flexible. We are trying to keep the generated javascript code to a minimum, but still provide users with a variety of methods for deploying CGI::Ajax. And VERY little user javascript. >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # devel/p5-CGI-Ajax/Makefile # devel/p5-CGI-Ajax/distinfo # devel/p5-CGI-Ajax/pkg-descr # devel/p5-CGI-Ajax/pkg-plist # echo x - devel/p5-CGI-Ajax/Makefile sed 's/^X//' >devel/p5-CGI-Ajax/Makefile << 'END-of-devel/p5-CGI-Ajax/Makefile' X# New ports collection makefile for: p5-CGI-Ajax X# Date created: 12 Januari 2008 X# Whom: Ruben de Groot X# X# $FreeBSD$ X# X XPORTNAME= CGI-Ajax XPORTVERSION= 0.701 XCATEGORIES= devel perl5 XMASTER_SITES= CPAN XPKGNAMEPREFIX= p5- X XMAINTAINER= rdg@bzerk.org XCOMMENT= CGI::Ajax - a perl-specific system for writing Asynchronous web applications X XBUILD_DEPENDS= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple XRUN_DEPENDS= ${SITE_PERL}/Class/Accessor.pm:${PORTSDIR}/devel/p5-Class-Accessor X XPERL_CONFIGURE= yes X XMAN3= CGI::Ajax.3 X X.include END-of-devel/p5-CGI-Ajax/Makefile echo x - devel/p5-CGI-Ajax/distinfo sed 's/^X//' >devel/p5-CGI-Ajax/distinfo << 'END-of-devel/p5-CGI-Ajax/distinfo' XMD5 (CGI-Ajax-0.701.tar.gz) = e4922d9ea9e45c68387d3682a7adbacf XSHA256 (CGI-Ajax-0.701.tar.gz) = 0fa1320dab13501b43a63d6c5dba0a4370e6baeb3bddd15cbb1a0db1fd752c54 XSIZE (CGI-Ajax-0.701.tar.gz) = 37303 END-of-devel/p5-CGI-Ajax/distinfo echo x - devel/p5-CGI-Ajax/pkg-descr sed 's/^X//' >devel/p5-CGI-Ajax/pkg-descr << 'END-of-devel/p5-CGI-Ajax/pkg-descr' XCGI::Ajax is an object-oriented module that provides a unique mechanism for using perl code asynchronously from javascript- enhanced HTML pages. CGI::Ajax unburdens the user from having to write extensive javascript, except for associating an exported method with a document-defined event (such as onClick, onKeyUp, etc). CGI::Ajax also mixes well with HTML containing more complex javascript. X XCGI::Ajax supports methods that return single results or multiple results to the web page, and supports returning values to multiple DIV elements on the HTML page. X XUsing CGI::Ajax, the URL for the HTTP GET/POST request is automatically generated based on HTML layout and events, and the page is then dynamically updated with the output from the perl function. Additionally, CGI::Ajax supports mapping URL's to a CGI::Ajax function name, so you can separate your code processing over multiple scripts. X XOther than using the Class::Accessor module to generate CGI::Ajax' accessor methods, CGI::Ajax is completely self-contained - it does not require you to install a larger package or a full Content Management System, etc. X XWe have added support for other CGI handler/decoder modules, like CGI::Simple or CGI::Minimal, but we can't test these since we run mod_perl2 only here. CGI::Ajax checks to see if a header() method is available to the CGI object, and then uses it. If method() isn't available, it creates it's own minimal header. X XA primary goal of CGI::Ajax is to keep the module streamlined and maximally flexible. We are trying to keep the generated javascript code to a minimum, but still provide users with a variety of methods for deploying CGI::Ajax. And VERY little user javascript. END-of-devel/p5-CGI-Ajax/pkg-descr echo x - devel/p5-CGI-Ajax/pkg-plist sed 's/^X//' >devel/p5-CGI-Ajax/pkg-plist << 'END-of-devel/p5-CGI-Ajax/pkg-plist' X%%SITE_PERL%%/CGI/Ajax.pm X%%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/Ajax/.packlist X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/Ajax END-of-devel/p5-CGI-Ajax/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: