Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
isv:cpanel:dev:EA4
scl-php54-php-ioncube5
scl-ioncube5.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File scl-ioncube5.spec of Package scl-php54-php-ioncube5
# Because OBS isn't very SCL-aware, we need a couple of defines to # make it set the build dependencies properly. %global scl ea-php54 %global scl_prefix %{scl}- # Package namespaces %global ns_name ea %global ns_dir /opt/cpanel %global _scl_prefix %ns_dir %scl_package %scl # This makes the ea-php<ver>-build macro stuff work %scl_package_override # OBS builds the 32-bit targets as arch 'i586', and more typical # 32-bit architecture is 'i386', but 32-bit archive is named 'x86'. # 64-bit archive is 'x86-64', rather than 'x86_64'. %if "%{_arch}" == "i586" || "%{_arch}" == "i386" %global archive_arch x86 %else %if "%{_arch}" == "x86_64" %global archive_arch x86-64 %else %global archive_arch %{_arch} %endif %endif # Starting with PHP 5.6, the IonCube loader needs to be loaded first %if "%{php_version}" < "5.6" %global inifile ioncube.ini %else %global inifile 01-ioncube.ini %endif Name: %{?scl_prefix}php-ioncube5 Vendor: cPanel, Inc. Summary: v5 Loader for ionCube-encoded PHP files Version: 5.1.1 # Doing release_prefix this way for Release allows for OBS-proof versioning, See EA-4572 for more details %define release_prefix 10 Release: %{release_prefix}%{?dist}.cpanel License: Redistributable Group: Development/Languages URL: http://www.ioncube.com/loaders.php # There is a different distribution archive per architecture. The # archive contains the license file, so no need to have it as a # separate source file. Source: http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_%{archive_arch}.tar.gz BuildRequires: scl-utils-build BuildRequires: %{?scl_prefix}scldevel BuildRequires: %{?scl_prefix}build BuildRequires: %{?scl_prefix}php-devel Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} Provides: %{?scl_prefix}ioncube = 5 Conflicts: %{?scl_prefix}ioncube >= 6, %{?scl_prefix}ioncube < 5 Conflicts: %{?scl_prefix}php-ioncube # Don't provide extensions as shared library resources %{?filter_provides_in: %filter_provides_in %{php_extdir}/.*\.so$} %{?filter_setup} %description The v5 ionCube Loader enables use of ionCube-encoded PHP files running under PHP %{php_version}. %prep %setup -q -n ioncube %build # Nothing to do here, since it's a binary distribution. %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf %{buildroot} # The module itself install -d -m 755 $RPM_BUILD_ROOT%{php_extdir} install -m 755 ioncube_loader_lin_%{php_version}.so $RPM_BUILD_ROOT%{php_extdir} # The ini snippet install -d -m 755 $RPM_BUILD_ROOT%{php_inidir} cat > $RPM_BUILD_ROOT%{php_inidir}/%{inifile} <<EOF ; Enable v5 IonCube Loader extension module zend_extension="%{php_extdir}/ioncube_loader_lin_%{php_version}.so" EOF %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc LICENSE.txt README.txt %config(noreplace) %{php_inidir}/%{inifile} %{php_extdir}/ioncube_loader_lin_%{php_version}.so %changelog * Tue May 09 2023 Brian Mendoza <brian.mendoza@cpanel.net> - 5.1.1-10 - ZC-10936: Clean up Makefile and remove debug-package-nil * Tue Dec 28 2021 Dan Muey <dan@cpanel.net> - 5.1.1-9 - ZC-9589: Update DISABLE_BUILD to match OBS * Wed Apr 25 2018 Daniel Muey <dan@cpanel.net> - 5.1.1-8 - EA-7374: Remove Experimental verbiage from verbiage * Fri Dec 16 2016 Jacob Perkins <jacob.perkins@cpanel.net> - 5.1.1-7 - EA-5493: Added vendor field * Mon Oct 03 2016 Edwin Buck <e.buck@cpanel.net> - 5.1.1-6 - EA-5286: Reworked conflicts to conflict with ioncube6 * Mon Jun 20 2016 Dan Muey <dan@cpanel.net> - 5.1.1-5 - EA-4383: Update Release value to OBS-proof versioning * Wed Mar 23 2016 Dan Muey <dan@cpanel.net> - 5.1.1-3 - Add conflict for ioncube v4 in same PHP version * Tue Mar 22 2016 Dan Muey <dan@cpanel.net> - 5.1.1-2 - Make it clear this is an experimental tool * Thu Mar 17 2016 Dan Muey <dan@cpanel.net> - 5.1.1-1 - Initial creation
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor