Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23360 - ebuild for turck-mmcache
Summary: ebuild for turck-mmcache
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Stuart Herbert (RETIRED)
URL: http://turck-mmcache.sf.net
Whiteboard:
Keywords:
: 23509 (view as bug list)
Depends on: 23844
Blocks:
  Show dependency tree
 
Reported: 2003-06-24 01:21 UTC by klavs klavsen
Modified: 2003-07-21 11:56 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for turck-mmcache (turck-mmcache-2.3.16.ebuild,1.74 KB, text/plain)
2003-06-24 01:22 UTC, klavs klavsen
Details
Manifest (Manifest,195 bytes, text/plain)
2003-06-24 01:22 UTC, klavs klavsen
Details
Changelog (Changelog,270 bytes, text/plain)
2003-06-24 01:23 UTC, klavs klavsen
Details
files/digest-turck-mmcache-2.3.16 (digest-turck-mmcache-2.3.16,71 bytes, text/plain)
2003-06-24 01:23 UTC, klavs klavsen
Details
ebuild for turck-mmcache-2.3.17 (turck-mmcache-2.3.17.ebuild,1.74 KB, text/plain)
2003-06-25 02:47 UTC, klavs klavsen
Details
Updated Changelog (Changelog,486 bytes, text/plain)
2003-06-25 02:48 UTC, klavs klavsen
Details
updated Manifest (Manifest,339 bytes, text/plain)
2003-06-25 02:49 UTC, klavs klavsen
Details
digest for turck-mmcache-2.3.17 (digest-turck-mmcache-2.3.17,71 bytes, text/plain)
2003-06-25 02:49 UTC, klavs klavsen
Details
I try to merge two of them in one ,it may help (turck-mmcache-2.3.17.ebuild,2.77 KB, text/plain)
2003-06-26 04:03 UTC, S.Caglar Onur
Details
Updated ebuild for turck-mmcache (turck-mmcache-2.3.17-r1.ebuild,2.28 KB, text/plain)
2003-06-26 12:19 UTC, Stuart Herbert (RETIRED)
Details
turck-mmcache-2.3.17-r2 ebuild (turck-mmcache-2.3.17-r2.ebuild,2.03 KB, text/plain)
2003-06-28 13:12 UTC, Stuart Herbert (RETIRED)
Details
turck-mmcache-2.3.17-r3.ebuild (turck-mmcache-2.3.17-r3.ebuild,2.30 KB, text/plain)
2003-06-30 01:07 UTC, S.Caglar Onur
Details
Final turck-mmcache ebuild (turck-mmcache-2.3.17-r2.ebuild,2.10 KB, text/plain)
2003-07-01 19:00 UTC, Stuart Herbert (RETIRED)
Details
Updated Ebuild to latest version - incl. all changes applied. (turck-mmcache-2.3.19.ebuild,2.10 KB, text/plain)
2003-07-11 02:02 UTC, klavs klavsen
Details
Changelog for turck-mmcache-2.3.19.ebuild (Changelog,700 bytes, text/plain)
2003-07-11 02:04 UTC, klavs klavsen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description klavs klavsen 2003-06-24 01:21:27 UTC
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. 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 klavs klavsen 2003-06-24 01:22:03 UTC
Created attachment 13754 [details]
ebuild for turck-mmcache
Comment 2 klavs klavsen 2003-06-24 01:22:33 UTC
Created attachment 13755 [details]
Manifest
Comment 3 klavs klavsen 2003-06-24 01:23:01 UTC
Created attachment 13756 [details]
Changelog
Comment 4 klavs klavsen 2003-06-24 01:23:35 UTC
Created attachment 13757 [details]
files/digest-turck-mmcache-2.3.16
Comment 5 klavs klavsen 2003-06-25 02:47:54 UTC
Created attachment 13821 [details]
ebuild for turck-mmcache-2.3.17

Upgraded turck-mmcache and changed install dir of mmcache.so to /usr/lib/php
(was /usr/lib/php4) - it's all right there in the Changelog :)
Comment 6 klavs klavsen 2003-06-25 02:48:23 UTC
Created attachment 13822 [details]
Updated Changelog
Comment 7 klavs klavsen 2003-06-25 02:49:05 UTC
Created attachment 13823 [details]
updated Manifest
Comment 8 klavs klavsen 2003-06-25 02:49:51 UTC
Created attachment 13824 [details]
digest for turck-mmcache-2.3.17
Comment 9 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-06-26 02:05:31 UTC
I'll get to this in a few days or so, I'm quite busy at the moment.
Remind me in a week if I haven't touched it.
Comment 10 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-06-26 02:08:20 UTC
*** Bug 23509 has been marked as a duplicate of this bug. ***
Comment 11 S.Caglar Onur 2003-06-26 04:03:51 UTC
Created attachment 13888 [details]
I try to merge two of them in one ,it may help
Comment 12 Stuart Herbert (RETIRED) gentoo-dev 2003-06-26 12:19:41 UTC
Created attachment 13899 [details]
Updated ebuild for turck-mmcache

Robin et al,

I've had a look at both ebuilds already submitted.  I've taken some of the
extra information out of Onur's ebuild, and added it to Klaus', to form what
I've called turck-mmcache-2.3.17-r1.ebuild.

The ebuild merges and unmerges just fine.  For the moment, I've made it install
the .so Zend extension and a couple of support scripts in
/usr/lib/php/turck-mmcache/.

I've used the module on a highly-dynamic site for the past hour, with no
noticable problems.  

Best regards,
Stu
--
Comment 13 S.Caglar Onur 2003-06-28 01:33:02 UTC
Hi;

i wanna say something about DEPEND="virtual/glibc dev-php/mod_php" ,i think DEPEND="=mod_php-4.3.2" can be used because turck-mmcache.2.3.17 just work with php-4.3.2

Comment 14 Stuart Herbert (RETIRED) gentoo-dev 2003-06-28 04:35:11 UTC
Hi Onur,

Thanks for the info.  Their website claims that it works with PHP 4.1.x as well.  Is their website wrong?

Thanks,
Stu
--
Comment 15 klavs klavsen 2003-06-28 04:40:40 UTC
Two comments,

1) Why are you creating and chmod'ing the /tmp/mmcache dir in pkg_postinst - when I've already done it in install? redundant to say the least. The added comment about the webinterface is fine.

2) Where does it say that it only works with php-4.3.2? the 2.3.14 changelog says tested with php-4.3.2 - and the page comments on testing done with php-4.1.2 - so it seems very unlikely that it should only work with php-4.3.2 (although I'm running just that, so I can't verify it - if somebody else could, that would be great).
Comment 16 Stuart Herbert (RETIRED) gentoo-dev 2003-06-28 11:58:31 UTC
Hi Klavs,

My bad ;-)  You're right - the dup code should be taken out of pkg_postinst.

Stu
Comment 17 Tal Peer (RETIRED) gentoo-dev 2003-06-28 12:07:39 UTC
Guys, for consistency's sake, please use the php-ext eclass for that ebuild (just remember to add PHP_EXT_ZEND="yes").
Comment 18 Stuart Herbert (RETIRED) gentoo-dev 2003-06-28 13:12:52 UTC
Created attachment 13972 [details]
turck-mmcache-2.3.17-r2 ebuild

As requested by coredumb, I've updated the ebuild to use the php-ext eclass,
and moved the encoder.php et al into /usr/share/turck-mmcache.

Best regards,
Stu
Comment 19 klavs klavsen 2003-06-30 00:12:51 UTC
When creating the latest -r2 ebuild, you accidently (I suppose :) cut this line out of the einfo:

einfo 'zend_extension="/usr/lib/php/mmcache.so"'

Other than that it looks great, and I HOPE it'll go in soon :)
Comment 20 S.Caglar Onur 2003-06-30 01:06:24 UTC
I added missed line

einfo 'zend_extension="/usr/lib/php/mmcache.so"'

and and changed the name of ebuild to r3.

Finaly i think this information is important so i added too

einfo 'For security reasons it is recommended to restrict the usage of this script by your local IP' to end of mmcache.php section.'

also I hope it'll go in soon,too

S.
Comment 21 S.Caglar Onur 2003-06-30 01:06:24 UTC
I added missed line

einfo 'zend_extension="/usr/lib/php/mmcache.so"'

and and changed the name of ebuild to r3.

Finaly i think this information is important so i added too

einfo 'For security reasons it is recommended to restrict the usage of this script by your local IP' to end of mmcache.php section.'

also I hope it'll go in soon,too

S.Çaglar Onur
Comment 22 S.Caglar Onur 2003-06-30 01:07:54 UTC
Created attachment 14030 [details]
turck-mmcache-2.3.17-r3.ebuild
Comment 23 Stuart Herbert (RETIRED) gentoo-dev 2003-07-01 19:00:38 UTC
Created attachment 14094 [details]
Final turck-mmcache ebuild

Okay,

Here's the proposed final ebuild for turck-mmcache.  I've updated it to
automatically add the php.ini file settings if they're not already present. 
All of coredumb's feedback is also incorporated.

I've used this ebuild to install turck-mmcache on a production server, and am
very happy with the results.

To test this, you need robbat2's latest mod_php and php ebuilds (with the new
/etc/php directory layout), and my latest php-ext.eclass, from bug 23844.

robbat2 - can you take this out for a drive, and commit it if you're happy with
everything?

Thanks,
Stu
--
Comment 24 klavs klavsen 2003-07-11 02:02:21 UTC
Created attachment 14368 [details]
Updated Ebuild to latest version - incl. all changes applied.

Updated Ebuild to latest version 2.3.19 - incl. all changes applied.
Comment 25 klavs klavsen 2003-07-11 02:04:06 UTC
Created attachment 14369 [details]
Changelog for turck-mmcache-2.3.19.ebuild

Added changes for 2.3.19 - missing stuff about -r1 through -r3.
Comment 26 Stuart Herbert (RETIRED) gentoo-dev 2003-07-16 13:27:44 UTC
Klavs, 
 
Thanks for adding the ebuild for turck-mmcache-2.3.19.  Sorry it's taking so long.  I'm 
hoping to commit this to CVS in the next few days. 
 
Many thanks, 
Stu 
Comment 27 Stuart Herbert (RETIRED) gentoo-dev 2003-07-19 02:01:59 UTC
Okay, I've committed the ebuild into Portage, and it's already showing up on the 
mirrors. 
 
Can you please re-install it using the ebuild, and confirm that it works for you?  Then I 
can close this bug. 
 
Best regards, 
Stu 
-- 
Comment 28 klavs klavsen 2003-07-21 04:05:49 UTC
It works fine for me :)
Comment 29 Stuart Herbert (RETIRED) gentoo-dev 2003-07-21 11:56:01 UTC
Great.  Consider this bug closed then ;-) 
 
Feel free to drop me an email - stuart@gentoo.org - if a new release of 
turck-mmcache comes out and there's no ebuild for it within 48 hours. 
 
Take care, 
Stu