From nobody Sun Jan 12 01:45:08 2025 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YVyrN5MXQz5kCf6; Sun, 12 Jan 2025 01:45:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YVyrN4nTTz4nCf; Sun, 12 Jan 2025 01:45:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736646308; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZMztM+kIG3hWBTBRdeaAm+FYSroGTIiLAES+YFMgsCA=; b=FVdg3sBVA93aXFAbcTT1UsHNypDfsXSjr7r80mcIPCN20Nwc2PTBTzefABz3OF92MXvRD3 qTCQqOI50Z0MfGVjQ9kPTCy4ii3aUbakiJLtEU5D+JN+JNDErqMIIj5fXCx+oYBkdK8ExG Fh9u3/nc1zdUJPslTLUAThxMEBjBklKJxEXy3mIvhrEcuJbFZabbONsZJa5rDWxRrbmNLd gHUkL+uCp07AZOKU9E5CpteeTUXMlvBO2u88i9KecTR5Ul6qrMQslgWXVuvs8+Q3GW+xUb sS6MUE1un//VvDQDz1x+e221MwP2uELjN13/cmJtWCrhHOxmjy1SqMAUw644WA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736646308; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZMztM+kIG3hWBTBRdeaAm+FYSroGTIiLAES+YFMgsCA=; b=Wh4qtjVUWrzukwGdbJyw06fFGdRd7E+aa5Vxdi/gFlKJzTzLVp9Ykaz+xgOiHaL5+5HNHi ykiHgiAkBzdKd4yfk7MX2kIybQD8Grvm33ku6dZsZeiaDdpxqfUenbzG2VpAofNr9ZtpDu M9eJqjt0gqcVgfhrIZ/CFtRSQFhbDiJ/v/p4W8hGa+T0xHJRpjxwgaXgW0NSFpKShuB0Bm ug6nKeNWsLHy0xpSAXBhCfNJL8EuhN5gaYYYBla9PAGTtUkBo9xJvuZaokz23Vv5J5pZEa pUodE4LwMPkTnRxA7FmjLSvdPQvABbN8ZES5zrP+Pfcplz9k9nxz7sPT+i4CFQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736646308; a=rsa-sha256; cv=none; b=gV2jXiHNrM0KCkZvg0+5MOIQHMwGGqk5NoVCDwa0yQCuAc8DXRHVGLm4M4b9yAN2eWxyA9 uFTNGRnDzDpl2Q2LX6j+GvNoearCpYy8aCc46gtPC6UVlcKGBZZV4iW18JOyHqeA3PVqxc sknObiPThavKdAIikoVAedarpBtNtnnmJrNM/OSJq1tVTkUvGmsMtk6LPOTEzXpVIzq4Nv +Bl7wVXA5H0HWbh8RH1tsHxQTgdyEJc1OlZWXEWwkLE7dHqpcPQPQYlnpetbU2zfDhtmP3 xVXs1rMXsO69jFZeTq+HpCOFJSbuIXiGhlbnWtdh+lECntzE1BZqXs7GfAdQ+A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YVyrN3sGBz821; Sun, 12 Jan 2025 01:45:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 50C1j8Id048326; Sun, 12 Jan 2025 01:45:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 50C1j86S048323; Sun, 12 Jan 2025 01:45:08 GMT (envelope-from git) Date: Sun, 12 Jan 2025 01:45:08 GMT Message-Id: <202501120145.50C1j86S048323@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Vanilla I. Shu" Subject: git: fe8faa1b5f39 - main - devel/pecl-swoole: update to 6.0.0. List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vanilla X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fe8faa1b5f39fd51ee068003c747f6b2f34a6958 Auto-Submitted: auto-generated The branch main has been updated by vanilla: URL: https://cgit.FreeBSD.org/ports/commit/?id=fe8faa1b5f39fd51ee068003c747f6b2f34a6958 commit fe8faa1b5f39fd51ee068003c747f6b2f34a6958 Author: Vanilla I. Shu AuthorDate: 2025-01-12 01:44:16 +0000 Commit: Vanilla I. Shu CommitDate: 2025-01-12 01:44:40 +0000 devel/pecl-swoole: update to 6.0.0. --- devel/pecl-swoole/Makefile | 8 +++++--- devel/pecl-swoole/distinfo | 6 +++--- devel/pecl-swoole/files/patch-ext-src_php__swoole__cxx.h | 13 +++++++++++++ 3 files changed, 21 insertions(+), 6 deletions(-) diff --git a/devel/pecl-swoole/Makefile b/devel/pecl-swoole/Makefile index e16380aa08b3..482c9838fef3 100644 --- a/devel/pecl-swoole/Makefile +++ b/devel/pecl-swoole/Makefile @@ -1,5 +1,5 @@ PORTNAME= swoole -PORTVERSION= 5.1.6 +PORTVERSION= 6.0.0 CATEGORIES= devel net MAINTAINER= vanilla@FreeBSD.org @@ -13,11 +13,10 @@ NOT_FOR_ARCHS= i386 powerpc NOT_FOR_ARCHS_REASON= upstream drop 32 bits support USES= compiler:c11 localbase:ldflags php:build,pecl pkgconfig ssl -IGNORE_WITH_PHP= 84 CONFIGURE_ARGS+= --enable-mysqlnd -OPTIONS_DEFINE= BROTLI CARES CURL PGSQL SOCKETS +OPTIONS_DEFINE= BROTLI CARES CURL PGSQL SOCKETS ZSTD CARES_LIB_DEPENDS= libcares.so:dns/c-ares CARES_CONFIGURE_ON= --enable-cares SOCKETS_USE= PHP=sockets:build @@ -32,5 +31,8 @@ PGSQL_USE= PHP=pdo:build BROTLI_CONFIGURE_ON= --enable-brotli BROTLI_CONFIGURE_OFF= --disable-brotli BROTLI_LIB_DEPENDS= libbrotlicommon.so:archivers/brotli +ZSTD_CONFIGURE_ON= --enable-zstd +ZSTD_CONFIGURE_OFF= --disable-zstd +ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd .include diff --git a/devel/pecl-swoole/distinfo b/devel/pecl-swoole/distinfo index f694855d5210..2934f934a9bd 100644 --- a/devel/pecl-swoole/distinfo +++ b/devel/pecl-swoole/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1735627788 -SHA256 (PECL/swoole-5.1.6.tgz) = 335bf67aba33789450701b36fb21d5b46d72f837de92def2f80d4a0090eb57c8 -SIZE (PECL/swoole-5.1.6.tgz) = 2266113 +TIMESTAMP = 1736496857 +SHA256 (PECL/swoole-6.0.0.tgz) = e9bc196f2678fb42f7b3e38e5489b5b20f3dba50118b9669f124b77d05ea7c5a +SIZE (PECL/swoole-6.0.0.tgz) = 2292159 diff --git a/devel/pecl-swoole/files/patch-ext-src_php__swoole__cxx.h b/devel/pecl-swoole/files/patch-ext-src_php__swoole__cxx.h new file mode 100644 index 000000000000..b61ec975fc34 --- /dev/null +++ b/devel/pecl-swoole/files/patch-ext-src_php__swoole__cxx.h @@ -0,0 +1,13 @@ +--- ext-src/php_swoole_cxx.h.orig 2024-12-16 08:02:21 UTC ++++ ext-src/php_swoole_cxx.h +@@ -200,6 +200,10 @@ using tcp_info = tcp_connection_info; + using tcp_info = tcp_connection_info; + #endif + ++#ifdef __FreeBSD__ ++#define SOL_TCP IPPROTO_TCP ++#endif ++ + #ifdef TCP_INFO + std::unordered_map sw_socket_parse_tcp_info(tcp_info *info); + #endif