aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoneum <joneum@FreeBSD.org>2017-08-02 05:15:49 +0800
committerjoneum <joneum@FreeBSD.org>2017-08-02 05:15:49 +0800
commit77105cf51d92d4a66e5120bcfdc080985eacc09c (patch)
treed46f9e886d03f651698900ebf213b6a2575b59a4
parent304d8b905264e9417dfe2e873ae66f97e4ff0f3f (diff)
downloadfreebsd-ports-gnome-77105cf51d92d4a66e5120bcfdc080985eacc09c.tar.gz
freebsd-ports-gnome-77105cf51d92d4a66e5120bcfdc080985eacc09c.tar.zst
freebsd-ports-gnome-77105cf51d92d4a66e5120bcfdc080985eacc09c.zip
- archivers/pecl-rar: Update from 3.0.2 to 4.0.0
Changelog: - Merge changes made to unrar up to version 5.5.6. - Support PHP 7.0 and PHP 7.1. - Added functions RarEntry::getRedirType(), RarEntry::isRedirectToDirectory() and RarEntry::getRedirTarget(), as well as the following constants on RarEntry: FSREDIR_UNIXSYMLINK, FSREDIR_WINSYMLINK, FSREDIR_JUNCTION, FSREDIR_HARDLINK and FSREDIR_FILECOPY. - Changed stat handler to return UTC time for creation, modification and access time (does not work reliably on Windows). - Fix cloning of RarArchive being allowed. Approved by: rene (mentor) Differential Revision: https://reviews.freebsd.org/D11762
-rw-r--r--archivers/pecl-rar/Makefile4
-rw-r--r--archivers/pecl-rar/distinfo5
-rw-r--r--archivers/pecl-rar/files/patch-config.m410
3 files changed, 4 insertions, 15 deletions
diff --git a/archivers/pecl-rar/Makefile b/archivers/pecl-rar/Makefile
index 0c0c5d5ad2c2..1d6b9583ba89 100644
--- a/archivers/pecl-rar/Makefile
+++ b/archivers/pecl-rar/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= rar
-PORTVERSION= 3.0.2
-PORTREVISION= 1
+PORTVERSION= 4.0.0
CATEGORIES= archivers pear
MAINTAINER= joneum@FreeBSD.org
@@ -15,7 +14,6 @@ USES= php:pecl
USE_PHP= spl:build
IGNORE_WITH_PHP= 70 71
-
CONFIGURE_ARGS= --enable-rar
.include <bsd.port.mk>
diff --git a/archivers/pecl-rar/distinfo b/archivers/pecl-rar/distinfo
index c5875aaf44a2..98a4c5ec6d7f 100644
--- a/archivers/pecl-rar/distinfo
+++ b/archivers/pecl-rar/distinfo
@@ -1,2 +1,3 @@
-SHA256 (PECL/rar-3.0.2.tgz) = 37841aea7c91afe2a250afc28bcdc7d6807f8aa3a2411a1c121f17252f66f21d
-SIZE (PECL/rar-3.0.2.tgz) = 257787
+TIMESTAMP = 1501194981
+SHA256 (PECL/rar-4.0.0.tgz) = 2ac503b242b3f0192c12093dd9dd72da32126c39e23cd423a4ec41af9a7b8279
+SIZE (PECL/rar-4.0.0.tgz) = 383732
diff --git a/archivers/pecl-rar/files/patch-config.m4 b/archivers/pecl-rar/files/patch-config.m4
deleted file mode 100644
index 2144e19820aa..000000000000
--- a/archivers/pecl-rar/files/patch-config.m4
+++ /dev/null
@@ -1,10 +0,0 @@
---- config.m4.orig 2013-10-14 15:30:44 UTC
-+++ config.m4
-@@ -27,6 +27,6 @@ if test "$PHP_RAR" != "no"; then
- PHP_REQUIRE_CXX()
- PHP_ADD_LIBRARY_WITH_PATH(stdc++, "", RAR_SHARED_LIBADD)
-
-- PHP_NEW_EXTENSION(rar, rar.c rar_error.c rararch.c rarentry.c rar_stream.c rar_navigation.c $unrar_sources, $ext_shared,,-DRARDLL -DGUI -DSILENT -Wno-write-strings -Wno-logical-op-parentheses -I@ext_srcdir@/unrar)
-+ PHP_NEW_EXTENSION(rar, rar.c rar_error.c rararch.c rarentry.c rar_stream.c rar_navigation.c $unrar_sources, $ext_shared,,-DRARDLL -DGUI -DSILENT -Wno-write-strings -I@ext_srcdir@/unrar)
- PHP_ADD_BUILD_DIR($ext_builddir/unrar)
- fi