# 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 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 mkdir /tmp/mmcache 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 rm -f /etc/php4/lib/mmcache.so rm -rf /tmp/mmcache } pkg_postrm() { einfo einfo Please reload Apache to activate the changes einfo } Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: İ tested several times that seems there is no problem and its quite stable # ChangeLog for dev-php/turck-mmcache # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 # $Header: $ *turck-mmcache-2.3.17 (25 June 2003) 25 June 2003; S.Caglar Onur <caglar.onur@tubitak.gov.tr> turck-mmcache-2.3.17.ebuild : Please don't use Turck MMCache Encoder for commercial purpose until Turck MMCache version 2.4.0 is out. The format of encoded files may be changed and it is possible that the old formats will not be supported. ebuild created
Created attachment 13875 [details] turck-mmcache-2.3.17.ebuild
Created attachment 13876 [details] ChangeLog
This seems to be a duplicate of bug #23360. Would the two of you please work to merge your changes together and create a single superior ebuild and then post it under bug #23360. *** This bug has been marked as a duplicate of 23360 ***