diff options
author | Ole Markus With <olemarkus@gentoo.org> | 2013-04-30 10:08:33 +0000 |
---|---|---|
committer | Ole Markus With <olemarkus@gentoo.org> | 2013-04-30 10:08:33 +0000 |
commit | 2df47733f47b9ac5fe52b123116a328c59a22f27 (patch) | |
tree | 7e40a170cdca030a7687f61396bb597ec36b6fd6 /dev-php/pecl-apcu | |
parent | Stable for x86, wrt bug #466074 (diff) | |
download | gentoo-2-2df47733f47b9ac5fe52b123116a328c59a22f27.tar.gz gentoo-2-2df47733f47b9ac5fe52b123116a328c59a22f27.tar.bz2 gentoo-2-2df47733f47b9ac5fe52b123116a328c59a22f27.zip |
Version bump
(Portage version: 2.1.11.55/cvs/Linux x86_64, signed Manifest commit with key C4A92BF5)
Diffstat (limited to 'dev-php/pecl-apcu')
-rw-r--r-- | dev-php/pecl-apcu/ChangeLog | 10 | ||||
-rw-r--r-- | dev-php/pecl-apcu/metadata.xml | 11 | ||||
-rw-r--r-- | dev-php/pecl-apcu/pecl-apcu-4.0.0.ebuild | 63 | ||||
-rw-r--r-- | dev-php/pecl-apcu/pecl-apcu-4.0.1.ebuild | 63 |
4 files changed, 147 insertions, 0 deletions
diff --git a/dev-php/pecl-apcu/ChangeLog b/dev-php/pecl-apcu/ChangeLog new file mode 100644 index 000000000000..666d46fa9f1b --- /dev/null +++ b/dev-php/pecl-apcu/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-php/pecl-apcu +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-apcu/ChangeLog,v 1.1 2013/04/30 10:08:33 olemarkus Exp $ + +*pecl-apcu-4.0.0 (30 Apr 2013) +*pecl-apcu-4.0.1 (30 Apr 2013) + + 30 Apr 2013; Ole Markus With <olemarkus@gentoo.org> +metadata.xml, + +pecl-apcu-4.0.0.ebuild, +pecl-apcu-4.0.1.ebuild: + Version bump diff --git a/dev-php/pecl-apcu/metadata.xml b/dev-php/pecl-apcu/metadata.xml new file mode 100644 index 000000000000..cf71629d0762 --- /dev/null +++ b/dev-php/pecl-apcu/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>php</herd> + <use> + <flag name="lock_semaphore">Enable semaphore locks instead of fcntl</flag> + <flag name="lock_pthreadmutex">Enable pthread mutex locking</flag> + <flag name="lock_pthreadrw">Enable pthread read/write locking</flag> + <flag name="lock_spinlock">Enable spin locks (EXPERIMENTAL)</flag> + </use> +</pkgmetadata> diff --git a/dev-php/pecl-apcu/pecl-apcu-4.0.0.ebuild b/dev-php/pecl-apcu/pecl-apcu-4.0.0.ebuild new file mode 100644 index 000000000000..9f204d7b491e --- /dev/null +++ b/dev-php/pecl-apcu/pecl-apcu-4.0.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-apcu/pecl-apcu-4.0.0.ebuild,v 1.1 2013/04/30 10:08:33 olemarkus Exp $ + +EAPI=5 + +PHP_EXT_NAME="apcu" +PHP_EXT_PECL_PKG="APCu" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +DOCS="CHANGELOG INSTALL NOTICE TECHNOTES.txt TODO" + +USE_PHP="php5-5 php5-3 php5-4" + +S="${WORKDIR}/apcu-${PV}" +PHP_EXT_S="${WORKDIR}/apcu-${PV}" + +inherit php-ext-pecl-r2 confutils eutils + +S="${WORKDIR}/apcu-${PV}" + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="Stripped down version of APC supporting only user cache." +LICENSE="PHP-3.01" +SLOT="0" +IUSE="+mmap" + +DEPEND="" +RDEPEND="${DEPEND}" + +LOCKS="pthreadmutex pthreadrw spinlock semaphore" + +LUSE="" +for l in ${LOCKS}; do + LUSE+="lock_${l} " +done + +IUSE+=" ${LUSE/lock_pthreadrw/+lock_pthreadrw}" + +REQUIRED_USE="^^ ( $LUSE )" + +src_configure() { + my_conf="--enable-apcu" + enable_extension_enable "apcu-mmap" "mmap" 0 + + enable_extension_enable "apcu-rwlocks" "lock_pthreadrw" 0 + + php-ext-source-r2_src_configure +} + +src_install() { + php-ext-pecl-r2_src_install + + dodir "${PHP_EXT_SHARED_DIR}" + insinto "${PHP_EXT_SHARED_DIR}" + doins apc.php +} + +pkg_postinst() { + elog "The apc.php file shipped with this release of pecl-apcu was" + elog "installed into ${PHP_EXT_SHARED_DIR}/." +} diff --git a/dev-php/pecl-apcu/pecl-apcu-4.0.1.ebuild b/dev-php/pecl-apcu/pecl-apcu-4.0.1.ebuild new file mode 100644 index 000000000000..e908b9e026a3 --- /dev/null +++ b/dev-php/pecl-apcu/pecl-apcu-4.0.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-apcu/pecl-apcu-4.0.1.ebuild,v 1.1 2013/04/30 10:08:33 olemarkus Exp $ + +EAPI=5 + +PHP_EXT_NAME="apcu" +PHP_EXT_PECL_PKG="APCu" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +DOCS="CHANGELOG INSTALL NOTICE TECHNOTES.txt TODO" + +USE_PHP="php5-5 php5-3 php5-4" + +S="${WORKDIR}/apcu-${PV}" +PHP_EXT_S="${WORKDIR}/apcu-${PV}" + +inherit php-ext-pecl-r2 confutils eutils + +S="${WORKDIR}/apcu-${PV}" + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="Stripped down version of APC supporting only user cache." +LICENSE="PHP-3.01" +SLOT="0" +IUSE="+mmap" + +DEPEND="" +RDEPEND="${DEPEND}" + +LOCKS="pthreadmutex pthreadrw spinlock semaphore" + +LUSE="" +for l in ${LOCKS}; do + LUSE+="lock_${l} " +done + +IUSE+=" ${LUSE/lock_pthreadrw/+lock_pthreadrw}" + +REQUIRED_USE="^^ ( $LUSE )" + +src_configure() { + my_conf="--enable-apcu" + enable_extension_enable "apcu-mmap" "mmap" 0 + + enable_extension_enable "apcu-rwlocks" "lock_pthreadrw" 0 + + php-ext-source-r2_src_configure +} + +src_install() { + php-ext-pecl-r2_src_install + + dodir "${PHP_EXT_SHARED_DIR}" + insinto "${PHP_EXT_SHARED_DIR}" + doins apc.php +} + +pkg_postinst() { + elog "The apc.php file shipped with this release of pecl-apcu was" + elog "installed into ${PHP_EXT_SHARED_DIR}/." +} |