summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2009-08-30 06:45:20 +0000
committerBenedikt Boehm <hollow@gentoo.org>2009-08-30 06:45:20 +0000
commitde817538e99debb82f2f5cd45363aad00b65ab73 (patch)
treef0339f78e82c48babf6e82d7dc33bc1aa0ff393d /dev-php5/xcache
parentVersion bump. (diff)
downloadhistorical-de817538e99debb82f2f5cd45363aad00b65ab73.tar.gz
historical-de817538e99debb82f2f5cd45363aad00b65ab73.tar.bz2
historical-de817538e99debb82f2f5cd45363aad00b65ab73.zip
version bump
Package-Manager: portage-2.2_rc33/cvs/Linux i686
Diffstat (limited to 'dev-php5/xcache')
-rw-r--r--dev-php5/xcache/ChangeLog9
-rw-r--r--dev-php5/xcache/Manifest4
-rw-r--r--dev-php5/xcache/xcache-1.3.0.ebuild90
3 files changed, 100 insertions, 3 deletions
diff --git a/dev-php5/xcache/ChangeLog b/dev-php5/xcache/ChangeLog
index 9f91de623718..867d1375cb46 100644
--- a/dev-php5/xcache/ChangeLog
+++ b/dev-php5/xcache/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-php5/xcache
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/xcache/ChangeLog,v 1.16 2008/06/03 03:26:27 chtekk Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/xcache/ChangeLog,v 1.17 2009/08/30 06:45:20 hollow Exp $
+
+*xcache-1.3.0 (30 Aug 2009)
+
+ 30 Aug 2009; Benedikt Böhm <hollow@gentoo.org> +xcache-1.3.0.ebuild:
+ version bump
03 Jun 2008; Luca Longinotti <chtekk@gentoo.org> -xcache-1.2.1.ebuild:
Remove old.
diff --git a/dev-php5/xcache/Manifest b/dev-php5/xcache/Manifest
index c939946a731e..8cf81e2dea67 100644
--- a/dev-php5/xcache/Manifest
+++ b/dev-php5/xcache/Manifest
@@ -1,4 +1,6 @@
DIST xcache-1.2.2.tar.bz2 210835 RMD160 60a4f06f1fbac6ae33412fe9a1b317a05afbf095 SHA1 b92a71f5e8173d72d4fb7f2c84cf48e329084851 SHA256 2c37ad89627379a79e5f26e204ca4a61c2d13cd097161d78aa67a6881448786b
+DIST xcache-1.3.0.tar.bz2 88722 RMD160 ab05fe01effd99c6536351bca9bb5f16b6db7061 SHA1 e7f6ad7a8ce2b2b116a9dc4120bf49adb33184e0 SHA256 f070a018b69f3a6d5220a155aac76d949b0bb07518c662bfc8dfd2a15f0d56ca
EBUILD xcache-1.2.2.ebuild 2329 RMD160 24237f51001168182a1986cf38e86d7737064d31 SHA1 5b04ea2757923d9c774b32b79d4a5dd453fc3805 SHA256 c081abc54577ef5b66ecd7cfb4ae7b1f47e36d92e4be717e60e24150adc7b46d
-MISC ChangeLog 2390 RMD160 d6ed691bd95a14a511548b009e1e643686f3a7bc SHA1 02e07dbae23aad34b8aaed99095ac45a985a9cc5 SHA256 c7f7e1fe4edeae5bc8880ca053c1c37b13f4da91bc86f5bd931bb6a0bfd53c2e
+EBUILD xcache-1.3.0.ebuild 3069 RMD160 47791cdb481c9ead434e6aec6b79b7db734f23e2 SHA1 6dfdda25c310a44eee9c0df875c06d08932ac11b SHA256 8c2d0f9c6b7c85f28baf52b523e1a7503e4d7588748218fb0cf1441d1d658a78
+MISC ChangeLog 2507 RMD160 b0be326defcff029404b5939c45f03a1673b2430 SHA1 4d29fee138093ea7173c00991ae28c2dce11d698 SHA256 87c1d2dff07d20f49de1fa43bbb693d910438fe42a2b19cb43497691a7703907
MISC metadata.xml 255 RMD160 0f2e44aa6d4609584739da35c3685f7f3851d215 SHA1 e2066d6ca6f72bba244cadd56c060212a0de4d6f SHA256 22d92185dbc6582f31e5cdb5dd290db61e711c4d34566b1606b5d229dbaf9ebe
diff --git a/dev-php5/xcache/xcache-1.3.0.ebuild b/dev-php5/xcache/xcache-1.3.0.ebuild
new file mode 100644
index 000000000000..783ca7022cbe
--- /dev/null
+++ b/dev-php5/xcache/xcache-1.3.0.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/xcache/xcache-1.3.0.ebuild,v 1.1 2009/08/30 06:45:20 hollow Exp $
+
+PHP_EXT_NAME="xcache"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="yes"
+PHPSAPILIST="apache2 cgi"
+
+inherit php-ext-source-r1 confutils
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="A fast and stable PHP opcode cacher"
+HOMEPAGE="http://xcache.lighttpd.net/"
+SRC_URI="http://xcache.lighttpd.net/pub/Releases/${PV}/${P}.tar.bz2"
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+# make test would just run php's test and as such need the full php source
+RESTRICT="test"
+
+DEPEND="!dev-php5/eaccelerator !dev-php5/pecl-apc !dev-php5/ZendOptimizer"
+RDEPEND="${DEPEND}"
+
+need_php_by_category
+
+pkg_setup() {
+ has_php
+ require_php_sapi_from cgi apache2
+}
+
+src_compile() {
+ has_php
+
+ my_conf="--enable-xcache=shared \
+ --enable-xcache-constant \
+ --enable-xcache-optimizer \
+ --enable-xcache-coverager \
+ --enable-xcache-assembler \
+ --enable-xcache-encoder \
+ --enable-xcache-decoder"
+
+ php-ext-source-r1_src_compile
+}
+
+src_install() {
+ php-ext-source-r1_src_install
+ dodoc-php AUTHORS ChangeLog NEWS README THANKS
+
+ php-ext-base-r1_addtoinifiles "auto_globals_jit" '"0"'
+ php-ext-base-r1_addtoinifiles "xcache.size" '"32M"'
+ php-ext-base-r1_addtoinifiles "xcache.count" '"2"'
+ php-ext-base-r1_addtoinifiles "xcache.slots" '"8k"'
+ php-ext-base-r1_addtoinifiles "xcache.ttl" '"0"'
+ php-ext-base-r1_addtoinifiles "xcache.gc_interval" '"0"'
+ php-ext-base-r1_addtoinifiles "xcache.var_size" '"8M"'
+ php-ext-base-r1_addtoinifiles "xcache.var_count" '"1"'
+ php-ext-base-r1_addtoinifiles "xcache.var_slots" '"8K"'
+ php-ext-base-r1_addtoinifiles "xcache.var_ttl" '"0"'
+ php-ext-base-r1_addtoinifiles "xcache.var_maxttl" '"0"'
+ php-ext-base-r1_addtoinifiles "xcache.var_gc_interval" '"600"'
+ php-ext-base-r1_addtoinifiles "xcache.readonly_protection" '"0"'
+ php-ext-base-r1_addtoinifiles "xcache.shm_schema" '"mmap"'
+ php-ext-base-r1_addtoinifiles "xcache.mmap_path" '"/dev/zero"'
+ php-ext-base-r1_addtoinifiles "xcache.readyonly_protection" '"Off"'
+ php-ext-base-r1_addtoinifiles "xcache.cacher" '"On"'
+ php-ext-base-r1_addtoinifiles "xcache.stat" '"On"'
+ php-ext-base-r1_addtoinifiles "xcache.coverager" '"Off"'
+ php-ext-base-r1_addtoinifiles "xcache.coveragedump_directory" '""'
+ php-ext-base-r1_addtoinifiles "xcache.optimizer" '"Off"'
+ php-ext-base-r1_addtoinifiles "xcache.admin.enable_auth" '"1"'
+ php-ext-base-r1_addtoinifiles "xcache.admin.user" '"m0o"'
+ php-ext-base-r1_addtoinifiles "xcache.admin.pass" '""'
+ php-ext-base-r1_addtoinifiles "xcache.test" '"Off"'
+ php-ext-base-r1_addtoinifiles "xcache.experimental" '"Off"'
+
+ insinto "${PHP_EXT_SHARED_DIR}"
+ doins Decompiler.class.php
+ insinto "${PHP_EXT_SHARED_DIR}/admin"
+ doins admin/*
+ insinto "${PHP_EXT_SHARED_DIR}/coverager"
+ doins coverager/*
+}
+
+pkg_postinst() {
+ elog "Decompiler.class.php, the admin/ and the coverager/ directory shipped with this"
+ elog "release were installed into ${ROOT}usr/share/php5/xcache/."
+}