1 |
spuhler |
198027 |
%define build_test 1 |
2 |
spuhler |
8300 |
%{?_with_test: %{expand: %%global build_test 1}} |
3 |
|
|
%{?_without_test: %{expand: %%global build_test 0}} |
4 |
|
|
|
5 |
|
|
%define _requires_exceptions BEGIN\\|mkinstalldirs\\|pear(\\|/usr/bin/tclsh |
6 |
|
|
|
7 |
|
|
%define php5_common_major 5 |
8 |
|
|
%define libname %mklibname php5_common %{php5_common_major} |
9 |
|
|
|
10 |
|
|
%define suhosin_version 0.9.10 |
11 |
|
|
|
12 |
|
|
Summary: The PHP5 scripting language |
13 |
|
|
Name: php |
14 |
fwang |
234690 |
Version: 5.3.12 |
15 |
luigiwalser |
234742 |
Release: %mkrel 2 |
16 |
spuhler |
8300 |
Group: Development/PHP |
17 |
|
|
License: PHP License |
18 |
|
|
URL: http://www.php.net |
19 |
spuhler |
197187 |
Source0: http://se.php.net/distributions/php-%{version}.tar.gz |
20 |
spuhler |
8300 |
Source1: php-test.ini |
21 |
|
|
Source2: maxlifetime |
22 |
|
|
Source3: php.crond |
23 |
|
|
Source4: php-fpm.init |
24 |
|
|
Source5: php-fpm.sysconf |
25 |
luigiwalser |
234676 |
Source6: php-fpm.logrotate |
26 |
guillomovitch |
198248 |
Source7: php.ini |
27 |
misc |
68161 |
# do replace a macro in zend.h, to copy a value instead of assigning it |
28 |
|
|
# this seems suspicious |
29 |
spuhler |
8300 |
Patch0: php-init.diff |
30 |
|
|
Patch1: php-shared.diff |
31 |
fwang |
135031 |
Patch2: php-5.3.7RC1-autoconf26_check_revert.diff |
32 |
spuhler |
184677 |
Patch3: php-libtool.diff |
33 |
guillomovitch |
189834 |
# See http://bugs.php.net/53436 |
34 |
|
|
Patch4: php-5.3.4-phpize.patch |
35 |
spuhler |
184677 |
Patch5: php-phpbuilddir.diff |
36 |
spuhler |
8300 |
# http://www.outoforder.cc/projects/apache/mod_transform/ |
37 |
|
|
# http://www.outoforder.cc/projects/apache/mod_transform/patches/php5-apache2-filters.patch |
38 |
spuhler |
184677 |
Patch6: php5-apache2-filters.diff |
39 |
spuhler |
8300 |
# remove libedit once and for all |
40 |
spuhler |
184677 |
Patch7: php-no_libedit.diff |
41 |
|
|
Patch8: php-xmlrpc_epi.patch |
42 |
|
|
Patch9: php-xmlrpc_no_rpath.diff |
43 |
|
|
Patch10: php-really_external_sqlite2.diff |
44 |
|
|
Patch11: php-5.3.8-bdb-5.2.diff |
45 |
spuhler |
8300 |
##################################################################### |
46 |
|
|
# Stolen from PLD |
47 |
spuhler |
223575 |
# Patch20: php-mail.diff |
48 |
spuhler |
184677 |
Patch21: php-filter-shared.diff |
49 |
|
|
Patch22: php-dba-link.patch |
50 |
|
|
Patch23: php-zlib-for-getimagesize.patch |
51 |
|
|
Patch24: php-zlib.patch |
52 |
luigiwalser |
234676 |
Patch25: php-5.3.10-external_libzip.diff |
53 |
spuhler |
184677 |
Patch26: php-5.3.9RC2-mcrypt-libs.diff |
54 |
spuhler |
8300 |
# for kolab2 |
55 |
|
|
# P50 was rediffed from PLD (php-5.3.3-8.src.rpm) which merges the annotation and status-current patches |
56 |
spuhler |
184677 |
Patch27: php-imap-annotation+status-current.diff |
57 |
spuhler |
8300 |
# P51 was taken from http://kolab.org/cgi-bin/viewcvs-kolab.cgi/server/php/patches/php-5.3.2/ |
58 |
spuhler |
184677 |
Patch28: php-imap-myrights.diff |
59 |
|
|
Patch29: php-5.3.x-fpm-0.6.5-shared.diff |
60 |
spuhler |
206599 |
Patch30: php-5.3.x-fpm-0.4-mga_conf.diff |
61 |
spuhler |
8300 |
##################################################################### |
62 |
spuhler |
184677 |
# stolen from debian |
63 |
|
|
Patch50: php-session.save_path.diff |
64 |
|
|
Patch51: php-exif_nesting_level.diff |
65 |
|
|
# https://bugs.php.net/bug.php?id=51247 |
66 |
|
|
Patch52: php-5.3.9RC2-fix_broken_sha-2_test.diff |
67 |
|
|
##################################################################### |
68 |
spuhler |
8300 |
# Stolen from fedora |
69 |
guillomovitch |
189834 |
Patch102: php-5.3.0-install.patch |
70 |
spuhler |
8300 |
# Fixes for extension modules |
71 |
guillomovitch |
189834 |
Patch112: php-4.3.11-shutdown.patch |
72 |
spuhler |
8300 |
# Functional changes |
73 |
guillomovitch |
189834 |
Patch115: php-5.0.4-dlopen.patch |
74 |
spuhler |
8300 |
# Fix bugs |
75 |
guillomovitch |
189834 |
Patch120: php-5.0.4-tests-wddx.patch |
76 |
spuhler |
8300 |
Patch121: php-bug43221.diff |
77 |
|
|
Patch123: php-bug43589.diff |
78 |
|
|
Patch224: php-5.1.0RC6-CVE-2005-3388.diff |
79 |
|
|
Patch226: php-no-fvisibility_hidden_fix.diff |
80 |
|
|
Patch227: php-5.3.0RC1-enchant_lib64_fix.diff |
81 |
|
|
Patch228: php-5.3.0RC2-xmlrpc-epi_fix.diff |
82 |
luigiwalser |
234676 |
Patch230: php-5.3.10-add-missing-function-argument.patch |
83 |
luigiwalser |
234742 |
Patch231: php-5.3.12-CVE-2012-2311.diff |
84 |
spuhler |
8300 |
# http://www.suhosin.org/ |
85 |
luigiwalser |
234676 |
Patch301: suhosin-patch-5.3.11RC1-%{suhosin_version}.diff |
86 |
spuhler |
197187 |
Patch302: php-5.3.9-no_egg.diff |
87 |
|
|
Patch303: php-5.3.9-mageia-logo.patch |
88 |
luigiwalser |
234676 |
Patch304: php-5.3.11RC1-aconf26x.patch |
89 |
spuhler |
197187 |
|
90 |
|
|
|
91 |
spuhler |
184677 |
BuildRequires: apache-devel >= 2.2.0 |
92 |
luigiwalser |
234676 |
#BuildRequires: aspell-devel |
93 |
|
|
BuildRequires: autoconf |
94 |
spuhler |
8300 |
BuildRequires: bison |
95 |
|
|
BuildRequires: byacc |
96 |
luigiwalser |
234676 |
BuildRequires: bzip2-devel |
97 |
|
|
BuildRequires: c-client-devel >= 2007 |
98 |
|
|
BuildRequires: curl-devel >= 7.9.8 |
99 |
|
|
BuildRequires: db-devel |
100 |
|
|
BuildRequires: elfutils-devel |
101 |
|
|
BuildRequires: enchant-devel |
102 |
|
|
BuildRequires: expat-devel |
103 |
|
|
BuildRequires: file |
104 |
spuhler |
8300 |
BuildRequires: flex |
105 |
luigiwalser |
234676 |
BuildRequires: freetds-devel >= 0.63 |
106 |
|
|
BuildRequires: freetype2-devel |
107 |
|
|
BuildRequires: gdbm-devel |
108 |
|
|
BuildRequires: gd-devel >= 2.0.33 |
109 |
|
|
BuildRequires: gettext-devel |
110 |
|
|
BuildRequires: gmp-devel |
111 |
|
|
BuildRequires: gpm-devel |
112 |
|
|
BuildRequires: icu-devel >= 3.4 |
113 |
|
|
BuildRequires: lemon |
114 |
|
|
BuildRequires: libjpeg-devel |
115 |
|
|
BuildRequires: libldap-devel |
116 |
|
|
BuildRequires: libmcrypt-devel |
117 |
|
|
BuildRequires: libpng-devel |
118 |
|
|
BuildRequires: libsasl-devel |
119 |
spuhler |
8300 |
BuildRequires: libtool-devel |
120 |
luigiwalser |
234676 |
BuildRequires: libx11-devel |
121 |
spuhler |
8300 |
BuildRequires: libxml2-devel >= 2.6 |
122 |
luigiwalser |
234676 |
BuildRequires: libxpm-devel |
123 |
spuhler |
8300 |
BuildRequires: libxslt-devel >= 1.1.0 |
124 |
luigiwalser |
234676 |
BuildRequires: libzip-devel >= 0.10.1 |
125 |
|
|
BuildRequires: mbfl-devel >= 1.1.0 |
126 |
|
|
BuildRequires: mysql-devel >= 4.1.7 |
127 |
|
|
BuildRequires: ncurses-devel |
128 |
|
|
BuildRequires: net-snmp-devel |
129 |
|
|
BuildRequires: net-snmp-mibs |
130 |
|
|
BuildRequires: onig-devel >= 5.9.2 |
131 |
spuhler |
8300 |
BuildRequires: openssl >= 0.9.7 |
132 |
|
|
BuildRequires: openssl-devel >= 0.9.7 |
133 |
|
|
BuildRequires: pam-devel |
134 |
|
|
BuildRequires: pcre-devel >= 6.6 |
135 |
luigiwalser |
234676 |
BuildRequires: postgresql-devel |
136 |
spuhler |
8300 |
BuildRequires: re2c >= 0.13.4 |
137 |
luigiwalser |
234676 |
BuildRequires: readline-devel |
138 |
|
|
BuildRequires: recode-devel |
139 |
|
|
BuildRequires: sqlite3-devel |
140 |
|
|
BuildRequires: sqlite-devel |
141 |
|
|
BuildRequires: t1lib-devel |
142 |
|
|
BuildRequires: tidy-devel |
143 |
|
|
BuildRequires: unixODBC-devel >= 2.2.1 |
144 |
|
|
BuildRequires: xmlrpc-epi-devel |
145 |
spuhler |
216448 |
Obsoletes: php-pspell |
146 |
spuhler |
8300 |
Epoch: 3 |
147 |
|
|
|
148 |
spuhler |
8465 |
|
149 |
spuhler |
8300 |
# stupid postgresql... stupid build system... |
150 |
|
|
# this is needed due to the postgresql packaging and due to bugs like this: |
151 |
dmorgan |
16668 |
# https://qa.mandriva.org/show_bug.cgi?id=52527 |
152 |
spuhler |
8300 |
%define postgresql_version %(pg_config &>/dev/null && pg_config 2>/dev/null | grep "^VERSION" | awk '{ print $4 }' 2>/dev/null || echo 0) |
153 |
|
|
|
154 |
|
|
%description |
155 |
|
|
PHP5 is an HTML-embeddable scripting language. PHP5 offers built-in database |
156 |
|
|
integration for several commercial and non-commercial database management |
157 |
|
|
systems, so writing a database-enabled script with PHP5 is fairly simple. The |
158 |
|
|
most common use of PHP5 coding is probably as a replacement for CGI scripts. |
159 |
|
|
|
160 |
|
|
This version of php has the suhosin patch %{suhosin_version} applied. Please |
161 |
spuhler |
8465 |
report bugs to the official maintainer of |
162 |
|
|
this Mageia package. More information regarding the |
163 |
spuhler |
8300 |
suhosin patch %{suhosin_version} here: http://www.suhosin.org/ |
164 |
|
|
|
165 |
guillomovitch |
198248 |
%package ini |
166 |
|
|
Summary: INI files for PHP |
167 |
|
|
Group: Development/Other |
168 |
|
|
|
169 |
|
|
%description ini |
170 |
|
|
The php-ini package contains the ini file required for PHP. |
171 |
|
|
|
172 |
spuhler |
8300 |
%package cli |
173 |
|
|
Summary: PHP5 CLI interface |
174 |
|
|
Group: Development/Other |
175 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
176 |
|
|
Requires: php-ctype >= %{epoch}:%{version} |
177 |
|
|
Requires: php-filter >= %{epoch}:%{version} |
178 |
|
|
Requires: php-ftp >= %{epoch}:%{version} |
179 |
|
|
Requires: php-gettext >= %{epoch}:%{version} |
180 |
|
|
Requires: php-hash >= %{epoch}:%{version} |
181 |
|
|
Requires: php-ini >= %{version} |
182 |
|
|
Requires: php-json >= %{epoch}:%{version} |
183 |
|
|
Requires: php-openssl >= %{epoch}:%{version} |
184 |
|
|
Requires: php-pcre >= %{epoch}:%{version} |
185 |
|
|
Requires: php-posix >= %{epoch}:%{version} |
186 |
|
|
Requires: php-session >= %{epoch}:%{version} |
187 |
guillomovitch |
189701 |
Suggests: php-suhosin >= 0.9.29 |
188 |
spuhler |
8300 |
Requires: php-sysvsem >= %{epoch}:%{version} |
189 |
|
|
Requires: php-sysvshm >= %{epoch}:%{version} |
190 |
|
|
Requires: php-timezonedb >= 3:2009.10 |
191 |
|
|
Requires: php-tokenizer >= %{epoch}:%{version} |
192 |
|
|
Requires: php-xmlreader >= %{epoch}:%{version} |
193 |
|
|
Requires: php-xmlwriter >= %{epoch}:%{version} |
194 |
|
|
Requires: php-zlib >= %{epoch}:%{version} |
195 |
|
|
Requires: php-xml >= %{epoch}:%{version} |
196 |
|
|
Provides: php = %{epoch}:%{version} |
197 |
|
|
|
198 |
|
|
%description cli |
199 |
|
|
PHP5 is an HTML-embeddable scripting language. PHP5 offers built-in database |
200 |
|
|
integration for several commercial and non-commercial database management |
201 |
|
|
systems, so writing a database-enabled script with PHP5 is fairly simple. The |
202 |
|
|
most common use of PHP5 coding is probably as a replacement for CGI scripts. |
203 |
|
|
|
204 |
guillomovitch |
189704 |
This package contains a command-line (CLI) version of php. |
205 |
spuhler |
8300 |
|
206 |
|
|
This version of php has the suhosin patch %{suhosin_version} applied. Please |
207 |
dmorgan |
16668 |
report bugs here: http://bugs.mageia.org/ so that the official maintainer of |
208 |
misc |
68155 |
this Mageia package can help you. More information regarding the |
209 |
spuhler |
8300 |
suhosin patch %{suhosin_version} here: http://www.suhosin.org/ |
210 |
|
|
|
211 |
|
|
%package cgi |
212 |
|
|
Summary: PHP5 CGI interface |
213 |
|
|
Group: Development/Other |
214 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
215 |
|
|
Requires: php-ctype >= %{epoch}:%{version} |
216 |
|
|
Requires: php-filter >= %{epoch}:%{version} |
217 |
|
|
Requires: php-ftp >= %{epoch}:%{version} |
218 |
|
|
Requires: php-gettext >= %{epoch}:%{version} |
219 |
|
|
Requires: php-hash >= %{epoch}:%{version} |
220 |
|
|
Requires: php-ini >= %{version} |
221 |
|
|
Requires: php-json >= %{epoch}:%{version} |
222 |
|
|
Requires: php-openssl >= %{epoch}:%{version} |
223 |
|
|
Requires: php-pcre >= %{epoch}:%{version} |
224 |
|
|
Requires: php-posix >= %{epoch}:%{version} |
225 |
|
|
Requires: php-session >= %{epoch}:%{version} |
226 |
spuhler |
184677 |
Requires: php-suhosin >= 0.9.29 |
227 |
spuhler |
8300 |
Requires: php-sysvsem >= %{epoch}:%{version} |
228 |
|
|
Requires: php-sysvshm >= %{epoch}:%{version} |
229 |
|
|
Requires: php-timezonedb >= 3:2009.10 |
230 |
|
|
Requires: php-tokenizer >= %{epoch}:%{version} |
231 |
|
|
Requires: php-xmlreader >= %{epoch}:%{version} |
232 |
|
|
Requires: php-xmlwriter >= %{epoch}:%{version} |
233 |
|
|
Requires: php-zlib >= %{epoch}:%{version} |
234 |
|
|
Requires: php-xml >= %{epoch}:%{version} |
235 |
|
|
Provides: php = %{epoch}:%{version} |
236 |
|
|
Provides: php-fcgi = %{epoch}:%{version}-%{release} |
237 |
|
|
Obsoletes: php-fcgi |
238 |
|
|
# because of a added compat softlink |
239 |
|
|
Conflicts: php-fcgi < %{epoch}:%{version}-%{release} |
240 |
|
|
|
241 |
|
|
%description cgi |
242 |
|
|
PHP5 is an HTML-embeddable scripting language. PHP5 offers built-in database |
243 |
|
|
integration for several commercial and non-commercial database management |
244 |
|
|
systems, so writing a database-enabled script with PHP5 is fairly simple. The |
245 |
|
|
most common use of PHP5 coding is probably as a replacement for CGI scripts. |
246 |
|
|
|
247 |
|
|
This package contains a standalone (CGI) version of php with FastCGI support. |
248 |
|
|
|
249 |
|
|
This version of php has the suhosin patch %{suhosin_version} applied. Please |
250 |
dmorgan |
16668 |
report bugs here: http://bugs.mageia.org/ so that the official maintainer of |
251 |
misc |
68155 |
this Mageia package can help you. More information regarding the |
252 |
spuhler |
8300 |
suhosin patch %{suhosin_version} here: http://www.suhosin.org/ |
253 |
|
|
|
254 |
guillomovitch |
189703 |
%package fpm |
255 |
|
|
Summary: PHP5 FastCGI Process Manager |
256 |
|
|
Group: Development/Other |
257 |
|
|
Requires(post): rpm-helper |
258 |
|
|
Requires(preun): rpm-helper |
259 |
luigiwalser |
227709 |
Requires(pre): rpm-helper |
260 |
guillomovitch |
189703 |
Requires(postun): rpm-helper |
261 |
luigiwalser |
227717 |
# for apache user |
262 |
|
|
Requires(pre): webserver-base |
263 |
guillomovitch |
189703 |
Requires: %{libname} >= %{epoch}:%{version} |
264 |
|
|
Requires: php-ctype >= %{epoch}:%{version} |
265 |
|
|
Requires: php-filter >= %{epoch}:%{version} |
266 |
|
|
Requires: php-ftp >= %{epoch}:%{version} |
267 |
|
|
Requires: php-gettext >= %{epoch}:%{version} |
268 |
|
|
Requires: php-hash >= %{epoch}:%{version} |
269 |
|
|
Requires: php-ini >= %{version} |
270 |
|
|
Requires: php-json >= %{epoch}:%{version} |
271 |
|
|
Requires: php-openssl >= %{epoch}:%{version} |
272 |
|
|
Requires: php-pcre >= %{epoch}:%{version} |
273 |
|
|
Requires: php-posix >= %{epoch}:%{version} |
274 |
|
|
Requires: php-session >= %{epoch}:%{version} |
275 |
|
|
Requires: php-suhosin >= 0.9.29 |
276 |
|
|
Requires: php-sysvsem >= %{epoch}:%{version} |
277 |
|
|
Requires: php-sysvshm >= %{epoch}:%{version} |
278 |
|
|
Requires: php-timezonedb >= 3:2009.10 |
279 |
|
|
Requires: php-tokenizer >= %{epoch}:%{version} |
280 |
|
|
Requires: php-xmlreader >= %{epoch}:%{version} |
281 |
|
|
Requires: php-xmlwriter >= %{epoch}:%{version} |
282 |
|
|
Requires: php-zlib >= %{epoch}:%{version} |
283 |
|
|
Requires: php-xml >= %{epoch}:%{version} |
284 |
|
|
Provides: php = %{epoch}:%{version} |
285 |
|
|
|
286 |
|
|
%description fpm |
287 |
|
|
PHP5 is an HTML-embeddable scripting language. PHP5 offers built-in database |
288 |
|
|
integration for several commercial and non-commercial database management |
289 |
|
|
systems, so writing a database-enabled script with PHP5 is fairly simple. The |
290 |
|
|
most common use of PHP5 coding is probably as a replacement for CGI scripts. |
291 |
|
|
|
292 |
guillomovitch |
189704 |
This package contains the FastCGI Process Manager. |
293 |
guillomovitch |
189703 |
|
294 |
|
|
This version of php has the suhosin patch %{suhosin_version} applied. Please |
295 |
|
|
report bugs here: http://bugs.mageia.org/ so that the official maintainer of |
296 |
|
|
this Mageia package can help you. More information regarding the |
297 |
|
|
suhosin patch %{suhosin_version} here: http://www.suhosin.org/ |
298 |
|
|
|
299 |
guillomovitch |
189879 |
%package -n apache-mod_php |
300 |
|
|
Summary: The PHP5 HTML-embedded scripting language for use with apache |
301 |
|
|
Group: System/Servers |
302 |
|
|
Requires(pre): rpm-helper |
303 |
|
|
Requires(postun): rpm-helper |
304 |
guillomovitch |
189936 |
Requires: apache-mpm |
305 |
guillomovitch |
189879 |
#TODO are theses really required ? |
306 |
guillomovitch |
189936 |
Requires: php-ctype >= %{epoch}:%{version} |
307 |
|
|
Requires: php-filter >= %{epoch}:%{version} |
308 |
|
|
Requires: php-ftp >= %{epoch}:%{version} |
309 |
|
|
Requires: php-gettext >= %{epoch}:%{version} |
310 |
|
|
Requires: php-hash >= %{epoch}:%{version} |
311 |
|
|
Requires: php-ini >= %{version} |
312 |
|
|
Requires: php-json >= %{epoch}:%{version} |
313 |
guillomovitch |
189879 |
Requires: php-openssl >= %{epoch}:%{version} |
314 |
guillomovitch |
189936 |
Requires: php-pcre >= %{epoch}:%{version} |
315 |
|
|
Requires: php-posix >= %{epoch}:%{version} |
316 |
|
|
Requires: php-session >= %{epoch}:%{version} |
317 |
guillomovitch |
189879 |
Suggests: php-suhosin >= 0.9.29 |
318 |
guillomovitch |
189936 |
Requires: php-sysvsem >= %{epoch}:%{version} |
319 |
|
|
Requires: php-sysvshm >= %{epoch}:%{version} |
320 |
|
|
Requires: php-tokenizer >= %{epoch}:%{version} |
321 |
|
|
Requires: php-xmlreader >= %{epoch}:%{version} |
322 |
|
|
Requires: php-xmlwriter >= %{epoch}:%{version} |
323 |
|
|
Requires: php-zlib >= %{epoch}:%{version} |
324 |
guillomovitch |
189879 |
Requires: php-xml >= %{epoch}:%{version} |
325 |
|
|
Requires: php-timezonedb |
326 |
|
|
# php is not fully thread safe |
327 |
|
|
# http://www.php.net/manual/en/faq.installation.php#faq.installation.apache2 |
328 |
|
|
# http://stackoverflow.com/questions/681081/is-php-thread-safe |
329 |
|
|
Conflicts: apache-mpm-worker |
330 |
|
|
Conflicts: apache-mpm-event |
331 |
|
|
Epoch: %{epoch} |
332 |
|
|
|
333 |
|
|
%description -n apache-mod_php |
334 |
|
|
PHP5 is an HTML-embeddable scripting language. PHP5 offers built-in database |
335 |
|
|
integration for several commercial and non-commercial database management |
336 |
|
|
systems, so writing a database-enabled script with PHP5 is fairly simple. The |
337 |
|
|
most common use of PHP5 coding is probably as a replacement for CGI scripts. |
338 |
|
|
|
339 |
|
|
This package contains the PHP apache module. |
340 |
|
|
|
341 |
|
|
This version of php has the suhosin patch %{suhosin_version} applied. Please |
342 |
|
|
report bugs here: http://bugs.mageia.org/ so that the official maintainer of |
343 |
|
|
this Mageia package can help you. More information regarding the |
344 |
|
|
suhosin patch %{suhosin_version} here: http://www.suhosin.org/ |
345 |
|
|
|
346 |
spuhler |
8300 |
%package -n %{libname} |
347 |
|
|
Summary: Shared library for PHP5 |
348 |
|
|
Group: Development/Other |
349 |
|
|
Provides: php-pcre = %{epoch}:%{version} |
350 |
|
|
Provides: php-simplexml = %{epoch}:%{version} |
351 |
|
|
|
352 |
|
|
%description -n %{libname} |
353 |
|
|
This package provides the common files to run with different implementations of |
354 |
guillomovitch |
189704 |
PHP5. |
355 |
spuhler |
8300 |
|
356 |
|
|
%package devel |
357 |
|
|
Summary: Development package for PHP5 |
358 |
|
|
Group: Development/C |
359 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
360 |
spuhler |
184677 |
Requires: autoconf |
361 |
spuhler |
8300 |
Requires: automake |
362 |
spuhler |
184677 |
Requires: libtool |
363 |
spuhler |
8300 |
Requires: bison |
364 |
|
|
Requires: byacc |
365 |
|
|
Requires: chrpath |
366 |
|
|
Requires: dos2unix |
367 |
|
|
Requires: flex |
368 |
|
|
Requires: libxml2-devel >= 2.6 |
369 |
|
|
Requires: libxslt-devel >= 1.1.0 |
370 |
|
|
Requires: openssl >= 0.9.7 |
371 |
|
|
Requires: openssl-devel >= 0.9.7 |
372 |
|
|
Requires: pam-devel |
373 |
|
|
Requires: pcre-devel >= 6.6 |
374 |
|
|
Requires: re2c >= 0.9.11 |
375 |
|
|
Requires: tcl |
376 |
|
|
|
377 |
|
|
%description devel |
378 |
|
|
The php-devel package lets you compile dynamic extensions to PHP5. Included |
379 |
|
|
here is the source for the php extensions. Instead of recompiling the whole php |
380 |
|
|
binary to add support for, say, oracle, install this package and use the new |
381 |
|
|
self-contained extensions support. For more information, read the file |
382 |
|
|
SELF-CONTAINED-EXTENSIONS. |
383 |
|
|
|
384 |
|
|
%package openssl |
385 |
|
|
Summary: OpenSSL extension module for PHP |
386 |
|
|
Group: Development/PHP |
387 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
388 |
|
|
|
389 |
|
|
%description openssl |
390 |
|
|
This is a dynamic shared object (DSO) for PHP that will add OpenSSL support. |
391 |
|
|
|
392 |
|
|
%package zlib |
393 |
|
|
Summary: Zlib extension module for PHP |
394 |
|
|
Group: Development/PHP |
395 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
396 |
|
|
|
397 |
|
|
%description zlib |
398 |
|
|
This is a dynamic shared object (DSO) for PHP that will add zlib compression |
399 |
|
|
support to PHP. |
400 |
|
|
|
401 |
|
|
%package bcmath |
402 |
|
|
Summary: The bcmath module for PHP |
403 |
|
|
Group: Development/PHP |
404 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
405 |
|
|
|
406 |
|
|
%description bcmath |
407 |
|
|
This is a dynamic shared object (DSO) for PHP that will add bc style precision |
408 |
|
|
math functions support. |
409 |
|
|
|
410 |
|
|
For arbitrary precision mathematics PHP offers the Binary Calculator which |
411 |
|
|
supports numbers of any size and precision, represented as strings. |
412 |
|
|
|
413 |
|
|
%package bz2 |
414 |
|
|
Summary: Bzip2 extension module for PHP |
415 |
|
|
Group: Development/PHP |
416 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
417 |
|
|
|
418 |
|
|
%description bz2 |
419 |
|
|
This is a dynamic shared object (DSO) for PHP that will add bzip2 compression |
420 |
|
|
support to PHP. |
421 |
|
|
|
422 |
|
|
The bzip2 functions are used to transparently read and write bzip2 (.bz2) |
423 |
|
|
compressed files. |
424 |
|
|
|
425 |
|
|
%package calendar |
426 |
|
|
Summary: Calendar extension module for PHP |
427 |
|
|
Group: Development/PHP |
428 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
429 |
|
|
|
430 |
|
|
%description calendar |
431 |
|
|
This is a dynamic shared object (DSO) for PHP that will add calendar support. |
432 |
|
|
|
433 |
|
|
The calendar extension presents a series of functions to simplify converting |
434 |
|
|
between different calendar formats. The intermediary or standard it is based on |
435 |
|
|
is the Julian Day Count. The Julian Day Count is a count of days starting from |
436 |
|
|
January 1st, 4713 B.C. To convert between calendar systems, you must first |
437 |
|
|
convert to Julian Day Count, then to the calendar system of your choice. Julian |
438 |
|
|
Day Count is very different from the Julian Calendar! For more information on |
439 |
|
|
Julian Day Count, visit http://www.hermetic.ch/cal_stud/jdn.htm. For more |
440 |
|
|
information on calendar systems visit |
441 |
|
|
http://www.boogle.com/info/cal-overview.html. Excerpts from this page are |
442 |
|
|
included in these instructions, and are in quotes. |
443 |
|
|
|
444 |
|
|
%package ctype |
445 |
|
|
Summary: Ctype extension module for PHP |
446 |
|
|
Group: Development/PHP |
447 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
448 |
|
|
|
449 |
|
|
%description ctype |
450 |
|
|
This is a dynamic shared object (DSO) for PHP that will add ctype support. |
451 |
|
|
|
452 |
|
|
The functions provided by this extension check whether a character or string |
453 |
|
|
falls into a certain character class according to the current locale (see also |
454 |
|
|
setlocale()). |
455 |
|
|
|
456 |
|
|
%package curl |
457 |
|
|
Summary: Curl extension module for PHP |
458 |
|
|
Group: Development/PHP |
459 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
460 |
|
|
|
461 |
|
|
%description curl |
462 |
|
|
This is a dynamic shared object (DSO) for PHP that will add curl support. |
463 |
|
|
|
464 |
|
|
PHP supports libcurl, a library created by Daniel Stenberg, that allows you to |
465 |
|
|
connect and communicate to many different types of servers with many different |
466 |
|
|
types of protocols. libcurl currently supports the http, https, ftp, gopher, |
467 |
|
|
telnet, dict, file, and ldap protocols. libcurl also supports HTTPS |
468 |
|
|
certificates, HTTP POST, HTTP PUT, FTP uploading (this can also be done with |
469 |
|
|
PHP's ftp extension), HTTP form based upload, proxies, cookies, and |
470 |
|
|
user+password authentication. |
471 |
|
|
|
472 |
|
|
%package dba |
473 |
|
|
Summary: DBA extension module for PHP |
474 |
|
|
Group: Development/PHP |
475 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
476 |
|
|
|
477 |
|
|
%description dba |
478 |
|
|
This is a dynamic shared object (DSO) for PHP that will add flat-file databases |
479 |
|
|
(DBA) support. |
480 |
|
|
|
481 |
|
|
These functions build the foundation for accessing Berkeley DB style databases. |
482 |
|
|
|
483 |
|
|
This is a general abstraction layer for several file-based databases. As such, |
484 |
|
|
functionality is limited to a common subset of features supported by modern |
485 |
|
|
databases such as Sleepycat Software's DB2. (This is not to be confused with |
486 |
|
|
IBM's DB2 software, which is supported through the ODBC functions.) |
487 |
|
|
|
488 |
|
|
%package dom |
489 |
|
|
Summary: Dom extension module for PHP |
490 |
|
|
Group: Development/PHP |
491 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
492 |
|
|
|
493 |
|
|
%description dom |
494 |
|
|
This is a dynamic shared object (DSO) for PHP that will add dom support. |
495 |
|
|
|
496 |
|
|
The DOM extension is the replacement for the DOM XML extension from PHP 4. The |
497 |
|
|
extension still contains many old functions, but they should no longer be used. |
498 |
|
|
In particular, functions that are not object-oriented should be avoided. |
499 |
|
|
|
500 |
|
|
The extension allows you to operate on an XML document with the DOM API. |
501 |
|
|
|
502 |
|
|
%package enchant |
503 |
|
|
Summary: Libenchant binder, support near all spelling tools |
504 |
|
|
Group: Development/PHP |
505 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
506 |
|
|
|
507 |
|
|
%description enchant |
508 |
|
|
Enchant is a binder for libenchant. Libenchant provides a common API for many |
509 |
|
|
spell libraries: |
510 |
|
|
|
511 |
|
|
- aspell/pspell (intended to replace ispell) |
512 |
|
|
- hspell (hebrew) |
513 |
|
|
- ispell |
514 |
spuhler |
214988 |
- hunspell (OpenOffice project, mozilla) |
515 |
spuhler |
8300 |
- uspell (primarily Yiddish, Hebrew, and Eastern European languages) |
516 |
|
|
A plugin system allows to add custom spell support. |
517 |
|
|
see www.abisource.com/enchant/ |
518 |
|
|
|
519 |
|
|
%package exif |
520 |
|
|
Summary: EXIF extension module for PHP |
521 |
|
|
Group: Development/PHP |
522 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
523 |
|
|
Requires: php-mbstring >= %{epoch}:%{version} |
524 |
|
|
|
525 |
|
|
%description exif |
526 |
|
|
This is a dynamic shared object (DSO) for PHP that will add EXIF tags support |
527 |
|
|
in image files. |
528 |
|
|
|
529 |
|
|
With the exif extension you are able to work with image meta data. For example, |
530 |
|
|
you may use exif functions to read meta data of pictures taken from digital |
531 |
|
|
cameras by working with information stored in the headers of the JPEG and TIFF |
532 |
|
|
images. |
533 |
|
|
|
534 |
|
|
%package fileinfo |
535 |
|
|
Summary: Fileinfo extension module for PHP |
536 |
|
|
Group: Development/PHP |
537 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
538 |
|
|
|
539 |
|
|
%description fileinfo |
540 |
|
|
This extension allows retrieval of information regarding vast majority of file. |
541 |
|
|
This information may include dimensions, quality, length etc... |
542 |
|
|
|
543 |
|
|
Additionally it can also be used to retrieve the mime type for a particular |
544 |
|
|
file and for text files proper language encoding. |
545 |
|
|
|
546 |
|
|
%package filter |
547 |
|
|
Summary: Extension for safely dealing with input parameters |
548 |
|
|
Group: Development/PHP |
549 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
550 |
|
|
|
551 |
|
|
%description filter |
552 |
|
|
The Input Filter extension is meant to address this issue by implementing a set |
553 |
|
|
of filters and mechanisms that users can use to safely access their input data. |
554 |
|
|
|
555 |
|
|
%package ftp |
556 |
|
|
Summary: FTP extension module for PHP |
557 |
|
|
Group: Development/PHP |
558 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
559 |
|
|
|
560 |
|
|
%description ftp |
561 |
|
|
This is a dynamic shared object (DSO) for PHP that will add FTP support. |
562 |
|
|
|
563 |
|
|
The functions in this extension implement client access to file servers |
564 |
|
|
speaking the File Transfer Protocol (FTP) as defined in |
565 |
|
|
http://www.faqs.org/rfcs/rfc959. This extension is meant for detailed access to |
566 |
|
|
an FTP server providing a wide range of control to the executing script. If you |
567 |
|
|
only wish to read from or write to a file on an FTP server, consider using the |
568 |
|
|
ftp:// wrapper with the filesystem functions which provide a simpler and more |
569 |
|
|
intuitive interface. |
570 |
|
|
|
571 |
|
|
%package gd |
572 |
|
|
Summary: GD extension module for PHP |
573 |
|
|
Group: Development/PHP |
574 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
575 |
|
|
|
576 |
|
|
%description gd |
577 |
|
|
This is a dynamic shared object (DSO) for PHP that will add GD support, |
578 |
|
|
allowing you to create and manipulate images with PHP using the gd library. |
579 |
|
|
|
580 |
|
|
PHP is not limited to creating just HTML output. It can also be used to create |
581 |
|
|
and manipulate image files in a variety of different image formats, including |
582 |
|
|
gif, png, jpg, wbmp, and xpm. Even more convenient, PHP can output image |
583 |
|
|
streams directly to a browser. You will need to compile PHP with the GD library |
584 |
|
|
of image functions for this to work. GD and PHP may also require other |
585 |
|
|
libraries, depending on which image formats you want to work with. |
586 |
|
|
|
587 |
|
|
You can use the image functions in PHP to get the size of JPEG, GIF, PNG, SWF, |
588 |
|
|
TIFF and JPEG2000 images. |
589 |
|
|
|
590 |
|
|
%package gettext |
591 |
|
|
Summary: Gettext extension module for PHP |
592 |
|
|
Group: Development/PHP |
593 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
594 |
|
|
|
595 |
|
|
%description gettext |
596 |
|
|
This is a dynamic shared object (DSO) for PHP that will add gettext support. |
597 |
|
|
|
598 |
|
|
The gettext functions implement an NLS (Native Language Support) API which can |
599 |
|
|
be used to internationalize your PHP applications. Please see the gettext |
600 |
|
|
documentation for your system for a thorough explanation of these functions or |
601 |
|
|
view the docs at http://www.gnu.org/software/gettext/manual/gettext.html. |
602 |
|
|
|
603 |
|
|
%package gmp |
604 |
|
|
Summary: Gmp extension module for PHP |
605 |
|
|
Group: Development/PHP |
606 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
607 |
|
|
|
608 |
|
|
%description gmp |
609 |
|
|
This is a dynamic shared object (DSO) for PHP that will add arbitrary length |
610 |
|
|
number support using the GNU MP library. |
611 |
|
|
|
612 |
|
|
%package hash |
613 |
|
|
Summary: HASH Message Digest Framework |
614 |
|
|
Group: Development/PHP |
615 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
616 |
|
|
|
617 |
|
|
%description hash |
618 |
|
|
Native implementations of common message digest algorithms using a generic |
619 |
|
|
factory method. |
620 |
|
|
|
621 |
|
|
Message Digest (hash) engine. Allows direct or incremental processing of |
622 |
|
|
arbitrary length messages using a variety of hashing algorithms. |
623 |
|
|
|
624 |
|
|
%package iconv |
625 |
|
|
Summary: Iconv extension module for PHP |
626 |
|
|
Group: Development/PHP |
627 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
628 |
|
|
|
629 |
|
|
%description iconv |
630 |
|
|
This is a dynamic shared object (DSO) for PHP that will add iconv support. |
631 |
|
|
|
632 |
|
|
This module contains an interface to iconv character set conversion facility. |
633 |
|
|
With this module, you can turn a string represented by a local character set |
634 |
|
|
into the one represented by another character set, which may be the Unicode |
635 |
|
|
character set. Supported character sets depend on the iconv implementation of |
636 |
|
|
your system. Note that the iconv function on some systems may not work as you |
637 |
|
|
expect. In such case, it'd be a good idea to install the GNU libiconv library. |
638 |
|
|
It will most likely end up with more consistent results. |
639 |
|
|
|
640 |
|
|
%package imap |
641 |
|
|
Summary: IMAP extension module for PHP |
642 |
|
|
Group: Development/PHP |
643 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
644 |
|
|
|
645 |
|
|
%description imap |
646 |
|
|
This is a dynamic shared object (DSO) for PHP that will add IMAP support. |
647 |
|
|
|
648 |
|
|
These functions are not limited to the IMAP protocol, despite their name. The |
649 |
|
|
underlying c-client library also supports NNTP, POP3 and local mailbox access |
650 |
|
|
methods. |
651 |
|
|
|
652 |
|
|
%package intl |
653 |
|
|
Summary: Internationalization extension module for PHP |
654 |
|
|
Group: Development/PHP |
655 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
656 |
|
|
|
657 |
|
|
%description intl |
658 |
|
|
This is a dynamic shared object (DSO) for PHP that will add |
659 |
|
|
Internationalization support. |
660 |
|
|
|
661 |
|
|
Internationalization extension implements ICU library functionality in PHP. |
662 |
|
|
|
663 |
|
|
%package json |
664 |
|
|
Summary: JavaScript Object Notation |
665 |
|
|
Group: Development/PHP |
666 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
667 |
|
|
|
668 |
|
|
%description json |
669 |
|
|
Support for JSON (JavaScript Object Notation) serialization. |
670 |
|
|
|
671 |
|
|
%package ldap |
672 |
|
|
Summary: LDAP extension module for PHP |
673 |
|
|
Group: Development/PHP |
674 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
675 |
|
|
|
676 |
|
|
%description ldap |
677 |
|
|
This is a dynamic shared object (DSO) for PHP that will add LDAP support. |
678 |
|
|
|
679 |
|
|
LDAP is the Lightweight Directory Access Protocol, and is a protocol used to |
680 |
|
|
access "Directory Servers". The Directory is a special kind of database that |
681 |
|
|
holds information in a tree structure. |
682 |
|
|
|
683 |
|
|
The concept is similar to your hard disk directory structure, except that in |
684 |
|
|
this context, the root directory is "The world" and the first level |
685 |
|
|
subdirectories are "countries". Lower levels of the directory structure contain |
686 |
|
|
entries for companies, organisations or places, while yet lower still we find |
687 |
|
|
directory entries for people, and perhaps equipment or documents. |
688 |
|
|
|
689 |
|
|
%package mbstring |
690 |
|
|
Summary: MBstring extension module for PHP |
691 |
|
|
Group: Development/PHP |
692 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
693 |
|
|
|
694 |
|
|
%description mbstring |
695 |
|
|
This is a dynamic shared object (DSO) for PHP that will add multibyte string |
696 |
|
|
support. |
697 |
|
|
|
698 |
|
|
mbstring provides multibyte specific string functions that help you deal with |
699 |
|
|
multibyte encodings in PHP. In addition to that, mbstring handles character |
700 |
|
|
encoding conversion between the possible encoding pairs. mbstring is designed |
701 |
|
|
to handle Unicode-based encodings such as UTF-8 and UCS-2 and many single-byte |
702 |
|
|
encodings for convenience. |
703 |
|
|
|
704 |
|
|
%package mcrypt |
705 |
|
|
Summary: Mcrypt extension module for PHP |
706 |
|
|
Group: Development/PHP |
707 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
708 |
|
|
|
709 |
|
|
%description mcrypt |
710 |
|
|
This is a dynamic shared object (DSO) for PHP that will add mcrypt support. |
711 |
|
|
|
712 |
|
|
This is an interface to the mcrypt library, which supports a wide variety of |
713 |
|
|
block algorithms such as DES, TripleDES, Blowfish (default), 3-WAY, SAFER-SK64, |
714 |
|
|
SAFER-SK128, TWOFISH, TEA, RC3 and GOST in CBC, OFB, CFB and ECB cipher modes. |
715 |
|
|
Additionally, it supports RC6 and IDEA which are considered "non-free". |
716 |
|
|
|
717 |
|
|
%package mssql |
718 |
|
|
Summary: MS SQL extension module for PHP |
719 |
|
|
Group: Development/PHP |
720 |
|
|
Requires: freetds >= 0.63 |
721 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
722 |
|
|
|
723 |
|
|
%description mssql |
724 |
|
|
This is a dynamic shared object (DSO) for PHP that will add MS SQL databases |
725 |
|
|
support using the FreeTDS library. |
726 |
|
|
|
727 |
|
|
%package mysql |
728 |
|
|
Summary: MySQL database module for PHP |
729 |
|
|
Group: Development/PHP |
730 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
731 |
|
|
|
732 |
|
|
%description mysql |
733 |
|
|
This is a dynamic shared object (DSO) for PHP that will add MySQL database |
734 |
|
|
support. |
735 |
|
|
|
736 |
|
|
These functions allow you to access MySQL database servers. More information |
737 |
|
|
about MySQL can be found at http://www.mysql.com/. |
738 |
|
|
|
739 |
|
|
Documentation for MySQL can be found at http://dev.mysql.com/doc/. |
740 |
|
|
|
741 |
|
|
%package mysqli |
742 |
|
|
Summary: MySQL database module for PHP |
743 |
|
|
Group: Development/PHP |
744 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
745 |
|
|
|
746 |
|
|
%description mysqli |
747 |
|
|
This is a dynamic shared object (DSO) for PHP that will add MySQL database |
748 |
|
|
support. |
749 |
|
|
|
750 |
|
|
The mysqli extension allows you to access the functionality provided by MySQL |
751 |
|
|
4.1 and above. It is an improved version of the older PHP MySQL driver, |
752 |
|
|
offering various benefits. The developers of the PHP programming language |
753 |
|
|
recommend using MySQLi when dealing with MySQL server versions 4.1.3 and newer |
754 |
|
|
(takes advantage of new functionality) |
755 |
|
|
|
756 |
|
|
More information about the MySQL Database server can be found at |
757 |
|
|
http://www.mysql.com/ |
758 |
|
|
|
759 |
|
|
Documentation for MySQL can be found at http://dev.mysql.com/doc/. |
760 |
|
|
|
761 |
|
|
Documentation for MySQLi can be found at http://www.php.net/manual/en/mysqli.overview.php. |
762 |
|
|
|
763 |
spuhler |
184677 |
%package mysqlnd |
764 |
|
|
Summary: MySQL native database module for PHP |
765 |
|
|
Group: Development/PHP |
766 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
767 |
|
|
|
768 |
|
|
%description mysqlnd |
769 |
|
|
This is a dynamic shared object (DSO) for PHP that will add MySQL native |
770 |
|
|
database support. |
771 |
|
|
|
772 |
|
|
These functions allow you to access MySQL database servers. More information |
773 |
|
|
about MySQL can be found at http://www.mysql.com/. |
774 |
|
|
|
775 |
|
|
Documentation for MySQL can be found at http://dev.mysql.com/doc/. |
776 |
|
|
|
777 |
|
|
|
778 |
spuhler |
8300 |
%package odbc |
779 |
|
|
Summary: ODBC extension module for PHP |
780 |
|
|
Group: Development/PHP |
781 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
782 |
|
|
|
783 |
|
|
%description odbc |
784 |
|
|
This is a dynamic shared object (DSO) for PHP that will add ODBC support. |
785 |
|
|
|
786 |
|
|
In addition to normal ODBC support, the Unified ODBC functions in PHP allow you |
787 |
|
|
to access several databases that have borrowed the semantics of the ODBC API to |
788 |
|
|
implement their own API. Instead of maintaining multiple database drivers that |
789 |
|
|
were all nearly identical, these drivers have been unified into a single set of |
790 |
|
|
ODBC functions. |
791 |
|
|
|
792 |
|
|
%package pcntl |
793 |
|
|
Summary: Process Control extension module for PHP |
794 |
|
|
Group: Development/PHP |
795 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
796 |
|
|
|
797 |
|
|
%description pcntl |
798 |
|
|
This is a dynamic shared object (DSO) for PHP that will add process spawning |
799 |
|
|
and control support. It supports functions like fork(), waitpid(), signal() |
800 |
|
|
etc. |
801 |
|
|
|
802 |
|
|
Process Control support in PHP implements the Unix style of process creation, |
803 |
|
|
program execution, signal handling and process termination. Process Control |
804 |
|
|
should not be enabled within a webserver environment and unexpected results may |
805 |
|
|
happen if any Process Control functions are used within a webserver |
806 |
|
|
environment. |
807 |
|
|
|
808 |
|
|
%package pdo |
809 |
|
|
Summary: PHP Data Objects Interface |
810 |
|
|
Group: Development/PHP |
811 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
812 |
|
|
|
813 |
|
|
%description pdo |
814 |
|
|
PDO provides a uniform data access interface, sporting advanced features such |
815 |
|
|
as prepared statements and bound parameters. PDO drivers are dynamically |
816 |
|
|
loadable and may be developed independently from the core, but still accessed |
817 |
|
|
using the same API. |
818 |
|
|
|
819 |
|
|
Read the documentation at http://www.php.net/pdo for more information. |
820 |
|
|
|
821 |
|
|
%package pdo_dblib |
822 |
|
|
Summary: Sybase Interface driver for PDO |
823 |
|
|
Group: Development/PHP |
824 |
|
|
Requires: freetds >= 0.63 |
825 |
|
|
Requires: php-pdo >= %{epoch}:%{version} |
826 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
827 |
|
|
|
828 |
|
|
%description pdo_dblib |
829 |
|
|
PDO_DBLIB is a driver that implements the PHP Data Objects (PDO) interface to |
830 |
|
|
enable access from PHP to Microsoft SQL Server and Sybase databases through the |
831 |
|
|
FreeTDS libary. |
832 |
|
|
|
833 |
|
|
%package pdo_mysql |
834 |
|
|
Summary: MySQL Interface driver for PDO |
835 |
|
|
Group: Development/PHP |
836 |
|
|
Requires: php-pdo >= %{epoch}:%{version} |
837 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
838 |
|
|
|
839 |
|
|
%description pdo_mysql |
840 |
|
|
PDO_MYSQL is a driver that implements the PHP Data Objects (PDO) interface to |
841 |
|
|
enable access from PHP to MySQL 3.x and 4.x databases. |
842 |
|
|
|
843 |
|
|
PDO_MYSQL will take advantage of native prepared statement support present in |
844 |
|
|
MySQL 4.1 and higher. If you're using an older version of the mysql client |
845 |
|
|
libraries, PDO will emulate them for you. |
846 |
|
|
|
847 |
|
|
%package pdo_odbc |
848 |
|
|
Summary: ODBC v3 Interface driver for PDO |
849 |
|
|
Group: Development/PHP |
850 |
|
|
Requires: php-pdo >= %{epoch}:%{version} |
851 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
852 |
|
|
|
853 |
|
|
%description pdo_odbc |
854 |
|
|
PDO_ODBC is a driver that implements the PHP Data Objects (PDO) interface to |
855 |
|
|
enable access from PHP to databases through ODBC drivers or through the IBM DB2 |
856 |
|
|
Call Level Interface (DB2 CLI) library. PDO_ODBC currently supports three |
857 |
|
|
different "flavours" of database drivers: |
858 |
|
|
|
859 |
|
|
o ibm-db2 - Supports access to IBM DB2 Universal Database, Cloudscape, and |
860 |
|
|
Apache Derby servers through the free DB2 client. ibm-db2 is not |
861 |
misc |
68155 |
supported in Mageia. |
862 |
spuhler |
8300 |
|
863 |
|
|
o unixODBC - Supports access to database servers through the unixODBC driver |
864 |
|
|
manager and the database's own ODBC drivers. |
865 |
|
|
|
866 |
|
|
o generic - Offers a compile option for ODBC driver managers that are not |
867 |
|
|
explicitly supported by PDO_ODBC. |
868 |
|
|
|
869 |
|
|
%package pdo_pgsql |
870 |
|
|
Summary: PostgreSQL interface driver for PDO |
871 |
|
|
Group: Development/PHP |
872 |
|
|
Requires: php-pdo >= %{epoch}:%{version} |
873 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
874 |
|
|
Requires: postgresql-libs >= %{postgresql_version} |
875 |
|
|
|
876 |
|
|
%description pdo_pgsql |
877 |
|
|
PDO_PGSQL is a driver that implements the PHP Data Objects (PDO) interface to |
878 |
|
|
enable access from PHP to PostgreSQL databases. |
879 |
|
|
|
880 |
|
|
%package pdo_sqlite |
881 |
|
|
Summary: SQLite v3 Interface driver for PDO |
882 |
|
|
Group: Development/PHP |
883 |
|
|
Requires: php-pdo >= %{epoch}:%{version} |
884 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
885 |
|
|
|
886 |
|
|
%description pdo_sqlite |
887 |
|
|
PDO_SQLITE is a driver that implements the PHP Data Objects (PDO) interface to |
888 |
|
|
enable access to SQLite 3 databases. |
889 |
|
|
|
890 |
|
|
This extension provides an SQLite v3 driver for PDO. SQLite V3 is NOT |
891 |
|
|
compatible with the bundled SQLite 2 in PHP 5, but is a significant step |
892 |
|
|
forwards, featuring complete utf-8 support, native support for blobs, native |
893 |
|
|
support for prepared statements with bound parameters and improved concurrency. |
894 |
|
|
|
895 |
|
|
%package pgsql |
896 |
|
|
Summary: PostgreSQL database module for PHP |
897 |
|
|
Group: Development/PHP |
898 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
899 |
|
|
Requires: postgresql-libs >= %{postgresql_version} |
900 |
|
|
|
901 |
|
|
%description pgsql |
902 |
|
|
This is a dynamic shared object (DSO) for PHP that will add PostgreSQL database |
903 |
|
|
support. |
904 |
|
|
|
905 |
|
|
PostgreSQL database is Open Source product and available without cost. |
906 |
|
|
Postgres, developed originally in the UC Berkeley Computer Science Department, |
907 |
|
|
pioneered many of the object-relational concepts now becoming available in some |
908 |
|
|
commercial databases. It provides SQL92/SQL99 language support, transactions, |
909 |
|
|
referential integrity, stored procedures and type extensibility. PostgreSQL is |
910 |
|
|
an open source descendant of this original Berkeley code. |
911 |
|
|
|
912 |
|
|
%package phar |
913 |
|
|
Summary: Allows running of complete applications out of .phar files |
914 |
|
|
Group: Development/PHP |
915 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
916 |
|
|
Requires: php-bz2 |
917 |
|
|
Requires: php-hash |
918 |
|
|
|
919 |
|
|
%description phar |
920 |
|
|
This is the extension version of PEAR's PHP_Archive package. Support for |
921 |
|
|
zlib, bz2 and crc32 is achieved without any dependency other than the external |
922 |
|
|
zlib or bz2 extension. |
923 |
|
|
|
924 |
|
|
.phar files can be read using the phar stream, or with the Phar class. If the |
925 |
|
|
SPL extension is available, a Phar object can be used as an array to iterate |
926 |
|
|
over a phar's contents or to read files directly from the phar. |
927 |
|
|
|
928 |
|
|
Phar archives can be created using the streams API or with the Phar class, if |
929 |
|
|
the phar.readonly ini variable is set to false. |
930 |
|
|
|
931 |
|
|
Full support for MD5 and SHA1 signatures is possible. Signatures can be |
932 |
|
|
required if the ini variable phar.require_hash is set to true. When PECL |
933 |
|
|
extension hash is avaiable then SHA-256 and SHA-512 signatures are supported as |
934 |
|
|
well. |
935 |
|
|
|
936 |
|
|
%package posix |
937 |
|
|
Summary: POSIX extension module for PHP |
938 |
|
|
Group: Development/PHP |
939 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
940 |
|
|
|
941 |
|
|
%description posix |
942 |
|
|
This is a dynamic shared object (DSO) for PHP that will add POSIX functions |
943 |
|
|
support to PHP. |
944 |
|
|
|
945 |
|
|
This module contains an interface to those functions defined in the IEEE 1003.1 |
946 |
|
|
(POSIX.1) standards document which are not accessible through other means. |
947 |
|
|
POSIX.1 for example defined the open(), read(), write() and close() functions, |
948 |
|
|
too, which traditionally have been part of PHP 3 for a long time. Some more |
949 |
|
|
system specific functions have not been available before, though, and this |
950 |
|
|
module tries to remedy this by providing easy access to these functions. |
951 |
|
|
|
952 |
spuhler |
214988 |
#%package pspell |
953 |
|
|
#Summary: Pspell extension module for PHP |
954 |
|
|
#Group: Development/PHP |
955 |
|
|
#Requires: %{libname} >= %{epoch}:%{version} |
956 |
spuhler |
8300 |
|
957 |
spuhler |
214988 |
#%description pspell |
958 |
|
|
#This is a dynamic shared object (DSO) for PHP that will add pspell support to |
959 |
|
|
#PHP. |
960 |
spuhler |
8300 |
|
961 |
|
|
These functions allow you to check the spelling of a word and offer |
962 |
|
|
suggestions. |
963 |
|
|
|
964 |
|
|
%package readline |
965 |
|
|
Summary: Readline extension module for PHP |
966 |
|
|
Group: Development/PHP |
967 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
968 |
|
|
|
969 |
|
|
%description readline |
970 |
|
|
This PHP module adds support for readline functions (only for cli and cgi |
971 |
|
|
SAPIs). |
972 |
|
|
|
973 |
|
|
The readline() functions implement an interface to the GNU Readline library. |
974 |
|
|
These are functions that provide editable command lines. An example being the |
975 |
|
|
way Bash allows you to use the arrow keys to insert characters or scroll |
976 |
|
|
through command history. Because of the interactive nature of this library, it |
977 |
|
|
will be of little use for writing Web applications, but may be useful when |
978 |
|
|
writing scripts used from a command line. |
979 |
|
|
|
980 |
|
|
%package recode |
981 |
|
|
Summary: Recode extension module for PHP |
982 |
|
|
Group: Development/PHP |
983 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
984 |
|
|
|
985 |
|
|
%description recode |
986 |
|
|
This is a dynamic shared object (DSO) for PHP that will add recode support |
987 |
|
|
using the recode library. |
988 |
|
|
|
989 |
|
|
This module contains an interface to the GNU Recode library. The GNU Recode |
990 |
|
|
library converts files between various coded character sets and surface |
991 |
|
|
encodings. When this cannot be achieved exactly, it may get rid of the |
992 |
|
|
offending characters or fall back on approximations. The library recognises or |
993 |
|
|
produces nearly 150 different character sets and is able to convert files |
994 |
|
|
between almost any pair. Most RFC 1345 character sets are supported. |
995 |
|
|
|
996 |
|
|
%package session |
997 |
|
|
Summary: Session extension module for PHP |
998 |
|
|
Group: Development/PHP |
999 |
luigiwalser |
227709 |
Requires(pre): rpm-helper |
1000 |
spuhler |
8300 |
Requires(postun): rpm-helper |
1001 |
luigiwalser |
227717 |
# for apache user |
1002 |
|
|
Requires(pre): webserver-base |
1003 |
spuhler |
8300 |
Requires: %{libname} >= %{epoch}:%{version} |
1004 |
|
|
|
1005 |
|
|
%description session |
1006 |
|
|
This is a dynamic shared object (DSO) for PHP that will add session support. |
1007 |
|
|
|
1008 |
|
|
Session support in PHP consists of a way to preserve certain data across |
1009 |
|
|
subsequent accesses. This enables you to build more customized applications and |
1010 |
|
|
increase the appeal of your web site. |
1011 |
|
|
|
1012 |
|
|
A visitor accessing your web site is assigned a unique id, the so-called |
1013 |
|
|
session id. This is either stored in a cookie on the user side or is propagated |
1014 |
|
|
in the URL. |
1015 |
|
|
|
1016 |
|
|
%package shmop |
1017 |
|
|
Summary: Shared Memory Operations extension module for PHP |
1018 |
|
|
Group: Development/PHP |
1019 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
1020 |
|
|
|
1021 |
|
|
%description shmop |
1022 |
|
|
This is a dynamic shared object (DSO) for PHP that will add Shared Memory |
1023 |
|
|
Operations support. |
1024 |
|
|
|
1025 |
|
|
Shmop is an easy to use set of functions that allows PHP to read, write, create |
1026 |
|
|
and delete Unix shared memory segments. |
1027 |
|
|
|
1028 |
|
|
%package snmp |
1029 |
|
|
Summary: NET-SNMP extension module for PHP |
1030 |
|
|
Group: Development/PHP |
1031 |
|
|
Requires: net-snmp-mibs |
1032 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
1033 |
|
|
|
1034 |
|
|
%description snmp |
1035 |
|
|
This is a dynamic shared object (DSO) for PHP that will add SNMP support using |
1036 |
|
|
the NET-SNMP libraries. |
1037 |
|
|
|
1038 |
|
|
In order to use the SNMP functions you need to install the NET-SNMP package. |
1039 |
|
|
|
1040 |
|
|
%package soap |
1041 |
|
|
Summary: Soap extension module for PHP |
1042 |
|
|
Group: Development/PHP |
1043 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
1044 |
|
|
|
1045 |
|
|
%description soap |
1046 |
|
|
This is a dynamic shared object (DSO) for PHP that will add soap support. |
1047 |
|
|
|
1048 |
|
|
The SOAP extension can be used to write SOAP Servers and Clients. It supports |
1049 |
|
|
subsets of SOAP 1.1, SOAP 1.2 and WSDL 1.1 specifications. |
1050 |
|
|
|
1051 |
|
|
%package sockets |
1052 |
|
|
Summary: Sockets extension module for PHP |
1053 |
|
|
Group: Development/PHP |
1054 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
1055 |
|
|
|
1056 |
|
|
%description sockets |
1057 |
|
|
This is a dynamic shared object (DSO) for PHP that will add sockets support. |
1058 |
|
|
|
1059 |
|
|
The socket extension implements a low-level interface to the socket |
1060 |
|
|
communication functions based on the popular BSD sockets, providing the |
1061 |
|
|
possibility to act as a socket server as well as a client. |
1062 |
|
|
|
1063 |
|
|
%package sqlite3 |
1064 |
|
|
Summary: SQLite database bindings for PHP |
1065 |
|
|
Group: Development/PHP |
1066 |
|
|
Requires: php-pdo >= %{epoch}:%{version} |
1067 |
|
|
Obsoletes: php-sqlite |
1068 |
|
|
Provides: php-sqlite = %{epoch}:%{version} |
1069 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
1070 |
|
|
|
1071 |
|
|
%description sqlite3 |
1072 |
|
|
This is an extension for the SQLite Embeddable SQL Database Engine. SQLite is a |
1073 |
|
|
C library that implements an embeddable SQL database engine. Programs that link |
1074 |
|
|
with the SQLite library can have SQL database access without running a separate |
1075 |
|
|
RDBMS process. |
1076 |
|
|
|
1077 |
|
|
SQLite is not a client library used to connect to a big database server. SQLite |
1078 |
|
|
is the server. The SQLite library reads and writes directly to and from the |
1079 |
|
|
database files on disk. |
1080 |
|
|
|
1081 |
spuhler |
184677 |
%package sqlite |
1082 |
|
|
Summary: SQLite v2 database bindings for PHP |
1083 |
|
|
Group: Development/PHP |
1084 |
|
|
Requires: php-pdo >= %{epoch}:%{version} |
1085 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
1086 |
|
|
|
1087 |
|
|
%description sqlite |
1088 |
|
|
This is an extension for the SQLite Embeddable SQL Database Engine. SQLite is a |
1089 |
|
|
C library that implements an embeddable SQL database engine. Programs that link |
1090 |
|
|
with the SQLite library can have SQL database access without running a separate |
1091 |
|
|
RDBMS process. |
1092 |
|
|
|
1093 |
|
|
SQLite is not a client library used to connect to a big database server. SQLite |
1094 |
|
|
is the server. The SQLite library reads and writes directly to and from the |
1095 |
|
|
database files on disk. |
1096 |
|
|
|
1097 |
spuhler |
8300 |
%package sybase_ct |
1098 |
|
|
Summary: Sybase extension module for PHP |
1099 |
|
|
Group: Development/PHP |
1100 |
|
|
Obsoletes: php-sybase |
1101 |
|
|
Provides: php-sybase = %{epoch}:%{version} |
1102 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
1103 |
|
|
|
1104 |
|
|
%description sybase_ct |
1105 |
|
|
This is a dynamic shared object (DSO) for PHP that will add Sybase support to |
1106 |
|
|
PHP. |
1107 |
|
|
|
1108 |
|
|
%package sysvmsg |
1109 |
|
|
Summary: SysV msg extension module for PHP |
1110 |
|
|
Group: Development/PHP |
1111 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
1112 |
|
|
|
1113 |
|
|
%description sysvmsg |
1114 |
|
|
This is a dynamic shared object (DSO) for PHP that will add SysV message queues |
1115 |
|
|
support. |
1116 |
|
|
|
1117 |
|
|
%package sysvsem |
1118 |
|
|
Summary: SysV sem extension module for PHP |
1119 |
|
|
Group: Development/PHP |
1120 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
1121 |
|
|
|
1122 |
|
|
%description sysvsem |
1123 |
|
|
This is a dynamic shared object (DSO) for PHP that will add SysV semaphores |
1124 |
|
|
support. |
1125 |
|
|
|
1126 |
|
|
%package sysvshm |
1127 |
|
|
Summary: SysV shm extension module for PHP |
1128 |
|
|
Group: Development/PHP |
1129 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
1130 |
|
|
|
1131 |
|
|
%description sysvshm |
1132 |
|
|
This is a dynamic shared object (DSO) for PHP that will add SysV Shared Memory |
1133 |
|
|
support. |
1134 |
|
|
|
1135 |
|
|
%package tidy |
1136 |
|
|
Summary: Tidy HTML Repairing and Parsing for PHP |
1137 |
|
|
Group: Development/PHP |
1138 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
1139 |
|
|
|
1140 |
|
|
%description tidy |
1141 |
|
|
Tidy is a binding for the Tidy HTML clean and repair utility which allows you |
1142 |
|
|
to not only clean and otherwise manipluate HTML documents, but also traverse |
1143 |
|
|
the document tree using the Zend Engine 2 OO semantics. |
1144 |
|
|
|
1145 |
|
|
%package tokenizer |
1146 |
|
|
Summary: Tokenizer extension module for PHP |
1147 |
|
|
Group: Development/PHP |
1148 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
1149 |
|
|
|
1150 |
|
|
%description tokenizer |
1151 |
|
|
This is a dynamic shared object (DSO) for PHP that will add Tokenizer support. |
1152 |
|
|
|
1153 |
|
|
The tokenizer functions provide an interface to the PHP tokenizer embedded in |
1154 |
|
|
the Zend Engine. Using these functions you may write your own PHP source |
1155 |
|
|
analyzing or modification tools without having to deal with the language |
1156 |
|
|
specification at the lexical level. |
1157 |
|
|
|
1158 |
|
|
%package xml |
1159 |
|
|
Summary: XML extension module for PHP |
1160 |
|
|
Group: Development/PHP |
1161 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
1162 |
|
|
|
1163 |
|
|
%description xml |
1164 |
|
|
This is a dynamic shared object (DSO) for PHP that will add XML support. This |
1165 |
|
|
extension lets you create XML parsers and then define handlers for different |
1166 |
|
|
XML events. |
1167 |
|
|
|
1168 |
|
|
%package xmlreader |
1169 |
|
|
Summary: Xmlreader extension module for PHP |
1170 |
|
|
Group: Development/PHP |
1171 |
|
|
Requires: php-dom |
1172 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
1173 |
|
|
|
1174 |
|
|
%description xmlreader |
1175 |
|
|
XMLReader represents a reader that provides non-cached, forward-only access to |
1176 |
|
|
XML data. It is based upon the xmlTextReader api from libxml |
1177 |
|
|
|
1178 |
|
|
%package xmlrpc |
1179 |
|
|
Summary: Xmlrpc extension module for PHP |
1180 |
|
|
Group: Development/PHP |
1181 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
1182 |
|
|
|
1183 |
|
|
%description xmlrpc |
1184 |
|
|
This is a dynamic shared object (DSO) for PHP that will add XMLRPC support. |
1185 |
|
|
|
1186 |
|
|
These functions can be used to write XML-RPC servers and clients. You can find |
1187 |
|
|
more information about XML-RPC at http://www.xmlrpc.com/, and more |
1188 |
|
|
documentation on this extension and its functions at |
1189 |
|
|
http://xmlrpc-epi.sourceforge.net/. |
1190 |
|
|
|
1191 |
|
|
%package xmlwriter |
1192 |
|
|
Summary: Provides fast, non-cached, forward-only means to write XML data |
1193 |
|
|
Group: Development/PHP |
1194 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
1195 |
|
|
|
1196 |
|
|
%description xmlwriter |
1197 |
|
|
This extension wraps the libxml xmlWriter API. Represents a writer that |
1198 |
|
|
provides a non-cached, forward-only means of generating streams or files |
1199 |
|
|
containing XML data. |
1200 |
|
|
|
1201 |
|
|
%package xsl |
1202 |
|
|
Summary: Xsl extension module for PHP |
1203 |
|
|
Group: Development/PHP |
1204 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
1205 |
|
|
|
1206 |
|
|
%description xsl |
1207 |
|
|
This is a dynamic shared object (DSO) for PHP that will add xsl support. |
1208 |
|
|
|
1209 |
|
|
The XSL extension implements the XSL standard, performing XSLT transformations |
1210 |
|
|
using the libxslt library |
1211 |
|
|
|
1212 |
|
|
%package wddx |
1213 |
|
|
Summary: WDDX serialization functions |
1214 |
|
|
Group: Development/PHP |
1215 |
|
|
Requires: php-xml |
1216 |
|
|
Requires: %{libname} >= %{epoch}:%{version} |
1217 |
|
|
|
1218 |
|
|
%description wddx |
1219 |
|
|
This is a dynamic shared object (DSO) that adds wddx support to PHP. |
1220 |
|
|
|
1221 |
|
|
These functions are intended for work with WDDX (http://www.openwddx.org/) |
1222 |
|
|
|
1223 |
|
|
%package zip |
1224 |
|
|
Summary: A zip management extension for PHP |
1225 |
|
|
Group: Development/PHP |
1226 |
|
|
|
1227 |
|
|
%description zip |
1228 |
|
|
This is a dynamic shared object (DSO) for PHP that will add zip support to |
1229 |
|
|
create and read zip files using the libzip library. |
1230 |
|
|
|
1231 |
|
|
|
1232 |
|
|
%prep |
1233 |
|
|
|
1234 |
spuhler |
197187 |
%setup -q -n php-%{version} |
1235 |
spuhler |
8300 |
|
1236 |
|
|
# the ".droplet" suffix is here to nuke the backups later..., we don't want those in php-devel |
1237 |
spuhler |
184677 |
|
1238 |
spuhler |
8300 |
%patch0 -p0 -b .init.droplet |
1239 |
|
|
%patch1 -p1 -b .shared.droplet |
1240 |
fwang |
135031 |
%patch2 -p0 -b .autoconf26_check_revert.droplet |
1241 |
spuhler |
184677 |
%patch3 -p0 -b .libtool.droplet |
1242 |
guillomovitch |
189834 |
%patch4 -p0 -b .phpize.droplet |
1243 |
spuhler |
184677 |
%patch5 -p1 -b .phpbuilddir.droplet |
1244 |
|
|
%patch6 -p1 -b .apache2-filters.droplet |
1245 |
|
|
%patch7 -p0 -b .no_libedit.droplet |
1246 |
|
|
%patch8 -p0 -b .xmlrpc_epi_header |
1247 |
|
|
%patch9 -p0 -b .xmlrpc_no_rpath.droplet |
1248 |
|
|
%patch10 -p0 -b .really_external_sqlite2.droplet |
1249 |
|
|
%patch11 -p0 -b .bdb-5.2.droplet |
1250 |
|
|
|
1251 |
spuhler |
8300 |
##################################################################### |
1252 |
|
|
# Stolen from PLD |
1253 |
luigiwalser |
234676 |
##patch20 -p0 -b .mail.droplet |
1254 |
spuhler |
184677 |
%patch21 -p0 -b .filter-shared.droplet |
1255 |
|
|
%patch22 -p0 -b .dba-link.droplet |
1256 |
|
|
%patch23 -p0 -b .zlib-for-getimagesize.droplet |
1257 |
|
|
%patch24 -p1 -b .zlib.droplet |
1258 |
luigiwalser |
234676 |
%patch25 -p1 -b .external_libzip.droplet |
1259 |
spuhler |
184677 |
%patch26 -p0 -b .mcrypt-libs.droplet |
1260 |
|
|
# for kolab2 |
1261 |
|
|
%patch27 -p1 -b .imap-annotation.droplet |
1262 |
|
|
%patch28 -p1 -b .imap-myrights.droplet |
1263 |
|
|
# fpm stuff |
1264 |
|
|
%patch29 -p1 |
1265 |
|
|
%patch30 -p0 |
1266 |
spuhler |
8300 |
|
1267 |
spuhler |
184677 |
##################################################################### |
1268 |
spuhler |
8300 |
# stolen from debian |
1269 |
spuhler |
184677 |
%patch50 -p0 -b .session.save_path.droplet |
1270 |
|
|
%patch51 -p0 -b .exif_nesting_level.droplet |
1271 |
|
|
%patch52 -p0 -b .fix_broken_sha-2_test.droplet |
1272 |
spuhler |
8300 |
|
1273 |
|
|
##################################################################### |
1274 |
|
|
# Stolen from fedora |
1275 |
guillomovitch |
189834 |
%patch102 -p1 -b .install.droplet |
1276 |
spuhler |
8300 |
%patch112 -p1 -b .shutdown.droplet |
1277 |
guillomovitch |
189834 |
%patch115 -p1 -b .dlopen.droplet |
1278 |
spuhler |
8300 |
|
1279 |
|
|
# upstream fixes |
1280 |
|
|
%patch120 -p1 -b .tests-wddx.droplet |
1281 |
|
|
%patch121 -p0 -b .bug43221.droplet |
1282 |
|
|
%patch123 -p0 -b .bug43589.droplet |
1283 |
|
|
%patch224 -p0 -b .CVE-2005-3388.droplet |
1284 |
|
|
%patch226 -p0 -b .no-fvisibility_hidden.droplet |
1285 |
|
|
%patch227 -p0 -b .enchant_lib64_fix.droplet |
1286 |
|
|
%patch228 -p0 -b .xmlrpc-epi_fix.droplet |
1287 |
luigiwalser |
234742 |
%patch230 -p1 -b .func_arg.droplet |
1288 |
|
|
%patch231 -p0 -b .CVE-2012-2311.droplet |
1289 |
luigiwalser |
234676 |
|
1290 |
spuhler |
197187 |
%patch301 -p1 -b .suhosin.droplet |
1291 |
spuhler |
184677 |
%patch302 -p1 -b .no_egg.droplet |
1292 |
spuhler |
197187 |
%patch303 -p1 -b .mageia_logo.droplet |
1293 |
luigiwalser |
234676 |
%patch304 -p1 -b .aconf26x.droplet |
1294 |
spuhler |
8300 |
|
1295 |
spuhler |
197187 |
# nuke bogus checks because i fixed this years ago in our recode package |
1296 |
spuhler |
8300 |
rm -f ext/recode/config9.m4 |
1297 |
|
|
|
1298 |
|
|
# Change perms otherwise rpm would get fooled while finding requires |
1299 |
|
|
find -name "*.inc" | xargs chmod 644 |
1300 |
|
|
find -name "*.php*" | xargs chmod 644 |
1301 |
|
|
find -name "*README*" | xargs chmod 644 |
1302 |
|
|
|
1303 |
|
|
|
1304 |
spuhler |
197187 |
# make sure using system libs |
1305 |
spuhler |
8300 |
rm -rf ext/pcre/pcrelib |
1306 |
|
|
rm -rf ext/pdo_sqlite/sqlite |
1307 |
|
|
rm -rf ext/xmlrpc/libxmlrpc |
1308 |
|
|
|
1309 |
|
|
%build |
1310 |
|
|
%serverbuild |
1311 |
|
|
|
1312 |
spuhler |
184677 |
# it does not work with -fPIE and someone added that to the serverbuild macro... |
1313 |
|
|
CFLAGS=`echo $CFLAGS|sed -e 's|-fPIE||g'` |
1314 |
|
|
CXXFLAGS=`echo $CXXFLAGS|sed -e 's|-fPIE||g'` |
1315 |
|
|
|
1316 |
spuhler |
8300 |
#export CFLAGS="`echo ${CFLAGS} | sed s/O2/O0/` -fPIC -L%{_libdir} -fno-strict-aliasing" |
1317 |
|
|
export CFLAGS="${CFLAGS} -fPIC -L%{_libdir} -fno-strict-aliasing" |
1318 |
|
|
export CXXFLAGS="${CFLAGS}" |
1319 |
|
|
export RPM_OPT_FLAGS="${CFLAGS}" |
1320 |
|
|
|
1321 |
luigiwalser |
234676 |
#export PHP_AUTOCONF=autoconf-2.13 |
1322 |
spuhler |
8300 |
rm -f configure |
1323 |
fwang |
135031 |
rm -rf autom4te.cache |
1324 |
spuhler |
8300 |
./buildconf --force |
1325 |
|
|
|
1326 |
|
|
# Do this patch with a perl hack... |
1327 |
|
|
perl -pi -e "s|'\\\$install_libdir'|'%{_libdir}'|" ltmain.sh |
1328 |
|
|
|
1329 |
|
|
export oldstyleextdir=yes |
1330 |
|
|
export EXTENSION_DIR="%{_libdir}/php/extensions" |
1331 |
|
|
export PROG_SENDMAIL="%{_sbindir}/sendmail" |
1332 |
|
|
export GD_SHARED_LIBADD="$GD_SHARED_LIBADD -lm" |
1333 |
spuhler |
184677 |
SAFE_LDFLAGS=`echo %{ldflags}|sed -e 's|-Wl,--no-undefined||g'` |
1334 |
|
|
export LDFLAGS="$SAFE_LDFLAGS" |
1335 |
spuhler |
8300 |
|
1336 |
|
|
# never use "--disable-rpath", it does the opposite |
1337 |
|
|
|
1338 |
guillomovitch |
189747 |
# Shell function to configure and build a PHP tree. |
1339 |
|
|
build() { |
1340 |
|
|
ln -sf ../configure . |
1341 |
spuhler |
8300 |
./configure \ |
1342 |
|
|
--build=%{_build} \ |
1343 |
|
|
--prefix=%{_prefix} \ |
1344 |
|
|
--exec-prefix=%{_prefix} \ |
1345 |
|
|
--bindir=%{_bindir} \ |
1346 |
|
|
--sbindir=%{_sbindir} \ |
1347 |
|
|
--sysconfdir=%{_sysconfdir} \ |
1348 |
|
|
--datadir=%{_datadir} \ |
1349 |
|
|
--includedir=%{_includedir} \ |
1350 |
|
|
--libdir=%{_libdir} \ |
1351 |
|
|
--libexecdir=%{_libexecdir} \ |
1352 |
|
|
--localstatedir=/var/lib \ |
1353 |
|
|
--mandir=%{_mandir} \ |
1354 |
|
|
--enable-shared=yes \ |
1355 |
|
|
--enable-static=no \ |
1356 |
|
|
--with-libdir=%{_lib} \ |
1357 |
|
|
--with-config-file-path=%{_sysconfdir} \ |
1358 |
|
|
--with-config-file-scan-dir=%{_sysconfdir}/php.d \ |
1359 |
|
|
--disable-debug \ |
1360 |
|
|
--enable-inline-optimization \ |
1361 |
|
|
--with-exec-dir=%{_bindir} \ |
1362 |
|
|
--with-regex=system \ |
1363 |
|
|
--with-pcre-regex=%{_prefix} \ |
1364 |
guillomovitch |
189728 |
--with-freetype-dir=%{_prefix} \ |
1365 |
spuhler |
8300 |
--with-png-dir=%{_prefix} \ |
1366 |
|
|
--with-pdo-odbc=unixODBC \ |
1367 |
|
|
--enable-magic-quotes \ |
1368 |
|
|
--enable-safe-mode \ |
1369 |
|
|
--with-zlib=shared,%{_prefix} --with-zlib-dir=%{_prefix} \ |
1370 |
|
|
--with-openssl=shared,%{_prefix} \ |
1371 |
pterjan |
227746 |
--enable-libxml=shared --with-libxml-dir=%{_prefix} \ |
1372 |
spuhler |
8300 |
--enable-mod_charset \ |
1373 |
|
|
--without-pear \ |
1374 |
|
|
--enable-bcmath=shared \ |
1375 |
|
|
--with-bz2=shared,%{_prefix} \ |
1376 |
|
|
--enable-calendar=shared \ |
1377 |
|
|
--enable-ctype=shared \ |
1378 |
|
|
--with-curl=shared,%{_prefix} --without-curlwrappers \ |
1379 |
|
|
--enable-dba=shared --with-gdbm --with-db4 --with-cdb \ |
1380 |
guillomovitch |
189728 |
--enable-dom=shared,%{_prefix} \ |
1381 |
spuhler |
8300 |
--with-enchant=shared,%{_prefix} \ |
1382 |
|
|
--enable-exif=shared \ |
1383 |
|
|
--enable-fileinfo=shared \ |
1384 |
|
|
--enable-filter=shared --with-pcre-dir=%{_prefix} \ |
1385 |
|
|
--enable-intl=shared --with-icu-dir=%{_prefix} \ |
1386 |
|
|
--enable-json=shared \ |
1387 |
|
|
--with-openssl-dir=%{_prefix} --enable-ftp=shared \ |
1388 |
guillomovitch |
189728 |
--with-gd=shared,%{_prefix} --with-jpeg-dir=%{_prefix} --with-png-dir=%{_prefix} --with-xpm-dir=%{_prefix}/X11R6 --with-freetype-dir=%{_prefix} --enable-gd-native-ttf --with-t1lib=%{_prefix} \ |
1389 |
spuhler |
8300 |
--with-gettext=shared,%{_prefix} \ |
1390 |
|
|
--with-gmp=shared,%{_prefix} \ |
1391 |
|
|
--enable-hash=shared,%{_prefix} \ |
1392 |
|
|
--with-iconv=shared \ |
1393 |
|
|
--with-imap=shared,%{_prefix} --with-imap-ssl=%{_prefix} \ |
1394 |
|
|
--with-ldap=shared,%{_prefix} --with-ldap-sasl=%{_prefix} \ |
1395 |
|
|
--enable-mbstring=shared,%{_prefix} --enable-mbregex --with-libmbfl=%{_prefix} --with-onig=%{_prefix} \ |
1396 |
|
|
--with-mcrypt=shared,%{_prefix} \ |
1397 |
|
|
--with-mssql=shared,%{_prefix} \ |
1398 |
guillomovitch |
189728 |
--with-mysql=shared,%{_prefix} --with-mysql-sock=/var/lib/mysql/mysql.sock \ |
1399 |
spuhler |
8300 |
--with-mysqli=shared,%{_bindir}/mysql_config \ |
1400 |
spuhler |
184677 |
--enable-mysqlnd=shared,%{_prefix} \ |
1401 |
spuhler |
8300 |
--with-unixODBC=shared,%{_prefix} \ |
1402 |
|
|
--enable-pcntl=shared \ |
1403 |
|
|
--enable-pdo=shared,%{_prefix} --with-pdo-dblib=shared,%{_prefix} --with-pdo-mysql=shared,%{_prefix} --with-pdo-odbc=shared,unixODBC,%{_prefix} --with-pdo-pgsql=shared,%{_prefix} --with-pdo-sqlite=shared,%{_prefix} \ |
1404 |
|
|
--with-pgsql=shared,%{_prefix} \ |
1405 |
|
|
--enable-phar=shared \ |
1406 |
|
|
--enable-posix=shared \ |
1407 |
|
|
--with-readline=shared,%{_prefix} \ |
1408 |
|
|
--with-recode=shared,%{_prefix} \ |
1409 |
|
|
--enable-session=shared,%{_prefix} \ |
1410 |
|
|
--enable-shmop=shared,%{_prefix} \ |
1411 |
|
|
--enable-simplexml \ |
1412 |
|
|
--with-snmp=shared,%{_prefix} --enable-ucd-snmp-hack \ |
1413 |
guillomovitch |
189728 |
--enable-soap=shared,%{_prefix} \ |
1414 |
spuhler |
8300 |
--enable-sockets=shared,%{_prefix} \ |
1415 |
spuhler |
184677 |
--with-sqlite=shared,%{_prefix} \ |
1416 |
spuhler |
8300 |
--with-sqlite3=shared,%{_prefix} \ |
1417 |
|
|
--with-sybase-ct=shared,%{_prefix} \ |
1418 |
|
|
--enable-sysvmsg=shared,%{_prefix} \ |
1419 |
|
|
--enable-sysvsem=shared,%{_prefix} \ |
1420 |
|
|
--enable-sysvshm=shared,%{_prefix} \ |
1421 |
|
|
--with-tidy=shared,%{_prefix} \ |
1422 |
|
|
--enable-tokenizer=shared,%{_prefix} \ |
1423 |
guillomovitch |
189728 |
--enable-xml=shared,%{_prefix} \ |
1424 |
spuhler |
8300 |
--enable-xmlreader=shared,%{_prefix} \ |
1425 |
|
|
--with-xmlrpc=shared,%{_prefix} \ |
1426 |
|
|
--enable-xmlwriter=shared,%{_prefix} \ |
1427 |
|
|
--with-xsl=shared,%{_prefix} \ |
1428 |
guillomovitch |
189728 |
--enable-wddx=shared \ |
1429 |
guillomovitch |
189747 |
--enable-zip=shared --with-libzip=%{_prefix} \ |
1430 |
|
|
$* |
1431 |
spuhler |
8300 |
|
1432 |
guillomovitch |
189747 |
perl -pi -e "s|-prefer-non-pic -static||g" Makefile |
1433 |
spuhler |
8300 |
|
1434 |
guillomovitch |
189747 |
%make |
1435 |
|
|
} |
1436 |
spuhler |
8300 |
|
1437 |
guillomovitch |
189747 |
# multiple builds |
1438 |
spuhler |
8300 |
|
1439 |
guillomovitch |
189747 |
# fpm |
1440 |
|
|
mkdir build-fpm |
1441 |
|
|
pushd build-fpm |
1442 |
|
|
build --disable-cli --enable-fpm --with-fpm-user=apache --with-fpm-group=apache |
1443 |
|
|
popd |
1444 |
spuhler |
8300 |
|
1445 |
guillomovitch |
189747 |
# cgi |
1446 |
|
|
mkdir build-cgi |
1447 |
|
|
pushd build-cgi |
1448 |
|
|
build --disable-cli |
1449 |
|
|
popd |
1450 |
spuhler |
8300 |
|
1451 |
guillomovitch |
189747 |
# apache |
1452 |
|
|
mkdir build-apache |
1453 |
|
|
pushd build-apache |
1454 |
|
|
build --with-apxs2=%{_sbindir}/apxs |
1455 |
guillomovitch |
189879 |
|
1456 |
|
|
cp ../sapi/apache2handler/* . |
1457 |
|
|
%{_sbindir}/apxs -c \ |
1458 |
|
|
`apr-1-config --link-ld --libs` \ |
1459 |
|
|
`xml2-config --cflags` \ |
1460 |
|
|
-I .. -I ../main -I ../Zend -I ../TSRM \ |
1461 |
|
|
-I Zend -I TSRM -I main -I ext/date/lib \ |
1462 |
|
|
-lphp5_common \ |
1463 |
|
|
mod_php5.c \ |
1464 |
|
|
sapi_apache2.c \ |
1465 |
|
|
apache_config.c \ |
1466 |
|
|
php_functions.c \ |
1467 |
|
|
main/internal_functions.c |
1468 |
guillomovitch |
189747 |
popd |
1469 |
spuhler |
8300 |
|
1470 |
guillomovitch |
198248 |
|
1471 |
spuhler |
8300 |
%install |
1472 |
|
|
rm -rf %{buildroot} |
1473 |
|
|
|
1474 |
|
|
install -d %{buildroot}%{_libdir} |
1475 |
|
|
install -d %{buildroot}%{_bindir} |
1476 |
|
|
install -d %{buildroot}%{_sysconfdir}/php.d |
1477 |
|
|
install -d %{buildroot}%{_libdir}/php/extensions |
1478 |
guillomovitch |
189879 |
install -d %{buildroot}%{_libdir}/apache-extramodules |
1479 |
spuhler |
8300 |
install -d %{buildroot}%{_mandir}/man1 |
1480 |
|
|
install -d %{buildroot}%{_sysconfdir}/cron.d |
1481 |
|
|
install -d %{buildroot}/var/lib/php |
1482 |
guillomovitch |
198248 |
install -d %{buildroot}%{_datadir}/php |
1483 |
spuhler |
8300 |
|
1484 |
guillomovitch |
198248 |
|
1485 |
spuhler |
8300 |
#perl -pi -e "s|^libdir=.*|libdir='%{_libdir}'|g" .libs/*.la* |
1486 |
|
|
|
1487 |
guillomovitch |
189747 |
make -C build-apache install \ |
1488 |
|
|
INSTALL_ROOT=%{buildroot} \ |
1489 |
spuhler |
8300 |
INSTALL_IT="\$(LIBTOOL) --mode=install install libphp5_common.la %{buildroot}%{_libdir}/" \ |
1490 |
|
|
INSTALL_CLI="\$(LIBTOOL) --silent --mode=install install sapi/cli/php %{buildroot}%{_bindir}/php" |
1491 |
|
|
|
1492 |
guillomovitch |
189747 |
pushd build-cgi |
1493 |
spuhler |
8300 |
./libtool --silent --mode=install install sapi/cgi/php-cgi %{buildroot}%{_bindir}/php-cgi |
1494 |
guillomovitch |
189747 |
popd |
1495 |
spuhler |
8300 |
|
1496 |
|
|
# compat php-fcgi symink |
1497 |
|
|
ln -s php-cgi %{buildroot}%{_bindir}/php-fcgi |
1498 |
|
|
|
1499 |
|
|
|
1500 |
guillomovitch |
189747 |
pushd build-apache |
1501 |
spuhler |
8300 |
install -m0644 sapi/cli/php.1 %{buildroot}%{_mandir}/man1/ |
1502 |
|
|
install -m0644 scripts/man1/phpize.1 %{buildroot}%{_mandir}/man1/ |
1503 |
|
|
install -m0644 scripts/man1/php-config.1 %{buildroot}%{_mandir}/man1/ |
1504 |
guillomovitch |
189879 |
install -m0755 .libs/mod_php5.so %{buildroot}%{_libdir}/apache-extramodules/ |
1505 |
guillomovitch |
189747 |
popd |
1506 |
spuhler |
8300 |
|
1507 |
|
|
# fpm |
1508 |
|
|
install -d %{buildroot}%{_initrddir} |
1509 |
|
|
install -d %{buildroot}%{_sysconfdir}/logrotate.d |
1510 |
|
|
install -d %{buildroot}%{_sysconfdir}/sysconfig |
1511 |
|
|
install -d %{buildroot}%{_sysconfdir}/php-fpm.d |
1512 |
|
|
install -d %{buildroot}%{_sbindir} |
1513 |
|
|
install -d %{buildroot}%{_mandir}/man8 |
1514 |
|
|
install -d %{buildroot}/var/lib/php-fpm |
1515 |
|
|
install -d %{buildroot}/var/log/php-fpm |
1516 |
|
|
install -d %{buildroot}/var/run/php-fpm |
1517 |
|
|
# a small bug here... |
1518 |
|
|
echo "; place your config here" > %{buildroot}%{_sysconfdir}/php-fpm.d/default.conf |
1519 |
|
|
|
1520 |
guillomovitch |
189747 |
pushd build-fpm |
1521 |
spuhler |
8300 |
./libtool --silent --mode=install install sapi/fpm/php-fpm %{buildroot}%{_sbindir}/php-fpm |
1522 |
|
|
install -m0644 sapi/fpm/php-fpm.8 %{buildroot}%{_mandir}/man8/ |
1523 |
|
|
install -m0644 sapi/fpm/php-fpm.conf %{buildroot}%{_sysconfdir}/ |
1524 |
guillomovitch |
189747 |
install -m0755 %{SOURCE4} %{buildroot}%{_initrddir}/php-fpm |
1525 |
|
|
install -m0644 %{SOURCE5} %{buildroot}%{_sysconfdir}/sysconfig/php-fpm |
1526 |
|
|
install -m0644 %{SOURCE6} %{buildroot}%{_sysconfdir}/logrotate.d/php-fpm |
1527 |
|
|
popd |
1528 |
spuhler |
8300 |
|
1529 |
guillomovitch |
189879 |
install -d %{buildroot}%{_sysconfdir}/httpd/modules.d |
1530 |
|
|
|
1531 |
|
|
cat > %{buildroot}%{_sysconfdir}/httpd/modules.d/70_mod_php.conf <<EOF |
1532 |
|
|
<IfModule !mod_php5.c> |
1533 |
|
|
LoadModule php5_module extramodules/mod_php5.so |
1534 |
|
|
</IfModule> |
1535 |
|
|
|
1536 |
|
|
<IfModule mod_mime.c> |
1537 |
|
|
AddType application/x-httpd-php .php |
1538 |
|
|
AddType application/x-httpd-php .phtml |
1539 |
|
|
AddType application/x-httpd-php-source .phps |
1540 |
|
|
</IfModule> |
1541 |
|
|
|
1542 |
|
|
<IfModule mod_php5.c> |
1543 |
|
|
<IfModule mod_dir.c> |
1544 |
|
|
DirectoryIndex index.php index.phtml |
1545 |
|
|
</IfModule> |
1546 |
|
|
</IfModule> |
1547 |
|
|
EOF |
1548 |
|
|
|
1549 |
luigiwalser |
223830 |
# rpm filetrigger to reload httpd when installing/removing php extensions |
1550 |
|
|
install -d -m 755 %{buildroot}%{_localstatedir}/lib/rpm/filetriggers |
1551 |
|
|
cat > %{buildroot}%{_localstatedir}/lib/rpm/filetriggers/httpd-php.filter << EOF |
1552 |
luigiwalser |
224021 |
^.%{_libdir}/php/extensions/.*\.so$ |
1553 |
luigiwalser |
223830 |
EOF |
1554 |
|
|
cat > %{buildroot}%{_localstatedir}/lib/rpm/filetriggers/httpd-php.script << EOF |
1555 |
|
|
#!/bin/sh |
1556 |
|
|
service httpd reload 2>/dev/null || : |
1557 |
|
|
EOF |
1558 |
|
|
|
1559 |
|
|
|
1560 |
spuhler |
8300 |
# extensions |
1561 |
guillomovitch |
189721 |
echo "extension = openssl.so" > %{buildroot}%{_sysconfdir}/php.d/21_openssl.ini |
1562 |
spuhler |
8300 |
echo "extension = zlib.so" > %{buildroot}%{_sysconfdir}/php.d/21_zlib.ini |
1563 |
guillomovitch |
189721 |
echo "extension = bcmath.so" > %{buildroot}%{_sysconfdir}/php.d/66_bcmath.ini |
1564 |
spuhler |
8300 |
echo "extension = bz2.so" > %{buildroot}%{_sysconfdir}/php.d/10_bz2.ini |
1565 |
guillomovitch |
189721 |
echo "extension = calendar.so" > %{buildroot}%{_sysconfdir}/php.d/11_calendar.ini |
1566 |
spuhler |
8300 |
echo "extension = ctype.so" > %{buildroot}%{_sysconfdir}/php.d/12_ctype.ini |
1567 |
|
|
echo "extension = curl.so" > %{buildroot}%{_sysconfdir}/php.d/13_curl.ini |
1568 |
|
|
echo "extension = dba.so" > %{buildroot}%{_sysconfdir}/php.d/14_dba.ini |
1569 |
|
|
echo "extension = dom.so" > %{buildroot}%{_sysconfdir}/php.d/18_dom.ini |
1570 |
|
|
echo "extension = exif.so" > %{buildroot}%{_sysconfdir}/php.d/19_exif.ini |
1571 |
guillomovitch |
189721 |
echo "extension = filter.so" > %{buildroot}%{_sysconfdir}/php.d/81_filter.ini |
1572 |
spuhler |
8300 |
echo "extension = ftp.so" > %{buildroot}%{_sysconfdir}/php.d/22_ftp.ini |
1573 |
|
|
echo "extension = gd.so" > %{buildroot}%{_sysconfdir}/php.d/23_gd.ini |
1574 |
guillomovitch |
189721 |
echo "extension = gettext.so" > %{buildroot}%{_sysconfdir}/php.d/24_gettext.ini |
1575 |
spuhler |
8300 |
echo "extension = gmp.so" > %{buildroot}%{_sysconfdir}/php.d/25_gmp.ini |
1576 |
|
|
echo "extension = hash.so" > %{buildroot}%{_sysconfdir}/php.d/54_hash.ini |
1577 |
|
|
echo "extension = iconv.so" > %{buildroot}%{_sysconfdir}/php.d/26_iconv.ini |
1578 |
|
|
echo "extension = imap.so" > %{buildroot}%{_sysconfdir}/php.d/27_imap.ini |
1579 |
|
|
echo "extension = intl.so" > %{buildroot}%{_sysconfdir}/php.d/27_intl.ini |
1580 |
|
|
echo "extension = ldap.so" > %{buildroot}%{_sysconfdir}/php.d/28_ldap.ini |
1581 |
guillomovitch |
189721 |
echo "extension = mbstring.so" > %{buildroot}%{_sysconfdir}/php.d/29_mbstring.ini |
1582 |
|
|
echo "extension = mcrypt.so" > %{buildroot}%{_sysconfdir}/php.d/30_mcrypt.ini |
1583 |
|
|
echo "extension = fileinfo.so" > %{buildroot}%{_sysconfdir}/php.d/32_fileinfo.ini |
1584 |
spuhler |
8300 |
echo "extension = mssql.so" > %{buildroot}%{_sysconfdir}/php.d/35_mssql.ini |
1585 |
|
|
echo "extension = mysql.so" > %{buildroot}%{_sysconfdir}/php.d/36_mysql.ini |
1586 |
guillomovitch |
189721 |
echo "extension = mysqli.so" > %{buildroot}%{_sysconfdir}/php.d/37_mysqli.ini |
1587 |
|
|
echo "extension = enchant.so" > %{buildroot}%{_sysconfdir}/php.d/38_enchant.ini |
1588 |
spuhler |
8300 |
echo "extension = odbc.so" > %{buildroot}%{_sysconfdir}/php.d/39_odbc.ini |
1589 |
|
|
echo "extension = pcntl.so" > %{buildroot}%{_sysconfdir}/php.d/40_pcntl.ini |
1590 |
|
|
echo "extension = pdo.so" > %{buildroot}%{_sysconfdir}/php.d/70_pdo.ini |
1591 |
guillomovitch |
189721 |
echo "extension = pdo_dblib.so" > %{buildroot}%{_sysconfdir}/php.d/71_pdo_dblib.ini |
1592 |
|
|
echo "extension = pdo_mysql.so" > %{buildroot}%{_sysconfdir}/php.d/73_pdo_mysql.ini |
1593 |
|
|
echo "extension = pdo_odbc.so" > %{buildroot}%{_sysconfdir}/php.d/75_pdo_odbc.ini |
1594 |
|
|
echo "extension = pdo_pgsql.so" > %{buildroot}%{_sysconfdir}/php.d/76_pdo_pgsql.ini |
1595 |
|
|
echo "extension = pdo_sqlite.so"> %{buildroot}%{_sysconfdir}/php.d/77_pdo_sqlite.ini |
1596 |
|
|
echo "extension = mysqlnd.so" > %{buildroot}%{_sysconfdir}/php.d/78_mysqlnd.ini |
1597 |
spuhler |
8300 |
echo "extension = pgsql.so" > %{buildroot}%{_sysconfdir}/php.d/42_pgsql.ini |
1598 |
|
|
echo "extension = posix.so" > %{buildroot}%{_sysconfdir}/php.d/43_posix.ini |
1599 |
spuhler |
214988 |
# echo "extension = pspell.so" > %{buildroot}%{_sysconfdir}/php.d/44_pspell.ini |
1600 |
guillomovitch |
189721 |
echo "extension = readline.so" > %{buildroot}%{_sysconfdir}/php.d/45_readline.ini |
1601 |
|
|
echo "extension = recode.so" > %{buildroot}%{_sysconfdir}/php.d/46_recode.ini |
1602 |
|
|
echo "extension = session.so" > %{buildroot}%{_sysconfdir}/php.d/47_session.ini |
1603 |
spuhler |
8300 |
echo "extension = shmop.so" > %{buildroot}%{_sysconfdir}/php.d/48_shmop.ini |
1604 |
|
|
echo "extension = snmp.so" > %{buildroot}%{_sysconfdir}/php.d/50_snmp.ini |
1605 |
|
|
echo "extension = soap.so" > %{buildroot}%{_sysconfdir}/php.d/51_soap.ini |
1606 |
guillomovitch |
189721 |
echo "extension = sockets.so" > %{buildroot}%{_sysconfdir}/php.d/52_sockets.ini |
1607 |
|
|
echo "extension = sqlite.so" > %{buildroot}%{_sysconfdir}/php.d/78_sqlite.ini |
1608 |
|
|
echo "extension = sqlite3.so" > %{buildroot}%{_sysconfdir}/php.d/78_sqlite3.ini |
1609 |
|
|
echo "extension = sybase_ct.so" > %{buildroot}%{_sysconfdir}/php.d/46_sybase_ct.ini |
1610 |
|
|
echo "extension = sysvmsg.so" > %{buildroot}%{_sysconfdir}/php.d/56_sysvmsg.ini |
1611 |
|
|
echo "extension = sysvsem.so" > %{buildroot}%{_sysconfdir}/php.d/57_sysvsem.ini |
1612 |
|
|
echo "extension = sysvshm.so" > %{buildroot}%{_sysconfdir}/php.d/58_sysvshm.ini |
1613 |
spuhler |
8300 |
echo "extension = tidy.so" > %{buildroot}%{_sysconfdir}/php.d/59_tidy.ini |
1614 |
guillomovitch |
189721 |
echo "extension = tokenizer.so" > %{buildroot}%{_sysconfdir}/php.d/60_tokenizer.ini |
1615 |
spuhler |
8300 |
echo "extension = xml.so" > %{buildroot}%{_sysconfdir}/php.d/62_xml.ini |
1616 |
guillomovitch |
189721 |
echo "extension = xmlreader.so" > %{buildroot}%{_sysconfdir}/php.d/63_xmlreader.ini |
1617 |
|
|
echo "extension = xmlrpc.so" > %{buildroot}%{_sysconfdir}/php.d/62_xmlrpc.ini |
1618 |
|
|
echo "extension = xmlwriter.so" > %{buildroot}%{_sysconfdir}/php.d/64_xmlwriter.ini |
1619 |
spuhler |
8300 |
echo "extension = xsl.so" > %{buildroot}%{_sysconfdir}/php.d/63_xsl.ini |
1620 |
|
|
echo "extension = wddx.so" > %{buildroot}%{_sysconfdir}/php.d/63_wddx.ini |
1621 |
|
|
echo "extension = json.so" > %{buildroot}%{_sysconfdir}/php.d/82_json.ini |
1622 |
|
|
echo "extension = zip.so" > %{buildroot}%{_sysconfdir}/php.d/83_zip.ini |
1623 |
|
|
echo "extension = phar.so" > %{buildroot}%{_sysconfdir}/php.d/84_phar.ini |
1624 |
|
|
|
1625 |
guillomovitch |
189747 |
install -m0755 %{SOURCE2} %{buildroot}%{_libdir}/php/maxlifetime |
1626 |
|
|
install -m0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/cron.d/php |
1627 |
guillomovitch |
198248 |
install -m0644 %{SOURCE7} %{buildroot}%{_sysconfdir}/php.ini |
1628 |
|
|
install -m0644 %{SOURCE7} %{buildroot}%{_sysconfdir}/php-cgi-fcgi.ini |
1629 |
spuhler |
8300 |
|
1630 |
guillomovitch |
198248 |
perl -pi -e "s|/usr/lib|%{_libdir}|" \ |
1631 |
|
|
%{buildroot}%{_sysconfdir}/cron.d/php \ |
1632 |
|
|
%{buildroot}%{_sysconfdir}/php.ini \ |
1633 |
|
|
%{buildroot}%{_sysconfdir}/php-cgi-fcgi.ini |
1634 |
|
|
|
1635 |
|
|
# install doc manually in %{_docdir}/php, rather than %{_docdir}/php-doc |
1636 |
|
|
install -d -m 755 %{buildroot}%{_docdir}/php |
1637 |
|
|
install -m 644 \ |
1638 |
|
|
CREDITS INSTALL LICENSE NEWS \ |
1639 |
|
|
php.ini-production php.ini-development \ |
1640 |
|
|
README.PHP4-TO-PHP5-THIN-CHANGES README.EXTENSIONS README.EXT_SKEL \ |
1641 |
|
|
README.input_filter README.PARAMETER_PARSING_API README.STREAMS \ |
1642 |
|
|
%{buildroot}%{_docdir}/php |
1643 |
|
|
install -m 644 Zend/LICENSE %{buildroot}%{_docdir}/php/ZEND_LICENSE |
1644 |
|
|
install -m 644 ext/openssl/README %{buildroot}%{_docdir}/php/README.openssl |
1645 |
|
|
install -m 644 ext/spl/README %{buildroot}%{_docdir}/php/README.spl |
1646 |
|
|
install -m 644 ext/libxml/CREDITS %{buildroot}%{_docdir}/php/CREDITS.libxml |
1647 |
|
|
install -m 644 ext/zlib/CREDITS %{buildroot}%{_docdir}/php/CREDITS.zlib |
1648 |
|
|
|
1649 |
spuhler |
8300 |
cp README.SELF-CONTAINED-EXTENSIONS SELF-CONTAINED-EXTENSIONS |
1650 |
|
|
|
1651 |
|
|
# cgi docs |
1652 |
|
|
cp sapi/cgi/CREDITS CREDITS.cgi |
1653 |
|
|
cp sapi/cgi/README.FastCGI README.fcgi |
1654 |
|
|
|
1655 |
|
|
# cli docs |
1656 |
|
|
cp sapi/cli/CREDITS CREDITS.cli |
1657 |
|
|
cp sapi/cli/README README.cli |
1658 |
|
|
cp sapi/cli/TODO TODO.cli |
1659 |
|
|
|
1660 |
|
|
# phar fixes |
1661 |
|
|
if [ -L %{buildroot}%{_bindir}/phar ]; then |
1662 |
|
|
rm -f %{buildroot}%{_bindir}/phar |
1663 |
|
|
mv %{buildroot}%{_bindir}/phar.phar %{buildroot}%{_bindir}/phar |
1664 |
|
|
fi |
1665 |
|
|
|
1666 |
|
|
# house cleaning |
1667 |
|
|
rm -f %{buildroot}%{_bindir}/pear |
1668 |
spuhler |
184677 |
rm -f %{buildroot}%{_libdir}/*.*a |
1669 |
spuhler |
8300 |
|
1670 |
guillomovitch |
189721 |
|
1671 |
|
|
# php-devel |
1672 |
|
|
install -d %{buildroot}%{_usrsrc}/php-devel |
1673 |
|
|
|
1674 |
|
|
install -m0644 run-tests*.php %{buildroot}%{_usrsrc}/php-devel/ |
1675 |
guillomovitch |
189747 |
install -m0644 build-apache/main/internal_functions.c %{buildroot}%{_usrsrc}/php-devel/ |
1676 |
guillomovitch |
189721 |
|
1677 |
|
|
cat > %{buildroot}%{_usrsrc}/php-devel/buildext <<EOF |
1678 |
|
|
#!/bin/bash |
1679 |
|
|
gcc -Wall -fPIC -shared $CFLAGS \\ |
1680 |
|
|
-I. \`%{_bindir}/php-config --includes\` \\ |
1681 |
|
|
-I%{_includedir}/libxml2 \\ |
1682 |
|
|
-I%{_includedir}/freetype \\ |
1683 |
|
|
-I%{_includedir}/openssl \\ |
1684 |
|
|
-I%{_usrsrc}/php-devel/ext \\ |
1685 |
|
|
-I%{_includedir}/\$1 \\ |
1686 |
|
|
\$4 \$2 -o \$1.so \$3 -lc |
1687 |
|
|
EOF |
1688 |
|
|
chmod 755 %{buildroot}%{_usrsrc}/php-devel/buildext |
1689 |
|
|
|
1690 |
|
|
# Install test files in php-devel |
1691 |
|
|
cp -a tests %{buildroot}%{_usrsrc}/php-devel |
1692 |
|
|
|
1693 |
|
|
cp -a ext %{buildroot}%{_usrsrc}/php-devel/extensions/ |
1694 |
|
|
ln -snf extensions %{buildroot}%{_usrsrc}/php-devel/ext |
1695 |
|
|
|
1696 |
|
|
rm -f %{buildroot}%{_usrsrc}/php-devel/extensions/informix/stub.c |
1697 |
|
|
rm -f %{buildroot}%{_usrsrc}/php-devel/extensions/standard/.deps |
1698 |
|
|
rm -f %{buildroot}%{_usrsrc}/php-devel/extensions/skeleton/EXPERIMENTAL |
1699 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/com_dotnet |
1700 |
spuhler |
8300 |
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/bcmath |
1701 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/bz2 |
1702 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/calendar |
1703 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/ctype |
1704 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/curl |
1705 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/dba |
1706 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/dom |
1707 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/enchant |
1708 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/ereg |
1709 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/exif |
1710 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/fileinfo |
1711 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/filter |
1712 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/ftp |
1713 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/gettext |
1714 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/gmp |
1715 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/hash |
1716 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/iconv |
1717 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/imap |
1718 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/intl |
1719 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/json |
1720 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/ldap |
1721 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/libxml |
1722 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/mbstring |
1723 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/mcrypt |
1724 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/mssql |
1725 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/mysql |
1726 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/mysqli |
1727 |
spuhler |
184677 |
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/mysqlnd |
1728 |
spuhler |
8300 |
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/odbc |
1729 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/openssl |
1730 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/pcntl |
1731 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/pcre |
1732 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/pdo |
1733 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/pdo_dblib |
1734 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/pdo_mysql |
1735 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/pdo_odbc |
1736 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/pdo_pgsql |
1737 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/pdo_sqlite |
1738 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/pgsql |
1739 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/phar |
1740 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/posix |
1741 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/pspell |
1742 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/readline |
1743 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/recode |
1744 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/shmop |
1745 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/snmp |
1746 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/soap |
1747 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/sockets |
1748 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/spl |
1749 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/sqlite |
1750 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/sqlite3 |
1751 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/standard |
1752 |
spuhler |
184677 |
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/sybase_ct |
1753 |
spuhler |
8300 |
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/sysvmsg |
1754 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/sysvsem |
1755 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/sysvshm |
1756 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/tidy |
1757 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/tokenizer |
1758 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/wddx |
1759 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/xml |
1760 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/xmlreader |
1761 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/xmlrpc |
1762 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/xmlwriter |
1763 |
|
|
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/xsl |
1764 |
spuhler |
184677 |
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/zip |
1765 |
spuhler |
8300 |
rm -rf %{buildroot}%{_usrsrc}/php-devel/extensions/zlib |
1766 |
|
|
|
1767 |
guillomovitch |
189721 |
# SAPI |
1768 |
|
|
cp -a sapi %{buildroot}%{_usrsrc}/php-devel/sapi/ |
1769 |
|
|
rm -f %{buildroot}%{_usrsrc}/php-devel/sapi/thttpd/stub.c |
1770 |
|
|
rm -f %{buildroot}%{_usrsrc}/php-devel/sapi/cgi/php.sym |
1771 |
|
|
rm -f %{buildroot}%{_usrsrc}/php-devel/sapi/fastcgi/php.sym |
1772 |
|
|
rm -f %{buildroot}%{_usrsrc}/php-devel/sapi/pi3web/php.sym |
1773 |
spuhler |
8300 |
|
1774 |
guillomovitch |
189721 |
# cleanup |
1775 |
|
|
find %{buildroot}%{_usrsrc}/php-devel -name "*.droplet" | xargs rm -f |
1776 |
|
|
find %{buildroot}%{_usrsrc}/php-devel -name "*.dsp" | xargs rm -f |
1777 |
|
|
find %{buildroot}%{_usrsrc}/php-devel -name "*.mak" | xargs rm -f |
1778 |
|
|
find %{buildroot}%{_usrsrc}/php-devel -name "*.w32" | xargs rm -f |
1779 |
|
|
find %{buildroot}%{_usrsrc}/php-devel -type f -size 0 | xargs rm -f |
1780 |
|
|
|
1781 |
spuhler |
8300 |
# fix one strange weirdo |
1782 |
|
|
%{__perl} -pi -e "s|^libdir=.*|libdir='%{_libdir}'|g" %{buildroot}%{_libdir}/*.la |
1783 |
|
|
|
1784 |
|
|
%multiarch_includes %{buildroot}%{_includedir}/php/main/build-defs.h |
1785 |
|
|
%multiarch_includes %{buildroot}%{_includedir}/php/main/php_config.h |
1786 |
|
|
|
1787 |
|
|
%if %{build_test} |
1788 |
guillomovitch |
189747 |
cd build-apache |
1789 |
|
|
cp ../run-tests.php . |
1790 |
|
|
cp -r ../tests . |
1791 |
|
|
cp %{SOURCE1} php-test.ini |
1792 |
|
|
|
1793 |
spuhler |
8300 |
export NO_INTERACTION=1 |
1794 |
|
|
export PHPRC="." |
1795 |
|
|
export REPORT_EXIT_STATUS=2 |
1796 |
|
|
export TEST_PHP_DETAILED=0 |
1797 |
|
|
export TEST_PHP_ERROR_STYLE=EMACS |
1798 |
|
|
export TEST_PHP_LOG_FORMAT=LEODC |
1799 |
guillomovitch |
189747 |
export TEST_PHP_EXECUTABLE=sapi/cli/php |
1800 |
spuhler |
8300 |
export PHP_INI_SCAN_DIR=/dev/null |
1801 |
|
|
|
1802 |
|
|
# FAILING TESTS: |
1803 |
|
|
# unknown errors with ext/date/tests/oo_002.phpt probably because of php-5.2.5-systzdata.patch |
1804 |
|
|
# http://bugs.php.net/bug.php?id=22414 (claimed to be fixed in 2003, but seems not) |
1805 |
|
|
# unknown errors with ext/standard/tests/general_functions/phpinfo.phpt |
1806 |
|
|
# unknown errors with ext/standard/tests/strings/setlocale_* |
1807 |
|
|
|
1808 |
guillomovitch |
189747 |
for f in \ |
1809 |
|
|
ext/date/tests/oo_002.phpt \ |
1810 |
|
|
ext/standard/tests/file/bug22414.phpt \ |
1811 |
|
|
ext/standard/tests/general_functions/phpinfo.phpt \ |
1812 |
|
|
ext/standard/tests/strings/setlocale_basic1.phpt \ |
1813 |
|
|
ext/standard/tests/strings/setlocale_basic2.phpt \ |
1814 |
|
|
ext/standard/tests/strings/setlocale_basic3.phpt \ |
1815 |
|
|
ext/standard/tests/strings/setlocale_variation1.phpt \ |
1816 |
|
|
ext/standard/tests/strings/setlocale_variation3.phpt \ |
1817 |
|
|
ext/standard/tests/strings/setlocale_variation4.phpt \ |
1818 |
|
|
ext/standard/tests/strings/setlocale_variation5.phpt; do |
1819 |
|
|
[[ -f "$f" ]] && mv $f $f.disabled |
1820 |
spuhler |
8300 |
done |
1821 |
|
|
|
1822 |
guillomovitch |
189747 |
sapi/cli/php -c ./php-test.ini run-tests.php |
1823 |
spuhler |
8300 |
%endif |
1824 |
|
|
|
1825 |
guillomovitch |
189937 |
%post fpm |
1826 |
|
|
%_post_service php-fpm |
1827 |
|
|
|
1828 |
|
|
%preun fpm |
1829 |
|
|
%_preun_service php-fpm |
1830 |
|
|
|
1831 |
|
|
|
1832 |
guillomovitch |
198248 |
%files ini |
1833 |
|
|
%{_docdir}/php |
1834 |
|
|
%config(noreplace) %{_sysconfdir}/php.ini |
1835 |
|
|
%config(noreplace) %{_sysconfdir}/php-cgi-fcgi.ini |
1836 |
|
|
%dir %{_sysconfdir}/php.d |
1837 |
|
|
%dir %{_libdir}/php |
1838 |
|
|
%dir %{_datadir}/php |
1839 |
|
|
%dir %{_libdir}/php/extensions |
1840 |
spuhler |
8300 |
|
1841 |
|
|
%files -n %{libname} |
1842 |
|
|
%{_libdir}/libphp5_common.so.%{php5_common_major}* |
1843 |
|
|
|
1844 |
|
|
%files cli |
1845 |
|
|
%doc CREDITS.cli README.cli TODO.cli |
1846 |
guillomovitch |
189702 |
%{_bindir}/php |
1847 |
|
|
%{_mandir}/man1/php.1* |
1848 |
spuhler |
8300 |
|
1849 |
|
|
%files cgi |
1850 |
|
|
%doc CREDITS.cgi README.fcgi |
1851 |
guillomovitch |
189702 |
%{_bindir}/php-cgi |
1852 |
|
|
%{_bindir}/php-fcgi |
1853 |
spuhler |
8300 |
|
1854 |
guillomovitch |
189703 |
%files fpm |
1855 |
|
|
%doc sapi/fpm/CREDITS sapi/fpm/LICENSE |
1856 |
|
|
%{_initrddir}/php-fpm |
1857 |
|
|
%config(noreplace) %{_sysconfdir}/php-fpm.conf |
1858 |
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/php-fpm |
1859 |
|
|
%{_sysconfdir}/logrotate.d/php-fpm |
1860 |
|
|
%dir %{_sysconfdir}/php-fpm.d |
1861 |
|
|
%config(noreplace) %{_sysconfdir}/php-fpm.d/default.conf |
1862 |
|
|
%{_sbindir}/php-fpm |
1863 |
|
|
%{_mandir}/man8/php-fpm.8* |
1864 |
|
|
%attr(0711,apache,apache) %dir /var/lib/php-fpm |
1865 |
|
|
%attr(0711,apache,apache) %dir /var/log/php-fpm |
1866 |
|
|
%attr(0711,apache,apache) %dir /var/run/php-fpm |
1867 |
|
|
|
1868 |
guillomovitch |
189879 |
%files -n apache-mod_php |
1869 |
|
|
%config(noreplace) %{_sysconfdir}/httpd/modules.d/70_mod_php.conf |
1870 |
|
|
%{_libdir}/apache-extramodules/mod_php5.so |
1871 |
luigiwalser |
223830 |
%{_localstatedir}/lib/rpm/filetriggers/httpd-php.filter |
1872 |
|
|
%attr(0755,root,root) %{_localstatedir}/lib/rpm/filetriggers/httpd-php.script |
1873 |
guillomovitch |
189879 |
|
1874 |
spuhler |
8300 |
%files devel |
1875 |
|
|
%doc SELF-CONTAINED-EXTENSIONS CODING_STANDARDS README.* TODO EXTENSIONS |
1876 |
|
|
%doc Zend/ZEND_* README.TESTING* |
1877 |
guillomovitch |
189702 |
%{_bindir}/php-config |
1878 |
|
|
%{_bindir}/phpize |
1879 |
|
|
%{_libdir}/libphp5_common.so |
1880 |
spuhler |
8300 |
%{_libdir}/php/build |
1881 |
|
|
%{_usrsrc}/php-devel |
1882 |
spuhler |
184677 |
%{multiarch_includedir}/php/main/build-defs.h |
1883 |
|
|
%{multiarch_includedir}/php/main/php_config.h |
1884 |
spuhler |
8300 |
%{_includedir}/php |
1885 |
guillomovitch |
189702 |
%{_mandir}/man1/php-config.1* |
1886 |
|
|
%{_mandir}/man1/phpize.1* |
1887 |
spuhler |
8300 |
|
1888 |
|
|
%files openssl |
1889 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/21_openssl.ini |
1890 |
|
|
%{_libdir}/php/extensions/openssl.so |
1891 |
spuhler |
8300 |
|
1892 |
|
|
%files zlib |
1893 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/21_zlib.ini |
1894 |
|
|
%{_libdir}/php/extensions/zlib.so |
1895 |
spuhler |
8300 |
|
1896 |
|
|
%files bcmath |
1897 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/66_bcmath.ini |
1898 |
|
|
%{_libdir}/php/extensions/bcmath.so |
1899 |
spuhler |
8300 |
|
1900 |
|
|
%files bz2 |
1901 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/10_bz2.ini |
1902 |
|
|
%{_libdir}/php/extensions/bz2.so |
1903 |
spuhler |
8300 |
|
1904 |
|
|
%files calendar |
1905 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/11_calendar.ini |
1906 |
|
|
%{_libdir}/php/extensions/calendar.so |
1907 |
spuhler |
8300 |
|
1908 |
|
|
%files ctype |
1909 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/12_ctype.ini |
1910 |
|
|
%{_libdir}/php/extensions/ctype.so |
1911 |
spuhler |
8300 |
|
1912 |
|
|
%files curl |
1913 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/13_curl.ini |
1914 |
|
|
%{_libdir}/php/extensions/curl.so |
1915 |
spuhler |
8300 |
|
1916 |
|
|
%files dba |
1917 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/14_dba.ini |
1918 |
|
|
%{_libdir}/php/extensions/dba.so |
1919 |
spuhler |
8300 |
|
1920 |
|
|
%files dom |
1921 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/18_dom.ini |
1922 |
|
|
%{_libdir}/php/extensions/dom.so |
1923 |
spuhler |
8300 |
|
1924 |
|
|
%files enchant |
1925 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/38_enchant.ini |
1926 |
|
|
%{_libdir}/php/extensions/enchant.so |
1927 |
spuhler |
8300 |
|
1928 |
|
|
%files exif |
1929 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/19_exif.ini |
1930 |
|
|
%{_libdir}/php/extensions/exif.so |
1931 |
spuhler |
8300 |
|
1932 |
|
|
%files fileinfo |
1933 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/32_fileinfo.ini |
1934 |
|
|
%{_libdir}/php/extensions/fileinfo.so |
1935 |
spuhler |
8300 |
|
1936 |
|
|
%files filter |
1937 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/81_filter.ini |
1938 |
|
|
%{_libdir}/php/extensions/filter.so |
1939 |
spuhler |
8300 |
|
1940 |
|
|
%files ftp |
1941 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/22_ftp.ini |
1942 |
|
|
%{_libdir}/php/extensions/ftp.so |
1943 |
spuhler |
8300 |
|
1944 |
|
|
%files gd |
1945 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/23_gd.ini |
1946 |
|
|
%{_libdir}/php/extensions/gd.so |
1947 |
spuhler |
8300 |
|
1948 |
|
|
%files gettext |
1949 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/24_gettext.ini |
1950 |
|
|
%{_libdir}/php/extensions/gettext.so |
1951 |
spuhler |
8300 |
|
1952 |
|
|
%files gmp |
1953 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/25_gmp.ini |
1954 |
|
|
%{_libdir}/php/extensions/gmp.so |
1955 |
spuhler |
8300 |
|
1956 |
|
|
%files hash |
1957 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/54_hash.ini |
1958 |
|
|
%{_libdir}/php/extensions/hash.so |
1959 |
spuhler |
8300 |
|
1960 |
|
|
%files iconv |
1961 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/26_iconv.ini |
1962 |
|
|
%{_libdir}/php/extensions/iconv.so |
1963 |
spuhler |
8300 |
|
1964 |
|
|
%files imap |
1965 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/27_imap.ini |
1966 |
|
|
%{_libdir}/php/extensions/imap.so |
1967 |
spuhler |
8300 |
|
1968 |
|
|
%files intl |
1969 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/27_intl.ini |
1970 |
|
|
%{_libdir}/php/extensions/intl.so |
1971 |
spuhler |
8300 |
|
1972 |
|
|
%files json |
1973 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/82_json.ini |
1974 |
|
|
%{_libdir}/php/extensions/json.so |
1975 |
spuhler |
8300 |
|
1976 |
|
|
%files ldap |
1977 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/28_ldap.ini |
1978 |
|
|
%{_libdir}/php/extensions/ldap.so |
1979 |
spuhler |
8300 |
|
1980 |
|
|
%files mbstring |
1981 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/29_mbstring.ini |
1982 |
|
|
%{_libdir}/php/extensions/mbstring.so |
1983 |
spuhler |
8300 |
|
1984 |
|
|
%files mcrypt |
1985 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/30_mcrypt.ini |
1986 |
|
|
%{_libdir}/php/extensions/mcrypt.so |
1987 |
spuhler |
8300 |
|
1988 |
|
|
%files mssql |
1989 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/35_mssql.ini |
1990 |
|
|
%{_libdir}/php/extensions/mssql.so |
1991 |
spuhler |
8300 |
|
1992 |
|
|
%files mysql |
1993 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/36_mysql.ini |
1994 |
|
|
%{_libdir}/php/extensions/mysql.so |
1995 |
spuhler |
8300 |
|
1996 |
|
|
%files mysqli |
1997 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/37_mysqli.ini |
1998 |
|
|
%{_libdir}/php/extensions/mysqli.so |
1999 |
spuhler |
8300 |
|
2000 |
spuhler |
184677 |
%files mysqlnd |
2001 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/78_mysqlnd.ini |
2002 |
|
|
%{_libdir}/php/extensions/mysqlnd.so |
2003 |
spuhler |
184677 |
|
2004 |
spuhler |
8300 |
%files odbc |
2005 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/39_odbc.ini |
2006 |
|
|
%{_libdir}/php/extensions/odbc.so |
2007 |
spuhler |
8300 |
|
2008 |
|
|
%files pcntl |
2009 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/40_pcntl.ini |
2010 |
|
|
%{_libdir}/php/extensions/pcntl.so |
2011 |
spuhler |
8300 |
|
2012 |
|
|
%files pdo |
2013 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/70_pdo.ini |
2014 |
|
|
%{_libdir}/php/extensions/pdo.so |
2015 |
spuhler |
8300 |
|
2016 |
|
|
%files pdo_dblib |
2017 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/71_pdo_dblib.ini |
2018 |
|
|
%{_libdir}/php/extensions/pdo_dblib.so |
2019 |
spuhler |
8300 |
|
2020 |
|
|
%files pdo_mysql |
2021 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/73_pdo_mysql.ini |
2022 |
|
|
%{_libdir}/php/extensions/pdo_mysql.so |
2023 |
spuhler |
8300 |
|
2024 |
|
|
%files pdo_odbc |
2025 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/75_pdo_odbc.ini |
2026 |
|
|
%{_libdir}/php/extensions/pdo_odbc.so |
2027 |
spuhler |
8300 |
|
2028 |
|
|
%files pdo_pgsql |
2029 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/76_pdo_pgsql.ini |
2030 |
|
|
%{_libdir}/php/extensions/pdo_pgsql.so |
2031 |
spuhler |
8300 |
|
2032 |
|
|
%files pdo_sqlite |
2033 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/77_pdo_sqlite.ini |
2034 |
|
|
%{_libdir}/php/extensions/pdo_sqlite.so |
2035 |
spuhler |
8300 |
|
2036 |
|
|
%files pgsql |
2037 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/42_pgsql.ini |
2038 |
|
|
%{_libdir}/php/extensions/pgsql.so |
2039 |
spuhler |
8300 |
|
2040 |
|
|
%files phar |
2041 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/84_phar.ini |
2042 |
|
|
%{_libdir}/php/extensions/phar.so |
2043 |
|
|
%{_bindir}/phar |
2044 |
spuhler |
8300 |
|
2045 |
|
|
%files posix |
2046 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/43_posix.ini |
2047 |
|
|
%{_libdir}/php/extensions/posix.so |
2048 |
spuhler |
8300 |
|
2049 |
spuhler |
214988 |
#%files pspell |
2050 |
|
|
#%config(noreplace) %{_sysconfdir}/php.d/44_pspell.ini |
2051 |
|
|
#%{_libdir}/php/extensions/pspell.so |
2052 |
spuhler |
8300 |
|
2053 |
|
|
%files readline |
2054 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/45_readline.ini |
2055 |
|
|
%{_libdir}/php/extensions/readline.so |
2056 |
spuhler |
8300 |
|
2057 |
|
|
%files recode |
2058 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/46_recode.ini |
2059 |
|
|
%{_libdir}/php/extensions/recode.so |
2060 |
spuhler |
8300 |
|
2061 |
|
|
%files session |
2062 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/47_session.ini |
2063 |
|
|
%config(noreplace) %{_sysconfdir}/cron.d/php |
2064 |
|
|
%{_libdir}/php/extensions/session.so |
2065 |
|
|
%{_libdir}/php/maxlifetime |
2066 |
spuhler |
8300 |
%attr(01733,apache,apache) %dir /var/lib/php |
2067 |
|
|
|
2068 |
|
|
%files shmop |
2069 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/48_shmop.ini |
2070 |
|
|
%{_libdir}/php/extensions/shmop.so |
2071 |
spuhler |
8300 |
|
2072 |
|
|
%files snmp |
2073 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/50_snmp.ini |
2074 |
|
|
%{_libdir}/php/extensions/snmp.so |
2075 |
spuhler |
8300 |
|
2076 |
|
|
%files soap |
2077 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/51_soap.ini |
2078 |
|
|
%{_libdir}/php/extensions/soap.so |
2079 |
spuhler |
8300 |
|
2080 |
|
|
%files sockets |
2081 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/52_sockets.ini |
2082 |
|
|
%{_libdir}/php/extensions/sockets.so |
2083 |
spuhler |
8300 |
|
2084 |
spuhler |
184677 |
%files sqlite |
2085 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/78_sqlite.ini |
2086 |
|
|
%{_libdir}/php/extensions/sqlite.so |
2087 |
spuhler |
184677 |
|
2088 |
spuhler |
8300 |
%files sqlite3 |
2089 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/78_sqlite3.ini |
2090 |
|
|
%{_libdir}/php/extensions/sqlite3.so |
2091 |
spuhler |
8300 |
|
2092 |
|
|
%files sybase_ct |
2093 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/46_sybase_ct.ini |
2094 |
|
|
%{_libdir}/php/extensions/sybase_ct.so |
2095 |
spuhler |
8300 |
|
2096 |
|
|
%files sysvmsg |
2097 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/56_sysvmsg.ini |
2098 |
|
|
%{_libdir}/php/extensions/sysvmsg.so |
2099 |
spuhler |
8300 |
|
2100 |
|
|
%files sysvsem |
2101 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/57_sysvsem.ini |
2102 |
|
|
%{_libdir}/php/extensions/sysvsem.so |
2103 |
spuhler |
8300 |
|
2104 |
|
|
%files sysvshm |
2105 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/58_sysvshm.ini |
2106 |
|
|
%{_libdir}/php/extensions/sysvshm.so |
2107 |
spuhler |
8300 |
|
2108 |
|
|
%files tidy |
2109 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/59_tidy.ini |
2110 |
|
|
%{_libdir}/php/extensions/tidy.so |
2111 |
spuhler |
8300 |
|
2112 |
|
|
%files tokenizer |
2113 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/60_tokenizer.ini |
2114 |
|
|
%{_libdir}/php/extensions/tokenizer.so |
2115 |
spuhler |
8300 |
|
2116 |
|
|
%files xml |
2117 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/62_xml.ini |
2118 |
|
|
%{_libdir}/php/extensions/xml.so |
2119 |
spuhler |
8300 |
|
2120 |
|
|
%files xmlreader |
2121 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/63_xmlreader.ini |
2122 |
|
|
%{_libdir}/php/extensions/xmlreader.so |
2123 |
spuhler |
8300 |
|
2124 |
|
|
%files xmlrpc |
2125 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/62_xmlrpc.ini |
2126 |
|
|
%{_libdir}/php/extensions/xmlrpc.so |
2127 |
spuhler |
8300 |
|
2128 |
|
|
%files xmlwriter |
2129 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/64_xmlwriter.ini |
2130 |
|
|
%{_libdir}/php/extensions/xmlwriter.so |
2131 |
spuhler |
8300 |
|
2132 |
|
|
%files xsl |
2133 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/63_xsl.ini |
2134 |
|
|
%{_libdir}/php/extensions/xsl.so |
2135 |
spuhler |
8300 |
|
2136 |
|
|
%files wddx |
2137 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/63_wddx.ini |
2138 |
|
|
%{_libdir}/php/extensions/wddx.so |
2139 |
spuhler |
8300 |
|
2140 |
|
|
%files zip |
2141 |
guillomovitch |
189702 |
%config(noreplace) %{_sysconfdir}/php.d/83_zip.ini |
2142 |
|
|
%{_libdir}/php/extensions/zip.so |
2143 |
spuhler |
8300 |
|