git: 0a6affbc4459 - main - net/pecl-rdkafka: Update 6.0.0 => 6.0.5
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 14 Jun 2026 22:54:52 UTC
The branch main has been updated by vvd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0a6affbc4459c4bee71785d7069669aa0478eb21
commit 0a6affbc4459c4bee71785d7069669aa0478eb21
Author: Paavo-Einari Kaipila <pkaipila@gmail.com>
AuthorDate: 2026-06-14 22:46:10 +0000
Commit: Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-06-14 22:46:10 +0000
net/pecl-rdkafka: Update 6.0.0 => 6.0.5
Changelogs:
https://github.com/php-rdkafka/php-rdkafka/releases/tag/6.0.1
https://github.com/php-rdkafka/php-rdkafka/releases/tag/6.0.2
https://github.com/php-rdkafka/php-rdkafka/releases/tag/6.0.3
https://github.com/php-rdkafka/php-rdkafka/releases/tag/6.0.4
https://github.com/php-rdkafka/php-rdkafka/releases/tag/6.0.5
- Unbreak with php86 - upstream pool request:
https://github.com/php-rdkafka/php-rdkafka/pull/612
- Update WWW to new organization repo.
PR: 295768
Approved by: Sergey Akhmatov <sergey@akhmatov.ru> (maintainer, timeout 2 weeks)
Sponsored by: UNIS Labs
Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org>
---
net/pecl-rdkafka/Makefile | 15 ++++++++++++---
net/pecl-rdkafka/distinfo | 6 +++---
2 files changed, 15 insertions(+), 6 deletions(-)
diff --git a/net/pecl-rdkafka/Makefile b/net/pecl-rdkafka/Makefile
index a0c56a8edf35..b855527b3a0d 100644
--- a/net/pecl-rdkafka/Makefile
+++ b/net/pecl-rdkafka/Makefile
@@ -1,10 +1,10 @@
PORTNAME= rdkafka
-PORTVERSION= 6.0.0
+DISTVERSION= 6.0.5
CATEGORIES= net pear
MAINTAINER= sergey@akhmatov.ru
COMMENT= Kafka client for PHP
-WWW= https://github.com/arnaud-lb/php-rdkafka
+WWW= https://github.com/php-rdkafka/php-rdkafka/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
@@ -13,4 +13,13 @@ LIB_DEPENDS= librdkafka.so:net/librdkafka
USES= php:pecl
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PHP_VER} >= 86
+post-patch:
+ @${REINPLACE_CMD} -e 's|XtOffsetOf|offsetof|' \
+ -e 's|zval_dtor|zval_ptr_dtor_nogc|' \
+ ${WRKSRC}/*.c ${WRKSRC}/*.h
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net/pecl-rdkafka/distinfo b/net/pecl-rdkafka/distinfo
index fc7151887358..e1c885497e82 100644
--- a/net/pecl-rdkafka/distinfo
+++ b/net/pecl-rdkafka/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1643660573
-SHA256 (PECL/rdkafka-6.0.0.tgz) = db89073afa27857bcc9e731f7b7fdf0d81c69320fcbe7b82e0d6950703fd4d8e
-SIZE (PECL/rdkafka-6.0.0.tgz) = 54461
+TIMESTAMP = 1780293369
+SHA256 (PECL/rdkafka-6.0.5.tgz) = 0af6b665c963c8c7d1109cec738034378d9c8863cbf612c0bd3235e519a708f1
+SIZE (PECL/rdkafka-6.0.5.tgz) = 61938