summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2014-10-02 03:47:20 +0000
committerBrian Evans <grknight@gentoo.org>2014-10-02 03:47:20 +0000
commit10527a43d3f40892437c1c82b489b175554cc046 (patch)
tree126a52f9ef57fde956021416f1b1e29753107d20 /dev-php/pecl-mysqlnd_qc
parentBump phpmyadmin to releases 4.0.10.4, 4.1.14.5 and 4.2.9.1 - addresses PMASA-... (diff)
downloadgentoo-2-10527a43d3f40892437c1c82b489b175554cc046.tar.gz
gentoo-2-10527a43d3f40892437c1c82b489b175554cc046.tar.bz2
gentoo-2-10527a43d3f40892437c1c82b489b175554cc046.zip
Verison bump; drop 5.3 support
(Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key 67C78E1D)
Diffstat (limited to 'dev-php/pecl-mysqlnd_qc')
-rw-r--r--dev-php/pecl-mysqlnd_qc/ChangeLog8
-rw-r--r--dev-php/pecl-mysqlnd_qc/metadata.xml4
-rw-r--r--dev-php/pecl-mysqlnd_qc/pecl-mysqlnd_qc-1.0.1.ebuild21
-rw-r--r--dev-php/pecl-mysqlnd_qc/pecl-mysqlnd_qc-1.2.0.ebuild40
4 files changed, 51 insertions, 22 deletions
diff --git a/dev-php/pecl-mysqlnd_qc/ChangeLog b/dev-php/pecl-mysqlnd_qc/ChangeLog
index f36e137f22e9..97222a380e2c 100644
--- a/dev-php/pecl-mysqlnd_qc/ChangeLog
+++ b/dev-php/pecl-mysqlnd_qc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-php/pecl-mysqlnd_qc
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-mysqlnd_qc/ChangeLog,v 1.5 2014/08/10 21:03:02 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-mysqlnd_qc/ChangeLog,v 1.6 2014/10/02 03:47:20 grknight Exp $
+
+*pecl-mysqlnd_qc-1.2.0 (02 Oct 2014)
+
+ 02 Oct 2014; <grknight@gentoo.org> +pecl-mysqlnd_qc-1.2.0.ebuild,
+ -pecl-mysqlnd_qc-1.0.1.ebuild, metadata.xml:
+ Verison bump; drop 5.3 support
10 Aug 2014; Sergei Trofimovich <slyfox@gentoo.org>
pecl-mysqlnd_qc-1.0.1.ebuild:
diff --git a/dev-php/pecl-mysqlnd_qc/metadata.xml b/dev-php/pecl-mysqlnd_qc/metadata.xml
index 3a3fefff1ee1..ed4ce47b9e83 100644
--- a/dev-php/pecl-mysqlnd_qc/metadata.xml
+++ b/dev-php/pecl-mysqlnd_qc/metadata.xml
@@ -10,4 +10,8 @@
<email>pavel@senbonzakura.eu</email>
<description>Proxied co-maintainer, CC on all bugs</description>
</maintainer>
+ <use>
+ <flag name="memcached">Use <pkg>dev-libs/libmemcached</pkg> as a storage handler</flag>
+ <flag name="sqlite">Use <pkg>dev-db/sqlite</pkg> as a storage handler</flag>
+ </use>
</pkgmetadata>
diff --git a/dev-php/pecl-mysqlnd_qc/pecl-mysqlnd_qc-1.0.1.ebuild b/dev-php/pecl-mysqlnd_qc/pecl-mysqlnd_qc-1.0.1.ebuild
deleted file mode 100644
index 55ec12483ad9..000000000000
--- a/dev-php/pecl-mysqlnd_qc/pecl-mysqlnd_qc-1.0.1.ebuild
+++ /dev/null
@@ -1,21 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-mysqlnd_qc/pecl-mysqlnd_qc-1.0.1.ebuild,v 1.4 2014/08/10 21:03:02 slyfox Exp $
-
-EAPI=4
-
-PHP_EXT_NAME="mysqlnd_qc"
-PHP_EXT_INI="yes"
-PHP_EXT_ZENDEXT="no"
-
-inherit php-ext-pecl-r2
-
-KEYWORDS="~amd64"
-
-DESCRIPTION="A query cache plugin for the mysqlnd library"
-LICENSE="PHP-3"
-SLOT="0"
-IUSE=""
-
-DEPEND="dev-lang/php[mysqlnd]"
-RDEPEND="${DEPEND}"
diff --git a/dev-php/pecl-mysqlnd_qc/pecl-mysqlnd_qc-1.2.0.ebuild b/dev-php/pecl-mysqlnd_qc/pecl-mysqlnd_qc-1.2.0.ebuild
new file mode 100644
index 000000000000..fbdc837e4569
--- /dev/null
+++ b/dev-php/pecl-mysqlnd_qc/pecl-mysqlnd_qc-1.2.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-mysqlnd_qc/pecl-mysqlnd_qc-1.2.0.ebuild,v 1.1 2014/10/02 03:47:20 grknight Exp $
+
+EAPI=5
+
+PHP_EXT_NAME="mysqlnd_qc"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+
+# Fails to build with php5-6
+USE_PHP="php5-5 php5-4"
+
+inherit php-ext-pecl-r2 confutils flag-o-matic
+
+KEYWORDS="~amd64"
+
+DESCRIPTION="A query cache plugin for the mysqlnd library"
+LICENSE="PHP-3"
+SLOT="0"
+IUSE="memcached sqlite"
+
+# Specifying targets due to USE flag transition
+DEPEND="
+ memcached? ( dev-libs/libmemcached )
+ sqlite? ( dev-db/sqlite:3 )
+ php_targets_php5-4? ( dev-lang/php:5.4[mysqlnd] )
+ php_targets_php5-5? ( dev-lang/php:5.5[-libmysqlclient] )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ # configure does not find pthreads when memcache is enabled
+ use memcached && append-flags -pthread
+ enable_extension_withonly libmemcached-dir memcached 0 "${ROOT}usr"
+ enable_extension_enable mysqlnd_qc_memcache memcached
+ enable_extension_withonly sqlite-dir sqlite 0 "${ROOT}usr"
+ enable_extension_enable mysqlnd_qc_sqlite sqlite
+ php-ext-source-r2_src_configure
+}