Added pecl-apcu-5.1.24.

Removed pecl-apcu-5.1.21.
This commit is contained in:
László Valkó 2025-05-18 15:19:35 +02:00
parent dfbaaeb6cb
commit 85873aae9f
2 changed files with 14 additions and 16 deletions

View file

@ -1,5 +1,5 @@
DIST apcu-5.1.21.tgz 92516 BLAKE2B 32d73b89bde9ef4eb01c9ad766930e87300b86776c95929607a8aaefba5043e3a7947d064416ac083ff38876fdb41bb03dab1552ac000082e54f809269b4c925 SHA512 a6ffe8349760d27cde0d86017a59a68e9639bf385e606622d807094f4e5fb305bb25b9ce00077d0856f4d223d44329f7a6314c229b62c78d8e2b085593c92bb3
DIST apcu-5.1.23.tgz 90897 BLAKE2B 634366b99c993298c8720840d06ff3aed30bfb3f09fd7b63f4736766f4ac1b983f24317f161bf7dd1b3ab79053c905cc9136e8141468174177d2a05b94719590 SHA512 89e9f10f5d8d1a9503132e80140680be2a10d96f957f69b2f77cc1c496d15cc26dfe4c0368ebe46c72c68d1b4a794d3ddc95942b02d3ba5e8c971b09969058d8
EBUILD pecl-apcu-5.1.21.ebuild 1134 BLAKE2B 5e48fec24abc6f01a54b6be6338e980e9fa84540e31fc2e9920b66e0687a2b0480fbd207a713d0cb3cb1159f36cd10bf577558980ab41db2a98e82365f1bf0dc SHA512 8f8b0d0b25070527bc642a0e86c79faa56ba068f3dea18d5666a5e4aa823c051b1e1dab3bc8b946356b038678878aac8e73b474942a9e206d4ccee9a1645c609
DIST apcu-5.1.24.tgz 90866 BLAKE2B fa0afae8948f952351951d51eb2966382a7bcc8be32c9b7a7b19096eddade62a2747cd0b8b173c484e7a39c4edfc6c266caa0d5e3455691274cd5ec5fedd976a SHA512 771c0551feb35bf64bc07a7a2c60c9b549009a252f4f158fbc83c7d77f4119d84291a1128302a350042d83879dcb38a445672ce115d8c14b969b51f423a446fa
EBUILD pecl-apcu-5.1.23-r1.ebuild 1140 BLAKE2B 42abbd3d74856fe7fa0d99f157a78d1d7c5543845b78744adc7d86ffe129f805eb4cfb9bf3cc7ec46b7a0bb20423e2570f51ef003b66b470b7991aa52ae29b30 SHA512 475e4fe2c87febade8c6764fd5b24f95f76df3cb6d060368b59a69358757a4edc0bfe0144f7e8a8f20e12859d2fda371d2f3bf2676e92008d9ea03441e5beefd
EBUILD pecl-apcu-5.1.24.ebuild 1146 BLAKE2B ce273121e1b7738f2491bc1456f3ecda90f86863d4ce5bc22f0e4deef97c9fe0021e103c9197cb13c5b67757e8d3f3b21bf822ba42a09ac7943f6ad6d6681554 SHA512 c1e1cd7cdf7d77f4fe1d1ecf77b966c7c442336b136599014715cb436768ad56f35f88bcdb2d7c8b7528e16a29ee2b32a51f0b73b01b8e5c81d094fdf4d87dba
MISC metadata.xml 541 BLAKE2B 533f563e606b35d23c766aa177ea80b56b17ff352e907f2aed65c82be8bb6b01bcb61d69c6be6560b8e975ac279cf3a00ba5976d4a50c0f3ae68677ae7557cd8 SHA512 5dde6ecb39edb11fc4222cf869449f43fe3923623cea2a8ee4d4a4b8d7bf11bcc6d40f135cb5dc4cc81b161ed50489230bba443274c914d0015046ea44c868d8

View file

@ -1,40 +1,38 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
PHP_EXT_NAME="apcu"
PHP_EXT_INI="yes"
PHP_EXT_NAME="apcu"
PHP_EXT_ZENDEXT="no"
DOCS=( NOTICE README.md TECHNOTES.txt )
USE_PHP="php7-4 php8-0 php8-1"
USE_PHP="php7-4 php8-1 php8-2 php8-3 php8-4"
inherit php-ext-pecl-r3
KEYWORDS="amd64 ~arm arm64 x86"
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 )
@ -44,11 +42,11 @@ src_configure() {
src_install() {
php-ext-pecl-r3_src_install
insinto /usr/share/php7/apcu
insinto /usr/share/php8/apcu
doins apc.php
}
pkg_postinst() {
elog "The apc.php file shipped with this release of pecl-apcu was"
elog "installed to ${EPREFIX}/usr/share/php7/apcu/."
elog "The apc.php file shipped with this release of pecl-apcu"
elog "was installed to ${EPREFIX}/usr/share/php8/apcu/."
}