aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2023-11-08 12:04:32 +0000
committerDima Panov <fluffy@FreeBSD.org>2023-11-08 13:15:46 +0000
commit347aa1f736d428c96e6fe40a5785a308f8028b46 (patch)
treefbf13f9041d231f223f9122f4bdf5763eb5e68c8
parent46adc0bb9791176442ceab70cf765d1af13cdfcc (diff)
downloadports-347aa1f736d428c96e6fe40a5785a308f8028b46.tar.gz
ports-347aa1f736d428c96e6fe40a5785a308f8028b46.zip
archivers/pecl-rar: unbreak build with php81+ (+)
Backport upstream patch to allow build with PHP >= 8.1 Drop DEPRECATION mark Sponsored by: Serenity Cybersecurity, LLC (cherry picked from commit f100306e835df5a7d18b5f65eb9e550b5a8a6ec3)
-rw-r--r--archivers/pecl-rar/Makefile9
-rw-r--r--archivers/pecl-rar/distinfo4
2 files changed, 7 insertions, 6 deletions
diff --git a/archivers/pecl-rar/Makefile b/archivers/pecl-rar/Makefile
index 85932a8f14fd..62a81392abf3 100644
--- a/archivers/pecl-rar/Makefile
+++ b/archivers/pecl-rar/Makefile
@@ -1,19 +1,18 @@
PORTNAME= rar
PORTVERSION= 4.2.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= archivers pear
+PATCH_SITES= https://github.com/cataphract/php-rar/commit/
+PATCHFILES= ab26d285759e4c917879967b09976a44829ed570.diff:-p1
+
MAINTAINER= fluffy@FreeBSD.org
COMMENT= PECL extension to create and read RAR files
WWW= https://pecl.php.net/package/rar
LICENSE= PHP301
-DEPRECATED= Requires php80 which is set to expire on 2023-11-26
-EXPIRATION_DATE= 2023-12-31
-
USES= compiler:c11 php:build,pecl
-IGNORE_WITH_PHP= 81 82 83
CONFIGURE_ARGS= --enable-rar
diff --git a/archivers/pecl-rar/distinfo b/archivers/pecl-rar/distinfo
index bd52a473a3db..0cb0f32e9097 100644
--- a/archivers/pecl-rar/distinfo
+++ b/archivers/pecl-rar/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1608808400
+TIMESTAMP = 1699432802
SHA256 (PECL/rar-4.2.0.tgz) = 660d7d6bc97cc45395e56621aa8803a9f9d4b3436c576d67afe712c8f964a4b9
SIZE (PECL/rar-4.2.0.tgz) = 428258
+SHA256 (PECL/ab26d285759e4c917879967b09976a44829ed570.diff) = a150a78c652d80f8bf33e635b7183895b1147563d07cba4d90d276a787b26c0b
+SIZE (PECL/ab26d285759e4c917879967b09976a44829ed570.diff) = 4622