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

Annotation of /rpms/php/sme8/php.spec

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


Revision 1.8 - (hide annotations) (download)
Fri Feb 3 15:51:39 2012 UTC (12 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: php-5_3_3-1_el5_sme_6
Changes since 1.7: +19 -3 lines
* Fri Feb 3 2012 Shad L. Lords <slords@mail.com> - 5.3.3-1.6.sme
- Obsolete php-domxml and php-dom [SME: 6733]
- Update Obsoletes and Conflicts [SME: 6436]

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

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