|
|||||||||
Saturday the 7th of November, 2009 |
|||||||||
p5-cgi-speedycgi most recent diffversion
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 The p5-cgi-speedycgi Portfile 50980 2009-05-14 19:41:55Z and.damore PortSystem 1.0 PortGroup perl5 1.0 perl5.setup CGI-SpeedyCGI 2.22 Revision: 2 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 Patch Files: 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 outside of ${prefix} and let user copy it. xinstall -m 644 ${worksrcpath}/mod_speedycgi2/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 /etc/apache2/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:
|
![]() |
![]()
Order Snow Leopard MacOSX 10.6 for only $29!
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
accounting
amusements aqua archivers audio benchmarks biology blinkenlights cad chat chinese comms compression cross crypto databases devel editors education electronics emacs emulators erlang finance fonts framework fuse games genealogy gis gnome gnustep graphics gtk haskell iphone irc japanese java kde kde4 lang macports math mercurial ml mono multimedia net network news ocaml office palm parallel perl php pim project python reporting rox ruby russian scheme science security shells spelling squeak sysutils tcl tex textproc tk unicode vnc win32 wsn www x11 x11-font x11-wm xfce zope
Current SVN DownloadsDarwin Ports Current :nightly SVN snapshot SSH Key Gen See also: GNU-Darwin Ports for GNU-only software |
|||||||
| |




