summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOle Markus With <olemarkus@gentoo.org>2011-04-10 17:34:26 +0000
committerOle Markus With <olemarkus@gentoo.org>2011-04-10 17:34:26 +0000
commitc77620205d61dbbbe6f4fd5667674b8ed8bc0c4a (patch)
treed5d2fbd62564d8de1bee01c326f3ceb24cc3ab2e /dev-php
parentUpdated dependencies from dev-php5/xcache to dev-php/xcache (diff)
downloadgentoo-2-c77620205d61dbbbe6f4fd5667674b8ed8bc0c4a.tar.gz
gentoo-2-c77620205d61dbbbe6f4fd5667674b8ed8bc0c4a.tar.bz2
gentoo-2-c77620205d61dbbbe6f4fd5667674b8ed8bc0c4a.zip
Moved from dev-php5/xcache
(Portage version: 2.1.9.45/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/xcache/ChangeLog106
-rw-r--r--dev-php/xcache/metadata.xml5
-rw-r--r--dev-php/xcache/xcache-1.3.1.ebuild81
3 files changed, 192 insertions, 0 deletions
diff --git a/dev-php/xcache/ChangeLog b/dev-php/xcache/ChangeLog
new file mode 100644
index 000000000000..5aba724bb1d7
--- /dev/null
+++ b/dev-php/xcache/ChangeLog
@@ -0,0 +1,106 @@
+# ChangeLog for dev-php5/xcache
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php/xcache/ChangeLog,v 1.1 2011/04/10 17:34:26 olemarkus Exp $
+
+ 11 Mar 2011; Thomas Kahle <tomka@gentoo.org> xcache-1.3.1.ebuild:
+ x86 stable per bug 355487
+
+ 28 Feb 2011; Markos Chandras <hwoarang@gentoo.org> xcache-1.3.1.ebuild:
+ Stable on amd64 wrt bug #355487
+
+ 05 Jan 2011; Ole Markus With <olemarkus@gentoo.org> -xcache-1.2.2.ebuild:
+ Removed old versions
+
+ 04 Jan 2011; Markos Chandras <hwoarang@gentoo.org> xcache-1.3.0-r2.ebuild:
+ Stable on amd64 wrt bug #349659
+
+ 03 Jan 2011; Christian Faulhammer <fauli@gentoo.org>
+ xcache-1.3.0-r2.ebuild:
+ stable x86, bug 349281
+
+*xcache-1.3.1 (26 Dec 2010)
+
+ 26 Dec 2010; <olemarkus@gentoo.org> +xcache-1.3.1.ebuild:
+ Version bump (Bug 349528)
+
+*xcache-1.3.0-r2 (02 Nov 2010)
+*xcache-1.3.0-r1 (02 Nov 2010)
+
+ 02 Nov 2010; <olemarkus@gentoo.org> +xcache-1.3.0-r1.ebuild,
+ +xcache-1.3.0-r2.ebuild:
+ Revbump supporting minor version slotting and fpm
+
+ 10 Dec 2009; Markus Meier <maekke@gentoo.org> xcache-1.3.0.ebuild:
+ amd64/x86 stable, bug #296362
+
+ 09 Dec 2009; Benedikt Böhm <hollow@gentoo.org> xcache-1.2.2.ebuild,
+ xcache-1.3.0.ebuild:
+ remove blocker on ZendOptimizer wrt #258736
+
+*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.
+
+ 08 Mar 2008; <pva@gentoo.org> xcache-1.2.2.ebuild:
+ amd64 stable.
+
+ 01 Feb 2008; Markus Meier <maekke@gentoo.org> xcache-1.2.2.ebuild:
+ x86 stable, bug #208295
+
+*xcache-1.2.2 (04 Jan 2008)
+
+ 04 Jan 2008; Markus Ullmann <jokey@gentoo.org> +xcache-1.2.2.ebuild:
+ Version bump from project overlay
+
+ 07 Sep 2007; Christoph Mende <angelos@gentoo.org> xcache-1.2.1.ebuild:
+ Stable on amd64 wrt bug #189531
+
+ 20 Aug 2007; Christian Hoffmann <hoffie@gentoo.org> metadata.xml:
+ removing jokey and gentoofying my email address (metadata.xml)
+
+ 20 Aug 2007; Markus Ullmann <jokey@gentoo.org> xcache-1.2.1.ebuild:
+ Stable on x86 wrt bug #189531
+
+ 16 Aug 2007; Markus Ullmann <jokey@gentoo.org> xcache-1.2.1.ebuild:
+ From hoffie: adding RESTRICT=test and s/CHANGELOG/ChangeLog/
+
+*xcache-1.2.1 (07 Jul 2007)
+
+ 07 Jul 2007; Markus Ullmann <jokey@gentoo.org> +xcache-1.2.1.ebuild:
+ version bump to 1.2.1 including several bugfixes (some of them were
+ segfaults), see http://xcache.lighttpd.net/wiki/Release-1.2.1 for details
+ (proxy-commit, thanks to hoffie)
+
+ 12 May 2007; Luca Longinotti <chtekk@gentoo.org> xcache-1.2.0.ebuild:
+ Fix require_php_sapi_from usage wrt apache1.
+
+ 12 May 2007; Luca Longinotti <chtekk@gentoo.org> xcache-1.2.0.ebuild:
+ Apache 1.X masking.
+
+ 18 Mar 2007; Luca Longinotti <chtekk@gentoo.org> xcache-1.2.0.ebuild:
+ Cleanup.
+
+ 04 Mar 2007; Luca Longinotti <chtekk@gentoo.org>
+ -files/xcache-hardening-0.4.11.patch, metadata.xml, xcache-1.2.0.ebuild:
+ Remove hardenedphp patch (no more hardenedphp now), cleanup.
+
+ 04 Mar 2007; Marius Mauch <genone@gentoo.org> xcache-1.2.0.ebuild:
+ Replacing einfo with elog
+
+ 18 Feb 2007; Steve Dibb <beandog@gentoo.org> xcache-1.2.0.ebuild:
+ add ~amd64, bug 167479
+
+*xcache-1.2.0 (29 Jan 2007)
+
+ 29 Jan 2007; Markus Ullmann <jokey@gentoo.org>
+ +files/xcache-hardening-0.4.11.patch, +metadata.xml, +xcache-1.2.0.ebuild:
+ Import from dev overlay for proxy maintaining
+
+ 24 Jan 2007; Christian Hoffmann <christian@hoffie.info>
+ +files/xcache-hardening-0.4.11.patch, +xcache-1.2.0.ebuild:
+ Initial ebuild for xcache
+
diff --git a/dev-php/xcache/metadata.xml b/dev-php/xcache/metadata.xml
new file mode 100644
index 000000000000..fd3dbe39fa64
--- /dev/null
+++ b/dev-php/xcache/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>php</herd>
+</pkgmetadata>
diff --git a/dev-php/xcache/xcache-1.3.1.ebuild b/dev-php/xcache/xcache-1.3.1.ebuild
new file mode 100644
index 000000000000..cdb72368dee1
--- /dev/null
+++ b/dev-php/xcache/xcache-1.3.1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php/xcache/xcache-1.3.1.ebuild,v 1.1 2011/04/10 17:34:26 olemarkus Exp $
+
+PHP_EXT_NAME="xcache"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="yes"
+PHPSAPILIST="apache2 cgi fpm"
+
+EAPI="2"
+inherit php-ext-source-r2 confutils
+
+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"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+# make test would just run php's test and as such need the full php source
+RESTRICT="test"
+
+DEPEND="virtual/httpd-php
+!dev-php/eaccelerator !dev-php5/pecl-apc"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+
+ 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-r2_src_configure
+}
+
+src_install() {
+ php-ext-source-r2_src_install
+ dodoc AUTHORS ChangeLog NEWS README THANKS
+
+ php-ext-source-r2_addtoinifiles "xcache.admin.enable_auth" '"On"'
+ php-ext-source-r2_addtoinifiles "xcache.admin.user" '"admin"'
+ php-ext-source-r2_addtoinifiles "xcache.admin.pass" '""'
+
+ php-ext-source-r2_addtoinifiles "xcache.cacher" '"On"'
+ php-ext-source-r2_addtoinifiles "xcache.size" '"64M"'
+ php-ext-source-r2_addtoinifiles "xcache.count" '"2"'
+ php-ext-source-r2_addtoinifiles "xcache.slots" '"8k"'
+ php-ext-source-r2_addtoinifiles "xcache.ttl" '"0"'
+ php-ext-source-r2_addtoinifiles "xcache.gc_interval" '"0"'
+ php-ext-source-r2_addtoinifiles "xcache.var_size" '"8M"'
+ php-ext-source-r2_addtoinifiles "xcache.var_count" '"1"'
+ php-ext-source-r2_addtoinifiles "xcache.var_slots" '"8K"'
+ php-ext-source-r2_addtoinifiles "xcache.var_ttl" '"0"'
+ php-ext-source-r2_addtoinifiles "xcache.var_maxttl" '"0"'
+ php-ext-source-r2_addtoinifiles "xcache.var_gc_interval" '"600"'
+ php-ext-source-r2_addtoinifiles "xcache.readonly_protection" '"Off"'
+ php-ext-source-r2_addtoinifiles "xcache.mmap_path" '"/dev/zero"'
+
+ php-ext-source-r2_addtoinifiles "xcache.coverager" '"Off"'
+ php-ext-source-r2_addtoinifiles "xcache.coveragedump_directory" '""'
+
+ php-ext-source-r2_addtoinifiles "xcache.optimizer" '"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/."
+}