Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
isv:cpanel:dev:EA4
scl-php55-php-suhosin
ea-suhosin.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ea-suhosin.spec of Package scl-php55-php-suhosin
# Because OBS isn't very SCL-aware, we need a couple of defines to # make it set the build dependencies properly. %global scl ea-php55 %global scl_prefix %{scl}- %define debug_package %{nil} %define _enable_debug_packages %{nil} # Package namespaces %global ns_name ea %global ns_dir /opt/cpanel %global _scl_prefix %ns_dir %global suhosin_sodir ./ %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 Name: %{?scl_prefix}php-suhosin Vendor: cPanel, Inc. Summary: Protective PHP Hardening Extension Version: 0.9.38 # Doing release_prefix this way for Release allows for OBS-proof versioning, See EA-4572 for more details %define release_prefix 6 Release: %{release_prefix}%{?dist}.cpanel License: PHP Group: Development/Languages URL: https://suhosin.org/stories/index.html Source: suhosin-0.9.38.tar.gz Source1: 300-suhosin.ini BuildRequires: scl-utils-build BuildRequires: %{?scl_prefix}scldevel BuildRequires: %{?scl_prefix}build BuildRequires: %{?scl_prefix}php-devel BuildRequires: autoconf, automake, libtool Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} Requires: %{?scl_prefix}php-cli %description Suhosin (pronounced 'su-ho-shin') is an advanced protection system for PHP installations. It was designed to protect servers and users from known and unknown flaws in PHP applications and the PHP core. Suhosin comes in two independent parts, that can be used separately or in combination. The first part is a small patch against the PHP core, that implements a few low-level protections against buffer overflows or format string vulnerabilities and the second part is a powerful PHP extension that implements numerous other protections. %prep %setup -n suhosin-%{version} %build %{_scl_root}/usr/bin/phpize %configure --with-php-config=%{_bindir}/php-config make %{?_smp_mflags} %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf %{buildroot} install -d -m 755 $RPM_BUILD_ROOT%{php_extdir} install -d -m 755 $RPM_BUILD_ROOT%{php_inidir} install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{php_inidir} install -m 755 modules/suhosin.so $RPM_BUILD_ROOT%{php_extdir} %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf %{buildroot} %files %defattr(-,root,root,-) %{php_extdir}/suhosin.so %config(noreplace) %{php_inidir}/300-suhosin.ini %changelog * Wed May 17 2023 Dan Muey <dan@cpanel.net> - 0.9.38-6 - ZC-10938: Remove DISABLE_DEBUGINFO (and i586 if any) from Makefile, deal w/ debug_package nil * Wed Dec 29 2021 Dan Muey <dan@cpanel.net> - 0.9.38-5 - ZC-9616: disable OBS debuginfo flag for C6 and C7 * Tue Dec 28 2021 Dan Muey <dan@cpanel.net> - 0.9.38-4 - ZC-9589: Update DISABLE_BUILD to match OBS * Tue Feb 18 2020 Tim Mullin <tim@cpanel.net> - 0.9.38-3 - EA-8865: Add php-cli as a dependency * Thu Mar 30 2017 Cory McIntire <cory@cpanel.net> - 0.9.38-2 - EA-5977: Spiff up for Release - Take out of Experimental * Mon Mar 13 2017 Jacob Perkins <jacob.perkins@cpanel.net> - 0.9.38-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