SPECS: php-suhosin.spec - revert

arekm arekm at pld-linux.org
Thu May 15 20:18:43 CEST 2008


Author: arekm                        Date: Thu May 15 18:18:43 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- revert

---- Files affected:
SPECS:
   php-suhosin.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SPECS/php-suhosin.spec
diff -u SPECS/php-suhosin.spec:1.9 SPECS/php-suhosin.spec:1.10
--- SPECS/php-suhosin.spec:1.9	Thu May 15 20:06:24 2008
+++ SPECS/php-suhosin.spec	Thu May 15 20:18:37 2008
@@ -1,14 +1,15 @@
 # $Revision$, $Date$
 %define		_modname	suhosin
-Summary:	%{_modname} - advanced protection system for PHP installations
+Summary:	Advanced protection system for PHP installations
+Summary(pl.UTF-8):	Zaawansowany system zabezpieczeń dla instalacji PHP
 Name:		php-%{_modname}
 Version:	0.9.24
 Release:	1
-License:	PHP
+License:	PHP 3.01
 Group:		Development/Languages/PHP
-Source0:	http://download.suhosin.org/suhosin-%{version}.tgz
+Source0:	http://www.hardened-php.net/suhosin/_media/%{_modname}-%{version}.tgz
 # Source0-md5:	1a0711bb4aaba90cc870611c503d1468
-URL:		http://www.hardened-php.net/suhosin/index.html
+URL:		http://www.hardened-php.net/suhosin/
 BuildRequires:	php-devel >= 3:5.0.0
 BuildRequires:	rpmbuild(macros) >= 1.344
 %{?requires_php_extension}
@@ -18,15 +19,24 @@
 %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.
+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.
 
 %prep
-%setup -q -n %{_modname}-%{version}
+%setup -q -n suhosin-%{version}
 
 %build
 phpize
@@ -35,13 +45,12 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{php_sysconfdir}/conf.d,%{php_extensiondir}}
+install -d $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
+%{__make} install \
+	INSTALL_ROOT=$RPM_BUILD_ROOT \
+	EXTENSION_DIR=%{php_extensiondir}
+install %{_modname}.ini $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -66,6 +75,29 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.9  2008-05-15 18:06:24  arekm
-- initial
+Revision 1.10  2008-05-15 18:18:37  arekm
+- revert
+
+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.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.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list