diff options
author | Luca Longinotti <chtekk@gentoo.org> | 2007-03-06 14:24:36 +0000 |
---|---|---|
committer | Luca Longinotti <chtekk@gentoo.org> | 2007-03-06 14:24:36 +0000 |
commit | 9ee7d66145c7384587a03444062a3b1829ac7b76 (patch) | |
tree | 6965fe06ef344daa91a2f77e159f39f160fd56cf /dev-php4/xcache | |
parent | Stable for HPPA (bug #153911). (diff) | |
download | gentoo-2-9ee7d66145c7384587a03444062a3b1829ac7b76.tar.gz gentoo-2-9ee7d66145c7384587a03444062a3b1829ac7b76.tar.bz2 gentoo-2-9ee7d66145c7384587a03444062a3b1829ac7b76.zip |
Add Xcache to PHP4.
(Portage version: 2.1.2.1)
Diffstat (limited to 'dev-php4/xcache')
-rw-r--r-- | dev-php4/xcache/ChangeLog | 10 | ||||
-rw-r--r-- | dev-php4/xcache/Manifest | 16 | ||||
-rw-r--r-- | dev-php4/xcache/files/digest-xcache-1.2.0 | 3 | ||||
-rw-r--r-- | dev-php4/xcache/metadata.xml | 13 | ||||
-rw-r--r-- | dev-php4/xcache/xcache-1.2.0.ebuild | 79 |
5 files changed, 121 insertions, 0 deletions
diff --git a/dev-php4/xcache/ChangeLog b/dev-php4/xcache/ChangeLog new file mode 100644 index 000000000000..4ef3f2a47ef9 --- /dev/null +++ b/dev-php4/xcache/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-php4/xcache +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php4/xcache/ChangeLog,v 1.1 2007/03/06 14:24:36 chtekk Exp $ + +*xcache-1.2.0 (06 Mar 2007) + + 06 Mar 2007; Luca Longinotti <chtekk@gentoo.org> +metadata.xml, + +xcache-1.2.0.ebuild: + Add Xcache to PHP4. + diff --git a/dev-php4/xcache/Manifest b/dev-php4/xcache/Manifest new file mode 100644 index 000000000000..1a281150573b --- /dev/null +++ b/dev-php4/xcache/Manifest @@ -0,0 +1,16 @@ +DIST xcache-1.2.0.tar.bz2 79153 RMD160 1d77af20e117e7bebc939448500e7c7703028178 SHA1 f7f2f4082c41545909793d8e86918e2845cf82f2 SHA256 808d3a99ad584a52590504d26f272cd7235da3acb66bc67ed4e8387d1ab4ff02 +EBUILD xcache-1.2.0.ebuild 2280 RMD160 43d2152b1247a3056777fd75c14d757e40028a32 SHA1 a3d722bd92463768f2821e5fe3af5721f656cd68 SHA256 a548983de72ff6a74394378bc7bb5a9319d67f8ad506e561c31b9c3326a74d33 +MD5 af6043581b48e4e9c73f03abc19a9232 xcache-1.2.0.ebuild 2280 +RMD160 43d2152b1247a3056777fd75c14d757e40028a32 xcache-1.2.0.ebuild 2280 +SHA256 a548983de72ff6a74394378bc7bb5a9319d67f8ad506e561c31b9c3326a74d33 xcache-1.2.0.ebuild 2280 +MISC ChangeLog 258 RMD160 3dd3102d44a9f1e8ffc87ff7be5ef9cee10aa508 SHA1 10ff43ce4601a9c1415e7c9c3cf7df8aa53c0dcc SHA256 05c3ea2afa932869f67fa528ce7ea3c8f0e3d442f567798d0d56adc4b42b964d +MD5 5c81c2213c85dec716dab9adc00e1452 ChangeLog 258 +RMD160 3dd3102d44a9f1e8ffc87ff7be5ef9cee10aa508 ChangeLog 258 +SHA256 05c3ea2afa932869f67fa528ce7ea3c8f0e3d442f567798d0d56adc4b42b964d ChangeLog 258 +MISC metadata.xml 352 RMD160 ff3f21c39b31a05abfd966604029a9a061bf0242 SHA1 3e4e27ceadfa1eaca7ef463ceecda1f1039ff7e3 SHA256 b1a80a2c4138ef0ed1a66ce04aa5e1e89961bd5500babefe63f850099a6cd9b5 +MD5 900d0c809069637069e9839d3b15e6df metadata.xml 352 +RMD160 ff3f21c39b31a05abfd966604029a9a061bf0242 metadata.xml 352 +SHA256 b1a80a2c4138ef0ed1a66ce04aa5e1e89961bd5500babefe63f850099a6cd9b5 metadata.xml 352 +MD5 6a5890ac030be8fadd4c8942daf29bb1 files/digest-xcache-1.2.0 238 +RMD160 da5d7354390c4b03b798ab49254b01b6146a9304 files/digest-xcache-1.2.0 238 +SHA256 d4dc06e38dd654a82ad831acfce3e440d828eb2164e57c50eca9fd2f946b8645 files/digest-xcache-1.2.0 238 diff --git a/dev-php4/xcache/files/digest-xcache-1.2.0 b/dev-php4/xcache/files/digest-xcache-1.2.0 new file mode 100644 index 000000000000..247ce82fa03c --- /dev/null +++ b/dev-php4/xcache/files/digest-xcache-1.2.0 @@ -0,0 +1,3 @@ +MD5 ffeaa9547037e098d9b041eb9741b51e xcache-1.2.0.tar.bz2 79153 +RMD160 1d77af20e117e7bebc939448500e7c7703028178 xcache-1.2.0.tar.bz2 79153 +SHA256 808d3a99ad584a52590504d26f272cd7235da3acb66bc67ed4e8387d1ab4ff02 xcache-1.2.0.tar.bz2 79153 diff --git a/dev-php4/xcache/metadata.xml b/dev-php4/xcache/metadata.xml new file mode 100644 index 000000000000..13e5bd886464 --- /dev/null +++ b/dev-php4/xcache/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>php</herd> + <maintainer> + <email>jokey@gentoo.org</email> + <name>Markus Ullmann</name> + </maintainer> + <maintainer> + <email>christian@hoffie.info</email> + <name>Christian Hoffmann</name> + </maintainer> +</pkgmetadata> diff --git a/dev-php4/xcache/xcache-1.2.0.ebuild b/dev-php4/xcache/xcache-1.2.0.ebuild new file mode 100644 index 000000000000..8f4fe6d7d59e --- /dev/null +++ b/dev-php4/xcache/xcache-1.2.0.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php4/xcache/xcache-1.2.0.ebuild,v 1.1 2007/03/06 14:24:36 chtekk Exp $ + +PHP_EXT_NAME="xcache" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="yes" + +inherit php-ext-source-r1 confutils + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="Another PHP opcode cache and encoder." +HOMEPAGE="http://trac.lighttpd.net/xcache/" +SRC_URI="http://210.51.190.228/pub/XCache/Releases/${P}.tar.bz2" +LICENSE="BSD" +SLOT="0" +IUSE="" + +DEPEND="!dev-php5/pecl-apc + !dev-php5/eaccelerator" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}" + +need_php_by_category + +pkg_setup() { + has_php + require_php_sapi_from cgi apache 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" + enable_extension_with_built_with =${PHP_PKG} apache apxs /usr/sbin/apxs "optimisation for apache1" + + php-ext-source-r1_src_compile +} + +src_install() { + php-ext-source-r1_src_install + dodoc-php AUTHORS CHANGELOG INSTALL COPYING + + 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.optimizer" '"0"' + php-ext-base-r1_addtoinifiles "xcache.coverager" '"0"' + php-ext-base-r1_addtoinifiles "xcache.coveragedump_directory" '""' + + dodir "${PHP_EXT_SHARED_DIR}" + insinto "${PHP_EXT_SHARED_DIR}" + doins Decompiler.class.php + dodir "${PHP_EXT_SHARED_DIR}/admin" + 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 /usr/share/php4/xcache/." +} |