Date: Sat, 23 Feb 2002 18:35:42 +0100 (CET) From: Alex Dupre <sysadmin@alexdupre.com> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/35250: New Port: afterBURNER Cache for PHP scripts Message-ID: <200202231735.g1NHZgf59360@vaio.alexdupre.com>
next in thread | raw e-mail | index | archive | help
>Number: 35250 >Category: ports >Synopsis: New Port: afterBURNER Cache for PHP scripts >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Feb 23 09:30:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Alex Dupre >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: System: FreeBSD vaio.alexdupre.com 4.5-STABLE FreeBSD 4.5-STABLE #0: Sun Feb 3 15:53:42 CET 2002 alex@vaio.alexdupre.com:/usr/obj/usr/src/sys/VAIO2002 i386 >Description: afterBURNER*Cache is a new tool to speed up web applications writte in PHP. It works by caching inside the web server compiled PHP code (the first time it's executed) so that the next time the same script is called it is simply restored, already compiled, from the cache with big savings in terms of execution time. Caching and saving scripts at compile time can be a big performance win, especially if your PHP script is complex and makes heavy use of libraries. WWW: http://afterburner.bware.it/ >How-To-Repeat: >Fix: --- abcache.sh begins here --- # 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: # # abcache # abcache/Makefile # abcache/pkg-plist # abcache/pkg-comment # abcache/pkg-descr # abcache/distinfo # echo c - abcache mkdir -p abcache > /dev/null 2>&1 echo x - abcache/Makefile sed 's/^X//' >abcache/Makefile << 'END-of-abcache/Makefile' X# New ports collection makefile for: abcache X# Date created: Sat Feb 23 14:27:35 CET 2002 X# Whom: Alex Dupre <sysadmin@alexdupre.com> X# X# $FreeBSD$ X# X XPORTNAME= abcache XPORTVERSION= 0.14 XCATEGORIES= www XMASTER_SITES= http://afterburner.bware.it/download/ XEXTRACT_SUFX= .tgz X XMAINTAINER= sysadmin@alexdupre.com X XBUILD_DEPENDS= aclocal:${PORTSDIR}/devel/automake \ X autoconf:${PORTSDIR}/devel/autoconf \ X phpize:${PORTSDIR}/www/mod_php4 XRUN_DEPENDS= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13 \ X ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4 X XUSE_LIBTOOL= yes XLIBTOOLFILES= aclocal.m4 X XWRKSRC= ${WRKDIR}/bware_cache-${PORTVERSION} X XCONFIGURE_ARGS+=--enable-bware_cache=shared \ X --with-php-config=${PREFIX}/bin/php-config X Xpost-extract: X @${ECHO_MSG} "===> PHPizing for ${DISTNAME}" X @cd ${WRKSRC} && ${LOCALBASE}/bin/phpize X Xdo-install: X @${INSTALL} ${WRKSRC}/modules/bware_cache.so \ X ${LOCALBASE}/lib/php/20010901 X Xpost-install: X @${ECHO} "*****************************************************************************" X @${ECHO} "" X @${ECHO} "You have installed the abcache package." X @${ECHO} "" X @${ECHO} "Edit ${LOCALBASE}/etc/php.ini and add:" X @${ECHO} "" X @${ECHO} "[abcache]" X @${ECHO} "zend_extension=\"${LOCALBASE}/lib/php/20010901/bware_cache.so\"" X @${ECHO} "bware_cache_enable=\"1\"" X @${ECHO} "bware_cache_check_stamp=\"1\"" X @${ECHO} "bware_cache_log_level=\"1\"" X @${ECHO} "bware_cache_only=\"*.php\"" X @${ECHO} "" X @${ECHO} "*****************************************************************************" X X.include <bsd.port.mk> END-of-abcache/Makefile echo x - abcache/pkg-plist sed 's/^X//' >abcache/pkg-plist << 'END-of-abcache/pkg-plist' Xlib/php/20010901/bware_cache.so END-of-abcache/pkg-plist echo x - abcache/pkg-comment sed 's/^X//' >abcache/pkg-comment << 'END-of-abcache/pkg-comment' XA tool to cache applications written in PHP END-of-abcache/pkg-comment echo x - abcache/pkg-descr sed 's/^X//' >abcache/pkg-descr << 'END-of-abcache/pkg-descr' XafterBURNER*Cache is a tool to speed up web applications written Xin PHP. XIt works by caching inside the web server compiled PHP code (the Xfirst time it's executed) so that the next time the same script Xis called it is simply restored, already compiled, from the cache Xwith big savings in terms of execution time. XCaching and saving scripts at compile time can be a big performance Xwin, especially if your PHP script is complex and makes heavy use Xof libraries. X XWWW: http://afterburner.bware.it/ X X- Alex Dupre Xsysadmin@alexdupre.com END-of-abcache/pkg-descr echo x - abcache/distinfo sed 's/^X//' >abcache/distinfo << 'END-of-abcache/distinfo' XMD5 (abcache-0.14.tgz) = 2fbdc342142066dcd02f7b55e8e1d505 END-of-abcache/distinfo exit --- abcache.sh ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202231735.g1NHZgf59360>