Rar is a powerful and effective archiver, which was
created by Eugene Roshal and became rather popular quite fast.
This extension gives you possibility to read Rar archives.
archivers/pecl-rar: unbreak build with PHP 8.5 (+)
Temporary switch patches source to Remi Collet's repo for some new fixes:
* fix __toString prototype for PHP 8.2
* relax tests expectations for PHP 8.3
* use zend_ce_exception instead of zend_exception_get_default() for PHP 8.5
archivers/pecl-rar: fix build on 32-bits
/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0/rararch.c:1237:42:
error: incompatible function pointer types assigning to
'zend_object_count_elements_t' (aka 'ZEND_RESULT_CODE (*)(struct _zend_object *,
int *)') from 'int (handler_this_t *, long *)' (aka 'int (struct _zend_object *,
long *)') [-Wincompatible-function-pointer-types]
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
*/*: Remove merged or non-existent USE_PHP directives
- Remove USE_PHP=hash which is available in default php installation of
all versions of php
* security/pear-Horde_Crypt_Blowfish: Remove OPTION MHASH
- Remove USE_PHP=json which is available in default php installation of
all versions of php
* devel/pear-PHPTAL: Remove OPTION JSON
* www/ilias: Remove OPTION SCORM2004
- Remove USE_PHP=mssql which is no longer available in php from php80
and later and has been replaced with sqlsrv module which is Windows
only
* www/codeigniter: Remove OPTION MSSQL
* www/moodle311: Remove OPTION MSSQL
* www/moodle39: Remove OPTION MSSQL
(Only the first 15 lines of the commit message are shown above )
archivers/pecl-rar: Mark DEPRECATED
- Requires php80 which is set to expire on 2023-11-26
- Set EXPIRATION_DATE 2023-12-31
Approved by: portmgr (blanket)
Sponsored by: Bounce Experts
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
archivers/pecl-rar: fix build on GCC architectures
In file included from
/wrkdirs/usr/ports/archivers/pecl-rar/work-php73/rar-4.2.0/rararch.c:44:
/wrkdirs/usr/ports/archivers/pecl-rar/work-php73/rar-4.2.0/php_compat.h:15:
error: redefinition of typedef 'handler_this_t'
/wrkdirs/usr/ports/archivers/pecl-rar/work-php73/rar-4.2.0/php_compat.h:15:
error: previous declaration of 'handler_this_t' was here
/wrkdirs/usr/ports/archivers/pecl-rar/work-php73/rar-4.2.0/php_compat.h:19:
error: redefinition of typedef 'rar_obj_ref'
/wrkdirs/usr/ports/archivers/pecl-rar/work-php73/rar-4.2.0/php_compat.h:19:
error: previous declaration of 'rar_obj_ref' was here
/wrkdirs/usr/ports/archivers/pecl-rar/work-php73/rar-4.2.0/php_compat.h:46:
error: redefinition of typedef 'zpp_s_size_t'
/wrkdirs/usr/ports/archivers/pecl-rar/work-php73/rar-4.2.0/php_compat.h:46:
error: previous declaration of 'zpp_s_size_t' was here
MFH: 2021Q1
Update to 4.1.0
- Merge changes made to unrar up to version 5.5.6.
- Support PHP 7.2, PHP 7.3 and PHP 7.4.
- Update to unrar 5.9.4
- Fix bug #76592: streaming unpacking of uncompressed files incomplete
Sponsored by: Netzkommune GmbH
remove IGNORE_WITH_PHP= 70 71
This port build fine with PHP 70, 71 and 72
PR: 225292
Reported by: v.chernyadev@tradesoft.ru
Approved by: mentors (implicit)
- 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
Don't use extension.ini any more, and have each extension install in its
file, so the order remains the same.
Every PHP (or Zend) extension now installs its own .ini file in
/usr/local/etc/php. A PHP extension will be automatically activated
when installed. The order into which extensions are loaded is
automatically guessed. In some very rare cases, the guess will be
wrong, and PHP_MOD_PRIO will need to be set. Refer to the USES=php
section of the Porter's Handbook for more information.
Convert ports touching etc/php/extensions.ini manually, or telling the
OP to do it.
And finally, bump PORTREVISION for all php extensions.
PR: 210697
Submitted by: mat
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D7022
For a number of ports in archives category, trim the header and drop leading
indefinite article from COMMENT line; also fix few noticed styles bugs while
I am here.
* The module requires the SPL extension to be installed.
* The module requires the php extenstions in the build env so add USE_PHP_BUILD
* The module is not compatiable with php 4 so add IGNORE_WITH_PHP=4
* Remove the MD5 line from distinfo.
PR: 152923
Submitted by: "Tom Judge" <tom@tomjudge.com>