Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 13888 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]
I try to merge two of them in one ,it may help
turck-mmcache-2.3.17.ebuild (text/plain), 2.77 KB, created by
S.Caglar Onur
on 2003-06-26 04:03:51 UTC
(
hide
)
Description:
I try to merge two of them in one ,it may help
Filename:
MIME Type:
Creator:
S.Caglar Onur
Created:
2003-06-26 04:03:51 UTC
Size:
2.77 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" >HOMEPAGE="http://www.turcksoft.ru" >SRC_URI="mirror://sourceforge/turck-mmcache/turck-mmcache-${PV}.tar.gz" > >LICENSE="GPL" >SLOT="0" >KEYWORDS="x86" >IUSE="" > >DEPEND="=mod_php-4.3.2" >RDEPEND="=mod_php-4.3.2" > >S=${WORKDIR}/${P} > >src_compile() { > phpize > ./configure --enable-mmcache=shared > emake >} > >src_install () { > exeinto /etc/php4/lib > doexe modules/mmcache.so > > dodoc CREDITS LICENSE EXPERIMENTAL README TODO > dodoc encoder.php mmcache.php mmcache.gif >} > >pkg_postinst() { > echo "Performing post-installation routines for ${P}." > > cp /etc/php4/php.ini /etc/php4/php.ini.mmcache > > echo " extension=\"/etc/php4/lib/mmcache.so\"" >> /etc/php4/php.ini > echo " mmcache.shm_size=\"16\"" >> /etc/php4/php.ini > echo " mmcache.cache_dir=\"/tmp/mmcache\"" >> /etc/php4/php.ini > echo " mmcache.enable=\"1\"" >> /etc/php4/php.ini > echo " mmcache.optimizer=\"1\"" >> /etc/php4/php.ini > echo " mmcache.check_mtime=\"1\"" >> /etc/php4/php.ini > echo " mmcache.debug=\"0\"" >> /etc/php4/php.ini > echo " mmcache.filter=\"\"" >> /etc/php4/php.ini > echo " mmcache.shm_max=\"0\"" >> /etc/php4/php.ini > echo " mmcache.shm_ttl=\"0\"" >> /etc/php4/php.ini > echo " mmcache.shm_prune_period=\"0\"" >> /etc/php4/php.ini > > #create Cache dir if it does not exist > if [ ! -d /tmp/mmcache ] > then > mkdir /tmp/mmcache > fi > # doesn't hurt :) > chmod 0777 /tmp/mmcache > > einfo THE TURCK MMCACHE EXTENSION IS EXPERIMENTAL! > einfo USE IT AT YOUR OWN RISK YOU HAVE BEEN WARNED! > einfo > einfo Turck MMCache can be managed through web interface script mmcache.php > einfo So you need to put this file on your web site. For security reasons it is > einfo recommended to restrict the usage of this script by your local IP. > einfo mmcache.php can be found in /usr/share/doc/turck-mmcache-${PV} > > einfo > einfo Please don\'t use Turck MMCache Encoder for commercial purpose until Turck > einfo MMCache version 2.4.0 is out. The format of encoded files may be changed > einfo and it is possible that the old formats will not be supported. > einfo encoder.php can be found in /usr/share/doc/turck-mmcache-${PV} > > einfo > einfo Please reload Apache to activate the changes > einfo >} > >pkg_prerm() { > echo "Performing pre-removal routines for ${P}." > mv -f /etc/php4/php.ini.mmcache /etc/php4/php.ini > > if [ -d /tmp/mmcache ] > then > rm -f /etc/php4/lib/mmcache.so > fi > > if [ -d /tmp/mmcache ] > then > rm -rf /tmp/mmcache > fi >} > >pkg_postrm() { > einfo > einfo Please reload Apache to activate the changes > einfo >} > >
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