SPECS: php-suhosin.spec - initial
arekm
arekm at pld-linux.org
Thu May 15 20:06:29 CEST 2008
Author: arekm Date: Thu May 15 18:06:29 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial
---- Files affected:
SPECS:
php-suhosin.spec (1.8 -> 1.9)
---- Diffs:
================================================================
Index: SPECS/php-suhosin.spec
diff -u SPECS/php-suhosin.spec:1.8 SPECS/php-suhosin.spec:1.9
--- SPECS/php-suhosin.spec:1.8 Sun Jun 3 14:29:49 2007
+++ SPECS/php-suhosin.spec Thu May 15 20:06:24 2008
@@ -1,15 +1,14 @@
# $Revision$, $Date$
%define _modname suhosin
-Summary: Advanced protection system for PHP installations
-Summary(pl.UTF-8): Zaawansowany system zabezpieczeń dla instalacji PHP
+Summary: %{_modname} - advanced protection system for PHP installations
Name: php-%{_modname}
-Version: 0.9.20
+Version: 0.9.24
Release: 1
-License: PHP 3.01
+License: PHP
Group: Development/Languages/PHP
-Source0: http://www.hardened-php.net/suhosin/_media/%{_modname}-%{version}.tgz
-# Source0-md5: 966033e599c11d977fb28924c7ef0fa1
-URL: http://www.hardened-php.net/suhosin/
+Source0: http://download.suhosin.org/suhosin-%{version}.tgz
+# Source0-md5: 1a0711bb4aaba90cc870611c503d1468
+URL: http://www.hardened-php.net/suhosin/index.html
BuildRequires: php-devel >= 3:5.0.0
BuildRequires: rpmbuild(macros) >= 1.344
%{?requires_php_extension}
@@ -19,24 +18,15 @@
%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.
-
-Unlike Hardening-Patch Suhosin is binary compatible to normal PHP
-installation, which means it is compatible to 3rd party binary
-extension like ZendOptimizer.
-
-%description -l pl.UTF-8
-Suhosin to zaawansowany system zabezpieczeń dla instalacji PHP. Został
-zaprojektowany do ochrony serwerów i użytkowników przed znanymi i
-nieznanymi lukami w aplikacjach PHP i samym PHP.
-
-W przeciwieństwie do łaty Hardening-Patch Suhosin jest binarnie
-kompatybilny ze zwykłą instalacją PHP, co oznacza, że jest
-kompatybilny z binarnymi rozszerzeniami innych producentów, takimi jak
-ZendOptimizer.
+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.
%prep
-%setup -q -n suhosin-%{version}
+%setup -q -n %{_modname}-%{version}
%build
phpize
@@ -45,12 +35,13 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d
+install -d $RPM_BUILD_ROOT{%{php_sysconfdir}/conf.d,%{php_extensiondir}}
-%{__make} install \
- INSTALL_ROOT=$RPM_BUILD_ROOT \
- EXTENSION_DIR=%{php_extensiondir}
-install %{_modname}.ini $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/
+install modules/%{_modname}.so $RPM_BUILD_ROOT%{php_extensiondir}
+cat <<'EOF' > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{_modname}.ini
+; Enable %{_modname} extension module
+extension=%{_modname}.so
+EOF
%clean
rm -rf $RPM_BUILD_ROOT
@@ -75,26 +66,6 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
-Revision 1.8 2007-06-03 12:29:49 gotar
-- use shipped config file
-
-Revision 1.7 2007/06/03 12:25:15 gotar
-- upgraded to 0.9.20
-
-Revision 1.6 2007/02/12 22:09:12 glen
-- tabs in preamble
-
-Revision 1.5 2007/02/12 01:06:46 baggins
-- converted to UTF-8
-
-Revision 1.4 2006/12/22 01:29:27 qboosh
-- spec renamed (server-side)
-
-Revision 1.3 2006/12/20 00:15:09 qboosh
-- pl; there is a typo in spec filename...
-
-Revision 1.2 2006/12/15 12:44:27 glen
-- license from suoshin.c
+Revision 1.9 2008-05-15 18:06:24 arekm
+- initial
-Revision 1.1 2006/12/15 12:38:34 glen
-- new
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/php-suhosin.spec?r1=1.8&r2=1.9&f=u
More information about the pld-cvs-commit
mailing list