From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- dev-php/pecl-apcu/Manifest | 1 + dev-php/pecl-apcu/metadata.xml | 11 ++++++ dev-php/pecl-apcu/pecl-apcu-4.0.7.ebuild | 63 ++++++++++++++++++++++++++++++++ 3 files changed, 75 insertions(+) create mode 100644 dev-php/pecl-apcu/Manifest create mode 100644 dev-php/pecl-apcu/metadata.xml create mode 100644 dev-php/pecl-apcu/pecl-apcu-4.0.7.ebuild (limited to 'dev-php/pecl-apcu') diff --git a/dev-php/pecl-apcu/Manifest b/dev-php/pecl-apcu/Manifest new file mode 100644 index 000000000000..461af9fe7476 --- /dev/null +++ b/dev-php/pecl-apcu/Manifest @@ -0,0 +1 @@ +DIST APCu-4.0.7.tgz 118670 SHA256 178a731ee3435b451f1144bc4a63c9d70d4909a2c434e17c6e07db554df90bd6 SHA512 50db51358c9268cc5fdd0d48fb444be9e9356f1690bc1ae021a9618c8819ce8873bf4502fe87a10467ffda2ef38267ccca2af55152b064400c69a8da92b7e98b WHIRLPOOL 3c721753764d6f3adbf6090710aafdb29d78b3d55e718c0101d7cad993b51d7b335931c61f120f8dad4623fe16cad9f13952367934968599ed15dd9c744b9725 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 @@ + + + + php + + Enable semaphore locks instead of fcntl + Enable pthread mutex locking + Enable pthread read/write locking + Enable spin locks (EXPERIMENTAL) + + diff --git a/dev-php/pecl-apcu/pecl-apcu-4.0.7.ebuild b/dev-php/pecl-apcu/pecl-apcu-4.0.7.ebuild new file mode 100644 index 000000000000..7a0d5e4ed772 --- /dev/null +++ b/dev-php/pecl-apcu/pecl-apcu-4.0.7.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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-6 php5-5 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" + use mmap || my_conf+=" --disable-apcu-mmap" + + 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}/." +} -- cgit v1.2.3