/[smeserver]/rpms/php/sme8/php.spec
ViewVC logotype

Contents of /rpms/php/sme8/php.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.5 - (show annotations) (download)
Wed Sep 28 17:13:27 2011 UTC (13 years, 1 month ago) by snetram
Branch: MAIN
CVS Tags: php-5_3_3-1_el5_sme_1_1
Branch point for: redhat-upstream
Changes since 1.4: +5 -1 lines
* Wed Sep 28 2011 Jonathan Martens <smeserver-contribs@snetram.nl> - 5.3.3-1.1.1
- Obsolete php-domxml and php-dom [SME: 6733]

1 %global contentdir /var/www
2 # API/ABI check
3 %global apiver 20090626
4 %global zendver 20090626
5 %global pdover 20080721
6 # Extension version
7 %global fileinfover 1.0.5-dev
8 %global pharver 2.0.1
9 %global zipver 1.9.1
10 %global jsonver 1.2.1
11
12 %define httpd_mmn %(cat %{_includedir}/httpd/.mmn || echo missing-httpd-devel)
13
14 # Use the arch-specific mysql_config binary to avoid mismatch with the
15 # heuristic used by bindir/mysql_config.
16 %define mysql_config %{_libdir}/mysql/mysql_config
17
18 Summary: PHP scripting language for creating dynamic web sites
19 Name: php
20 Version: 5.3.3
21 Release: 1%{?dist}.1.1
22 License: PHP and LGPLv2 and LGPLv2+
23 Group: Development/Languages
24 URL: http://www.php.net/
25
26 Source0: http://www.php.net/distributions/php-%{version}.tar.bz2
27 Source1: php.conf
28 Source2: php.ini
29 Source3: macros.php
30
31 # Build fixes
32 Patch1: php-5.3.3-gnusrc.patch
33 Patch2: php-5.3.0-install.patch
34 Patch3: php-5.2.4-norpath.patch
35 Patch4: php-5.3.0-phpize64.patch
36 Patch5: php-5.2.0-includedir.patch
37 Patch8: php-5.3.3-aconf26x.patch
38
39 # Fixes for extensions
40 Patch20: php-4.3.11-shutdown.patch
41
42 # Functional changes
43 Patch40: php-5.0.4-dlopen.patch
44 Patch41: php-5.3.0-easter.patch
45 Patch42: php-5.3.1-systzdata-v7.patch
46
47 # Fixes for tests
48 Patch61: php-5.0.4-tests-wddx.patch
49 Patch62: php-5.3.2-testfail.patch
50
51 # Bug fixes
52 Patch100: php-5.3.2-r305570.patch
53 Patch101: php-5.3.3-r305043.patch
54
55 # Fixes for security bugs
56 Patch207: php-5.3.2-CVE-2010-3709.patch
57 Patch208: php-5.3.2-CVE-2010-3870.patch
58 Patch209: php-5.3.3-CVE-2010-4156.patch
59 Patch210: php-5.3.3-CVE-2010-3710.patch
60 Patch211: php-5.3.2-CVE-2010-4645.patch
61
62 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
63
64 BuildRequires: bzip2-devel, curl-devel >= 7.9, db4-devel, gmp-devel
65 BuildRequires: httpd-devel >= 2.0.46-1, pam-devel
66 BuildRequires: libstdc++-devel, openssl-devel, sqlite-devel
67 BuildRequires: zlib-devel, pcre-devel >= 6.6, smtpdaemon
68 BuildRequires: bzip2, perl, libtool >= 1.4.3, gcc-c++
69 Requires: httpd-mmn = %{httpd_mmn}
70 Provides: mod_php = %{version}-%{release}
71 Requires: %{name}-common = %{version}-%{release}
72 # For backwards-compatibility, require php-cli for the time being:
73 Requires: %{name}-cli = %{version}-%{release}
74 # To ensure correct /var/lib/php/session ownership:
75 Requires(pre): httpd
76
77 %description
78 PHP is an HTML-embedded scripting language. PHP attempts to make it
79 easy for developers to write dynamically generated webpages. PHP also
80 offers built-in database integration for several commercial and
81 non-commercial database management systems, so writing a
82 database-enabled webpage with PHP is fairly simple. The most common
83 use of PHP coding is probably as a replacement for CGI scripts.
84
85 The php package contains the module which adds support for the PHP
86 language to Apache HTTP Server.
87
88 %package cli
89 Group: Development/Languages
90 Summary: Command-line interface for PHP
91 Requires: %{name}-common = %{version}-%{release}
92 Provides: php-cgi = %{version}-%{release}, php-cli = %{version}-%{release}
93 Provides: php-pcntl
94
95 %description cli
96 The php-cli package contains the command-line interface
97 executing PHP scripts, /usr/bin/php, and the CGI interface.
98
99 %package common
100 Group: Development/Languages
101 Summary: Common files for PHP
102 Provides: php-api = %{apiver}, php-zend-abi = %{zendver}
103 Provides: php(api) = %{apiver}, php(zend-abi) = %{zendver}
104 # Provides for all builtin modules:
105 Provides: php-bz2, php-calendar, php-ctype, php-curl, php-date, php-exif
106 Provides: php-ftp, php-gettext, php-gmp, php-hash, php-iconv, php-libxml
107 Provides: php-reflection, php-session, php-shmop, php-simplexml, php-sockets
108 Provides: php-spl, php-tokenizer, php-openssl, php-pcre
109 Provides: php-zlib, php-json, php-zip, php-fileinfo
110 Obsoletes: php-openssl, php-json
111 # For obsoleted pecl extension
112 Provides: php-pecl-json = %{jsonver}, php-pecl(json) = %{jsonver}
113 Provides: php-pecl-zip = %{zipver}, php-pecl(zip) = %{zipver}
114 Provides: php-pecl-phar = %{pharver}, php-pecl(phar) = %{pharver}
115 Provides: php-pecl-Fileinfo = %{fileinfover}, php-pecl(Fileinfo) = %{fileinfover}
116 Obsoletes: php-pecl-json, php-pecl-zip, php-pecl-phar, php-pecl-Fileinfo
117
118 %description common
119 The %{name}-common package contains files used by both the php
120 package and the php-cli package.
121
122 %package devel
123 Group: Development/Libraries
124 Summary: Files needed for building PHP extensions
125 Requires: %{name} = %{version}-%{release}, autoconf, automake
126 Provides: php-devel = %{version}-%{release}
127
128 %description devel
129 The php-devel package contains the files needed for building PHP
130 extensions. If you need to compile your own PHP extensions, you will
131 need to install this package.
132
133 %package imap
134 Summary: A module for PHP applications that use IMAP
135 Group: Development/Languages
136 Requires: %{name}-common = %{version}-%{release}
137 BuildRequires: krb5-devel, openssl-devel, libc-client-devel
138
139 %description imap
140 The php-imap package contains a dynamic shared object that will
141 add support for the IMAP protocol to PHP.
142
143 %package ldap
144 Summary: A module for PHP applications that use LDAP
145 Group: Development/Languages
146 Requires: %{name}-common = %{version}-%{release}
147 BuildRequires: cyrus-sasl-devel, openldap-devel, openssl-devel
148
149 %description ldap
150 The php-ldap package is a dynamic shared object (DSO) for the Apache
151 Web server that adds Lightweight Directory Access Protocol (LDAP)
152 support to PHP. LDAP is a set of protocols for accessing directory
153 services over the Internet. PHP is an HTML-embedded scripting
154 language. If you need LDAP support for PHP applications, you will
155 need to install this package in addition to the php package.
156
157 %package pdo
158 Summary: A database access abstraction module for PHP applications
159 Group: Development/Languages
160 Requires: %{name}-common = %{version}-%{release}
161 Provides: php-pdo-abi = %{pdover}
162 Provides: php-pdo_sqlite
163
164 %description pdo
165 The %{name}-pdo package contains a dynamic shared object that will add
166 a database access abstraction layer to PHP. This module provides
167 a common interface for accessing MySQL, PostgreSQL or other
168 databases.
169
170 %package mysql
171 Summary: A module for PHP applications that use MySQL databases
172 Group: Development/Languages
173 Requires: %{name}-common = %{version}-%{release}, %{name}-pdo
174 Provides: php_database, php-mysqli, php-pdo_mysql
175 BuildRequires: mysql-devel >= 4.1.0
176
177 %description mysql
178 The php-mysql package contains a dynamic shared object that will add
179 MySQL database support to PHP. MySQL is an object-relational database
180 management system. PHP is an HTML-embeddable scripting language. If
181 you need MySQL support for PHP applications, you will need to install
182 this package and the php package.
183
184 %package pgsql
185 Summary: A PostgreSQL database module for PHP
186 Group: Development/Languages
187 Requires: %{name}-common = %{version}-%{release}, %{name}-pdo
188 Provides: php_database, php-pdo_pgsql
189 BuildRequires: krb5-devel, openssl-devel, postgresql-devel
190
191 %description pgsql
192 The php-pgsql package includes a dynamic shared object (DSO) that can
193 be compiled in to the Apache Web server to add PostgreSQL database
194 support to PHP. PostgreSQL is an object-relational database management
195 system that supports almost all SQL constructs. PHP is an
196 HTML-embedded scripting language. If you need back-end support for
197 PostgreSQL, you should install this package in addition to the main
198 php package.
199
200 %package process
201 Summary: Modules for PHP script using system process interfaces
202 Group: Development/Languages
203 Requires: %{name}-common = %{version}-%{release}
204 Provides: php-posix, php-sysvsem, php-sysvshm, php-sysvmsg
205
206 %description process
207 The php-process package contains dynamic shared objects which add
208 support to PHP using system interfaces for inter-process
209 communication.
210
211 %package odbc
212 Group: Development/Languages
213 Requires: %{name}-common = %{version}-%{release}, %{name}-pdo
214 Summary: A module for PHP applications that use ODBC databases
215 Provides: php_database, php-pdo_odbc
216 BuildRequires: unixODBC-devel
217
218 %description odbc
219 The php-odbc package contains a dynamic shared object that will add
220 database support through ODBC to PHP. ODBC is an open specification
221 which provides a consistent API for developers to use for accessing
222 data sources (which are often, but not always, databases). PHP is an
223 HTML-embeddable scripting language. If you need ODBC support for PHP
224 applications, you will need to install this package and the php
225 package.
226
227 %package soap
228 Group: Development/Languages
229 Requires: %{name}-common = %{version}-%{release}
230 Summary: A module for PHP applications that use the SOAP protocol
231 BuildRequires: libxml2-devel
232
233 %description soap
234 The php-soap package contains a dynamic shared object that will add
235 support to PHP for using the SOAP web services protocol.
236
237 %package snmp
238 Summary: A module for PHP applications that query SNMP-managed devices
239 Group: Development/Languages
240 Requires: %{name}-common = %{version}-%{release}, net-snmp
241 BuildRequires: net-snmp-devel
242
243 %description snmp
244 The php-snmp package contains a dynamic shared object that will add
245 support for querying SNMP devices to PHP. PHP is an HTML-embeddable
246 scripting language. If you need SNMP support for PHP applications, you
247 will need to install this package and the php package.
248
249 %package xml
250 Summary: A module for PHP applications which use XML
251 Group: Development/Languages
252 Requires: %{name}-common = %{version}-%{release}
253 Provides: php-dom, php-xsl, php-domxml, php-wddx
254 BuildRequires: libxslt-devel >= 1.0.18-1, libxml2-devel >= 2.4.14-1
255 Obsoletes: php-domxml, php-dom
256
257 %description xml
258 The php-xml package contains dynamic shared objects which add support
259 to PHP for manipulating XML documents using the DOM tree,
260 and performing XSL transformations on XML documents.
261
262 %package xmlrpc
263 Summary: A module for PHP applications which use the XML-RPC protocol
264 Group: Development/Languages
265 Requires: %{name}-common = %{version}-%{release}
266
267 %description xmlrpc
268 The php-xmlrpc package contains a dynamic shared object that will add
269 support for the XML-RPC protocol to PHP.
270
271 %package mbstring
272 Summary: A module for PHP applications which need multi-byte string handling
273 Group: Development/Languages
274 Requires: %{name}-common = %{version}-%{release}
275
276 %description mbstring
277 The php-mbstring package contains a dynamic shared object that will add
278 support for multi-byte string handling to PHP.
279
280 %package gd
281 Summary: A module for PHP applications for using the gd graphics library
282 Group: Development/Languages
283 Requires: %{name}-common = %{version}-%{release}
284 # Required to build the bundled GD library
285 BuildRequires: libXpm-devel, libjpeg-devel, libpng-devel, freetype-devel
286
287 %description gd
288 The php-gd package contains a dynamic shared object that will add
289 support for using the gd graphics library to PHP.
290
291 %package bcmath
292 Summary: A module for PHP applications for using the bcmath library
293 Group: Development/Languages
294 Requires: %{name}-common = %{version}-%{release}
295
296 %description bcmath
297 The php-bcmath package contains a dynamic shared object that will add
298 support for using the bcmath library to PHP.
299
300 %package dba
301 Summary: A database abstraction layer module for PHP applications
302 Group: Development/Languages
303 Requires: %{name}-common = %{version}-%{release}
304
305 %description dba
306 The php-dba package contains a dynamic shared object that will add
307 support for using the DBA database abstraction layer to PHP.
308
309 %package pspell
310 Summary: A module for PHP applications for using pspell interfaces
311 Group: System Environment/Libraries
312 Requires: %{name}-common = %{version}-%{release}
313 BuildRequires: aspell-devel >= 0.50.0
314
315 %description pspell
316 The php-pspell package contains a dynamic shared object that will add
317 support for using the pspell library to PHP.
318
319 %package intl
320 Summary: Internationalization extension for PHP applications
321 Group: System Environment/Libraries
322 Requires: %{name}-common = %{version}-%{release}
323 BuildRequires: libicu-devel >= 3.6
324
325 %description intl
326 The php-intl package contains a dynamic shared object that will add
327 support for using the ICU library to PHP.
328
329 %prep
330 %setup -q -n php-%{version}
331 %patch1 -p1 -b .gnusrc
332 %patch2 -p1 -b .install
333 %patch3 -p1 -b .norpath
334 %patch4 -p1 -b .phpize64
335 %patch5 -p1 -b .includedir
336 %patch8 -p1 -b .aconf26x
337
338 %patch20 -p1 -b .shutdown
339
340 %patch40 -p1 -b .dlopen
341 %patch41 -p1 -b .easter
342 %patch42 -p1 -b .systzdata
343
344 %patch61 -p1 -b .tests-wddx
345 %patch62 -p1 -b .testfail
346
347 %patch100 -p1 -b .r305570
348 %patch101 -p1 -b .r305043
349
350 %patch207 -p1 -b .cve3709
351 %patch208 -p1 -b .cve3870
352
353 %patch209 -p1 -b .cve4156
354 %patch210 -p1 -b .cve3710
355 %patch211 -p1 -b .cve4645
356
357 # Prevent %%doc confusion over LICENSE files
358 cp -p Zend/LICENSE Zend/ZEND_LICENSE
359 cp -p TSRM/LICENSE TSRM_LICENSE
360 cp -p ext/ereg/regex/COPYRIGHT regex_COPYRIGHT
361 cp -p ext/gd/libgd/README gd_README
362
363 # Multiple builds for multiple SAPIs
364 mkdir build-cgi build-apache
365
366 # Remove bogus test; position of read position after fopen(, "a+")
367 # is not defined by C standard, so don't presume anything.
368 rm -f ext/standard/tests/file/bug21131.phpt
369
370 # Tests that fail.
371 rm -f ext/standard/tests/file/bug22414.phpt \
372 ext/iconv/tests/bug16069.phpt
373
374 # Remove tests which require external network access
375 rm -f ext/sockets/tests/socket_bind.diff
376
377 # Easter eggs no not shipped
378 rm -f tests/basic/php_egg_logo_guid.diff
379
380 # Safety check for API version change.
381 vapi=`sed -n '/#define PHP_API_VERSION/{s/.* //;p}' main/php.h`
382 if test "x${vapi}" != "x%{apiver}"; then
383 : Error: Upstream API version is now ${vapi}, expecting %{apiver}.
384 : Update the apiver macro and rebuild.
385 exit 1
386 fi
387
388 vzend=`sed -n '/#define ZEND_MODULE_API_NO/{s/^[^0-9]*//;p;}' Zend/zend_modules.h`
389 if test "x${vzend}" != "x%{zendver}"; then
390 : Error: Upstream Zend ABI version is now ${vzend}, expecting %{zendver}.
391 : Update the zendver macro and rebuild.
392 exit 1
393 fi
394
395 # Safety check for PDO ABI version change
396 vpdo=`sed -n '/#define PDO_DRIVER_API/{s/.*[ ]//;p}' ext/pdo/php_pdo_driver.h`
397 if test "x${vpdo}" != "x%{pdover}"; then
398 : Error: Upstream PDO ABI version is now ${vpdo}, expecting %{pdover}.
399 : Update the pdover macro and rebuild.
400 exit 1
401 fi
402
403 # Check for some extension version
404 ver=$(sed -n '/#define PHP_FILEINFO_VERSION /{s/.* "//;s/".*$//;p}' ext/fileinfo/php_fileinfo.h)
405 if test "$ver" != "%{fileinfover}"; then
406 : Error: Upstream FILEINFO version is now ${ver}, expecting %{fileinfover}.
407 : Update the fileinfover macro and rebuild.
408 exit 1
409 fi
410 ver=$(sed -n '/#define PHP_PHAR_VERSION /{s/.* "//;s/".*$//;p}' ext/phar/php_phar.h)
411 if test "$ver" != "%{pharver}"; then
412 : Error: Upstream PHAR version is now ${ver}, expecting %{pharver}.
413 : Update the pharver macro and rebuild.
414 exit 1
415 fi
416 ver=$(sed -n '/#define PHP_ZIP_VERSION_STRING /{s/.* "//;s/".*$//;p}' ext/zip/php_zip.h)
417 if test "$ver" != "%{zipver}"; then
418 : Error: Upstream ZIP version is now ${ver}, expecting %{zipver}.
419 : Update the zipver macro and rebuild.
420 exit 1
421 fi
422 ver=$(sed -n '/#define PHP_JSON_VERSION /{s/.* "//;s/".*$//;p}' ext/json/php_json.h)
423 if test "$ver" != "%{jsonver}"; then
424 : Error: Upstream JSON version is now ${ver}, expecting %{jsonver}.
425 : Update the jsonver macro and rebuild.
426 exit 1
427 fi
428
429 # Fix some bogus permissions
430 find . -name \*.[ch] -exec chmod 644 {} \;
431 chmod 644 README.*
432
433 %build
434 # aclocal workaround - to be improved
435 cat `aclocal --print-ac-dir`/libtool.m4 >>aclocal.m4
436
437 # Force use of system libtool:
438 libtoolize --force --copy
439 cat `aclocal --print-ac-dir`/libtool.m4 >build/libtool.m4
440
441 # Regenerate configure scripts (patches change config.m4's)
442 touch configure.in
443 ./buildconf --force
444
445 CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Wno-pointer-sign"
446 export CFLAGS
447
448 # Install extension modules in %{_libdir}/php/modules.
449 EXTENSION_DIR=%{_libdir}/php/modules; export EXTENSION_DIR
450
451 # Set PEAR_INSTALLDIR to ensure that the hard-coded include_path
452 # includes the PEAR directory even though pear is packaged
453 # separately.
454 PEAR_INSTALLDIR=%{_datadir}/pear; export PEAR_INSTALLDIR
455
456 # Shell function to configure and build a PHP tree.
457 build() {
458 # bison-1.875-2 seems to produce a broken parser; workaround.
459 mkdir Zend && cp ../Zend/zend_{language,ini}_{parser,scanner}.[ch] Zend
460 ln -sf ../configure
461 %configure \
462 --cache-file=../config.cache \
463 --with-libdir=%{_lib} \
464 --with-config-file-path=%{_sysconfdir} \
465 --with-config-file-scan-dir=%{_sysconfdir}/php.d \
466 --disable-debug \
467 --with-pic \
468 --disable-rpath \
469 --without-pear \
470 --with-bz2 \
471 --with-exec-dir=%{_bindir} \
472 --with-freetype-dir=%{_prefix} \
473 --with-png-dir=%{_prefix} \
474 --with-xpm-dir=%{_prefix} \
475 --enable-gd-native-ttf \
476 --without-gdbm \
477 --with-gettext \
478 --with-gmp \
479 --with-iconv \
480 --with-jpeg-dir=%{_prefix} \
481 --with-openssl \
482 --with-pcre-regex=%{_prefix} \
483 --with-zlib \
484 --with-layout=GNU \
485 --enable-exif \
486 --enable-ftp \
487 --enable-magic-quotes \
488 --enable-sockets \
489 --enable-sysvsem --enable-sysvshm --enable-sysvmsg \
490 --with-kerberos \
491 --enable-ucd-snmp-hack \
492 --enable-shmop \
493 --enable-calendar \
494 --without-sqlite \
495 --without-sqlite3 \
496 --with-libxml-dir=%{_prefix} \
497 --enable-xml \
498 --with-system-tzdata \
499 $*
500 if test $? != 0; then
501 tail -500 config.log
502 : configure failed
503 exit 1
504 fi
505
506 make %{?_smp_mflags}
507 }
508
509 # Build /usr/bin/php-cgi with the CGI SAPI, and all the shared extensions
510 pushd build-cgi
511 build --enable-force-cgi-redirect \
512 --enable-pcntl \
513 --with-imap=shared --with-imap-ssl \
514 --enable-mbstring=shared \
515 --enable-mbregex \
516 --with-gd=shared \
517 --enable-bcmath=shared \
518 --enable-dba=shared --with-db4=%{_prefix} \
519 --with-xmlrpc=shared \
520 --with-ldap=shared --with-ldap-sasl \
521 --with-mysql=shared,%{_prefix} \
522 --with-mysqli=shared,%{mysql_config} \
523 --enable-dom=shared \
524 --with-pgsql=shared \
525 --enable-wddx=shared \
526 --with-snmp=shared,%{_prefix} \
527 --enable-soap=shared \
528 --with-xsl=shared,%{_prefix} \
529 --enable-xmlreader=shared --enable-xmlwriter=shared \
530 --with-curl=shared,%{_prefix} \
531 --enable-fastcgi \
532 --enable-pdo=shared \
533 --with-pdo-odbc=shared,unixODBC,%{_prefix} \
534 --with-pdo-mysql=shared,%{mysql_config} \
535 --with-pdo-pgsql=shared,%{_prefix} \
536 --with-pdo-sqlite=shared,%{_prefix} \
537 --enable-json=shared \
538 --enable-zip=shared \
539 --without-readline \
540 --with-pspell=shared \
541 --enable-phar=shared \
542 --enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared \
543 --enable-posix=shared \
544 --with-unixODBC=shared,%{_prefix} \
545 --enable-fileinfo=shared \
546 --enable-intl=shared \
547 --with-icu-dir=%{_prefix}
548 popd
549
550 without_shared="--without-mysql --without-gd \
551 --disable-dom --disable-dba --without-unixODBC \
552 --disable-pdo --disable-xmlreader --disable-xmlwriter \
553 --without-sqlite3 --disable-phar --disable-fileinfo \
554 --disable-json --without-pspell --disable-wddx \
555 --without-curl --disable-posix \
556 --disable-sysvmsg --disable-sysvshm --disable-sysvsem"
557
558 # Build Apache module, and the CLI SAPI, /usr/bin/php
559 pushd build-apache
560 build --with-apxs2=%{_sbindir}/apxs ${without_shared}
561 popd
562
563 %check
564 cd build-apache
565 # Run tests, using the CLI SAPI
566 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
567 unset TZ LANG LC_ALL
568 if ! make test; then
569 set +x
570 for f in `find .. -name \*.diff -type f -print`; do
571 echo "TEST FAILURE: $f --"
572 cat "$f"
573 echo -e "\n-- $f result ends.\n"
574 done
575 set -x
576 #exit 1
577 fi
578 unset NO_INTERACTION REPORT_EXIT_STATUS MALLOC_CHECK_
579
580 %install
581 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
582
583 # Install everything from the CGI SAPI build
584 make -C build-cgi install INSTALL_ROOT=$RPM_BUILD_ROOT
585
586 # Install the default configuration file and icons
587 install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/
588 install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
589 install -m 755 -d $RPM_BUILD_ROOT%{contentdir}/icons
590 install -m 644 *.gif $RPM_BUILD_ROOT%{contentdir}/icons/
591
592 # For third-party packaging:
593 install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/php/pear \
594 $RPM_BUILD_ROOT%{_datadir}/php
595
596 # install the DSO
597 install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/httpd/modules
598 install -m 755 build-apache/libs/libphp5.so $RPM_BUILD_ROOT%{_libdir}/httpd/modules
599
600 # Apache config fragment
601 install -m 755 -d $RPM_BUILD_ROOT/etc/httpd/conf.d
602 # %{SOURCE1} used here ->
603 install -m 644 $RPM_SOURCE_DIR/php.conf $RPM_BUILD_ROOT/etc/httpd/conf.d
604
605 install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/php.d
606 install -m 755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php
607 install -m 700 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php/session
608
609 # Fix the link
610 (cd $RPM_BUILD_ROOT%{_bindir}; ln -sfn phar.phar phar)
611
612 # Generate files lists and stub .ini files for each subpackage
613 for mod in pgsql mysql mysqli odbc ldap snmp xmlrpc imap \
614 mbstring gd dom xsl soap bcmath dba xmlreader xmlwriter \
615 pdo pdo_mysql pdo_pgsql pdo_odbc pdo_sqlite json zip \
616 phar fileinfo intl pspell curl wddx \
617 posix sysvshm sysvsem sysvmsg; do
618 cat > $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${mod}.ini <<EOF
619 ; Enable ${mod} extension module
620 extension=${mod}.so
621 EOF
622 cat > files.${mod} <<EOF
623 %attr(755,root,root) %{_libdir}/php/modules/${mod}.so
624 %config(noreplace) %attr(644,root,root) %{_sysconfdir}/php.d/${mod}.ini
625 EOF
626 done
627
628 # The dom, xsl and xml* modules are all packaged in php-xml
629 cat files.dom files.xsl files.xml{reader,writer} files.wddx > files.xml
630
631 # The mysql and mysqli modules are both packaged in php-mysql
632 cat files.mysqli >> files.mysql
633
634 # Split out the PDO modules
635 cat files.pdo_mysql >> files.mysql
636 cat files.pdo_pgsql >> files.pgsql
637 cat files.pdo_odbc >> files.odbc
638
639 # sysv* and posix in packaged in php-process
640 cat files.sysv* files.posix > files.process
641
642 # Package pdo_sqlite with pdo.
643 cat files.pdo_sqlite >> files.pdo
644
645 # Package json, zip, curl, phar and fileinfo in -common.
646 cat files.json files.zip files.curl files.phar files.fileinfo > files.common
647
648 # Install the macros file:
649 install -d $RPM_BUILD_ROOT%{_sysconfdir}/rpm
650 # %{SOURCE3} used here ->
651 sed -e "s/@PHP_APIVER@/%{apiver}/;s/@PHP_ZENDVER@/%{zendver}/;s/@PHP_PDOVER@/%{pdover}/" \
652 < $RPM_SOURCE_DIR/macros.php > macros.php
653 install -m 644 -c macros.php \
654 $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.php
655
656 # Remove unpackaged files
657 rm -rf $RPM_BUILD_ROOT%{_libdir}/php/modules/*.a \
658 $RPM_BUILD_ROOT%{_bindir}/{phptar} \
659 $RPM_BUILD_ROOT%{_datadir}/pear \
660 $RPM_BUILD_ROOT%{_libdir}/libphp5.la
661
662 # Remove irrelevant docs
663 rm -f README.{Zeus,QNX,CVS-RULES}
664
665 %clean
666 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
667 rm files.* macros.php
668
669 %files
670 %defattr(-,root,root)
671 %{_libdir}/httpd/modules/libphp5.so
672 %attr(0770,root,apache) %dir %{_localstatedir}/lib/php/session
673 %config(noreplace) %{_sysconfdir}/httpd/conf.d/php.conf
674 %{contentdir}/icons/php.gif
675
676 %files common -f files.common
677 %defattr(-,root,root)
678 %doc CODING_STANDARDS CREDITS INSTALL LICENSE NEWS README*
679 %doc Zend/ZEND_* TSRM_LICENSE regex_COPYRIGHT
680 %doc php.ini-*
681 %config(noreplace) %{_sysconfdir}/php.ini
682 %dir %{_sysconfdir}/php.d
683 %dir %{_libdir}/php
684 %dir %{_libdir}/php/modules
685 %dir %{_localstatedir}/lib/php
686 %dir %{_libdir}/php/pear
687 %dir %{_datadir}/php
688
689 %files cli
690 %defattr(-,root,root)
691 %{_bindir}/php
692 %{_bindir}/php-cgi
693 %{_bindir}/phar.phar
694 %{_bindir}/phar
695 %{_mandir}/man1/php.1*
696 %doc sapi/cgi/README* sapi/cli/README
697
698 %files devel
699 %defattr(-,root,root)
700 %{_bindir}/php-config
701 %{_bindir}/phpize
702 %{_includedir}/php
703 %{_libdir}/php/build
704 %{_mandir}/man1/php-config.1*
705 %{_mandir}/man1/phpize.1*
706 %config %{_sysconfdir}/rpm/macros.php
707
708 %files pgsql -f files.pgsql
709 %files mysql -f files.mysql
710 %files odbc -f files.odbc
711 %files imap -f files.imap
712 %files ldap -f files.ldap
713 %files snmp -f files.snmp
714 %files xml -f files.xml
715 %files xmlrpc -f files.xmlrpc
716 %files mbstring -f files.mbstring
717 %defattr(-,root,root)
718 %doc ext/mbstring/libmbfl/DISCLAIMER ext/mbstring/libmbfl/LICENSE
719 %files gd -f files.gd
720 %defattr(-,root,root)
721 %doc gd_README
722 %files soap -f files.soap
723 %files bcmath -f files.bcmath
724 %defattr(-,root,root)
725 %doc ext/bcmath/libbcmath/COPYING.LIB
726 %files dba -f files.dba
727 %files pdo -f files.pdo
728 %files pspell -f files.pspell
729 %files intl -f files.intl
730 %files process -f files.process
731
732 %changelog
733 * Wed Sep 28 2011 Jonathan Martens <smeserver-contribs@snetram.nl> - 5.3.3-1.1.1
734 - Obsolete php-domxml and php-dom [SME: 6733]
735
736 * Tue Sep 13 2011 Shad L. Lords <slords@mail.com> - 5.3.3-1.1.0
737 - Update Obsoletes and Conflicts [SME: 6436]
738
739 * Wed Jan 19 2011 Joe Orton <jorton@redhat.com> - 5.3.3-1.1
740 - add security fixes for CVE-2010-3710, CVE-2010-4156,
741 CVE-2010-4645 (#670463)
742
743 * Wed Dec 1 2010 Joe Orton <jorton@redhat.com> - 5.3.3-1
744 - update to 5.3.3 (#658315)
745
746 * Mon Nov 22 2010 Joe Orton <jorton@redhat.com> - 5.3.2-7
747 - prevent extract() from clobering $GLOBALS (#655330)
748
749 * Wed Nov 10 2010 Joe Orton <jorton@redhat.com> - 5.3.2-6
750 - add security fixes for CVE-2010-3870 CVE-2010-3709 (#650877)
751 - provide php-devel from -devel (#642701)
752
753 * Mon Nov 1 2010 Joe Orton <jorton@redhat.com> - 5.3.2-5
754 - use correct mysql_config for pdo-mysql also (#642701)
755
756 * Thu Sep 30 2010 Joe Orton <jorton@redhat.com> - 5.3.2-4
757 - use mysql_config from libdir
758
759 * Tue Sep 7 2010 Joe Orton <jorton@redhat.com> - 5.3.2-3
760 - add defattr for -mbstring and -bcmath
761
762 * Tue Sep 7 2010 Joe Orton <jorton@redhat.com> - 5.3.2-2
763 - add LGPLv2{,+} to License; ship text in -bcmath, -mbstring
764 - apply phar patch correctly
765 - fix permissions on sources, README.namespaces
766 - drop EXTENSIONS from %%doc
767 - fix Provides for php-cli
768 - drop inappropriate/obsolete Obsoletes
769
770 * Thu Sep 2 2010 Joe Orton <jorton@redhat.com> - 5.3.2-1
771 - convert to php53
772 - remove subpackages: embeded, zts, tidy, recode, enchant
773
774 * Tue Aug 17 2010 Joe Orton <jorton@redhat.com> - 5.3.2-6
775 - add security fixes for CVE-2010-1866, CVE-2010-2094, CVE-2010-1917,
776 CVE-2010-2531, MOPS-2010-060 (#624469)
777
778 * Fri Aug 13 2010 Joe Orton <jorton@redhat.com> - 5.3.2-5
779 - add security fix for CVE-2010-0397 (#575712)
780
781 * Thu Jun 24 2010 Joe Orton <jorton@redhat.com> - 5.3.2-4
782 - add security fix for CVE-2010-2225 (#605644)
783
784 * Wed May 5 2010 Joe Orton <jorton@redhat.com> - 5.3.2-3
785 - restore -imap (#586050)
786
787 * Fri Mar 26 2010 Joe Orton <jorton@redhat.com> - 5.3.2-2
788 - remove mcrypt support (#459804, #577257)
789
790 * Wed Mar 24 2010 Joe Orton <jorton@redhat.com> - 5.3.2-1
791 - update to 5.3.2 (#575158, #575712)
792
793 * Sat Mar 06 2010 Remi Collet <Fedora@famillecollet.com>
794 - PHP 5.3.2 Released!
795 - remove mime_magic option (now provided by fileinfo, by emu)
796 - add patch for http://bugs.php.net/50578
797 - remove patch for libedit (upstream)
798
799 * Fri Jan 15 2010 Joe Orton <jorton@redhat.com> - 5.3.1-7
800 - add security fix for CVE-2009-4142 (#552268)
801
802 * Fri Dec 18 2009 Joe Orton <jorton@redhat.com> - 5.3.1-6
803 - drop mssql, pdo_dblib
804
805 * Fri Dec 11 2009 Joe Orton <jorton@redhat.com> - 5.3.1-5
806 - drop imap
807
808 * Fri Dec 11 2009 Joe Orton <jorton@redhat.com> - 5.3.1-4
809 - drop t1lib, interbase/firebird support
810
811 * Fri Nov 27 2009 Joe Orton <jorton@redhat.com> - 5.3.1-3
812 - update to v7 of systzdata patch
813
814 * Wed Nov 25 2009 Joe Orton <jorton@redhat.com> - 5.3.1-2
815 - fix build with autoconf 2.6x
816
817 * Fri Nov 20 2009 Remi Collet <Fedora@famillecollet.com> 5.3.1-1
818 - update to 5.3.1
819 - remove openssl patch (merged upstream)
820 - add provides for php-pecl-json
821 - add prod/devel php.ini in doc
822
823 * Tue Nov 17 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 5.3.0-7
824 - use libedit instead of readline to resolve licensing issues
825
826 * Tue Aug 25 2009 Tomas Mraz <tmraz@redhat.com> - 5.3.0-6
827 - rebuilt with new openssl
828
829 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-5
830 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
831
832 * Thu Jul 16 2009 Joe Orton <jorton@redhat.com> 5.3.0-4
833 - rediff systzdata patch
834
835 * Thu Jul 16 2009 Joe Orton <jorton@redhat.com> 5.3.0-3
836 - update to v6 of systzdata patch; various fixes
837
838 * Tue Jul 14 2009 Joe Orton <jorton@redhat.com> 5.3.0-2
839 - update to v5 of systzdata patch; parses zone.tab and extracts
840 timezone->{country-code,long/lat,comment} mapping table
841
842 * Sun Jul 12 2009 Remi Collet <Fedora@famillecollet.com> 5.3.0-1
843 - update to 5.3.0
844 - remove ncurses, dbase, mhash extensions
845 - add enchant, sqlite3, intl, phar, fileinfo extensions
846 - raise sqlite version to 3.6.0 (for sqlite3, build with --enable-load-extension)
847 - sync with upstream "production" php.ini
848
849 * Sat Jun 21 2009 Remi Collet <Fedora@famillecollet.com> 5.2.10-1
850 - update to 5.2.10
851 - add interbase sub-package
852
853 * Sat Feb 28 2009 Remi Collet <Fedora@FamilleCollet.com> - 5.2.9-1
854 - update to 5.2.9
855
856 * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2.8-10
857 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
858
859 * Thu Feb 5 2009 Joe Orton <jorton@redhat.com> 5.2.8-9
860 - add recode support, -recode subpackage (#106755)
861 - add -zts subpackage with ZTS-enabled build of httpd SAPI
862 - adjust php.conf to use -zts SAPI build for worker MPM
863
864 * Wed Feb 4 2009 Joe Orton <jorton@redhat.com> 5.2.8-8
865 - fix patch fuzz, renumber patches
866
867 * Wed Feb 4 2009 Joe Orton <jorton@redhat.com> 5.2.8-7
868 - drop obsolete configure args
869 - drop -odbc patch (#483690)
870
871 * Mon Jan 26 2009 Joe Orton <jorton@redhat.com> 5.2.8-5
872 - split out sysvshm, sysvsem, sysvmsg, posix into php-process
873
874 * Sun Jan 25 2009 Joe Orton <jorton@redhat.com> 5.2.8-4
875 - move wddx to php-xml, build curl shared in -common
876 - remove BR for expat-devel, bogus configure option
877
878 * Fri Jan 23 2009 Joe Orton <jorton@redhat.com> 5.2.8-3
879 - rebuild for new MySQL
880
881 * Sat Dec 13 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.8-2
882 - libtool 2 workaround for phpize (#476004)
883 - add missing php_embed.h (#457777)
884
885 * Tue Dec 09 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.8-1
886 - update to 5.2.8
887
888 * Sat Dec 06 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.7-1.1
889 - libtool 2 workaround
890
891 * Fri Dec 05 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.7-1
892 - update to 5.2.7
893 - enable pdo_dblib driver in php-mssql
894
895 * Mon Nov 24 2008 Joe Orton <jorton@redhat.com> 5.2.6-7
896 - tweak Summary, thanks to Richard Hughes
897
898 * Tue Nov 4 2008 Joe Orton <jorton@redhat.com> 5.2.6-6
899 - move gd_README to php-gd
900 - update to r4 of systzdata patch; introduces a default timezone
901 name of "System/Localtime", which uses /etc/localtime (#469532)
902
903 * Sat Sep 13 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.6-5
904 - enable XPM support in php-gd
905 - Fix BR for php-gd
906
907 * Sun Jul 20 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.6-4
908 - enable T1lib support in php-gd
909
910 * Mon Jul 14 2008 Joe Orton <jorton@redhat.com> 5.2.6-3
911 - update to 5.2.6
912 - sync default php.ini with upstream
913 - drop extension_dir from default php.ini, rely on hard-coded
914 default, to make php-common multilib-safe (#455091)
915 - update to r3 of systzdata patch
916
917 * Thu Apr 24 2008 Joe Orton <jorton@redhat.com> 5.2.5-7
918 - split pspell extension out into php-spell (#443857)
919
920 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 5.2.5-6
921 - Autorebuild for GCC 4.3
922
923 * Fri Jan 11 2008 Joe Orton <jorton@redhat.com> 5.2.5-5
924 - ext/date: use system timezone database
925
926 * Fri Dec 28 2007 Joe Orton <jorton@redhat.com> 5.2.5-4
927 - rebuild for libc-client bump
928
929 * Wed Dec 05 2007 Release Engineering <rel-eng at fedoraproject dot org> - 5.2.5-3
930 - Rebuild for openssl bump
931
932 * Wed Dec 5 2007 Joe Orton <jorton@redhat.com> 5.2.5-2
933 - update to 5.2.5
934
935 * Mon Oct 15 2007 Joe Orton <jorton@redhat.com> 5.2.4-3
936 - correct pcre BR version (#333021)
937 - restore metaphone fix (#205714)
938 - add READMEs to php-cli
939
940 * Sun Sep 16 2007 Joe Orton <jorton@redhat.com> 5.2.4-2
941 - update to 5.2.4
942
943 * Sun Sep 2 2007 Joe Orton <jorton@redhat.com> 5.2.3-9
944 - rebuild for fixed APR
945
946 * Tue Aug 28 2007 Joe Orton <jorton@redhat.com> 5.2.3-8
947 - add ldconfig post/postun for -embedded (Hans de Goede)
948
949 * Fri Aug 10 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 5.2.3-7
950 - add php-embedded sub-package
951
952 * Fri Aug 10 2007 Joe Orton <jorton@redhat.com> 5.2.3-6
953 - fix build with new glibc
954 - fix License
955
956 * Mon Jul 16 2007 Joe Orton <jorton@redhat.com> 5.2.3-5
957 - define php_extdir in macros.php
958
959 * Mon Jul 2 2007 Joe Orton <jorton@redhat.com> 5.2.3-4
960 - obsolete php-dbase
961
962 * Tue Jun 19 2007 Joe Orton <jorton@redhat.com> 5.2.3-3
963 - add mcrypt, mhash, tidy, mssql subpackages (Dmitry Butskoy)
964 - enable dbase extension and package in -common
965
966 * Fri Jun 8 2007 Joe Orton <jorton@redhat.com> 5.2.3-2
967 - update to 5.2.3 (thanks to Jeff Sheltren)
968
969 * Wed May 9 2007 Joe Orton <jorton@redhat.com> 5.2.2-4
970 - fix php-pdo *_arg_force_ref global symbol abuse (#216125)
971
972 * Tue May 8 2007 Joe Orton <jorton@redhat.com> 5.2.2-3
973 - rebuild against uw-imap-devel
974
975 * Fri May 4 2007 Joe Orton <jorton@redhat.com> 5.2.2-2
976 - update to 5.2.2
977 - synch changes from upstream recommended php.ini
978
979 * Thu Mar 29 2007 Joe Orton <jorton@redhat.com> 5.2.1-5
980 - enable SASL support in LDAP extension (#205772)
981
982 * Wed Mar 21 2007 Joe Orton <jorton@redhat.com> 5.2.1-4
983 - drop mime_magic extension (deprecated by php-pecl-Fileinfo)
984
985 * Mon Feb 19 2007 Joe Orton <jorton@redhat.com> 5.2.1-3
986 - fix regression in str_{i,}replace (from upstream)
987
988 * Thu Feb 15 2007 Joe Orton <jorton@redhat.com> 5.2.1-2
989 - update to 5.2.1
990 - add Requires(pre) for httpd
991 - trim %%changelog to versions >= 5.0.0
992
993 * Thu Feb 8 2007 Joe Orton <jorton@redhat.com> 5.2.0-10
994 - bump default memory_limit to 32M (#220821)
995 - mark config files noreplace again (#174251)
996 - drop trailing dots from Summary fields
997 - use standard BuildRoot
998 - drop libtool15 patch (#226294)
999
1000 * Tue Jan 30 2007 Joe Orton <jorton@redhat.com> 5.2.0-9
1001 - add php(api), php(zend-abi) provides (#221302)
1002 - package /usr/share/php and append to default include_path (#225434)
1003
1004 * Tue Dec 5 2006 Joe Orton <jorton@redhat.com> 5.2.0-8
1005 - fix filter.h installation path
1006 - fix php-zend-abi version (Remi Collet, #212804)
1007
1008 * Tue Nov 28 2006 Joe Orton <jorton@redhat.com> 5.2.0-7
1009 - rebuild again
1010
1011 * Tue Nov 28 2006 Joe Orton <jorton@redhat.com> 5.2.0-6
1012 - rebuild for net-snmp soname bump
1013
1014 * Mon Nov 27 2006 Joe Orton <jorton@redhat.com> 5.2.0-5
1015 - build json and zip shared, in -common (Remi Collet, #215966)
1016 - obsolete php-json and php-pecl-zip
1017 - build readline extension into /usr/bin/php* (#210585)
1018 - change module subpackages to require php-common not php (#177821)
1019
1020 * Wed Nov 15 2006 Joe Orton <jorton@redhat.com> 5.2.0-4
1021 - provide php-zend-abi (#212804)
1022 - add /etc/rpm/macros.php exporting interface versions
1023 - synch with upstream recommended php.ini
1024
1025 * Wed Nov 15 2006 Joe Orton <jorton@redhat.com> 5.2.0-3
1026 - update to 5.2.0 (#213837)
1027 - php-xml provides php-domxml (#215656)
1028 - fix php-pdo-abi provide (#214281)
1029
1030 * Tue Oct 31 2006 Joseph Orton <jorton@redhat.com> 5.1.6-4
1031 - rebuild for curl soname bump
1032 - add build fix for curl 7.16 API
1033
1034 * Wed Oct 4 2006 Joe Orton <jorton@redhat.com> 5.1.6-3
1035 - from upstream: add safety checks against integer overflow in _ecalloc
1036
1037 * Tue Aug 29 2006 Joe Orton <jorton@redhat.com> 5.1.6-2
1038 - update to 5.1.6 (security fixes)
1039 - bump default memory_limit to 16M (#196802)
1040
1041 * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 5.1.4-8.1
1042 - rebuild
1043
1044 * Fri Jun 9 2006 Joe Orton <jorton@redhat.com> 5.1.4-8
1045 - Provide php-posix (#194583)
1046 - only provide php-pcntl from -cli subpackage
1047 - add missing defattr's (thanks to Matthias Saou)
1048
1049 * Fri Jun 9 2006 Joe Orton <jorton@redhat.com> 5.1.4-7
1050 - move Obsoletes for php-openssl to -common (#194501)
1051 - Provide: php-cgi from -cli subpackage
1052
1053 * Fri Jun 2 2006 Joe Orton <jorton@redhat.com> 5.1.4-6
1054 - split out php-cli, php-common subpackages (#177821)
1055 - add php-pdo-abi version export (#193202)
1056
1057 * Wed May 24 2006 Radek Vokal <rvokal@redhat.com> 5.1.4-5.1
1058 - rebuilt for new libnetsnmp
1059
1060 * Thu May 18 2006 Joe Orton <jorton@redhat.com> 5.1.4-5
1061 - provide mod_php (#187891)
1062 - provide php-cli (#192196)
1063 - use correct LDAP fix (#181518)
1064 - define _GNU_SOURCE in php_config.h and leave it defined
1065 - drop (circular) dependency on php-pear
1066
1067 * Mon May 8 2006 Joe Orton <jorton@redhat.com> 5.1.4-3
1068 - update to 5.1.4
1069
1070 * Wed May 3 2006 Joe Orton <jorton@redhat.com> 5.1.3-3
1071 - update to 5.1.3
1072
1073 * Tue Feb 28 2006 Joe Orton <jorton@redhat.com> 5.1.2-5
1074 - provide php-api (#183227)
1075 - add provides for all builtin modules (Tim Jackson, #173804)
1076 - own %%{_libdir}/php/pear for PEAR packages (per #176733)
1077 - add obsoletes to allow upgrade from FE4 PDO packages (#181863)
1078
1079 * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 5.1.2-4.3
1080 - bump again for double-long bug on ppc(64)
1081
1082 * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 5.1.2-4.1
1083 - rebuilt for new gcc4.1 snapshot and glibc changes
1084
1085 * Tue Jan 31 2006 Joe Orton <jorton@redhat.com> 5.1.2-4
1086 - rebuild for new libc-client soname
1087
1088 * Mon Jan 16 2006 Joe Orton <jorton@redhat.com> 5.1.2-3
1089 - only build xmlreader and xmlwriter shared (#177810)
1090
1091 * Fri Jan 13 2006 Joe Orton <jorton@redhat.com> 5.1.2-2
1092 - update to 5.1.2
1093
1094 * Thu Jan 5 2006 Joe Orton <jorton@redhat.com> 5.1.1-8
1095 - rebuild again
1096
1097 * Mon Jan 2 2006 Joe Orton <jorton@redhat.com> 5.1.1-7
1098 - rebuild for new net-snmp
1099
1100 * Mon Dec 12 2005 Joe Orton <jorton@redhat.com> 5.1.1-6
1101 - enable short_open_tag in default php.ini again (#175381)
1102
1103 * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
1104 - rebuilt
1105
1106 * Thu Dec 8 2005 Joe Orton <jorton@redhat.com> 5.1.1-5
1107 - require net-snmp for php-snmp (#174800)
1108
1109 * Sun Dec 4 2005 Joe Orton <jorton@redhat.com> 5.1.1-4
1110 - add /usr/share/pear back to hard-coded include_path (#174885)
1111
1112 * Fri Dec 2 2005 Joe Orton <jorton@redhat.com> 5.1.1-3
1113 - rebuild for httpd 2.2
1114
1115 * Mon Nov 28 2005 Joe Orton <jorton@redhat.com> 5.1.1-2
1116 - update to 5.1.1
1117 - remove pear subpackage
1118 - enable pdo extensions (php-pdo subpackage)
1119 - remove non-standard conditional module builds
1120 - enable xmlreader extension
1121
1122 * Thu Nov 10 2005 Tomas Mraz <tmraz@redhat.com> 5.0.5-6
1123 - rebuilt against new openssl
1124
1125 * Mon Nov 7 2005 Joe Orton <jorton@redhat.com> 5.0.5-5
1126 - pear: update to XML_RPC 1.4.4, XML_Parser 1.2.7, Mail 1.1.9 (#172528)
1127
1128 * Tue Nov 1 2005 Joe Orton <jorton@redhat.com> 5.0.5-4
1129 - rebuild for new libnetsnmp
1130
1131 * Wed Sep 14 2005 Joe Orton <jorton@redhat.com> 5.0.5-3
1132 - update to 5.0.5
1133 - add fix for upstream #34435
1134 - devel: require autoconf, automake (#159283)
1135 - pear: update to HTTP-1.3.6, Mail-1.1.8, Net_SMTP-1.2.7, XML_RPC-1.4.1
1136 - fix imagettftext et al (upstream, #161001)
1137
1138 * Thu Jun 16 2005 Joe Orton <jorton@redhat.com> 5.0.4-11
1139 - ldap: restore ldap_start_tls() function
1140
1141 * Fri May 6 2005 Joe Orton <jorton@redhat.com> 5.0.4-10
1142 - disable RPATHs in shared extensions (#156974)
1143
1144 * Tue May 3 2005 Joe Orton <jorton@redhat.com> 5.0.4-9
1145 - build simplexml_import_dom even with shared dom (#156434)
1146 - prevent truncation of copied files to ~2Mb (#155916)
1147 - install /usr/bin/php from CLI build alongside CGI
1148 - enable sysvmsg extension (#142988)
1149
1150 * Mon Apr 25 2005 Joe Orton <jorton@redhat.com> 5.0.4-8
1151 - prevent build of builtin dba as well as shared extension
1152
1153 * Wed Apr 13 2005 Joe Orton <jorton@redhat.com> 5.0.4-7
1154 - split out dba and bcmath extensions into subpackages
1155 - BuildRequire gcc-c++ to avoid AC_PROG_CXX{,CPP} failure (#155221)
1156 - pear: update to DB-1.7.6
1157 - enable FastCGI support in /usr/bin/php-cgi (#149596)
1158
1159 * Wed Apr 13 2005 Joe Orton <jorton@redhat.com> 5.0.4-6
1160 - build /usr/bin/php with the CLI SAPI, and add /usr/bin/php-cgi,
1161 built with the CGI SAPI (thanks to Edward Rudd, #137704)
1162 - add php(1) man page for CLI
1163 - fix more test cases to use -n when invoking php
1164
1165 * Wed Apr 13 2005 Joe Orton <jorton@redhat.com> 5.0.4-5
1166 - rebuild for new libpq soname
1167
1168 * Tue Apr 12 2005 Joe Orton <jorton@redhat.com> 5.0.4-4
1169 - bundle from PEAR: HTTP, Mail, XML_Parser, Net_Socket, Net_SMTP
1170 - snmp: disable MSHUTDOWN function to prevent error_log noise (#153988)
1171 - mysqli: add fix for crash on x86_64 (Georg Richter, upstream #32282)
1172
1173 * Mon Apr 11 2005 Joe Orton <jorton@redhat.com> 5.0.4-3
1174 - build shared objects as PIC (#154195)
1175
1176 * Mon Apr 4 2005 Joe Orton <jorton@redhat.com> 5.0.4-2
1177 - fix PEAR installation and bundle PEAR DB-1.7.5 package
1178
1179 * Fri Apr 1 2005 Joe Orton <jorton@redhat.com> 5.0.4-1
1180 - update to 5.0.4 (#153068)
1181 - add .phps AddType to php.conf (#152973)
1182 - better gcc4 fix for libxmlrpc
1183
1184 * Wed Mar 30 2005 Joe Orton <jorton@redhat.com> 5.0.3-5
1185 - BuildRequire mysql-devel >= 4.1
1186 - don't mark php.ini as noreplace to make upgrades work (#152171)
1187 - fix subpackage descriptions (#152628)
1188 - fix memset(,,0) in Zend (thanks to Dave Jones)
1189 - fix various compiler warnings in Zend
1190
1191 * Thu Mar 24 2005 Joe Orton <jorton@redhat.com> 5.0.3-4
1192 - package mysqli extension in php-mysql
1193 - really enable pcntl (#142903)
1194 - don't build with --enable-safe-mode (#148969)
1195 - use "Instant Client" libraries for oci8 module (Kai Bolay, #149873)
1196
1197 * Fri Feb 18 2005 Joe Orton <jorton@redhat.com> 5.0.3-3
1198 - fix build with GCC 4
1199
1200 * Wed Feb 9 2005 Joe Orton <jorton@redhat.com> 5.0.3-2
1201 - install the ext/gd headers (#145891)
1202 - enable pcntl extension in /usr/bin/php (#142903)
1203 - add libmbfl array arithmetic fix (dcb314@hotmail.com, #143795)
1204 - add BuildRequire for recent pcre-devel (#147448)
1205
1206 * Wed Jan 12 2005 Joe Orton <jorton@redhat.com> 5.0.3-1
1207 - update to 5.0.3 (thanks to Robert Scheck et al, #143101)
1208 - enable xsl extension (#142174)
1209 - package both the xsl and dom extensions in php-xml
1210 - enable soap extension, shared (php-soap package) (#142901)
1211 - add patches from upstream 5.0 branch:
1212 * Zend_strtod.c compile fixes
1213 * correct php_sprintf return value usage
1214
1215 * Mon Nov 22 2004 Joe Orton <jorton@redhat.com> 5.0.2-8
1216 - update for db4-4.3 (Robert Scheck, #140167)
1217 - build against mysql-devel
1218 - run tests in %%check
1219
1220 * Wed Nov 10 2004 Joe Orton <jorton@redhat.com> 5.0.2-7
1221 - truncate changelog at 4.3.1-1
1222 - merge from 4.3.x package:
1223 - enable mime_magic extension and Require: file (#130276)
1224
1225 * Mon Nov 8 2004 Joe Orton <jorton@redhat.com> 5.0.2-6
1226 - fix dom/sqlite enable/without confusion
1227
1228 * Mon Nov 8 2004 Joe Orton <jorton@redhat.com> 5.0.2-5
1229 - fix phpize installation for lib64 platforms
1230 - add fix for segfault in variable parsing introduced in 5.0.2
1231
1232 * Mon Nov 8 2004 Joe Orton <jorton@redhat.com> 5.0.2-4
1233 - update to 5.0.2 (#127980)
1234 - build against mysqlclient10-devel
1235 - use new RTLD_DEEPBIND to load extension modules
1236 - drop explicit requirement for elfutils-devel
1237 - use AddHandler in default conf.d/php.conf (#135664)
1238 - "fix" round() fudging for recent gcc on x86
1239 - disable sqlite pending audit of warnings and subpackage split
1240
1241 * Fri Sep 17 2004 Joe Orton <jorton@redhat.com> 5.0.1-4
1242 - don't build dom extension into 2.0 SAPI
1243
1244 * Fri Sep 17 2004 Joe Orton <jorton@redhat.com> 5.0.1-3
1245 - ExclusiveArch: x86 ppc x86_64 for the moment
1246
1247 * Fri Sep 17 2004 Joe Orton <jorton@redhat.com> 5.0.1-2
1248 - fix default extension_dir and conf.d/php.conf
1249
1250 * Thu Sep 9 2004 Joe Orton <jorton@redhat.com> 5.0.1-1
1251 - update to 5.0.1
1252 - only build shared modules once
1253 - put dom extension in php-dom subpackage again
1254 - move extension modules into %%{_libdir}/php/modules
1255 - don't use --with-regex=system, it's ignored for the apache* SAPIs
1256
1257 * Wed Aug 11 2004 Tom Callaway <tcallawa@redhat.com>
1258 - Merge in some spec file changes from Jeff Stern (jastern@uci.edu)
1259
1260 * Mon Aug 09 2004 Tom Callaway <tcallawa@redhat.com>
1261 - bump to 5.0.0
1262 - add patch to prevent clobbering struct re_registers from regex.h
1263 - remove domxml references, replaced with dom now built-in
1264 - fix php.ini to refer to php5 not php4

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed