summaryrefslogtreecommitdiff
path: root/dev-php
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-10-24 02:40:29 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-10-24 02:40:29 +0100
commitd498c2e6fb30b46f7db6e726a0edc1ba2b9d52b6 (patch)
tree38d6fdc95c4f4b1fc6c4453691276a37e3567f55 /dev-php
parentd91034bb707551b50209cfd2b2225da76fc88126 (diff)
gentoo auto-resync : 24:10:2023 - 02:40:28
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/Manifest.gzbin35489 -> 35488 bytes
-rw-r--r--dev-php/pecl-memcached/Manifest2
-rw-r--r--dev-php/pecl-memcached/pecl-memcached-3.2.0_p20231008.ebuild65
3 files changed, 67 insertions, 0 deletions
diff --git a/dev-php/Manifest.gz b/dev-php/Manifest.gz
index de311cd43cbe..72054d998d77 100644
--- a/dev-php/Manifest.gz
+++ b/dev-php/Manifest.gz
Binary files differ
diff --git a/dev-php/pecl-memcached/Manifest b/dev-php/pecl-memcached/Manifest
index e5fbe8156894..9032f98ac5ad 100644
--- a/dev-php/pecl-memcached/Manifest
+++ b/dev-php/pecl-memcached/Manifest
@@ -1,5 +1,7 @@
DIST memcached-3.2.0.tgz 90722 BLAKE2B 5bc3ce40803004f45ad397684277862dbaffce467b3026e33d9737d4d93a82f2c89e32a256ebf6db3117a462ff8f81a517ed9950773cb4a0e927aa8af4e834be SHA512 ece5759a9d6d52afd46beb0821811e5d4830e75ad8564af395e2107fd349e271c6e6cf20eeacd9ad15ee2e99ccf0118ccc83c5810e2f3fa7c61f1984b0b26514
DIST pecl-memcached-3.2.0_p20230419.tar.gz 99453 BLAKE2B 3fb0e0316c9d6de9d727f9fd3a5f723d00aef33adcfa815c6571b99b9f536e9e02e9e7d37c73252dca3d5415aea554c8c16374a018210a1bbd2caa4a0c1263d8 SHA512 74e1b53f2078f343367a6c83e287c2fd29427d42f3db3eac01d3c5dea1eef1cd94130e2e59eaa3bdb368aecac740391ef4961224d5751d81306881291818fa9c
+DIST pecl-memcached-3.2.0_p20231008.tar.gz 101050 BLAKE2B b263eef7c29546d5faf71667f5266acaf77a18a65ecb972a31f29b1dafb8f7415346d066db99264e43326887e400f3e8a5372904e3f582439ed7500e0bbeb263 SHA512 b320dd4681070b35a49b87b143e01ce7f5a58364a0d9b807029c78aa57b18c3fc0add0b28c72dfaa4335c2b66fd54bb482a290c4a2b57afd80863c344a74177c
EBUILD pecl-memcached-3.2.0-r1.ebuild 1540 BLAKE2B c5045e092d8da662e1df3615167c89f4d3c6302d99038a095c886c5c89255edc6a368483d72fd2597ffcc19544278c77b8834ad1f350862e32dafae46fda602f SHA512 5d0635385fa702494b11f28b92199b34224f672ce5e4be9eb897125992d1cecce2a33d7de91e7aa6c53c9cbf5dd118b076657a33fffb877d1189e4dba21ee18f
EBUILD pecl-memcached-3.2.0_p20230419.ebuild 1768 BLAKE2B a594aa472c6b266b8350d0f2a717a3a40280f11eef0ab39c1625390c2ed642f1f03f301c1bdf3c66e715ef1f0abcf341c9abe5307a68078375f8ead2b35dc66f SHA512 8984268298345fd9606393b85cac423ed23dc8ab553acf59c35712bbe80517170167d5274181816f26221f3f181781e4e367d2ed6ec023a6379f6b16f3141f1b
+EBUILD pecl-memcached-3.2.0_p20231008.ebuild 1879 BLAKE2B a444fca75c31527e8af6ac8e20d27620e39096c6dbc14226c29f8d362b9f9fd9c49226e50d3773378d9e7e1dece7c463824d77b6ebf1b9ee6a3f19cdaa7153d6 SHA512 dec995456fe9dae65cfe1c45c9f63bff51cf88ef14c697fcb14be37853fb9c9d65d87ab3e586ee5210657909bf7907c9a09255aea7682580a66fe269d5ae7405
MISC metadata.xml 569 BLAKE2B 686b6c91f4d91fb82bd90b08af6627a8211e9676139417551e8a8425da410c15a77b79ff51760c2a16815c84c55c1e81ff462af17282ffa198db0829b20566c6 SHA512 8f3154fc7f3c9d1707b121ddc8d94d8d5570f7ca0cc93c0f732cda3ba6a756ed421a6facd96000ade0c22af9a78efbdd69ec118bd195c4c83fc523f2cd7e1cc7
diff --git a/dev-php/pecl-memcached/pecl-memcached-3.2.0_p20231008.ebuild b/dev-php/pecl-memcached/pecl-memcached-3.2.0_p20231008.ebuild
new file mode 100644
index 000000000000..6e8bb8a2e28e
--- /dev/null
+++ b/dev-php/pecl-memcached/pecl-memcached-3.2.0_p20231008.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PHP_EXT_NAME="memcached"
+DOCS=( ChangeLog README.markdown )
+
+USE_PHP="php8-1 php8-2"
+PHP_EXT_NEEDED_USE="json(+)?,session(-)?"
+MY_P="${PN/pecl-/}-${PV/_rc/RC}"
+PHP_EXT_PECL_FILENAME="${MY_P}.tgz"
+GH_COMMIT="7fefcb792423906bba2bac66a49194f98bf11aa6"
+PHP_EXT_S="${WORKDIR}/php-memcached-${GH_COMMIT}"
+
+inherit php-ext-pecl-r3
+
+DESCRIPTION="Interface PHP with memcached via libmemcached library"
+SRC_URI="https://github.com/php-memcached-dev/php-memcached/archive/${GH_COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/php-memcached-${GH_COMMIT}"
+LICENSE="PHP-3.01"
+SLOT="7"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="igbinary json sasl +session test"
+
+REQUIRED_USE="test? ( igbinary )"
+RESTRICT="!test? ( test )"
+
+COMMON_DEPEND="|| ( dev-libs/libmemcached-awesome[sasl(-)?] >=dev-libs/libmemcached-1.0.14[sasl(-)?] )
+ sys-libs/zlib
+ igbinary? ( dev-php/igbinary[php_targets_php8-1(-)?,php_targets_php8-2(-)?] )
+"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+BDEPEND="${COMMON_DEPEND} test? ( net-misc/memcached )"
+
+src_prepare() {
+ # remove broken tests
+ rm -r tests/experimental || die
+
+ php-ext-source-r3_src_prepare
+}
+
+src_configure() {
+ local PHP_EXT_ECONF_ARGS="--enable-memcached
+ $(use_enable session memcached-session)
+ $(use_enable sasl memcached-sasl)
+ $(use_enable json memcached-json)
+ $(use_enable igbinary memcached-igbinary)"
+
+ php-ext-source-r3_src_configure
+}
+
+src_test() {
+ touch "${T}/memcached.pid" || die
+ local memcached_opts=( -d -P "${T}/memcached.pid" -p 11211 -l 127.0.0.1 -U 11211 )
+ [[ ${EUID} == 0 ]] && memcached_opts+=( -u portage )
+ memcached "${memcached_opts[@]}" || die "Can't start memcached test server"
+
+ local exit_status
+ php-ext-source-r3_src_test
+ exit_status=$?
+
+ kill "$(<"${T}/memcached.pid")"
+ return ${exit_status}
+}