From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 19FDC1384B4 for ; Thu, 24 Dec 2015 18:28:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DDED621C021; Thu, 24 Dec 2015 18:28:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 664F521C021 for ; Thu, 24 Dec 2015 18:28:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 33276340821 for ; Thu, 24 Dec 2015 18:28:15 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D11A6C6A for ; Thu, 24 Dec 2015 18:28:09 +0000 (UTC) From: "Brian Evans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Evans" Message-ID: <1450979984.05f291c92df5e6b24b842349e40677614bca9df3.grknight@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-apcu/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-php/pecl-apcu/Manifest dev-php/pecl-apcu/pecl-apcu-4.0.10.ebuild X-VCS-Directories: dev-php/pecl-apcu/ X-VCS-Committer: grknight X-VCS-Committer-Name: Brian Evans X-VCS-Revision: 05f291c92df5e6b24b842349e40677614bca9df3 X-VCS-Branch: master Date: Thu, 24 Dec 2015 18:28:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 3e104706-aa29-44dd-9ac3-0f4b317fc012 X-Archives-Hash: 8a73007a953f4e4248eb74e129ea71f1 commit: 05f291c92df5e6b24b842349e40677614bca9df3 Author: Brian Evans gentoo org> AuthorDate: Thu Dec 24 17:59:44 2015 +0000 Commit: Brian Evans gentoo org> CommitDate: Thu Dec 24 17:59:44 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05f291c9 dev-php/pecl-apcu: Version bump to 4.0.10 Package-Manager: portage-2.2.26 dev-php/pecl-apcu/Manifest | 1 + dev-php/pecl-apcu/pecl-apcu-4.0.10.ebuild | 62 +++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/dev-php/pecl-apcu/Manifest b/dev-php/pecl-apcu/Manifest index 66ff666..ce66c9a 100644 --- a/dev-php/pecl-apcu/Manifest +++ b/dev-php/pecl-apcu/Manifest @@ -1,2 +1,3 @@ DIST APCu-4.0.7.tgz 118670 SHA256 178a731ee3435b451f1144bc4a63c9d70d4909a2c434e17c6e07db554df90bd6 SHA512 50db51358c9268cc5fdd0d48fb444be9e9356f1690bc1ae021a9618c8819ce8873bf4502fe87a10467ffda2ef38267ccca2af55152b064400c69a8da92b7e98b WHIRLPOOL 3c721753764d6f3adbf6090710aafdb29d78b3d55e718c0101d7cad993b51d7b335931c61f120f8dad4623fe16cad9f13952367934968599ed15dd9c744b9725 +DIST apcu-4.0.10.tgz 119264 SHA256 8dee6680924107d2aaf827f9cb8ef0e8e09c47bb38712a3439eddabe3ce41b40 SHA512 8aabd51996270cff98b9e329413f9cfcaa9be33a0df8bf9ad50ac2dfd320e348aee6432b8ecd498e077c490714184a82502ea656d825a5fcab70966780064163 WHIRLPOOL c39d4d0953dc4f5168032641c89292c2efcf514c2afca4f9cf65a35564c169021a0a74543556b6e890972904007c7c846a88d8c3ce2ccc0167a1a74e18779b99 DIST apcu-4.0.8.tgz 119062 SHA256 bef4f5ae309526a332e0f6b98f0579a45d6000b928991babe684d4c22432d57d SHA512 990fbf3d6f490eeebf1d28eea5e7b0400c8c4badbfcf5ed1c5fc5b7186c5cd6d4ec87a99a8185e9bb27c64ccd371ca7b4324901f35a84644301e32fd9cfa8ef8 WHIRLPOOL 443f0f0a5a742933a19b22a18aa442587f3a7b75fc5e3739ea5dac9d8e31d9e40c41b8107b4d4953cb33f5baa49761a4d1c52a9f472377a5f7a4019750b08f64 diff --git a/dev-php/pecl-apcu/pecl-apcu-4.0.10.ebuild b/dev-php/pecl-apcu/pecl-apcu-4.0.10.ebuild new file mode 100644 index 0000000..2289285 --- /dev/null +++ b/dev-php/pecl-apcu/pecl-apcu-4.0.10.ebuild @@ -0,0 +1,62 @@ +# 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_INI="yes" +PHP_EXT_ZENDEXT="no" +DOCS="NOTICE README.md TECHNOTES.txt TODO" + +USE_PHP="php5-6 php5-5" + +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}/." +}