summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2003-08-03 23:12:19 +0000
committerStuart Herbert <stuart@gentoo.org>2003-08-03 23:12:19 +0000
commit393775c3d661109008730b23c547dc662861ecdf (patch)
tree046b7cb881f44227fc533e2dac2a884561b4f9e8 /dev-php/turck-mmcache
parentUpgrade to v2.3.21; also added blocks against ioncube_loaders and php-acceler... (diff)
downloadgentoo-2-393775c3d661109008730b23c547dc662861ecdf.tar.gz
gentoo-2-393775c3d661109008730b23c547dc662861ecdf.tar.bz2
gentoo-2-393775c3d661109008730b23c547dc662861ecdf.zip
Upgrade to v2.3.21; also added blocks against ioncube_loaders and php-accelerator
Diffstat (limited to 'dev-php/turck-mmcache')
-rw-r--r--dev-php/turck-mmcache/ChangeLog12
-rw-r--r--dev-php/turck-mmcache/Manifest8
-rw-r--r--dev-php/turck-mmcache/files/digest-turck-mmcache-2.3.211
-rw-r--r--dev-php/turck-mmcache/turck-mmcache-2.3.19.ebuild4
-rw-r--r--dev-php/turck-mmcache/turck-mmcache-2.3.20.ebuild4
-rw-r--r--dev-php/turck-mmcache/turck-mmcache-2.3.21.ebuild70
6 files changed, 91 insertions, 8 deletions
diff --git a/dev-php/turck-mmcache/ChangeLog b/dev-php/turck-mmcache/ChangeLog
index f7a84d443e06..ca6c0c36612c 100644
--- a/dev-php/turck-mmcache/ChangeLog
+++ b/dev-php/turck-mmcache/ChangeLog
@@ -1,11 +1,19 @@
# 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.6 2003/07/29 18:45:17 stuart Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/turck-mmcache/ChangeLog,v 1.7 2003/08/03 23:12:08 stuart Exp $
+
+*turck-mmcache-2.3.21 (03 08 2003)
+
+ 03 08 2003: Stuart Herbert <stuart@gentoo.org> turck-mmcache-2.3.21.ebuild
+ Updated the ebuild to version 2.3.21. Thanks to Klavs Klavsen <kl@vsen.dk>
+ once more ;-)
+
+ Also added a block against ioncube_loaders and php-accelerator.
*turck-mmcache-2.3.20 (29 07 2003)
29 07 2003: Stuart Herbert <stuart@gentoo.org> turck-mmcache-2.3.20.ebuild
- Updated the ebuild to version 2.3.20 - added the mmcache.compress="1" option.
+ Updated the ebuild to version 2.3.20 - added the mmcache.compress="0" option.
Ebuild submitted by Klavs Klavsen <kl@vsen.dk>
21 Jul 2003; Robin H. Johnson <robbat2@gentoo.org> turck-mmcache-2.3.19.ebuild:
diff --git a/dev-php/turck-mmcache/Manifest b/dev-php/turck-mmcache/Manifest
index 23bfbdea86b8..c74a57332dc7 100644
--- a/dev-php/turck-mmcache/Manifest
+++ b/dev-php/turck-mmcache/Manifest
@@ -1,7 +1,7 @@
-MD5 edac33b0acc556f80b42b851cc3ff7e8 turck-mmcache-2.3.21.ebuild 2252
-MD5 77112d52bb3fd03ddad8c11491a9f073 turck-mmcache-2.3.19.ebuild 2150
-MD5 77fd7770859ea9d93356d85048de2d7a ChangeLog 1625
-MD5 edac33b0acc556f80b42b851cc3ff7e8 turck-mmcache-2.3.20.ebuild 2252
+MD5 b61e90cbe9e751158afd36d20e35dc1e turck-mmcache-2.3.21.ebuild 2317
+MD5 02137a1bf5c1265325acd15d2b0b8ef0 turck-mmcache-2.3.19.ebuild 2214
+MD5 d40c85a3d51ca6ae6bd0bba6dc89ddf5 ChangeLog 1692
+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
MD5 54ddecb087456e705625b82781c4c67d files/digest-turck-mmcache-2.3.21 72
diff --git a/dev-php/turck-mmcache/files/digest-turck-mmcache-2.3.21 b/dev-php/turck-mmcache/files/digest-turck-mmcache-2.3.21
new file mode 100644
index 000000000000..2256a6f14199
--- /dev/null
+++ b/dev-php/turck-mmcache/files/digest-turck-mmcache-2.3.21
@@ -0,0 +1 @@
+MD5 afddb602737f1c1d508393389858483e turck-mmcache-2.3.21.tar.gz 101334
diff --git a/dev-php/turck-mmcache/turck-mmcache-2.3.19.ebuild b/dev-php/turck-mmcache/turck-mmcache-2.3.19.ebuild
index c481329a2b99..7cdf78b588ce 100644
--- a/dev-php/turck-mmcache/turck-mmcache-2.3.19.ebuild
+++ b/dev-php/turck-mmcache/turck-mmcache-2.3.19.ebuild
@@ -1,6 +1,6 @@
# 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.19.ebuild,v 1.6 2003/07/26 06:24:44 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/turck-mmcache/turck-mmcache-2.3.19.ebuild,v 1.7 2003/08/03 23:12:08 stuart Exp $
PHP_EXT_NAME="mmcache"
PHP_EXT_ZENDEXT="yes"
@@ -14,6 +14,8 @@ 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"
diff --git a/dev-php/turck-mmcache/turck-mmcache-2.3.20.ebuild b/dev-php/turck-mmcache/turck-mmcache-2.3.20.ebuild
index 7e235625f0c4..8b5241801f9a 100644
--- a/dev-php/turck-mmcache/turck-mmcache-2.3.20.ebuild
+++ b/dev-php/turck-mmcache/turck-mmcache-2.3.20.ebuild
@@ -1,6 +1,6 @@
# 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.20.ebuild,v 1.1 2003/07/29 18:45:17 stuart Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/turck-mmcache/turck-mmcache-2.3.20.ebuild,v 1.2 2003/08/03 23:12:08 stuart Exp $
PHP_EXT_NAME="mmcache"
PHP_EXT_ZENDEXT="yes"
@@ -14,6 +14,8 @@ 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"
diff --git a/dev-php/turck-mmcache/turck-mmcache-2.3.21.ebuild b/dev-php/turck-mmcache/turck-mmcache-2.3.21.ebuild
new file mode 100644
index 000000000000..7fa5d05dfb21
--- /dev/null
+++ b/dev-php/turck-mmcache/turck-mmcache-2.3.21.ebuild
@@ -0,0 +1,70 @@
+# 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.21.ebuild,v 1.1 2003/08/03 23:12:08 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"'
+
+ 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'
+}