From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id 445201584F2 for ; Mon, 17 Mar 2025 01:45:30 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 2C092343272 for ; Mon, 17 Mar 2025 01:45:30 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 176771103CB; Mon, 17 Mar 2025 01:45:22 +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 bobolink.gentoo.org (Postfix) with ESMTPS id 0FE691103CB for ; Mon, 17 Mar 2025 01:45:22 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9A38C3430B6 for ; Mon, 17 Mar 2025 01:45:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 065BE23BB for ; Mon, 17 Mar 2025 01:45:20 +0000 (UTC) From: "Michael Orlitzky" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" Message-ID: <1742175789.3e69b6ab32fffbeaf0c9f50447e541f7cf7ceee2.mjo@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.24.ebuild X-VCS-Directories: dev-php/pecl-apcu/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: 3e69b6ab32fffbeaf0c9f50447e541f7cf7ceee2 X-VCS-Branch: master Date: Mon, 17 Mar 2025 01:45:20 +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: 2de7f654-a2b2-445a-81af-4b9947f1f321 X-Archives-Hash: f334af8b950a148f78a2f5ea487b7be8 commit: 3e69b6ab32fffbeaf0c9f50447e541f7cf7ceee2 Author: Lothar Serra Mari serra me> AuthorDate: Wed Nov 27 17:47:58 2024 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Mon Mar 17 01:43:09 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e69b6ab dev-php/pecl-apcu: add 5.1.24 Provides support for php8-4 according to https://pecl.php.net/package-info.php?package=APCu&version=5.1.24 Signed-off-by: Lothar Serra Mari serra.me> Signed-off-by: Michael Orlitzky gentoo.org> dev-php/pecl-apcu/Manifest | 1 + dev-php/pecl-apcu/pecl-apcu-5.1.24.ebuild | 52 +++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/dev-php/pecl-apcu/Manifest b/dev-php/pecl-apcu/Manifest index 2858a85947f5..a55893a5856d 100644 --- a/dev-php/pecl-apcu/Manifest +++ b/dev-php/pecl-apcu/Manifest @@ -1 +1,2 @@ DIST apcu-5.1.23.tgz 90897 BLAKE2B 634366b99c993298c8720840d06ff3aed30bfb3f09fd7b63f4736766f4ac1b983f24317f161bf7dd1b3ab79053c905cc9136e8141468174177d2a05b94719590 SHA512 89e9f10f5d8d1a9503132e80140680be2a10d96f957f69b2f77cc1c496d15cc26dfe4c0368ebe46c72c68d1b4a794d3ddc95942b02d3ba5e8c971b09969058d8 +DIST apcu-5.1.24.tgz 90866 BLAKE2B fa0afae8948f952351951d51eb2966382a7bcc8be32c9b7a7b19096eddade62a2747cd0b8b173c484e7a39c4edfc6c266caa0d5e3455691274cd5ec5fedd976a SHA512 771c0551feb35bf64bc07a7a2c60c9b549009a252f4f158fbc83c7d77f4119d84291a1128302a350042d83879dcb38a445672ce115d8c14b969b51f423a446fa diff --git a/dev-php/pecl-apcu/pecl-apcu-5.1.24.ebuild b/dev-php/pecl-apcu/pecl-apcu-5.1.24.ebuild new file mode 100644 index 000000000000..700654d9dcd0 --- /dev/null +++ b/dev-php/pecl-apcu/pecl-apcu-5.1.24.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2024 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 php8-4" + +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/php8/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/php8/apcu/." +}