summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Bickel <mabi@gentoo.org>2010-08-02 17:32:01 +0000
committerMatti Bickel <mabi@gentoo.org>2010-08-02 17:32:01 +0000
commit141d18d62031863114de80d60b9e23435e9be0db (patch)
treefb116eb7e97a0a924ddf8bcff80e9a5c3c283979 /dev-php5/eaccelerator
parentbump (diff)
downloadhistorical-141d18d62031863114de80d60b9e23435e9be0db.tar.gz
historical-141d18d62031863114de80d60b9e23435e9be0db.tar.bz2
historical-141d18d62031863114de80d60b9e23435e9be0db.zip
bump
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'dev-php5/eaccelerator')
-rw-r--r--dev-php5/eaccelerator/ChangeLog7
-rw-r--r--dev-php5/eaccelerator/Manifest14
-rw-r--r--dev-php5/eaccelerator/eaccelerator-0.9.6.1.ebuild100
3 files changed, 109 insertions, 12 deletions
diff --git a/dev-php5/eaccelerator/ChangeLog b/dev-php5/eaccelerator/ChangeLog
index e3305ee29837..e32a9950b8f3 100644
--- a/dev-php5/eaccelerator/ChangeLog
+++ b/dev-php5/eaccelerator/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-php5/eaccelerator
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/eaccelerator/ChangeLog,v 1.23 2010/04/22 08:45:23 mabi Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/eaccelerator/ChangeLog,v 1.24 2010/08/02 17:32:01 mabi Exp $
+
+*eaccelerator-0.9.6.1 (02 Aug 2010)
+
+ 02 Aug 2010; Matti Bickel <mabi@gentoo.org> +eaccelerator-0.9.6.1.ebuild:
+ version bump (bug #330465)
*eaccelerator-0.9.6 (22 Apr 2010)
diff --git a/dev-php5/eaccelerator/Manifest b/dev-php5/eaccelerator/Manifest
index 0308c492d38f..9c8010445f82 100644
--- a/dev-php5/eaccelerator/Manifest
+++ b/dev-php5/eaccelerator/Manifest
@@ -1,17 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX eaccelerator-remove-encoder.patch 14612 RMD160 553c8681f82d95962e2f94be1083ae5bc7a0eb53 SHA1 c144550a94ddf51675fea631d37272fc711f690b SHA256 ddc22103c0e4bf0d348b14407e95ef566a557a5ad23fa56f35db0b71bc643b61
DIST eaccelerator-0.9.5.3.tar.bz2 555631 RMD160 9da55beec18e7a36761b5556d3bb4d5292d21650 SHA1 6671a105497f41c4e93e0b84da516b72df159fc5 SHA256 aa4f0e7817e0193d698db71cc858f45461c2820266941ae2034eb1b82c379e45
+DIST eaccelerator-0.9.6.1.tar.bz2 106049 RMD160 6a16ab377ec124a27e26a5fdc1fd6ada845695bd SHA1 c95e87229a6e674b4994d4fc13278e516ea314f9 SHA256 33703ad1678cdb65ef0cd28fbd2e262ef5d9f201f9016de26b7254987deba53c
DIST eaccelerator-0.9.6.tar.bz2 105833 RMD160 86320cbafa31f4b6db308c55035bbf057325a708 SHA1 65594917d0efa754d35760d2cde8701ffaa2914a SHA256 ab1f309078d04ede3297b96f6c2689104e349e11e61376866f59c983ddde9a56
EBUILD eaccelerator-0.9.5.3-r1.ebuild 4433 RMD160 d783c695617e6b8e588ba8d88cff5b0569e9b9cc SHA1 41899b77f2e69d51ef0855ace026fe20e82044ec SHA256 ec9a7b5915323f3a7ad4b018a2d17a26e1a7f721607e25ae5ba90d8bd2c86d9b
+EBUILD eaccelerator-0.9.6.1.ebuild 3485 RMD160 7194d1ee64ca2ca0d6e9612f99093236b0528b22 SHA1 d0798d6af53f94a260a50d61cffcd266f030f10a SHA256 7fd425814efcc372a55f4d9d2ebe3f3ed6d29cb41211f6f9fd8c4607d025ab34
EBUILD eaccelerator-0.9.6.ebuild 3510 RMD160 464380e93dfb877e631be571f7492c9567b68323 SHA1 6585d7dcfeddfdd1d69a7b5d9401f65ad055ade8 SHA256 5e8ea732ee1446cbb3e799079b20bfdb12975c6963c4c60d0c60753bc0a912b6
-MISC ChangeLog 4158 RMD160 7c01e0a457fc9efc85b64127be710be0e12609af SHA1 fd0e6d8eb33d8b712991dcbb628fa6b8c1776547 SHA256 949053f7fc794a19a26045d1ee9f01fd51cfd31c6c8378ab62d81985f7ae3efb
+MISC ChangeLog 4301 RMD160 93f2d831dc935ed47e9f465bab7999cc6860c630 SHA1 3eee63dc96e78d28e828b6d9717d6537387baff1 SHA256 20adf04f2077086627f2d94d8bedcdf8930721c948d33705d8507020b0b982b0
MISC metadata.xml 482 RMD160 3f0e4bf32cf90bbaebc348aa734c2fbabf065b0c SHA1 6cdfaa3d1e838e8c058d360fa1c6de52bfa9e9da SHA256 3e049a6d7ac92b1aef6095e29064ffce5aa56eaac36bf60c64e42e3da46fb07c
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.15 (GNU/Linux)
-
-iEYEARECAAYFAkwEhAYACgkQsiLx3HvNzgelJwCfXlhkCiCtIyoxV2vZRq1adHtb
-37kAn3PHT81Ok/bwx7PTPJsz8gU3ZXyE
-=oV8j
------END PGP SIGNATURE-----
diff --git a/dev-php5/eaccelerator/eaccelerator-0.9.6.1.ebuild b/dev-php5/eaccelerator/eaccelerator-0.9.6.1.ebuild
new file mode 100644
index 000000000000..3e16c1b33ce7
--- /dev/null
+++ b/dev-php5/eaccelerator/eaccelerator-0.9.6.1.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/eaccelerator/eaccelerator-0.9.6.1.ebuild,v 1.1 2010/08/02 17:32:01 mabi Exp $
+
+PHP_EXT_NAME="eaccelerator"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="yes"
+
+EAPI="2"
+
+[[ -z "${EACCELERATOR_CACHEDIR}" ]] && EACCELERATOR_CACHEDIR="/var/cache/eaccelerator-php5/"
+
+inherit php-ext-source-r1 eutils depend.apache
+
+KEYWORDS="~amd64 ~sparc ~x86"
+
+DESCRIPTION="A PHP Accelerator & Encoder."
+HOMEPAGE="http://www.eaccelerator.net/"
+SRC_URI="http://bart.eaccelerator.net/source/${PV}/${P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="debug disassembler inode doccommentinclusion session"
+
+DEPEND="!dev-php5/pecl-apc !dev-php5/xcache"
+RDEPEND="${DEPEND}
+ >=dev-lang/php-5.1[zlib,session?]
+ || ( dev-lang/php[cgi] dev-lang/php[apache2] )
+"
+
+# Webserver user and group, here for Apache by default
+HTTPD_USER="${HTTPD_USER:-apache}"
+HTTPD_GROUP="${HTTPD_GROUP:-apache}"
+
+need_php_by_category
+want_apache
+
+pkg_setup() {
+ depend.apache_pkg_setup
+
+ has_php
+
+ if ! use apache2 ; then
+ if [[ ${HTTPD_USER} == "apache" ]] || [[ ${HTTPD_GROUP} == "apache" ]] ; then
+ eerror "You did not enable apache2 USE flag, so you need to define"
+ eerror "the user and group that will be used for ${PN} yourself."
+ eerror
+ eerror "This should (generally) match the user and group that your webserver uses, e.g.:"
+ eerror "HTTPD_USER=\"lighttpd\" HTTPD_GROUP=\"lighttpd\" if using www-servers/lighttpd"
+ eerror
+ die "Either enable USE=\"apache2\" or re-emerge this with HTTPD_USER and HTTPD_GROUP set"
+ else
+ enewgroup ${HTTPD_GROUP}
+ enewuser ${HTTPD_USER} -1 -1 /var/www ${HTTPD_GROUP}
+ fi
+ fi
+}
+
+src_compile() {
+ has_php
+
+ my_conf="--enable-eaccelerator=shared --with-eaccelerator-userid=`id -u ${HTTPD_USER}`"
+
+ use debug && my_conf="${my_conf} --with-eaccelerator-debug"
+ use disassembler && my_conf="${my_conf} --with-eaccelerator-disassembler"
+ ! use inode && my_conf="${my_conf} --without-eaccelerator-use-inode"
+ use doccommentinclusion && my_conf="${my_conf} --with-eaccelerator-doc-comment-inclusion"
+
+ 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}-php5/"
+ doins -r doc/php/
+ dodoc-php AUTHORS ChangeLog NEWS README
+
+ php-ext-base-r1_addtoinifiles "eaccelerator.shm_size" '"28"'
+ 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.log_file" '"/var/log/eaccelerator_log"'
+ php-ext-base-r1_addtoinifiles "eaccelerator.check_mtime" '"1"'
+ php-ext-base-r1_addtoinifiles "eaccelerator.filter" '""'
+ 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.allowed_admin_path" '"/path/where/admin/files/shall/be/allowed"'
+}
+
+pkg_postinst() {
+ elog "Please see the files in ${ROOT}usr/share/${PN}-php5/ for some"
+ elog "examples and informations on how to use the functions that"
+ elog "eAccelerator adds to PHP."
+}