From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 70CDC158016 for ; Thu, 28 Dec 2023 01:28:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 88A672BC01C; Thu, 28 Dec 2023 01:28:36 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6ED372BC01C for ; Thu, 28 Dec 2023 01:28:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7B4CC33FE60 for ; Thu, 28 Dec 2023 01:28:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1DBAB119 for ; Thu, 28 Dec 2023 01:28:34 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1703726902.8eaba566c13121e3fd1d4fccf1ad7a24477c5565.conikost@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-5.1.23.ebuild X-VCS-Directories: dev-php/pecl-apcu/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 8eaba566c13121e3fd1d4fccf1ad7a24477c5565 X-VCS-Branch: master Date: Thu, 28 Dec 2023 01:28:34 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b887b6f7-da19-47a5-b37a-a5560cb639b6 X-Archives-Hash: d21ac2d8e868e5bff455cfed93953c0b commit: 8eaba566c13121e3fd1d4fccf1ad7a24477c5565 Author: Conrad Kostecki gentoo org> AuthorDate: Thu Dec 28 00:46:25 2023 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Thu Dec 28 01:28:22 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8eaba566 dev-php/pecl-apcu: add 5.1.23 Signed-off-by: Conrad Kostecki gentoo.org> dev-php/pecl-apcu/Manifest | 1 + dev-php/pecl-apcu/pecl-apcu-5.1.23.ebuild | 52 +++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/dev-php/pecl-apcu/Manifest b/dev-php/pecl-apcu/Manifest index 67c21f7a3c8b..1f341f75ed2f 100644 --- a/dev-php/pecl-apcu/Manifest +++ b/dev-php/pecl-apcu/Manifest @@ -1,2 +1,3 @@ DIST apcu-5.1.21.tgz 92516 BLAKE2B 32d73b89bde9ef4eb01c9ad766930e87300b86776c95929607a8aaefba5043e3a7947d064416ac083ff38876fdb41bb03dab1552ac000082e54f809269b4c925 SHA512 a6ffe8349760d27cde0d86017a59a68e9639bf385e606622d807094f4e5fb305bb25b9ce00077d0856f4d223d44329f7a6314c229b62c78d8e2b085593c92bb3 DIST apcu-5.1.22.tgz 93926 BLAKE2B abc3b27c4224da14b6438df9243f6b7b8245102f7eee0208daf1317bead5463d8f454e33536b8c949a2825140487faf9bb79745180a26e1f0015494e0986acb9 SHA512 8f2f4292679bc359ea680ecaf397d69de32bf67d57d719a4839a026ab1b96d5ec4725e92c5c0d1972a117a7cd3d3c456a1f4ec03192fda4657e685de60b9e93e +DIST apcu-5.1.23.tgz 90897 BLAKE2B 634366b99c993298c8720840d06ff3aed30bfb3f09fd7b63f4736766f4ac1b983f24317f161bf7dd1b3ab79053c905cc9136e8141468174177d2a05b94719590 SHA512 89e9f10f5d8d1a9503132e80140680be2a10d96f957f69b2f77cc1c496d15cc26dfe4c0368ebe46c72c68d1b4a794d3ddc95942b02d3ba5e8c971b09969058d8 diff --git a/dev-php/pecl-apcu/pecl-apcu-5.1.23.ebuild b/dev-php/pecl-apcu/pecl-apcu-5.1.23.ebuild new file mode 100644 index 000000000000..ee87ded1ecb5 --- /dev/null +++ b/dev-php/pecl-apcu/pecl-apcu-5.1.23.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PHP_EXT_INI="yes" +PHP_EXT_NAME="apcu" +PHP_EXT_ZENDEXT="no" +USE_PHP="php8-1 php8-2 php8-3" + +inherit php-ext-pecl-r3 + +DESCRIPTION="Stripped down version of APC supporting only user cache" + +LICENSE="PHP-3.01" +SLOT="7" +KEYWORDS="amd64 ~arm ~arm64 ~x86" + +LOCKS="pthreadmutex pthreadrw spinlock semaphore" +LUSE="" +for l in ${LOCKS}; do + LUSE+="lock-${l} " +done +IUSE="+mmap ${LUSE/lock-pthreadrw/+lock-pthreadrw}" +REQUIRED_USE="^^ ( $LUSE )" + +DOCS=( NOTICE README.md TECHNOTES.txt ) + +src_configure() { + local PHP_EXT_ECONF_ARGS=( + --enable-apcu + $(use_enable mmap apcu-mmap) + $(use_enable lock-spinlock apcu-spinlocks) + ) + + # Broken upstream autoconf test disables if present at all + use lock-pthreadrw || PHP_EXT_ECONF_ARGS+=( --disable-apcu-rwlocks ) + + php-ext-source-r3_src_configure +} + +src_install() { + php-ext-pecl-r3_src_install + + insinto /usr/share/php7/apcu + doins apc.php +} + +pkg_postinst() { + elog "The apc.php file shipped with this release of pecl-apcu" + elog "was installed to ${EPREFIX}/usr/share/php7/apcu/." +}