diff options
author | Stuart Herbert <stuart@gentoo.org> | 2003-10-01 08:38:59 +0000 |
---|---|---|
committer | Stuart Herbert <stuart@gentoo.org> | 2003-10-01 08:38:59 +0000 |
commit | e76864d32a707739885c78975a1356807100cc22 (patch) | |
tree | 5ef960c9773c75b4390b26608cec77adde8a4465 /dev-php/turck-mmcache | |
parent | Update to v2.4.1 (diff) | |
download | gentoo-2-e76864d32a707739885c78975a1356807100cc22.tar.gz gentoo-2-e76864d32a707739885c78975a1356807100cc22.tar.bz2 gentoo-2-e76864d32a707739885c78975a1356807100cc22.zip |
Update to v2.4.1
Diffstat (limited to 'dev-php/turck-mmcache')
-rw-r--r-- | dev-php/turck-mmcache/ChangeLog | 9 | ||||
-rw-r--r-- | dev-php/turck-mmcache/Manifest | 5 | ||||
-rw-r--r-- | dev-php/turck-mmcache/files/digest-turck-mmcache-2.4.1 | 1 | ||||
-rw-r--r-- | dev-php/turck-mmcache/metadata.xml | 8 | ||||
-rw-r--r-- | dev-php/turck-mmcache/turck-mmcache-2.4.1.ebuild | 75 |
5 files changed, 95 insertions, 3 deletions
diff --git a/dev-php/turck-mmcache/ChangeLog b/dev-php/turck-mmcache/ChangeLog index f201e3b4342f..61357e93300a 100644 --- a/dev-php/turck-mmcache/ChangeLog +++ b/dev-php/turck-mmcache/ChangeLog @@ -1,6 +1,13 @@ # 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.9 2003/09/09 08:31:39 stuart Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php/turck-mmcache/ChangeLog,v 1.10 2003/10/01 08:38:54 stuart Exp $ + +*turck-mmcache-2.4.1 (01 Oct 2003) + + 01 Oct 2003; Stuart Herbert <stuart@gentoo.org> metadata.xml, + turck-mmcache-2.4.1.ebuild: + Updated to turck-mmcache-2.4.1; thanks to Klavs Klavsen once more ;-) + Closes bug #29728 *turck-mmcache-2.3.23 (09 Sep 2003) diff --git a/dev-php/turck-mmcache/Manifest b/dev-php/turck-mmcache/Manifest index 6d4ff5aae3a9..e2261dc46cfa 100644 --- a/dev-php/turck-mmcache/Manifest +++ b/dev-php/turck-mmcache/Manifest @@ -1,9 +1,10 @@ MD5 6e454503f53a330c181f7aa1940059aa turck-mmcache-2.3.22.ebuild 2371 -MD5 4bdca52497313e9990e7aad7ee105fe2 turck-mmcache-2.4.1.ebuild 2559 +MD5 b4513de2581b71ea2309d9b8d76369b4 turck-mmcache-2.4.1.ebuild 2557 MD5 b61e90cbe9e751158afd36d20e35dc1e turck-mmcache-2.3.21.ebuild 2317 MD5 490a30961e8068613dd2bfefa85f6ad6 turck-mmcache-2.3.23.ebuild 2371 MD5 02137a1bf5c1265325acd15d2b0b8ef0 turck-mmcache-2.3.19.ebuild 2214 -MD5 976b7655771af183501ca5e37caea1b4 ChangeLog 2075 +MD5 8d3fd4b00d72f9ed09254747b0b73922 ChangeLog 2299 +MD5 73c76c179e62f232ca675b8a15fe62ec metadata.xml 218 MD5 19d42d9abb5f82127b1b0b17d1d4cbeb turck-mmcache-2.3.20.ebuild 2315 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.4.1 b/dev-php/turck-mmcache/files/digest-turck-mmcache-2.4.1 new file mode 100644 index 000000000000..039737c67c3d --- /dev/null +++ b/dev-php/turck-mmcache/files/digest-turck-mmcache-2.4.1 @@ -0,0 +1 @@ +MD5 a571771f6644ea2325ec06fa57b057ba turck-mmcache-2.4.1.tar.gz 114799 diff --git a/dev-php/turck-mmcache/metadata.xml b/dev-php/turck-mmcache/metadata.xml new file mode 100644 index 000000000000..a2dfaf799090 --- /dev/null +++ b/dev-php/turck-mmcache/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>php</herd> +<maintainer> + <email>stuart@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/dev-php/turck-mmcache/turck-mmcache-2.4.1.ebuild b/dev-php/turck-mmcache/turck-mmcache-2.4.1.ebuild new file mode 100644 index 000000000000..0204610adb48 --- /dev/null +++ b/dev-php/turck-mmcache/turck-mmcache-2.4.1.ebuild @@ -0,0 +1,75 @@ +# 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.1.ebuild,v 1.1 2003/10/01 08:38: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="!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 + + 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' +} |