Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
:
EL6
:
5.4.22
:
extensions
>
php-suhosin
> php-suhosin.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File php-suhosin.spec of Package php-suhosin
%global php_apiver %((echo 0; php -i 2>/dev/null | sed -n 's/^PHP API => //p') | tail -1) %global php_extdir %(php-config --extension-dir 2>/dev/null || echo "undefined") %global php_version %(php-config --version 2>/dev/null || echo 0) Name: php-suhosin Version: 0.9.33 Release: 1%{?dist} Summary: Suhosin is an advanced protection system for PHP installations Group: Development/Languages License: PHP URL: http://www.hardened-php.net/suhosin/ Source0: http://download.suhosin.org/suhosin-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: php-devel Requires: php(zend-abi) = %{php_zend_api} Requires: php(api) = %{php_apiver} %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. %prep %setup -q -n suhosin-%{version} %build %{_bindir}/phpize %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install INSTALL_ROOT=$RPM_BUILD_ROOT # install configuration %{__mkdir} -p $RPM_BUILD_ROOT%{_sysconfdir}/php.d %{__cp} suhosin.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.d/suhosin.ini %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changelog %doc CREDITS %config(noreplace) %{_sysconfdir}/php.d/suhosin.ini %{php_extdir}/suhosin.so %changelog * Sun Nov 25 2012 Carsten Schoene <cs@linux-administrator.com> - 0.9.33-1 - update to version 0.9.33 * Sun Jul 22 2010 Carsten Schoene <cs@linux-administrator.com> - 0.9.32.1-1 - update to version 0.9.32.1 * Fri Apr 02 2010 Andy Thompson <andy@webtatic.com> 0.9.31-1 - Update to version 0.9.31 * Mon Sep 07 2009 Andy Thompson <andy@webtatic.com> 0.9.29-1 - CentOS build from Fedora SPRM - Update to version 0.9.29 * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.27-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Aug 26 2008 Bart Vanbrabant <bart.vanbrabant@zoeloelip.be> 0.9.27-1 - Update to version 0.9.27 * Thu Aug 7 2008 Bart Vanbrabant <bart.vanbrabant@zoeloelip.be> 0.9.25-1 - Update to version 0.9.25 * Wed Jun 18 2008 Bart Vanbrabant <bart.vanbrabant@zoeloelip.be> 0.9.24-1 - Update to version 0.9.24 * Tue Apr 29 2008 Bart Vanbrabant <bart.vanbrabant@zoeloelip.be> 0.9.23-1 - Update to version 0.9.23 - Some specfile updates for review * Fri Jan 4 2008 Bart Vanbrabant <bart.vanbrabant@zoeloelip.be> 0.9.22-2 - Use short name for license * Wed Dec 5 2007 Bart Vanbrabant <bart.vanbrabant@zoeloelip.be> 0.9.22-1 - Initial packaging of 0.9.22