summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-02-11 21:26:10 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-02-11 21:26:10 +0000
commitaa5b8a763eff46af926cb5e1a5937b8baf5dcfd6 (patch)
tree7a63fe439593eea54d3ae0e62c049bc80b4fc508 /dev-php5/pecl-memcache
parentVersion bump, from the php overlay (diff)
downloadgentoo-2-aa5b8a763eff46af926cb5e1a5937b8baf5dcfd6.tar.gz
gentoo-2-aa5b8a763eff46af926cb5e1a5937b8baf5dcfd6.tar.bz2
gentoo-2-aa5b8a763eff46af926cb5e1a5937b8baf5dcfd6.zip
Version bump, from the php overlay
(Portage version: 2.1.3.19)
Diffstat (limited to 'dev-php5/pecl-memcache')
-rw-r--r--dev-php5/pecl-memcache/ChangeLog11
-rw-r--r--dev-php5/pecl-memcache/pecl-memcache-2.2.3.ebuild43
-rw-r--r--dev-php5/pecl-memcache/pecl-memcache-3.0.1.ebuild46
3 files changed, 98 insertions, 2 deletions
diff --git a/dev-php5/pecl-memcache/ChangeLog b/dev-php5/pecl-memcache/ChangeLog
index cb710f53e1ff..53c400393b77 100644
--- a/dev-php5/pecl-memcache/ChangeLog
+++ b/dev-php5/pecl-memcache/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-php5/pecl-memcache
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-memcache/ChangeLog,v 1.20 2007/12/06 01:19:01 jokey Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-memcache/ChangeLog,v 1.21 2008/02/11 21:26:10 armin76 Exp $
+
+*pecl-memcache-3.0.1 (11 Feb 2008)
+*pecl-memcache-2.2.3 (11 Feb 2008)
+
+ 11 Feb 2008; Raúl Porcel <armin76@gentoo.org>
+ +pecl-memcache-2.2.3.ebuild, +pecl-memcache-3.0.1.ebuild:
+ Version bump, from the php overlay
06 Dec 2007; Markus Ullmann <jokey@gentoo.org> pecl-memcache-2.0.4.ebuild,
-pecl-memcache-2.1.2.ebuild, pecl-memcache-2.2.1.ebuild,
diff --git a/dev-php5/pecl-memcache/pecl-memcache-2.2.3.ebuild b/dev-php5/pecl-memcache/pecl-memcache-2.2.3.ebuild
new file mode 100644
index 000000000000..98ae3e14d0a4
--- /dev/null
+++ b/dev-php5/pecl-memcache/pecl-memcache-2.2.3.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-memcache/pecl-memcache-2.2.3.ebuild,v 1.1 2008/02/11 21:26:10 armin76 Exp $
+
+EAPI="1"
+PHP_EXT_NAME="memcache"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+DOCS="README"
+
+inherit php-ext-pecl-r1 php-ext-base-r1 depend.php
+
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+
+DESCRIPTION="PHP extension for using memcached."
+LICENSE="PHP-3"
+SLOT="0"
+IUSE="+session"
+
+DEPEND="sys-libs/zlib"
+RDEPEND="${DEPEND}"
+
+need_php_by_category
+
+pkg_setup() {
+ use session && require_php_with_use session
+}
+
+src_compile() {
+ my_conf="--enable-memcache --with-zlib-dir=/usr $(use_enable session memcache-session)"
+ php-ext-pecl-r1_src_compile
+}
+
+src_install() {
+ php-ext-pecl-r1_src_install
+
+ php-ext-base-r1_addtoinifiles "memcache.allow_failover" "true"
+ php-ext-base-r1_addtoinifiles "memcache.max_failover_attempts" "20"
+ php-ext-base-r1_addtoinifiles "memcache.chunk_size" "32768"
+ php-ext-base-r1_addtoinifiles "memcache.default_port" "11211"
+ php-ext-base-r1_addtoinifiles "memcache.hash_strategy" "standard"
+ php-ext-base-r1_addtoinifiles "memcache.hash_function" "crc32"
+}
diff --git a/dev-php5/pecl-memcache/pecl-memcache-3.0.1.ebuild b/dev-php5/pecl-memcache/pecl-memcache-3.0.1.ebuild
new file mode 100644
index 000000000000..8a0cac981767
--- /dev/null
+++ b/dev-php5/pecl-memcache/pecl-memcache-3.0.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-memcache/pecl-memcache-3.0.1.ebuild,v 1.1 2008/02/11 21:26:10 armin76 Exp $
+
+EAPI="1"
+PHP_EXT_NAME="memcache"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+DOCS="README"
+
+inherit php-ext-pecl-r1 php-ext-base-r1
+
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+
+DESCRIPTION="PHP extension for using memcached."
+LICENSE="PHP-3"
+SLOT="0"
+IUSE="+session"
+
+DEPEND="sys-libs/zlib"
+RDEPEND="${DEPEND}"
+
+need_php_by_category
+
+pkg_setup() {
+ use session && require_php_with_use session
+}
+
+src_compile() {
+ my_conf="--enable-memcache --with-zlib-dir=/usr $(use_enable session memcache-session)"
+ php-ext-pecl-r1_src_compile
+}
+
+src_install() {
+ php-ext-pecl-r1_src_install
+
+ php-ext-base-r1_addtoinifiles "memcache.allow_failover" "true"
+ php-ext-base-r1_addtoinifiles "memcache.max_failover_attempts" "20"
+ php-ext-base-r1_addtoinifiles "memcache.chunk_size" "32768"
+ php-ext-base-r1_addtoinifiles "memcache.default_port" "11211"
+ php-ext-base-r1_addtoinifiles "memcache.hash_strategy" "consistent"
+ php-ext-base-r1_addtoinifiles "memcache.hash_function" "crc32"
+ php-ext-base-r1_addtoinifiles "memcache.redundancy" "1"
+ php-ext-base-r1_addtoinifiles "memcache.session_redundancy" "2"
+ php-ext-base-r1_addtoinifiles "memcache.protocol" "ascii"
+}