diff options
author | Stuart Herbert <stuart@gentoo.org> | 2003-08-13 16:14:05 +0000 |
---|---|---|
committer | Stuart Herbert <stuart@gentoo.org> | 2003-08-13 16:14:05 +0000 |
commit | 0f4dc4f55e8e6a4f9244fe4be13de898b469dd6d (patch) | |
tree | f21e62b48e29932ee5653e3872020563754f7e07 /dev-php/turck-mmcache | |
parent | Updated ebuild to v2.3.22 (diff) | |
download | gentoo-2-0f4dc4f55e8e6a4f9244fe4be13de898b469dd6d.tar.gz gentoo-2-0f4dc4f55e8e6a4f9244fe4be13de898b469dd6d.tar.bz2 gentoo-2-0f4dc4f55e8e6a4f9244fe4be13de898b469dd6d.zip |
Updated ebuild to v2.3.22
Diffstat (limited to 'dev-php/turck-mmcache')
-rw-r--r-- | dev-php/turck-mmcache/ChangeLog | 6 | ||||
-rw-r--r-- | dev-php/turck-mmcache/Manifest | 4 | ||||
-rw-r--r-- | dev-php/turck-mmcache/files/digest-turck-mmcache-2.3.22 | 1 | ||||
-rw-r--r-- | dev-php/turck-mmcache/turck-mmcache-2.3.22.ebuild | 71 |
4 files changed, 79 insertions, 3 deletions
diff --git a/dev-php/turck-mmcache/ChangeLog b/dev-php/turck-mmcache/ChangeLog index ca6c0c36612c..b8718296cf36 100644 --- a/dev-php/turck-mmcache/ChangeLog +++ b/dev-php/turck-mmcache/ChangeLog @@ -1,6 +1,10 @@ # 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.7 2003/08/03 23:12:08 stuart Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php/turck-mmcache/ChangeLog,v 1.8 2003/08/13 16:13:56 stuart Exp $ + + 13 Aug 2003; Stuart Herbert <stuart@gentoo.org> : + Updated the ebuild to version 2.3.22. Added 'mmcache.shm_only = 0' config + setting. Ebuild submitted by Klavs Klavsen <kl@vsen.dk> ;-) *turck-mmcache-2.3.21 (03 08 2003) diff --git a/dev-php/turck-mmcache/Manifest b/dev-php/turck-mmcache/Manifest index ee0cf3ddf4a6..1260c6a4c310 100644 --- a/dev-php/turck-mmcache/Manifest +++ b/dev-php/turck-mmcache/Manifest @@ -1,7 +1,7 @@ -MD5 5bb88b7eaf9ac4a7c78c2381e7fed1ae turck-mmcache-2.3.22.ebuild 2370 +MD5 e1e054c751ff7890ece787a312b9e1a3 turck-mmcache-2.3.22.ebuild 2370 MD5 b61e90cbe9e751158afd36d20e35dc1e turck-mmcache-2.3.21.ebuild 2317 MD5 02137a1bf5c1265325acd15d2b0b8ef0 turck-mmcache-2.3.19.ebuild 2214 -MD5 d40c85a3d51ca6ae6bd0bba6dc89ddf5 ChangeLog 1692 +MD5 a90175ce87600df8b36266b7e121ef88 ChangeLog 1885 MD5 0661251e3e7528fee0b2ce1aaae95fbe turck-mmcache-2.3.20.ebuild 2316 MD5 73606cb81a8ce6f7b1b300724ecf7307 files/digest-turck-mmcache-2.3.19 71 MD5 a8528f36796c4b81c6e1a52a1d949876 files/digest-turck-mmcache-2.3.20 72 diff --git a/dev-php/turck-mmcache/files/digest-turck-mmcache-2.3.22 b/dev-php/turck-mmcache/files/digest-turck-mmcache-2.3.22 new file mode 100644 index 000000000000..0e74d3daadc9 --- /dev/null +++ b/dev-php/turck-mmcache/files/digest-turck-mmcache-2.3.22 @@ -0,0 +1 @@ +MD5 cc36e9e836327fe7975ccac008a49883 turck-mmcache-2.3.22.tar.gz 107727 diff --git a/dev-php/turck-mmcache/turck-mmcache-2.3.22.ebuild b/dev-php/turck-mmcache/turck-mmcache-2.3.22.ebuild new file mode 100644 index 000000000000..5dde7523a757 --- /dev/null +++ b/dev-php/turck-mmcache/turck-mmcache-2.3.22.ebuild @@ -0,0 +1,71 @@ +# 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.3.22.ebuild,v 1.1 2003/08/13 16:13:56 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="!dev-php/ioncube_loaders + !dev-php/php-accelerator" + +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 +} + +pkg_postinst () { + + 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"' + + 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' +} |