summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2003-09-09 08:31:43 +0000
committerStuart Herbert <stuart@gentoo.org>2003-09-09 08:31:43 +0000
commit04732679fd00bf231b78fc475fe3c15c04f04805 (patch)
treea9d4632ef40e1991109af6a8ecdde0f0836b0937 /dev-php/turck-mmcache
parentVersion bump + stable (diff)
downloadgentoo-2-04732679fd00bf231b78fc475fe3c15c04f04805.tar.gz
gentoo-2-04732679fd00bf231b78fc475fe3c15c04f04805.tar.bz2
gentoo-2-04732679fd00bf231b78fc475fe3c15c04f04805.zip
Version bump + stable
Diffstat (limited to 'dev-php/turck-mmcache')
-rw-r--r--dev-php/turck-mmcache/ChangeLog9
-rw-r--r--dev-php/turck-mmcache/Manifest6
-rw-r--r--dev-php/turck-mmcache/files/digest-turck-mmcache-2.3.231
-rw-r--r--dev-php/turck-mmcache/turck-mmcache-2.3.20.ebuild4
-rw-r--r--dev-php/turck-mmcache/turck-mmcache-2.3.23.ebuild72
5 files changed, 86 insertions, 6 deletions
diff --git a/dev-php/turck-mmcache/ChangeLog b/dev-php/turck-mmcache/ChangeLog
index b8718296cf36..f201e3b4342f 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.8 2003/08/13 16:13:56 stuart Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/turck-mmcache/ChangeLog,v 1.9 2003/09/09 08:31:39 stuart Exp $
+
+*turck-mmcache-2.3.23 (09 Sep 2003)
+
+ 09 Sep 2003; stuart turck-mmcache-2.3.20.ebuild,
+ turck-mmcache-2.3.23.ebuild:
+ Bumped to latest turck-mmcache version.
+ v2.3.20 marked as stable.
13 Aug 2003; Stuart Herbert <stuart@gentoo.org> :
Updated the ebuild to version 2.3.22. Added 'mmcache.shm_only = 0' config
diff --git a/dev-php/turck-mmcache/Manifest b/dev-php/turck-mmcache/Manifest
index 9d17e6041e0f..8fc5147652ca 100644
--- a/dev-php/turck-mmcache/Manifest
+++ b/dev-php/turck-mmcache/Manifest
@@ -1,9 +1,9 @@
MD5 6e454503f53a330c181f7aa1940059aa turck-mmcache-2.3.22.ebuild 2371
MD5 b61e90cbe9e751158afd36d20e35dc1e turck-mmcache-2.3.21.ebuild 2317
-MD5 6e454503f53a330c181f7aa1940059aa turck-mmcache-2.3.23.ebuild 2371
+MD5 490a30961e8068613dd2bfefa85f6ad6 turck-mmcache-2.3.23.ebuild 2371
MD5 02137a1bf5c1265325acd15d2b0b8ef0 turck-mmcache-2.3.19.ebuild 2214
-MD5 eb29b1137370e8e72f8937a30983e384 ChangeLog 2075
-MD5 bc9caba02b4af3679ffc664b44562754 turck-mmcache-2.3.20.ebuild 2315
+MD5 976b7655771af183501ca5e37caea1b4 ChangeLog 2075
+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
MD5 54ddecb087456e705625b82781c4c67d files/digest-turck-mmcache-2.3.21 72
diff --git a/dev-php/turck-mmcache/files/digest-turck-mmcache-2.3.23 b/dev-php/turck-mmcache/files/digest-turck-mmcache-2.3.23
new file mode 100644
index 000000000000..127592726974
--- /dev/null
+++ b/dev-php/turck-mmcache/files/digest-turck-mmcache-2.3.23
@@ -0,0 +1 @@
+MD5 6ece229ede1ad195d464533059c0802d turck-mmcache-2.3.23.tar.gz 109401
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 8b5241801f9a..16d6580a783b 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.2 2003/08/03 23:12:08 stuart Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/turck-mmcache/turck-mmcache-2.3.20.ebuild,v 1.3 2003/09/09 08:31:39 stuart Exp $
PHP_EXT_NAME="mmcache"
PHP_EXT_ZENDEXT="yes"
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/turck-mmcache/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="x86"
DEPEND="!dev-php/ioncube_loaders
!dev-php/php-accelerator"
diff --git a/dev-php/turck-mmcache/turck-mmcache-2.3.23.ebuild b/dev-php/turck-mmcache/turck-mmcache-2.3.23.ebuild
new file mode 100644
index 000000000000..2dbd17b55e2a
--- /dev/null
+++ b/dev-php/turck-mmcache/turck-mmcache-2.3.23.ebuild
@@ -0,0 +1,72 @@
+# 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.23.ebuild,v 1.1 2003/09/09 08:31:39 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"'
+
+}
+
+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'
+}