SPECS: php.spec - filter extension built as shared

glen glen at pld-linux.org
Mon Nov 20 00:03:06 CET 2006


Author: glen                         Date: Sun Nov 19 23:03:06 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- filter extension built as shared

---- Files affected:
SPECS:
   php.spec (1.614 -> 1.615) 

---- Diffs:

================================================================
Index: SPECS/php.spec
diff -u SPECS/php.spec:1.614 SPECS/php.spec:1.615
--- SPECS/php.spec:1.614	Sun Nov 19 23:37:20 2006
+++ SPECS/php.spec	Mon Nov 20 00:03:00 2006
@@ -69,7 +69,7 @@
 ERROR: You need to select at least one Apache SAPI to build shared modules.
 %endif
 
-%define	_rel 0.14
+%define	_rel 0.20
 Summary:	PHP: Hypertext Preprocessor
 Summary(fr):	Le langage de script embarque-HTML PHP
 Summary(pl):	Język skryptowy PHP
@@ -99,6 +99,7 @@
 Patch2:		%{name}-mail.patch
 Patch3:		%{name}-link-libs.patch
 Patch4:		%{name}-libpq_fs_h_path.patch
+Patch5:		%{name}-filter-shared.patch
 Patch6:		%{name}-build_modules.patch
 Patch7:		%{name}-sapi-ini-file.patch
 Patch8:		%{name}-no-metaccld.patch
@@ -601,6 +602,27 @@
 Moduł PHP dodający obsługę formularzy PDF poprzez bibliotekę Adobe
 FDFTK.
 
+%package filter
+Summary:	extension for safely dealing with input parameters
+Summary(pl):	rozszerzenie do bezpiecznej obsługi danych wejściowych
+Group:		Libraries
+Requires:	%{name}-common = %{epoch}:%{version}-%{release}
+Provides:	php(filter)
+
+%description filter
+We all know that you should always check input variables, but PHP does
+not offer really good functionality for doing this in a safe way. The
+Input Filter extension is meant to address this issue by implementing
+a set of filters and mechanisms that users can use to safely access
+their input data.
+
+%description filter -l pl
+Wiadomo, że trzeba zawsze sprawdzać zmienne wejściowe, ale PHP nie
+oferuje naprawdę dobrej funkcjonalności do robienia tego w sposób
+bezpieczny. Rozszerzenie Input Filter ma rozwiązać ten problem poprzez
+zaimplementowanie zestawu filtrów i mechanizmów, których użytkownicy
+mogą bezpiecznie używać do dostępu do danych.
+
 %package ftp
 Summary:	FTP extension module for PHP
 Summary(pl):	Moduł FTP dla PHP
@@ -1532,7 +1554,7 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
-
+%patch5 -p1
 %patch6 -p1
 %patch7 -p1
 %patch8 -p1
@@ -1742,7 +1764,7 @@
 	%{?with_oci8:--with-oci8=shared} \
 	%{?with_openssl:--with-openssl=shared} \
 	--with-kerberos \
-	%{!?with_pcre:--without-pcre-regex --disable-filter}%{?with_pcre:--with-pcre-regex=/usr} \
+	%{!?with_pcre:--without-pcre-regex --disable-filter}%{?with_pcre:--with-pcre-regex=/usr --enable-filter=shared} \
 	--with-pear=%{php_pear_dir} \
 	%{!?with_pgsql:--without-pgsql}%{?with_pgsql:--with-pgsql=shared,/usr} \
 	--with-png-dir=/usr \
@@ -1984,6 +2006,7 @@
 %extension_scripts dom
 %extension_scripts exif
 %extension_scripts fdf
+%extension_scripts filter
 %extension_scripts ftp
 %extension_scripts gd
 %extension_scripts gettext
@@ -2331,6 +2354,11 @@
 %attr(755,root,root) %{extensionsdir}/fdf.so
 %endif
 
+%files filter
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filter.ini
+%attr(755,root,root) %{extensionsdir}/filter.so
+
 %files exif
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
@@ -2557,7 +2585,9 @@
 %endif
 
 %if 0
-# simplexml is needed by spl, and spl can't be built shared as of now (5.1.0RC3)
+# simplexml is needed by spl, and spl can't be built shared as of now (5.2.0)
+# simplexml can be built shared, but SPL startup fails
+# we could add R: -simplexml to -common...
 %files simplexml
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
@@ -2684,6 +2714,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.615  2006/11/19 23:03:00  glen
+- filter extension built as shared
+
 Revision 1.614  2006/11/19 22:37:20  glen
 - simplify extension script macros
 - add scripts for hash, json, xmlwriter
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php.spec?r1=1.614&r2=1.615&f=u



More information about the pld-cvs-commit mailing list