Portage is a package management system used by Gentoo Linux
# 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 $
03 Jun 2008; Luca Longinotti
Remove old.
08 Mar 2008;
amd64 stable.
01 Feb 2008; Markus Meier
x86 stable, bug #208295
*xcache-1.2.2 (04 Jan 2008)
04 Jan 2008; Markus Ullmann
Version bump from project overlay
07 Sep 2007; Christoph Mende
Stable on amd64 wrt bug #189531
20 Aug 2007; Christian Hoffmann
removing jokey and gentoofying my email address (metadata.xml)
20 Aug 2007; Markus Ullmann
Stable on x86 wrt bug #189531
16 Aug 2007; Markus Ullmann
From hoffie: adding RESTRICT=test and s/CHANGELOG/ChangeLog/
*xcache-1.2.1 (07 Jul 2007)
07 Jul 2007; Markus Ullmann
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
Fix require_php_sapi_from usage wrt apache1.
12 May 2007; Luca Longinotti
Apache 1.X masking.
18 Mar 2007; Luca Longinotti
Cleanup.
04 Mar 2007; Luca Longinotti
-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
Replacing einfo with elog
18 Feb 2007; Steve Dibb
add ~amd64, bug 167479
*xcache-1.2.0 (29 Jan 2007)
29 Jan 2007; Markus Ullmann
+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
+files/xcache-hardening-0.4.11.patch, +xcache-1.2.0.ebuild:
Initial ebuild for xcache
DIST xcache-1.2.2.tar.bz2 210835 RMD160 60a4f06f1fbac6ae33412fe9a1b317a05afbf095 SHA1 b92a71f5e8173d72d4fb7f2c84cf48e329084851 SHA256 2c37ad89627379a79e5f26e204ca4a61c2d13cd097161d78aa67a6881448786b
EBUILD xcache-1.2.2.ebuild 2329 RMD160 24237f51001168182a1986cf38e86d7737064d31 SHA1 5b04ea2757923d9c774b32b79d4a5dd453fc3805 SHA256 c081abc54577ef5b66ecd7cfb4ae7b1f47e36d92e4be717e60e24150adc7b46d
MISC ChangeLog 2390 RMD160 d6ed691bd95a14a511548b009e1e643686f3a7bc SHA1 02e07dbae23aad34b8aaed99095ac45a985a9cc5 SHA256 c7f7e1fe4edeae5bc8880ca053c1c37b13f4da91bc86f5bd931bb6a0bfd53c2e
MISC metadata.xml 255 RMD160 0f2e44aa6d4609584739da35c3685f7f3851d215 SHA1 e2066d6ca6f72bba244cadd56c060212a0de4d6f SHA256 22d92185dbc6582f31e5cdb5dd290db61e711c4d34566b1606b5d229dbaf9ebe
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-php5/xcache/xcache-1.2.2.ebuild,v 1.3 2008/03/08 19:42:07 pva 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"
enable_extension_with_built_with =${PHP_PKG} apache2 apxs2 /usr/sbin/apxs2 "optimisation for apache2"
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.cacher" '"1"'
php-ext-base-r1_addtoinifiles "xcache.size" '"10M"'
php-ext-base-r1_addtoinifiles "xcache.count" '"2"'
php-ext-base-r1_addtoinifiles "xcache.slots" '"8k"'
php-ext-base-r1_addtoinifiles "xcache.var_size" '"0"'
php-ext-base-r1_addtoinifiles "xcache.var_count" '"1"'
php-ext-base-r1_addtoinifiles "xcache.readonly_protection" '"0"'
php-ext-base-r1_addtoinifiles "xcache.mmap_path" '"/dev/zero"'
php-ext-base-r1_addtoinifiles "xcache.stat" '"1"'
php-ext-base-r1_addtoinifiles "xcache.coverager" '"0"'
php-ext-base-r1_addtoinifiles "xcache.coveragedump_directory" '""'
php-ext-base-r1_addtoinifiles "xcache.admin.enable_auth" '"1"'
insinto "${PHP_EXT_SHARED_DIR}"
doins Decompiler.class.php
insinto "${PHP_EXT_SHARED_DIR}/admin"
doins admin/*
}
pkg_postinst() {
elog "Decompiler.class.php and the admin/ directory shipped with this"
elog "release were installed into ${ROOT}usr/share/php5/xcache/."
}