summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/turck-mmcache/ChangeLog8
-rw-r--r--dev-php/turck-mmcache/Manifest4
-rw-r--r--dev-php/turck-mmcache/files/digest-turck-mmcache-2.4.21
-rw-r--r--dev-php/turck-mmcache/turck-mmcache-2.4.2.ebuild77
4 files changed, 87 insertions, 3 deletions
diff --git a/dev-php/turck-mmcache/ChangeLog b/dev-php/turck-mmcache/ChangeLog
index d338aa1690dc..89aaa659367c 100644
--- a/dev-php/turck-mmcache/ChangeLog
+++ b/dev-php/turck-mmcache/ChangeLog
@@ -1,6 +1,12 @@
# 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.11 2003/10/10 09:30:55 stuart Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/turck-mmcache/ChangeLog,v 1.12 2003/10/14 03:32:37 robbat2 Exp $
+
+*turck-mmcache-2.4.2 (13 Oct 2003)
+
+ 13 Oct 2003; Robin H. Johnson <robbat2@gentoo.org>
+ turck-mmcache-2.4.2.ebuild:
+ verson bump to get new fixes
*turck-mmcache-2.3.22 (10 Oct 2003)
diff --git a/dev-php/turck-mmcache/Manifest b/dev-php/turck-mmcache/Manifest
index 8572dafbbd8a..ea4bc4aa4829 100644
--- a/dev-php/turck-mmcache/Manifest
+++ b/dev-php/turck-mmcache/Manifest
@@ -1,9 +1,9 @@
-MD5 e21855b63b6ccb7e1928c2b9e0539d2c turck-mmcache-2.4.2.ebuild 2589
+MD5 505ab5a585cc2f96aa09a69ba41124ff turck-mmcache-2.4.2.ebuild 2590
MD5 f92a2e581b097728ebe2b8865cbbbbdf turck-mmcache-2.3.22.ebuild 2403
MD5 e21855b63b6ccb7e1928c2b9e0539d2c turck-mmcache-2.4.1.ebuild 2589
MD5 f3ea83654ad38601284e2819cca37cc6 turck-mmcache-2.3.21.ebuild 2349
MD5 63b63ebd397bb7297af045b8c8ebf791 turck-mmcache-2.3.23.ebuild 2403
-MD5 8c6a22a6cad37bb79c01ede4b9cf3074 ChangeLog 2633
+MD5 ed5e96e4801d22bb04436030c5c8c10d ChangeLog 2785
MD5 73c76c179e62f232ca675b8a15fe62ec metadata.xml 218
MD5 5b0b39dda21592eb13e8bf87e9675288 turck-mmcache-2.3.20.ebuild 2347
MD5 a8528f36796c4b81c6e1a52a1d949876 files/digest-turck-mmcache-2.3.20 72
diff --git a/dev-php/turck-mmcache/files/digest-turck-mmcache-2.4.2 b/dev-php/turck-mmcache/files/digest-turck-mmcache-2.4.2
new file mode 100644
index 000000000000..4eef977124d4
--- /dev/null
+++ b/dev-php/turck-mmcache/files/digest-turck-mmcache-2.4.2
@@ -0,0 +1 @@
+MD5 9d050f975ace5026c3737a8c579f35d4 turck-mmcache-2.4.2.tar.gz 115307
diff --git a/dev-php/turck-mmcache/turck-mmcache-2.4.2.ebuild b/dev-php/turck-mmcache/turck-mmcache-2.4.2.ebuild
new file mode 100644
index 000000000000..4fad25c1c238
--- /dev/null
+++ b/dev-php/turck-mmcache/turck-mmcache-2.4.2.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.2.ebuild,v 1.1 2003/10/14 03:32:37 robbat2 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'
+}