|
|||||||||
Friday the 16th of May, 2008 |
|||||||||
p5-cgi-speedycgi most recent diff
Scroll down toward the bottom of the page to get installation instructions for p5-cgi-speedycgi. The raw portfile for p5-cgi-speedycgi is located here: http://p5-cgi-speedycgi.darwinports.com/dports/perl/p5-cgi-speedycgi/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/p5-cgi-speedycgi # $Id: Portfile 24954 2007-05-09 04:26:38Z ryandesign PortSystem 1.0 PortGroup perl5 1.0 perl5.setup CGI-SpeedyCGI 2.22 revision 1 Maintainers: markd Description: Speed up perl CGI scripts by running them persistently Long Description: SpeedyCGI is a way to run perl scripts persistently, which can make them run much more quickly. A script can be made to to run persistently by changing the interpreter line at the top of a script from: '#!/_prefix_/bin/perl' to '#!/_prefix_/bin/speedy' Platform: darwin checksums md5 2f80df78874e3efa80f180923c4967a1 patchfiles patch-Makefile.PL patch-mod_speedycgi2.c patch-src--SpeedyMake.pl patch-src_speedy_main.c patch-mod_speedycgi-Makefile.tmpl patch-src-speedy_perl.h depends_lib port:apache2 Variant: apple_apache { depends_lib-delete port:apache2 patchfiles-delete patch-mod_speedycgi-Makefile.tmpl } post-patch { if { [variant_isset apple_apache]} { # Do nothing } else { # Patch for MacPorts Apache 2 reinplace "s|apxs -q|${prefix}/apache2/bin/apxs -q|g" ${worksrcpath}/src/SpeedyMake.pl ${worksrcpath}/Makefile.PL reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/mod_speedycgi/Makefile.tmpl } } post-destroot { xinstall -m 4755 ${worksrcpath}/speedy/speedy ${destroot}${prefix}/bin/speedy_suidperl xinstall -m 755 -d ${destroot}${prefix}/share/doc/speedycgi eval xinstall -m 644 [glob ${worksrcpath}/docs/*] ${destroot}${prefix}/share/doc/speedycgi xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/speedycgi if { [variant_isset apple_apache]} { # Install module for Apple's Apache 1 outside of ${prefix} and let user copy it. xinstall -m 644 ${worksrcpath}/mod_speedycgi/mod_speedycgi.so ${destroot}${prefix}/share/doc/speedycgi } else { # Install module for MacPorts Apache2 xinstall -m 755 -d ${destroot}${prefix}/apache2/modules xinstall -m 644 ${worksrcpath}/mod_speedycgi2/.libs/mod_speedycgi.so ${destroot}${prefix}/apache2/modules } } post-activate { if { [variant_isset apple_apache]} { ui_msg "\n #### To complete SpeedyCGI installation #### Copy mod_speedycgi.so and enable it in httpd.conf -Copy ${prefix}/share/doc/speedycgi/mod_speedycgi.so to /usr/libexec/httpd -Edit Apple's Apache 1 /etc/httpd/httpd.conf and add these lines. LoadModule speedycgi_module libexec/httpd/mod_speedycgi.so AddModule mod_speedycgi.c \n" } else { ui_msg "\n #### To complete SpeedyCGI installation #### Enable mod_speedycgi.so in httpd.conf -Edit MacPorts Apache 2 ${prefix}/apache2/conf/httpd.conf and add this line. LoadModule speedycgi_module modules/mod_speedycgi.so \n" } ui_msg "\n See ${prefix}/share/doc/speedycgi/README for further details. \n" } If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page. Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:
% cd /opt/local/bin/portslocation/dports/p5-cgi-speedycgiYou will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to: Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using p5-cgi-speedycgi with these commands: % man p5-cgi-speedycgi Where to find more information:
|
![]() |
![]() Digg p5-cgi-speedycgi on MacOSX
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
aqua
archivers audio benchmarks cad comms cross databases devel editors emulators games genealogy gnome gnustep graphics irc java kde lang math multimedia net news palm perl python ruby science security shells sysutils textproc www x11 xfce zope
Current CVS DownloadsDarwin Ports Current :nightly CVS snapshot OpenDarwin CVSWeb SSH Key Gen |
|||||||
| |




