Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 14030 Details for
Bug 23360
ebuild for turck-mmcache
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
turck-mmcache-2.3.17-r3.ebuild
turck-mmcache-2.3.17-r3.ebuild (text/plain), 2.30 KB, created by
S.Caglar Onur
on 2003-06-30 01:07:54 UTC
(
hide
)
Description:
turck-mmcache-2.3.17-r3.ebuild
Filename:
MIME Type:
Creator:
S.Caglar Onur
Created:
2003-06-30 01:07:54 UTC
Size:
2.30 KB
patch
obsolete
># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >DESCRIPTION="Turck MMCache is a free open source PHP accelerator, optimizer, encoder and dynamic content cache for PHP. It increases performance of PHP scripts by caching them in compiled state, so that the overhead of compiling is almost completely eliminated. Also it uses some optimizations to speed up execution of PHP scripts. Turck MMCache typically reduces server load and increases the speed of your PHP code by 1-10 times." >SRC_URI="mirror://sourceforge/turck-mmcache/${P}.tar.gz" >HOMEPAGE="http://turck-mmcache.sourceforge.net/" > >IUSE="" >SLOT="0" >LICENSE="GPL-2" >KEYWORDS="~x86" > >PHP_EXT_NAME="mmcache" >PHP_EXT_ZENDEXT="yes" > >inherit php-ext > >src_compile() { > myconf="--enable-mmcache=shared" > php-ext_src_compile >} > >src_install() { > > php-ext_src_install > > #create Cache dir if it does not exist > > if [ ! -d /tmp/mmcache ] > then > mkdir /tmp/mmcache > fi > > # doesn't hurt :) > > chmod 0777 /tmp/mmcache > > insinto /usr/share/turck-mmcache > insopts -m 0644 -o root -g root > > doins encoder.php mmcache.php mmcache.gif > dodoc CREDITS LICENSE README TODO EXPERIMENTAL >} > >pkg_postinst () { > einfo 'You need to insert this into your php.ini file (usually in /etc/php4/php.ini)' > einfo 'and restart Apache to activate MMCache' > einfo > einfo 'zend_extension="/usr/lib/php/mmcache.so"' > einfo 'mmcache.shm_size="16"' > einfo 'mmcache.cache_dir="/tmp/mmcache"' > einfo 'mmcache.enable="1"' > einfo 'mmcache.optimizer="1"' > einfo 'mmcache.check_mtime="1"' > einfo 'mmcache.debug="0"' > einfo 'mmcache.filter=""' > einfo 'mmcache.shm_max="0"' > einfo 'mmcache.shm_ttl="0"' > einfo 'mmcache.shm_prune_period="0"' > einfo > einfo 'A web interface is available to manage the turck cache.' > einfo 'Copy /usr/share/turck-mmcache/mmcache.php to somewhere' > einfo 'where your web server can see it.' > einfo 'For security reasons it is recommended to restrict the usage of this script by your local IP' > einfo > einfo 'A PHP script encoder is available to encode your PHP scripts.' > einfo 'The encoder is available as /usr/share/turck-mmcache/encoder.php' > einfo 'The encoded file format is not yet considered stable' >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 23360
:
13754
|
13755
|
13756
|
13757
|
13821
|
13822
|
13823
|
13824
|
13888
|
13899
|
13972
| 14030 |
14094
|
14368
|
14369