/[packages]/cauldron/php/current/SPECS/php.spec
ViewVC logotype

Contents of /cauldron/php/current/SPECS/php.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 602619 - (show annotations) (download)
Wed Mar 12 14:47:01 2014 UTC (10 years, 1 month ago) by oden
File size: 76543 byte(s)
- 5.5.10
- jsonc-1.3.4

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

  ViewVC Help
Powered by ViewVC 1.1.30