diff options
author | Stuart Herbert <stuart@gentoo.org> | 2003-10-22 23:01:58 +0000 |
---|---|---|
committer | Stuart Herbert <stuart@gentoo.org> | 2003-10-22 23:01:58 +0000 |
commit | 59f60c9be1ac1a849d1700e02afd7547cd825781 (patch) | |
tree | 3a616c95b0f216243177e7e7de549aacf165a7b4 /dev-php/turck-mmcache | |
parent | Version bump (diff) | |
download | gentoo-2-59f60c9be1ac1a849d1700e02afd7547cd825781.tar.gz gentoo-2-59f60c9be1ac1a849d1700e02afd7547cd825781.tar.bz2 gentoo-2-59f60c9be1ac1a849d1700e02afd7547cd825781.zip |
Version bump
Diffstat (limited to 'dev-php/turck-mmcache')
-rw-r--r-- | dev-php/turck-mmcache/ChangeLog | 7 | ||||
-rw-r--r-- | dev-php/turck-mmcache/Manifest | 4 | ||||
-rw-r--r-- | dev-php/turck-mmcache/files/digest-turck-mmcache-2.4.3 | 1 | ||||
-rw-r--r-- | dev-php/turck-mmcache/turck-mmcache-2.4.3.ebuild | 77 |
4 files changed, 86 insertions, 3 deletions
diff --git a/dev-php/turck-mmcache/ChangeLog b/dev-php/turck-mmcache/ChangeLog index 89aaa659367c..00665f338407 100644 --- a/dev-php/turck-mmcache/ChangeLog +++ b/dev-php/turck-mmcache/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-php/turck-mmcache # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php/turck-mmcache/ChangeLog,v 1.12 2003/10/14 03:32:37 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php/turck-mmcache/ChangeLog,v 1.13 2003/10/22 23:01:54 stuart Exp $ + +*turck-mmcache-2.4.3 (22 Oct 2003) + + 22 Oct 2003; Stuart Herbert <stuart@gentoo.org> turck-mmcache-2.4.3.ebuild: + Version bump; for bug #31611 *turck-mmcache-2.4.2 (13 Oct 2003) diff --git a/dev-php/turck-mmcache/Manifest b/dev-php/turck-mmcache/Manifest index ef62ab593e18..bb740ba55163 100644 --- a/dev-php/turck-mmcache/Manifest +++ b/dev-php/turck-mmcache/Manifest @@ -2,9 +2,9 @@ MD5 8fe8d697581a87240d5729b112ddfa36 turck-mmcache-2.4.2.ebuild 2591 MD5 f70fb61786a2c8d148e6a9c7b54d5b3f turck-mmcache-2.3.22.ebuild 2404 MD5 168accb4420df208a25c892a1667fa7b turck-mmcache-2.4.1.ebuild 2590 MD5 2ff33d4b37007a31d9061cf43989fcce turck-mmcache-2.3.21.ebuild 2350 -MD5 8fe8d697581a87240d5729b112ddfa36 turck-mmcache-2.4.3.ebuild 2591 +MD5 0459beac3ce0b38cbe3e29c825c00c05 turck-mmcache-2.4.3.ebuild 2590 MD5 785041ac484021b7af77e3beb42a4b33 turck-mmcache-2.3.23.ebuild 2404 -MD5 7d9b8e9176e63935bf62b364abc7b8f2 ChangeLog 2786 +MD5 b4dfbbd6a13b718eb2f6e4dfa45259d3 ChangeLog 2931 MD5 73c76c179e62f232ca675b8a15fe62ec metadata.xml 218 MD5 6a2984bdec88313a20f529e849519cb0 turck-mmcache-2.3.20.ebuild 2348 MD5 a8528f36796c4b81c6e1a52a1d949876 files/digest-turck-mmcache-2.3.20 72 diff --git a/dev-php/turck-mmcache/files/digest-turck-mmcache-2.4.3 b/dev-php/turck-mmcache/files/digest-turck-mmcache-2.4.3 new file mode 100644 index 000000000000..905392c57ba7 --- /dev/null +++ b/dev-php/turck-mmcache/files/digest-turck-mmcache-2.4.3 @@ -0,0 +1 @@ +MD5 5e2a41b39a63e3ee4d2adc89f92f2852 turck-mmcache-2.4.3.tar.gz 116728 diff --git a/dev-php/turck-mmcache/turck-mmcache-2.4.3.ebuild b/dev-php/turck-mmcache/turck-mmcache-2.4.3.ebuild new file mode 100644 index 000000000000..317c77dde890 --- /dev/null +++ b/dev-php/turck-mmcache/turck-mmcache-2.4.3.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php/turck-mmcache/turck-mmcache-2.4.3.ebuild,v 1.1 2003/10/22 23:01:54 stuart Exp $ + +PHP_EXT_NAME="mmcache" +PHP_EXT_ZENDEXT="yes" +[ -z "${MMCACHE_CACHEDIR}" ] && MMCACHE_CACHEDIR=/var/cache/mmcache +inherit php-ext-source + +DESCRIPTION="open source PHP accelerator, optimizer, encoder and dynamic content cache" +HOMEPAGE="http://turck-mmcache.sourceforge.net/" +SRC_URI="mirror://sourceforge/turck-mmcache/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +DEPEND="$DEPEND + !dev-php/ioncube_loaders + !dev-php/php-accelerator + !dev-php/PECL-apc" + +src_compile() { + myconf="--enable-mmcache=shared" + php-ext-source_src_compile +} + +src_install() { + php-ext-source_src_install + + # create Cache dir if it does not exist + # + # settings should ensure that cached files are secure, + # *but* this may break php-cli + # + # please file a bug in http://bugs.gentoo.org if this happens + # for you + + keepdir ${MMCACHE_CACHEDIR} + fowners root.root ${MMCACHE_CACHEDIR} + fperms 1777 ${MMCACHE_CACHEDIR} + + insinto /usr/share/${PN} + doins encoder.php mmcache.php mmcache.gif + + dodoc CREDITS LICENSE README TODO EXPERIMENTAL + + php-ext-base_addtoinifiles "mmcache.shm_size" '"16"' + php-ext-base_addtoinifiles "mmcache.cache_dir" "\"${MMCACHE_CACHEDIR}\"" + php-ext-base_addtoinifiles "mmcache.enable" '"1"' + php-ext-base_addtoinifiles "mmcache.optimizer" '"1"' + php-ext-base_addtoinifiles "mmcache.check_mtime" '"1"' + php-ext-base_addtoinifiles "mmcache.debug" '"0"' + php-ext-base_addtoinifiles "mmcache.filter" '""' + php-ext-base_addtoinifiles "mmcache.shm_max" '"0"' + php-ext-base_addtoinifiles "mmcache.shm_ttl" '"0"' + php-ext-base_addtoinifiles "mmcache.shm_prune_period" '"0"' + php-ext-base_addtoinifiles "mmcache.compress" '"0"' + php-ext-base_addtoinifiles "mmcache.shm_only" '"0"' + php-ext-base_addtoinifiles "mmcache.keys" '"shm_and_disk"' + php-ext-base_addtoinifiles "mmcache.sessions" '"shm_and_disk"' + php-ext-base_addtoinifiles "mmcache.content" '"shm_and_disk"' + +} + +pkg_postinst () { + + einfo "You need to restart apache to activate MMCache" + 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 + 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' +} |