diff options
author | Sebastian Bergmann <sebastian@gentoo.org> | 2006-03-05 06:51:22 +0000 |
---|---|---|
committer | Sebastian Bergmann <sebastian@gentoo.org> | 2006-03-05 06:51:22 +0000 |
commit | 9872415f2e8e7d7172749d830c2d4ab5da2e0964 (patch) | |
tree | 96d4388a9b383e1dad3051420faa14264c386bf7 /dev-php4 | |
parent | Version bump (bug #124105) (diff) | |
download | gentoo-2-9872415f2e8e7d7172749d830c2d4ab5da2e0964.tar.gz gentoo-2-9872415f2e8e7d7172749d830c2d4ab5da2e0964.tar.bz2 gentoo-2-9872415f2e8e7d7172749d830c2d4ab5da2e0964.zip |
Version bump.
(Portage version: 2.1_pre5-r4)
Diffstat (limited to 'dev-php4')
-rw-r--r-- | dev-php4/eaccelerator/ChangeLog | 8 | ||||
-rw-r--r-- | dev-php4/eaccelerator/Manifest | 16 | ||||
-rw-r--r-- | dev-php4/eaccelerator/eaccelerator-0.9.4.ebuild | 108 | ||||
-rw-r--r-- | dev-php4/eaccelerator/files/digest-eaccelerator-0.9.4 | 3 |
4 files changed, 134 insertions, 1 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..a3d85786f407 100644 --- a/dev-php4/eaccelerator/Manifest +++ b/dev-php4/eaccelerator/Manifest @@ -1,5 +1,21 @@ MD5 2fb755c6949eda2acfaf355332b05e0c ChangeLog 736 +RMD160 832a5f318dbb6b97015bd730e10a3485d95c985a ChangeLog 736 +SHA256 09ceba531a41e57aeba77aae3fa5a3c4cc7de96fcb03763985e4282463cbb3b4 ChangeLog 736 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 0080fee9378098db39cdfd7bfd481d50 eaccelerator-0.9.4.ebuild 3604 +RMD160 d134834f62b1501fd25201a2f8d52fa1c2db2b78 eaccelerator-0.9.4.ebuild 3604 +SHA256 5c7f48820dba0335d0ced7357691f7216a4e16e72b51fa444679172637f20c75 eaccelerator-0.9.4.ebuild 3604 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 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 |