aboutsummaryrefslogtreecommitdiff
path: root/devel/pecl-swoole
diff options
context:
space:
mode:
Diffstat (limited to 'devel/pecl-swoole')
-rw-r--r--devel/pecl-swoole/Makefile13
-rw-r--r--devel/pecl-swoole/distinfo6
-rw-r--r--devel/pecl-swoole/files/patch-include_swoole__socket.h10
-rw-r--r--devel/pecl-swoole/files/patch-src_coroutine_system.cc12
4 files changed, 13 insertions, 28 deletions
diff --git a/devel/pecl-swoole/Makefile b/devel/pecl-swoole/Makefile
index cbea49956bdd..c8115f61f16a 100644
--- a/devel/pecl-swoole/Makefile
+++ b/devel/pecl-swoole/Makefile
@@ -1,5 +1,6 @@
PORTNAME= swoole
-PORTVERSION= 6.0.2
+DISTVERSION= 6.1.0
+PORTREVISION= 1
CATEGORIES= devel net
MAINTAINER= vanilla@FreeBSD.org
@@ -15,9 +16,9 @@ NOT_FOR_ARCHS_REASON= upstream drop 32 bits support
USES= compiler:c11 localbase:ldflags php:build,pecl pkgconfig ssl
IGNORE_WITH_PHP= 85
-CONFIGURE_ARGS+= --enable-mysqlnd
+CONFIGURE_ARGS+= --enable-mysqlnd --enable-openssl
-OPTIONS_DEFINE= BROTLI CARES CURL PGSQL SOCKETS ZSTD
+OPTIONS_DEFINE= BROTLI CARES CURL ODBC PGSQL SOCKETS SQLITE ZSTD
CARES_LIB_DEPENDS= libcares.so:dns/c-ares
CARES_CONFIGURE_ON= --enable-cares
SOCKETS_USE= PHP=sockets:build
@@ -35,5 +36,11 @@ BROTLI_LIB_DEPENDS= libbrotlicommon.so:archivers/brotli
ZSTD_CONFIGURE_ON= --enable-zstd
ZSTD_CONFIGURE_OFF= --disable-zstd
ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd
+ODBC_CONFIGURE_ON= --with-swoole-odbc=unixODBC
+ODBC_CONFIGURE_OFF= --without-swoole-odbc
+ODBC_USE= PHP=odbc:build
+SQLITE_CONFIGURE_ON= --enable-swoole-sqlite
+SQLITE_CONFIGURE_OFF= --disable-swoole-sqlite
+SQLITE_USE= PHP=sqlite3
.include <bsd.port.mk>
diff --git a/devel/pecl-swoole/distinfo b/devel/pecl-swoole/distinfo
index 38f9acc912f2..e1c9d6f6ccaf 100644
--- a/devel/pecl-swoole/distinfo
+++ b/devel/pecl-swoole/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1742736592
-SHA256 (PECL/swoole-6.0.2.tgz) = ca9df27a4188f6670720ffaed9c4ecd6e832ea5aed55e554b63230f3147166ca
-SIZE (PECL/swoole-6.0.2.tgz) = 2330514
+TIMESTAMP = 1761379710
+SHA256 (PECL/swoole-6.1.0.tgz) = 1ee89c3888ef97bbee8f08db130536467e41969796baff739b10f391dc44fcb3
+SIZE (PECL/swoole-6.1.0.tgz) = 2451482
diff --git a/devel/pecl-swoole/files/patch-include_swoole__socket.h b/devel/pecl-swoole/files/patch-include_swoole__socket.h
deleted file mode 100644
index 302c92fb3b28..000000000000
--- a/devel/pecl-swoole/files/patch-include_swoole__socket.h
+++ /dev/null
@@ -1,10 +0,0 @@
---- include/swoole_socket.h.orig 2021-07-16 07:18:11 UTC
-+++ include/swoole_socket.h
-@@ -17,6 +17,7 @@
-
- #pragma once
-
-+#include <sys/types.h>
- #include <sys/socket.h>
- #include <sys/un.h>
- #include <sys/uio.h>
diff --git a/devel/pecl-swoole/files/patch-src_coroutine_system.cc b/devel/pecl-swoole/files/patch-src_coroutine_system.cc
deleted file mode 100644
index ad235fcfbf97..000000000000
--- a/devel/pecl-swoole/files/patch-src_coroutine_system.cc
+++ /dev/null
@@ -1,12 +0,0 @@
---- src/coroutine/system.cc.orig 2024-11-28 03:39:05 UTC
-+++ src/coroutine/system.cc
-@@ -701,7 +701,8 @@ std::shared_ptr<AsyncLock> async_lock(void *resource)
- "resource(%p) has already been bound to another coroutine#%ld, "
- "%s of the same resource in coroutine#%ld at the same time is not allowed",
- resource,
-- *iter,
-+ iter->second,
-+ iter->first,
- Coroutine::get_current_cid());
- return nullptr;
- }