summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-04-28 15:28:37 +0200
committerRemi Collet <fedora@famillecollet.com>2015-04-28 15:28:37 +0200
commita271429bf093e1cc69dfd55a95600ec0d65bb152 (patch)
treec190b50def1ebe972261c858f8502ac997296278
parent0a9fbd0af29880d83bc51388ad45c7b87319aa39 (diff)
php-ioncube-loader: 5.0.1
-rw-r--r--LICENSE.txt7
-rw-r--r--REFLECTION81
-rw-r--r--php-ioncube-loader.spec50
3 files changed, 116 insertions, 22 deletions
diff --git a/LICENSE.txt b/LICENSE.txt
index b3ae026..412b636 100644
--- a/LICENSE.txt
+++ b/LICENSE.txt
@@ -1,4 +1,5 @@
-LICENCE AGREEMENT FOR THE IONCUBE PHP LOADER AND USE OF IONCUBE ENCODED FILES
+LICENCE AGREEMENT FOR THE IONCUBE PHP LOADER, PROVIDED TO ENABLE THE USE
+OF IONCUBE ENCODED FILES AND AS PART OF THE IONCUBE24 SERVICE (ioncube24.com)
YOU SHOULD CAREFULLY READ THE FOLLOWING TERMS AND CONDITIONS BEFORE USING THE
LOADER SOFTWARE. THE INSTALLATION AND/OR USE OR COPYING OF THE IONCUBE PHP
@@ -22,7 +23,7 @@ purpose of producing non-humanly readable encoded files from PHP scripts.
ENCODED FILE shall mean a non-humanly readable file produced by the
Encoder and being derived from humanly readable PHP script source.
-PROVIDER shall mean ionCube Software LLP.
+PROVIDER shall mean ionCube Ltd.
USER/YOU shall mean any entity who has downloaded or obtained through any
other means a version of the Loader software.
@@ -239,4 +240,4 @@ This License Agreement and any issues relating thereto shall be construed and
interpreted in accordance with the laws of England and subject to the
exclusive jurisdiction of the English courts.
-Copyright (c) 2002-2015 ionCube Ltd. Last revised 3-May-2013
+Copyright (c) 2002-2015 ionCube Ltd. Last revised 23-April-2015
diff --git a/REFLECTION b/REFLECTION
index 8f9fe57..bfd1c5c 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,6 +1,39 @@
-Extension [ <persistent> extension #186 ionCube Loader version <no_version> ] {
+Extension [ <persistent> extension #196 ionCube Loader version <no_version> ] {
- INI {
+ Entry [ ic24.enable <SYSTEM> ]
+ Current = '0'
+ }
+ Entry [ ic24.sec.stop_on_error <SYSTEM> ]
+ Current = '1'
+ }
+ Entry [ ic24.sec.approve_included_files <SYSTEM> ]
+ Current = '0'
+ }
+ Entry [ ic24.sec.block_uploaded_files <SYSTEM> ]
+ Current = '1'
+ }
+ Entry [ ic24.api_access_key <PERDIR> ]
+ Current = ''
+ }
+ Entry [ ic24.api_check_ip <SYSTEM> ]
+ Current = '1'
+ }
+ Entry [ ic24.sec.alert_action <SYSTEM> ]
+ Current = '–<Hñœò'
+ }
+ Entry [ ic24.sec.exclusion_key <SYSTEM> ]
+ Current = ''
+ }
+ Entry [ ic24.cache_path <SYSTEM> ]
+ Current = ''
+ }
+ Entry [ ic24.home_dir <SYSTEM> ]
+ Current = ''
+ }
+ Entry [ ioncube.loader.encoded_paths <ALL> ]
+ Current = ''
+ }
Entry [ phpd <ALL> ]
Current = '1'
}
@@ -41,6 +74,52 @@ Extension [ <persistent> extension #186 ionCube Loader version <no_version> ] {
}
Function [ <internal:ionCube Loader> function ioncube_server_data ] {
}
+ Function [ <internal:ionCube Loader> function ic24_is_authenticated ] {
+ }
+ Function [ <internal:ionCube Loader> function ic24_api_version ] {
+ }
+ Function [ <internal:ionCube Loader> function ic24_sec_cache_query ] {
+ }
+ Function [ <internal:ionCube Loader> function ic24_sec_cache_size ] {
+ }
+ Function [ <internal:ionCube Loader> function ic24_sec_cache_remove_item_by_id ] {
+ }
+ Function [ <internal:ionCube Loader> function ic24_sec_cache_remove_item_by_path ] {
+ }
+ Function [ <internal:ionCube Loader> function ic24_sec_cache_query_id ] {
+ }
+ Function [ <internal:ionCube Loader> function ic24_sec_cache_add_path ] {
+ }
+ Function [ <internal:ionCube Loader> function ic24_sec_cache_remove_directory ] {
+ }
+ Function [ <internal:ionCube Loader> function ic24_sec_cache_add_directory ] {
+ }
+ Function [ <internal:ionCube Loader> function ic24_sec_cache_do_maintenance ] {
+ }
+ Function [ <internal:ionCube Loader> function ic24_sec_rescan_cache ] {
+ }
+ Function [ <internal:ionCube Loader> function ic24_sec_approve_item ] {
+ }
+ Function [ <internal:ionCube Loader> function ic24_sec_block_item ] {
+ }
+ Function [ <internal:ionCube Loader> function ic24_sec_unblock_item ] {
+ }
+ Function [ <internal:ionCube Loader> function ic24_sec_set_default_notify_status ] {
+ }
+ Function [ <internal:ionCube Loader> function ic24_sec_get_default_notify_status ] {
+ }
+ Function [ <internal:ionCube Loader> function ic24_sec_set_default_exec_status ] {
+ }
+ Function [ <internal:ionCube Loader> function ic24_sec_get_default_exec_status ] {
+ }
+ Function [ <internal:ionCube Loader> function ic24_sec_set_trustpoint ] {
+ }
+ Function [ <internal:ionCube Loader> function ic24_sec_get_trustpoint ] {
+ }
+ Function [ <internal:ionCube Loader> function ic24_set_pkv ] {
+ }
+ Function [ <internal:ionCube Loader> function ic24_get_pkv ] {
+ }
Function [ <internal:ionCube Loader> function _dyuweyrj4 ] {
}
Function [ <internal:ionCube Loader> function _dyuweyrj4r ] {
diff --git a/php-ioncube-loader.spec b/php-ioncube-loader.spec
index 034ef93..5875f45 100644
--- a/php-ioncube-loader.spec
+++ b/php-ioncube-loader.spec
@@ -22,9 +22,9 @@
# http://forum.ioncube.com/viewtopic.php?t=4244 - No versio in Reflection
Name: %{?scl_prefix}php-ioncube-loader
-Summary: Loader for ionCube Encoded Files
-Version: 4.7.5
-Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Summary: Loader for ionCube Encoded Files with ionCube 24 support
+Version: 5.0.1
+Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
License: Distribuable
Group: Development/Languages
@@ -65,7 +65,7 @@ Obsoletes: php56w-ioncube-loader <= %{version}
%description
-Loader for ionCube Encoded Files.
+Loader for ionCube Encoded Files with ionCube 24 support.
Package built for PHP %(%{__php} -n -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection}.
@@ -83,26 +83,36 @@ tar xvf %{SOURCE0}
# Sometime file is missing
# http://forum.ioncube.com/viewtopic.php?t=4245
[ -f ioncube/LICENSE.txt ] || cp %{SOURCE2} ioncube
-sed -e 's/\r//' -i ioncube/LICENSE.txt
+sed -e 's/\r//' -i ioncube/*.txt
cat << 'EOF' | tee %{extname}.nts
; Enable %{extname} extension module
-%if "%{php_version}" > "5.5"
zend_extension = %{extname}.so
-%else
-zend_extension = %{php_extdir}/%{extname}.so
-%endif
-EOF
-%if %{with_zts}
-cat << 'EOF' | tee %{extname}.zts
-; Enable %{extname} extension module
-%if "%{php_version}" > "5.5"
-zend_extension = %{extname}.so
-%else
-zend_extension = %{php_ztsextdir}/%{extname}.so
-%endif
+; ionCube PHP Loader + Intrusion Protection from ioncube24.com configuration
+;ic24.enable = 0
+;ic24.sec.stop_on_error = 1
+;ic24.sec.approve_included_files = 0
+;ic24.sec.block_uploaded_files = 1
+;ic24.api_access_key = ''
+;ic24.api_check_ip = 1
+;ic24.sec.alert_action = '^E<96><H<F1><9C><F2>'
+;ic24.sec.exclusion_key = ''
+;ic24.cache_path = ''
+;ic24.home_dir = ''
+;ioncube.loader.encoded_paths = ''
+;phpd = 1
+;phpd.t = 1
EOF
+
+cp %{extname}.nts %{extname}.zts
+
+%if "%{php_version}" < "5.5"
+sed -e 's:%{extname}.so:%{php_ztsextdir}/%{extname}.so:' \
+ -i %{extname}.zts
+sed -e 's:%{extname}.so:%{php_extdir}/%{extname}.so:' \
+ -i %{extname}.nts
+diff %{extname}.nts %{extname}.zts || : ok
%endif
@@ -149,6 +159,7 @@ rm -rf %{buildroot}
%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
%license ioncube/LICENSE.txt
+%doc ioncube/{README,USER-GUIDE}.txt
%config(noreplace) %{php_inidir}/%{ininame}
%{php_extdir}/%{extname}.so
@@ -160,6 +171,9 @@ rm -rf %{buildroot}
%changelog
+* Tue Apr 28 2015 Remi Collet <RPMS@famillecollet.com> - 5.0.1-1
+- update to 5.0.1 (Apr 27, 2015)
+
* Tue Mar 3 2015 Remi Collet <RPMS@famillecollet.com> - 4.7.5-2
- LICENSE.txt and README.txt are back
http://forum.ioncube.com/viewtopic.php?t=4245