Bug 240651 - devel/ioncube: update from 10.3.1 to 10.3.8
Summary: devel/ioncube: update from 10.3.1 to 10.3.8
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs mailing list
Depends on:
Reported: 2019-09-17 20:23 UTC by Eero Hänninen
Modified: 2020-03-08 18:58 UTC (History)
2 users (show)

See Also:
svyatoslav.lempert: maintainer-feedback+
svyatoslav.lempert: maintainer-feedback+

devel/ioncube update patche from 10.3.1 to 10.3.8 (1.14 KB, patch)
2019-09-17 20:23 UTC, Eero Hänninen
no flags Details | Diff
ioncube-10.3.8.patch (1.50 KB, patch)
2019-09-22 15:45 UTC, Svyatoslav Lempert
svyatoslav.lempert: maintainer-approval+
Details | Diff
ioncube patch to 10.3.8 with fixed distinfo (1.33 KB, patch)
2019-09-22 21:24 UTC, Eero Hänninen
fax: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eero Hänninen 2019-09-17 20:23:40 UTC
Created attachment 207585 [details]
devel/ioncube update patche from 10.3.1 to 10.3.8

Version push to 10.3.8

Fix for a possible crash in the PHP 7.3 Loader when OPcache was also enabled. 
Fix for PHP error exceptions not being caught in the PHP 7 Loaders. 
Fixes for PHP issues 71980, 75396 and 75786.
Fix for an incorrect call order with certain combinations of foreach, finally and exception in the PHP 7.1 Loader. 
Fix for incorrect line numbers being reported for undefined array index errors. 
Fix for a potential memory leak with the encoded paths feature of the Loader. 
IC24: Minor bug fixes, improvements and support for future features. Upgrading to the 10.3.8 Loader is particularly recommended for IC24 users. New 5.4 and 7.2 Loaders custom built for IBM for ppc64le.

Fix for a potential segmentation fault in the 10.3.5 and 10.3.6 Loaders when including a large file defining an array. The Loader version now can be obtained using phpversion("ionCube Loader").

Fix for an issue in the PHP 7.3 Loader where a case within a switch could be triggered even though the variable in the switch was undefined.
Fix for filepaths shown in debug_backtrace and similar functions being incorrect in some cases in the 10.3.5 Loaders.
Fix for possible segmentation faults in the 10.3.5 Loaders occurring with include file protection.

The ionCube Loader now has its own section in the phpinfo() output. That will include IC24 settings where relevant.
Fix for some memory leaks in PHP 5.6-7.3, particularly when including files in a loop. For undefined variables in assignments, correction to ensure that the line numbers in error messages are not mangled when line number obfuscation is not in place. 
Fix to ensure that the loader will accept large property values that were accepted by the Encoder. 
Fix to ensure that external encoding keys set at runtime using ini_set would be found.

This updates Linux x86 32/64 bit Loders only, and fixes corruption of the HTTP_HOST server variable if it includes a port number, e.g. somedomain.com:1081. There is no change for other platforms other than the version number for consistency.

Fix for callback files not being called from bundled encoding files.
Added AArch64 (ARM64) as a new standard platform.

Fix for a potential issue with the corruption of included file paths, particularly on Windows.
Comment 1 Svyatoslav Lempert 2019-09-22 15:45:48 UTC
Created attachment 207718 [details]

Update to upstream version 10.3.8
Comment 2 Svyatoslav Lempert 2019-09-22 15:48:29 UTC
Comment on attachment 207585 [details]
devel/ioncube update patche from 10.3.1 to 10.3.8

no distinfo for i386
Comment 3 Svyatoslav Lempert 2019-09-22 15:53:31 UTC
Comment on attachment 207585 [details]
devel/ioncube update patche from 10.3.1 to 10.3.8

>Index: Makefile
>--- Makefile	(revision 512081)
>+++ Makefile	(working copy)
>@@ -2,7 +2,7 @@
> # $FreeBSD$
> PORTNAME=	ioncube
> MASTER_SITES=	http://downloads.ioncube.com/loader_downloads/ \
> 		http://downloads2.ioncube.com/loader_downloads/ \
>Index: distinfo
>--- distinfo	(revision 512081)
>+++ distinfo	(working copy)
>@@ -1,5 +1,3 @@
>-TIMESTAMP = 1546222666
>-SHA256 (ioncube/10.3.1/ioncube_loaders_fre_11_x86-64.tar.gz) = 26c5a3997138865128b53315c4edbcc2c9117cb1fd57d14747b01b109c949461
>-SIZE (ioncube/10.3.1/ioncube_loaders_fre_11_x86-64.tar.gz) = 12021094
>-SHA256 (ioncube/10.3.1/ioncube_loaders_fre_11_x86.tar.gz) = 578aa5792e9bc77ab15d2749618a319648b0b49361dca0fd47d26817c3508776
>-SIZE (ioncube/10.3.1/ioncube_loaders_fre_11_x86.tar.gz) = 11943309
>+TIMESTAMP = 1568502423
>+SHA256 (ioncube/10.3.8/ioncube_loaders_fre_11_x86-64.tar.gz) = 6dad8bc631f38da9965c44a335251d04bbc8661df4196638555965e66835a90b
>+SIZE (ioncube/10.3.8/ioncube_loaders_fre_11_x86-64.tar.gz) = 12163459
Comment 4 Eero Hänninen 2019-09-22 21:24:49 UTC
Created attachment 207728 [details]
ioncube patch to 10.3.8 with fixed distinfo

I have fixed now distinfo and uploaded new patch.
Currently both previous patches have mistakes (my patch has missing x86 distinfo and maintainer patch has wrong version numbers in distinfo)
Comment 5 Steve Wills freebsd_committer 2019-10-16 22:14:41 UTC
(In reply to Eero Hänninen from comment #4)
Someone please provide a correct patch.
Comment 6 Tobias C. Berner freebsd_committer 2020-03-08 18:58:35 UTC