summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Bergmann <sebastian@gentoo.org>2005-05-19 09:10:56 +0000
committerSebastian Bergmann <sebastian@gentoo.org>2005-05-19 09:10:56 +0000
commit1f1d5703f7dfc0dc39ef13bd530e1b178c54d73b (patch)
treefdc2182411f1e74a55a2fac2e6613834f3d63ed3 /dev-php/eaccelerator
parentAdd USE flag for inode-based caching in dev-php/eaccelerator. (diff)
downloadgentoo-2-1f1d5703f7dfc0dc39ef13bd530e1b178c54d73b.tar.gz
gentoo-2-1f1d5703f7dfc0dc39ef13bd530e1b178c54d73b.tar.bz2
gentoo-2-1f1d5703f7dfc0dc39ef13bd530e1b178c54d73b.zip
Version bump. Mark previous version stable on amd64 and x86. Fix bug #89841 by introducing a USE flag for inode-based caching.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-php/eaccelerator')
-rw-r--r--dev-php/eaccelerator/ChangeLog9
-rw-r--r--dev-php/eaccelerator/Manifest16
-rw-r--r--dev-php/eaccelerator/eaccelerator-0.9.2a.ebuild6
-rw-r--r--dev-php/eaccelerator/eaccelerator-0.9.3.ebuild98
-rw-r--r--dev-php/eaccelerator/files/digest-eaccelerator-0.9.31
5 files changed, 114 insertions, 16 deletions
diff --git a/dev-php/eaccelerator/ChangeLog b/dev-php/eaccelerator/ChangeLog
index c466c1256229..78a7f673570c 100644
--- a/dev-php/eaccelerator/ChangeLog
+++ b/dev-php/eaccelerator/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-php/eaccelerator
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/eaccelerator/ChangeLog,v 1.6 2005/04/10 14:55:35 sebastian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/eaccelerator/ChangeLog,v 1.7 2005/05/19 09:10:56 sebastian Exp $
+
+*eaccelerator-0.9.3 (19 May 2005)
+
+ 19 May 2005; Sebastian Bergmann <sebastian@gentoo.org>
+ eaccelerator-0.9.2a.ebuild, +eaccelerator-0.9.3.ebuild:
+ Version bump. Mark previous version stable on amd64 and x86. Fix bug #89841
+ by introducing a USE flag for inode-based caching.
10 Apr 2005; Sebastian Bergmann <sebastian@gentoo.org>
eaccelerator-0.9.2a.ebuild:
diff --git a/dev-php/eaccelerator/Manifest b/dev-php/eaccelerator/Manifest
index 74b1e57572ea..822a00707d1d 100644
--- a/dev-php/eaccelerator/Manifest
+++ b/dev-php/eaccelerator/Manifest
@@ -1,14 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 5fa5950a24d2f4b53cb9722b46f5b401 eaccelerator-0.9.2a.ebuild 3169
-MD5 a1e8335f87dadd910fb6911e6f238b51 ChangeLog 1032
+MD5 43841d400c8d001379a6d514997d7234 eaccelerator-0.9.2a.ebuild 3167
+MD5 3fd09b303fc5b642df1e32a2f739b444 eaccelerator-0.9.3.ebuild 3578
+MD5 8b82b53b71670417e1bd5174de4ce8f0 ChangeLog 1314
MD5 34b376f52ca199fffb4e52b83169574a metadata.xml 156
MD5 3d30ceed6d4367d313daa9c6ec007e8f files/digest-eaccelerator-0.9.2a 71
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCWT6AaGfFFLhbXWkRAn1pAKCg/cW/+6nTxoh7l2o5XDbPcxwZ+QCfSOCU
-JANFaaOPyt320FKQmySgvHU=
-=MEUA
------END PGP SIGNATURE-----
+MD5 543f0982cc0ffa866a7b03985dc77edb files/digest-eaccelerator-0.9.3 70
diff --git a/dev-php/eaccelerator/eaccelerator-0.9.2a.ebuild b/dev-php/eaccelerator/eaccelerator-0.9.2a.ebuild
index 4bb037ecc8d2..52ca7c4df325 100644
--- a/dev-php/eaccelerator/eaccelerator-0.9.2a.ebuild
+++ b/dev-php/eaccelerator/eaccelerator-0.9.2a.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/eaccelerator/eaccelerator-0.9.2a.ebuild,v 1.6 2005/04/10 14:55:35 sebastian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/eaccelerator/eaccelerator-0.9.2a.ebuild,v 1.7 2005/05/19 09:10:56 sebastian Exp $
PHP_EXT_NAME="eaccelerator"
PHP_EXT_ZENDEXT="yes"
@@ -14,7 +14,7 @@ S=${WORKDIR}/eaccelerator
IUSE="session"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~amd64 sparc"
+KEYWORDS="x86 amd64 sparc"
DEPEND="$DEPEND
!dev-php/ioncube_loaders
@@ -78,7 +78,7 @@ src_install() {
}
pkg_postinst () {
- einfo "You need to restart apache to activate eAccelerator"
+ einfo "You need to restart Apache to activate eAccelerator"
einfo
einfo 'A web interface is available to manage the eAccelerator cache.'
einfo 'Copy /usr/share/eaccelerator/*.php to somewhere'
diff --git a/dev-php/eaccelerator/eaccelerator-0.9.3.ebuild b/dev-php/eaccelerator/eaccelerator-0.9.3.ebuild
new file mode 100644
index 000000000000..49cfc6cad40c
--- /dev/null
+++ b/dev-php/eaccelerator/eaccelerator-0.9.3.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php/eaccelerator/eaccelerator-0.9.3.ebuild,v 1.1 2005/05/19 09:10:56 sebastian Exp $
+
+PHP_EXT_NAME="eaccelerator"
+PHP_EXT_ZENDEXT="yes"
+[ -z "${EACCELERATOR_CACHEDIR}" ] && EACCELERATOR_CACHEDIR=/var/cache/eaccelerator
+inherit php-ext-source
+
+DESCRIPTION="A PHP Accelerator & Encoder."
+HOMEPAGE="http://www.eaccelerator.net/"
+SRC_URI="mirror://sourceforge/eaccelerator/${P}.tar.gz"
+IUSE="inode session"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~sparc"
+
+DEPEND="$DEPEND
+ !dev-php/ioncube_loaders
+ !dev-php/php-accelerator
+ !dev-php/PECL-apc
+ !dev-php/turck-mmcache"
+
+src_compile() {
+ # eAccelerator does not work with Zend Thread Safety (ZTS)
+ # so about if we are using Apache 2 with an MPM that would
+ # require ZTS.
+ if has_version '>=net-www/apache-2*'; then
+ APACHE2_MPM="`/usr/sbin/apache2 -l | egrep 'worker|perchild|leader|threadpool|prefork'|cut -d. -f1|sed -e 's/^[[:space:]]*//g;s/[[:space:]]+/ /g;'`"
+ case "${APACHE2_MPM}" in
+ *prefork*) ;;
+ *) eerror "eAccelerator does not yet work with the Apache 2 MPM in use." ; die ;;
+ esac;
+ fi
+
+ myconf="--enable-eaccelerator=shared"
+
+ if use !session; then
+ myconf="${myconf} --without-eaccelerator-sessions"
+ fi
+
+ if use !inode; then
+ myconf="${myconf} --without-eaccelerator-use-inode"
+ fi
+
+ 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 ${EACCELERATOR_CACHEDIR}
+ fowners root:root ${EACCELERATOR_CACHEDIR}
+ fperms 1777 ${EACCELERATOR_CACHEDIR}
+
+ insinto /usr/share/${PN}
+ doins encoder.php eaccelerator.php eaccelerator_password.php
+ dodoc AUTHORS ChangeLog COPYING NEWS README README.eLoader
+
+ php-ext-base_addtoinifiles "eaccelerator.shm_size" '"64"'
+ php-ext-base_addtoinifiles "eaccelerator.cache_dir" "\"${EACCELERATOR_CACHEDIR}\""
+ php-ext-base_addtoinifiles "eaccelerator.enable" '"1"'
+ php-ext-base_addtoinifiles "eaccelerator.optimizer" '"1"'
+ php-ext-base_addtoinifiles "eaccelerator.debug" '"0"'
+ php-ext-base_addtoinifiles "eaccelerator.check_mtime" '"1"'
+ php-ext-base_addtoinifiles "eaccelerator.filter" '""'
+ php-ext-base_addtoinifiles "eaccelerator.shm_max" '"0"'
+ php-ext-base_addtoinifiles "eaccelerator.shm_ttl" '"0"'
+ php-ext-base_addtoinifiles "eaccelerator.shm_prune_period" '"0"'
+ php-ext-base_addtoinifiles "eaccelerator.shm_only" '"0"'
+ php-ext-base_addtoinifiles "eaccelerator.compress" '"1"'
+ php-ext-base_addtoinifiles "eaccelerator.compress_level" '"9"'
+ php-ext-base_addtoinifiles "eaccelerator.keys" '"shm_and_disk"'
+ php-ext-base_addtoinifiles "eaccelerator.sessions" '"shm_and_disk"'
+ php-ext-base_addtoinifiles "eaccelerator.content" '"shm_and_disk"'
+ php-ext-base_addtoinifiles "eaccelerator.admin.name" '"yourusername"'
+ php-ext-base_addtoinifiles "eaccelerator.admin.password" '"yourpassword"'
+}
+
+pkg_postinst () {
+ einfo "You need to restart Apache to activate eAccelerator"
+ einfo
+ einfo 'A web interface is available to manage the eAccelerator cache.'
+ einfo 'Copy /usr/share/eaccelerator/*.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/eaccelerator/encoder.php'
+ einfo 'The encoded file format is not yet considered stable'
+}
diff --git a/dev-php/eaccelerator/files/digest-eaccelerator-0.9.3 b/dev-php/eaccelerator/files/digest-eaccelerator-0.9.3
new file mode 100644
index 000000000000..d64d0dc69aef
--- /dev/null
+++ b/dev-php/eaccelerator/files/digest-eaccelerator-0.9.3
@@ -0,0 +1 @@
+MD5 b17ddf953f18ee6df5c2c24ffccb37d9 eaccelerator-0.9.3.tar.gz 133120