git: 54411580f25d - main - archivers/php-brotli: Update 0.13.1 => 0.18.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 08 Sep 2025 18:31:04 UTC
The branch main has been updated by vvd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=54411580f25d631fbfd06ea3f77ca2b87fb9328e
commit 54411580f25d631fbfd06ea3f77ca2b87fb9328e
Author: Paavo-Einari Kaipila <pkaipila@gmail.com>
AuthorDate: 2025-09-08 18:25:06 +0000
Commit: Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-09-08 18:30:59 +0000
archivers/php-brotli: Update 0.13.1 => 0.18.2
In 0.18.1 upstream add "PHP 8.5 alpha3 compatibility".
Changelogs:
https://github.com/kjdev/php-ext-brotli/releases/tag/0.14.0
https://github.com/kjdev/php-ext-brotli/releases/tag/0.14.2
https://github.com/kjdev/php-ext-brotli/releases/tag/0.15.0
https://github.com/kjdev/php-ext-brotli/releases/tag/0.15.1
https://github.com/kjdev/php-ext-brotli/releases/tag/0.15.2
https://github.com/kjdev/php-ext-brotli/releases/tag/0.15.2%2Bpie
https://github.com/kjdev/php-ext-brotli/releases/tag/0.16.0
https://github.com/kjdev/php-ext-brotli/releases/tag/0.17.0
https://github.com/kjdev/php-ext-brotli/releases/tag/0.18.0
https://github.com/kjdev/php-ext-brotli/releases/tag/0.18.1
https://github.com/kjdev/php-ext-brotli/releases/tag/0.18.2
PR: 289018
Approved by: daniel@shafer.cc (maintainer, timeout > 2 weeks)
---
archivers/php-brotli/Makefile | 20 +++++---------------
archivers/php-brotli/distinfo | 6 +++---
2 files changed, 8 insertions(+), 18 deletions(-)
diff --git a/archivers/php-brotli/Makefile b/archivers/php-brotli/Makefile
index dedbbbde7b37..7e93ed31ee47 100644
--- a/archivers/php-brotli/Makefile
+++ b/archivers/php-brotli/Makefile
@@ -1,5 +1,5 @@
PORTNAME= brotli
-DISTVERSION= 0.13.1
+DISTVERSION= 0.18.2
CATEGORIES= archivers
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
@@ -8,27 +8,17 @@ COMMENT= Brotli extension for PHP
WWW= https://github.com/kjdev/php-ext-brotli
LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= re2c>0:devel/re2c
LIB_DEPENDS= libbrotlienc.so:archivers/brotli
-USES= dos2unix libtool php:ext pkgconfig
+USES= php:ext pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= kjdev
GH_PROJECT= php-ext-brotli
+PHP_MODNAME= ${PORTNAME}
-USE_LDCONFIG= yes
-
-GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-libbrotli
-PHP_MODNAME= brotli
-
-.include <bsd.port.pre.mk>
-post-patch:
-.if ${PHP_VER} >= 85
- @${REINPLACE_CMD} -e 's|ext/standard/php_smart_string.h|Zend/zend_smart_string.h|' \
- ${WRKSRC}/brotli.c
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/archivers/php-brotli/distinfo b/archivers/php-brotli/distinfo
index e7e6f727719d..1118573f101a 100644
--- a/archivers/php-brotli/distinfo
+++ b/archivers/php-brotli/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1616212479
-SHA256 (kjdev-php-ext-brotli-0.13.1_GH0.tar.gz) = 1eca1af3208e2f6551064e3f26e771453def588898bfc25858ab1db985363e47
-SIZE (kjdev-php-ext-brotli-0.13.1_GH0.tar.gz) = 22035
+TIMESTAMP = 1755939450
+SHA256 (kjdev-php-ext-brotli-0.18.2_GH0.tar.gz) = d79ff26c24859485166a805e4340cdebdaad6246d93e9c5eeb90ae681bc801a6
+SIZE (kjdev-php-ext-brotli-0.18.2_GH0.tar.gz) = 34832