summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Bergmann <sebastian@gentoo.org>2006-03-05 06:51:22 +0000
committerSebastian Bergmann <sebastian@gentoo.org>2006-03-05 06:51:22 +0000
commit5d9e20a5780f4f127f5217aeab4851948005411a (patch)
tree24137e6c53550d263c9d648645d6505fc3621d9e /dev-php4
parentVersion bump (bug #124105) (diff)
downloadhistorical-5d9e20a5780f4f127f5217aeab4851948005411a.tar.gz
historical-5d9e20a5780f4f127f5217aeab4851948005411a.tar.bz2
historical-5d9e20a5780f4f127f5217aeab4851948005411a.zip
Version bump.
Package-Manager: portage-2.1_pre5-r4
Diffstat (limited to 'dev-php4')
-rw-r--r--dev-php4/eaccelerator/ChangeLog8
-rw-r--r--dev-php4/eaccelerator/Manifest28
-rw-r--r--dev-php4/eaccelerator/eaccelerator-0.9.4.ebuild108
-rw-r--r--dev-php4/eaccelerator/files/digest-eaccelerator-0.9.43
4 files changed, 145 insertions, 2 deletions
diff --git a/dev-php4/eaccelerator/ChangeLog b/dev-php4/eaccelerator/ChangeLog
index 96018f2e5626..ed53badeced1 100644
--- a/dev-php4/eaccelerator/ChangeLog
+++ b/dev-php4/eaccelerator/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-php4/eaccelerator
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php4/eaccelerator/ChangeLog,v 1.5 2006/01/22 18:00:02 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php4/eaccelerator/ChangeLog,v 1.6 2006/03/05 06:51:22 sebastian Exp $
+
+*eaccelerator-0.9.4 (05 Mar 2006)
+
+ 05 Mar 2006; Sebastian Bergmann <sebastian@gentoo.org>
+ +eaccelerator-0.9.4.ebuild:
+ Version bump.
22 Jan 2006; Jason Wever <weeve@gentoo.org> eaccelerator-0.9.3.ebuild:
Added ~sparc keyword.
diff --git a/dev-php4/eaccelerator/Manifest b/dev-php4/eaccelerator/Manifest
index ad004a56ea51..26005a3a4624 100644
--- a/dev-php4/eaccelerator/Manifest
+++ b/dev-php4/eaccelerator/Manifest
@@ -1,5 +1,31 @@
-MD5 2fb755c6949eda2acfaf355332b05e0c ChangeLog 736
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 8c2883140a3fe9e5960485f80cfb491f ChangeLog 879
+RMD160 70b4cbcc405a9b70dd873b1091fe8c46c71bbfe5 ChangeLog 879
+SHA256 d965776a29e9b2c3052708c65ae59f5a72474ae6f3c3492667f0541c26f0135e ChangeLog 879
MD5 13fa45df8a1cbecb65daff7ac1bfcd9d eaccelerator-0.9.3.ebuild 3720
+RMD160 f29ac6c089ef81535cb03532e029903dbb9b68c9 eaccelerator-0.9.3.ebuild 3720
+SHA256 5502a9e7b313477aaa7be2a559e7caab9b1d6f26d24d377b3631cb6e04118981 eaccelerator-0.9.3.ebuild 3720
+MD5 8a8384315c15e8cd702d810cab144b12 eaccelerator-0.9.4.ebuild 3607
+RMD160 c3f8c95c8039120613b23373a86fcf2814b3ee0f eaccelerator-0.9.4.ebuild 3607
+SHA256 046ac026f9dbe23e587563517e82f8d7e1175bc7c0185e26715540f6a0edaf10 eaccelerator-0.9.4.ebuild 3607
MD5 543f0982cc0ffa866a7b03985dc77edb files/digest-eaccelerator-0.9.3 70
+RMD160 9daf49b080c84103e6834e9d706b1ebbd9c95743 files/digest-eaccelerator-0.9.3 70
+SHA256 13c57c4ba3ac20c79deec67764b4fc6799067377ca29440491410843c3976f50 files/digest-eaccelerator-0.9.3 70
+MD5 f529d0c05e329339cb45697245c48d26 files/digest-eaccelerator-0.9.4 259
+RMD160 71c32edbd2480ece6043a8419b8779195d7a6f2c files/digest-eaccelerator-0.9.4 259
+SHA256 0e1f87d7bfd50ad6bcdca9064d362801d5828e0b8f24c125901eef02d040a990 files/digest-eaccelerator-0.9.4 259
MD5 65491db56ada2c1237a6c790210c3592 files/eaccelerator-0.9.3-hash-fix.patch 776
+RMD160 7eac3fe23a48f484945a0a9e7eef09c99d0a7e01 files/eaccelerator-0.9.3-hash-fix.patch 776
+SHA256 762928aa4f1b931fbbee02eee45c6b6346640706709ec9235c36f0d5c8c6ff64 files/eaccelerator-0.9.3-hash-fix.patch 776
MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157
+RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a metadata.xml 157
+SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1 metadata.xml 157
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2.1 (GNU/Linux)
+
+iD8DBQFECop5aGfFFLhbXWkRAkaxAKCWiqjcDIFz78zRbpClfKEKLzeKQACghy+T
+w7lluZB6UVnf2S5GI2u4nik=
+=N8n1
+-----END PGP SIGNATURE-----
diff --git a/dev-php4/eaccelerator/eaccelerator-0.9.4.ebuild b/dev-php4/eaccelerator/eaccelerator-0.9.4.ebuild
new file mode 100644
index 000000000000..87b0e3917e8f
--- /dev/null
+++ b/dev-php4/eaccelerator/eaccelerator-0.9.4.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php4/eaccelerator/eaccelerator-0.9.4.ebuild,v 1.1 2006/03/05 06:51:22 sebastian Exp $
+
+PHP_EXT_NAME="eaccelerator"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="yes"
+
+[ -z "${EACCELERATOR_CACHEDIR}" ] && EACCELERATOR_CACHEDIR="/var/cache/eaccelerator"
+
+inherit php-ext-source-r1
+
+KEYWORDS="~ppc ~ppc64 ~sparc ~x86"
+DESCRIPTION="A PHP Accelerator & Encoder."
+HOMEPAGE="http://www.eaccelerator.net/"
+SRC_URI="mirror://sourceforge/eaccelerator/${P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="inode session"
+
+DEPEND="${DEPEND}
+ !dev-php4/pecl-apc"
+
+# this is a good example of why we need all web servers installed under a
+# common 'www' user and group!
+HTTPD_USER="apache"
+HTTPD_GROUP="apache"
+
+need_php_by_category
+
+pkg_setup() {
+ has_php
+
+ require_php_sapi_from cgi apache apache2
+ require_php_with_use zlib
+}
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+}
+
+src_compile() {
+ has_php
+
+ my_conf="--enable-eaccelerator=shared"
+
+ if use !session; then
+ my_conf="${my_conf} --without-eaccelerator-sessions"
+ fi
+
+ if use !inode; then
+ my_conf="${my_conf} --without-eaccelerator-use-inode"
+ fi
+
+ php-ext-source-r1_src_compile
+}
+
+src_install() {
+ php-ext-source-r1_src_install
+
+ keepdir "${EACCELERATOR_CACHEDIR}"
+ fowners ${HTTPD_USER}:${HTTPD_GROUP} "${EACCELERATOR_CACHEDIR}"
+ fperms 750 "${EACCELERATOR_CACHEDIR}"
+
+ insinto "/usr/share/${PN}"
+ doins encoder.php eaccelerator.php eaccelerator_password.php
+ dodoc-php AUTHORS ChangeLog COPYING NEWS README README.eLoader
+
+ php-ext-base-r1_addtoinifiles "eaccelerator.shm_size" '"64"'
+ php-ext-base-r1_addtoinifiles "eaccelerator.cache_dir" "\"${EACCELERATOR_CACHEDIR}\""
+ php-ext-base-r1_addtoinifiles "eaccelerator.enable" '"1"'
+ php-ext-base-r1_addtoinifiles "eaccelerator.optimizer" '"1"'
+ php-ext-base-r1_addtoinifiles "eaccelerator.debug" '"0"'
+ php-ext-base-r1_addtoinifiles "eaccelerator.check_mtime" '"1"'
+ php-ext-base-r1_addtoinifiles "eaccelerator.filter" '""'
+ php-ext-base-r1_addtoinifiles "eaccelerator.shm_max" '"0"'
+ php-ext-base-r1_addtoinifiles "eaccelerator.shm_ttl" '"0"'
+ php-ext-base-r1_addtoinifiles "eaccelerator.shm_prune_period" '"0"'
+ php-ext-base-r1_addtoinifiles "eaccelerator.shm_only" '"0"'
+ php-ext-base-r1_addtoinifiles "eaccelerator.compress" '"1"'
+ php-ext-base-r1_addtoinifiles "eaccelerator.compress_level" '"9"'
+ php-ext-base-r1_addtoinifiles "eaccelerator.keys" '"shm_and_disk"'
+ php-ext-base-r1_addtoinifiles "eaccelerator.sessions" '"shm_and_disk"'
+ php-ext-base-r1_addtoinifiles "eaccelerator.content" '"shm_and_disk"'
+ php-ext-base-r1_addtoinifiles ";eaccelerator.admin.name" '"username"'
+ php-ext-base-r1_addtoinifiles ";eaccelerator.admin.password" '"hashed_password"'
+}
+
+pkg_postinst() {
+ # you only need to restart the webserver if you're using mod_php
+ if built_with_use =${PHP_PKG} apache || built_with_use =${PHP_PKG} apache2 ; then
+ einfo "You need to restart your webserver to activate eAccelerator."
+ einfo
+ fi
+
+ # this web interface needs moving into a separate, webapp-config compatible
+ # package!!
+ 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. See the documentation on how"
+ einfo "to secure this web interface with authentication."
+ 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-php4/eaccelerator/files/digest-eaccelerator-0.9.4 b/dev-php4/eaccelerator/files/digest-eaccelerator-0.9.4
new file mode 100644
index 000000000000..70ce8e98fd4f
--- /dev/null
+++ b/dev-php4/eaccelerator/files/digest-eaccelerator-0.9.4
@@ -0,0 +1,3 @@
+MD5 e9143a592b2b8e2e0f9aed2d00df03ce eaccelerator-0.9.4.tar.bz2 104672
+RMD160 79b57653128057e7f56607df5540b2f050849721 eaccelerator-0.9.4.tar.bz2 104672
+SHA256 00977de989012474477539d9646e875dac8edd80659426ec619011c3672e1088 eaccelerator-0.9.4.tar.bz2 104672