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 | e44e5bde1147a2d48a839509a62b0a07ba3bdd7a (patch) | |
tree | 64ccb651032764b45d7d3f7dd184ab292e068f85 /dev-php | |
parent | Updated ebuild to v2.3.22 (diff) | |
download | historical-e44e5bde1147a2d48a839509a62b0a07ba3bdd7a.tar.gz historical-e44e5bde1147a2d48a839509a62b0a07ba3bdd7a.tar.bz2 historical-e44e5bde1147a2d48a839509a62b0a07ba3bdd7a.zip |
Updated ebuild to v2.3.22
Diffstat (limited to 'dev-php')
-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 |
3 files changed, 74 insertions, 2 deletions
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' +} |