Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-php-549-suhosin
dba-php-539-suhosin.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-php-539-suhosin.spec of Package dba-php-549-suhosin
%define pkg_name suhosin %define real_vers 0.9.33 %define php_version 5.4.9 %define php_vers 549 %define prefix /DBA/apache/PHP/%{php_version} %define phpcmd %{prefix}/bin/php %define phpize %{prefix}/bin/phpize %define phpconf %{prefix}/bin/php-config %define maketest 0 Name: dba-php-%{php_vers}-suhosin Summary: Suhosin is an advanced protection system for PHP installations Version: %{real_vers} Release: 0 License: BSD Group: Productivity/Networking/Web/Servers URL: http://www.hardened-php.net/suhosin/index.html Source: http://download.suhosin.org/%{pkg_name}-%{real_vers}.tar.gz BuildRoot: %{_tmppath}/%{pkg_name}-%{real_vers}-build %if 0%{?suse_version} >= 1100 BuildRequires: -post-build-checks %endif BuildRequires: dba-php-%{php_vers} #!BuildIgnore: dba-postgresql-839 dba-postgresql-842 dba-postgresql-845 dba-postgresql-846 #!BuildIgnore: dba-postgresql-901 dba-postgresql-902 dba-postgresql-904 dba-postgresql-910 #!BuildIgnore: dba-openssl-098o dba-openssl-098r %description Suhosin 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 bufferoverflows or format string vulnerabilities and the second part is a powerful PHP extension that implements all the other protections. Unlike the PHP Hardening-Patch Suhosin is binary compatible to normal PHP installation, which means it is compatible to 3rd party binary extension like ZendOptimizer. %prep %setup -q -n %{pkg_name}-%{real_vers} %build CFLAGS="%{optflags} -fno-strict-aliasing" CXXFLAGS="%{optflags} -fno-strict-aliasing" %if 0%{?suse_version} > 1000 CFLAGS="$CFLAGS -fstack-protector" CXXFLAGS="$CXXFLAGS -fstack-protector" %endif export CFLAGS export CXXFLAGS %{phpize} %configure \ --enable-suhosin \ --with-php-config=%{phpconf} %{__make} %{?jobs:-j%jobs} %check %if %maketest %{__make} test PHP_EXECUTABLE=%{phpcmd} %endif %clean %{__rm} -rf %{buildroot} %install # %makeinstall INSTALL_ROOT=%{buildroot} %{__mkdir_p} %{buildroot}%{prefix}/lib/php/extensions %{__install} -m 0755 ./.libs/%{pkg_name}.so %{buildroot}%{prefix}/lib/php/extensions/ %{__rm} -rf %{buildroot}%{prefix}/include/php/ext %files %defattr(-,root,root,-) %dir %{prefix}/lib/php/extensions %{prefix}/lib/php/extensions/%{pkg_name}.so %changelog * Wed Jan 11 2012 Holger Manthey <holger.manthey@bertelsmann.de> - initial package
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