/[smecontribs]/rpms/php5-cgi/contribs7/php5-cgi.spec
ViewVC logotype

Contents of /rpms/php5-cgi/contribs7/php5-cgi.spec

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


Revision 1.5 - (show annotations) (download)
Thu Mar 4 16:15:36 2010 UTC (14 years, 3 months ago) by slords
Branch: MAIN
CVS Tags: php5-cgi-5_3_0-2_el4_sme
Changes since 1.4: +9 -20 lines
Update package

1 # $Id: php5-cgi.spec,v 1.2 2009/03/04 19:31:30 slords Exp $
2 # Authority: nocvs
3 # Name: David Harper
4
5 %define rhel4 1
6
7 %define contentdir /var/www
8 %define with_oci8 %{?_with_oci8:1}%{!?_with_oci8:0}
9 %define with_mssql %{?_with_mssql:1}%{!?_with_mssql:0}
10 %define with_mhash %{?_with_mhash:1}%{!?_with_mhash:0}
11 %define with_mcrypt %{?_with_mcrypt:1}%{!?_with_mcrypt:0}
12 %define with_mbstring %{?_with_mbstring:1}%{!?_with_mbstring:0}
13 %define with_tidy %{?_with_tidy:1}%{!?_with_tidy:0}
14
15 Summary: The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor)
16 Name: php5-cgi
17 Version: 5.3.0
18 Release: 2.el4.sme
19 %{?rh90:Epoch: 1 }
20 License: The PHP License
21 Group: Development/Languages
22 URL: http://www.php.net/
23
24 Source0: http://www.php.net/distributions/php-%{version}.tar.bz2
25
26 Source50: php5.conf
27
28 #Patch2: php-4.3.4-config.patch
29 #Patch3: php-4.2.2-lib64.patch
30 #Patch4: php-4.2.2-cxx.patch
31 #Patch5: php-4.3.3-install.patch
32 #Patch6: php-4.3.1-tests.patch
33 #Patch7: php-4.3.2-libtool15.patch
34 #Patch8: php-4.3.3-miscfix.patch
35 #Patch9: php-4.3.6-umask.patch
36 Patch10: php-4.3.7-handler.patch
37 Patch11: php-4.3.8-fdsetsize.patch
38
39 # Fixes for extension modules
40 #Patch21: php-4.3.1-odbc.patch
41 #Patch22: php-4.3.2-db4.patch
42 #Patch23: php-4.3.7-gmppowm.patch
43
44 # Functional changes
45 #Patch30: php-4.3.1-dlopen.patch
46 #Patch31: php-4.3.4-easter.patch
47
48 BuildRoot: %{_tmppath}/%{name}-root
49
50 BuildRequires: bzip2-devel, curl-devel >= 7.9, db4-devel, expat-devel, freetype-devel
51 BuildRequires: gd-devel >= 1.8.4, gmp-devel, aspell-devel
52 BuildRequires: httpd-devel, libjpeg-devel, libpng-devel, pam-devel
53 BuildRequires: libstdc++-devel, ncurses-devel, openssl-devel
54 BuildRequires: zlib-devel, pcre-devel libxml2-devel
55 %{?rhel4:BuildRequires: libgcrypt-devel, libxml2-devel, libxslt-devel}
56 BuildRequires: bzip2, fileutils, perl, libtool >= 1.4.3
57 %{?_with_tidy:BuildRequires: tidy}
58 %{?_with_tidy:Requires: tidy}
59
60 Obsoletes: php-dbg, php3, phpfi, stronghold-php, php-xslt
61 # Enforce Apache module ABI compatibility
62 Requires: httpd-mmn = %(cat %{_includedir}/httpd/.mmn || echo missing-httpd-devel)
63 Requires: php5-cgi-pear
64 Conflicts: php >= 5.0.0
65 # Require extension which was previously built-in
66 # Requires: php-mbstring = %{version}-%{release}
67 # ^^ dunno if mbstring is required anymore, couldn't get it to compile
68 # initially so I nuked the requirement
69
70
71 %description
72 PHP is an HTML-embedded scripting language. PHP attempts to make it
73 easy for developers to write dynamically generated webpages. PHP also
74 offers built-in database integration for several commercial and
75 non-commercial database management systems, so writing a
76 database-enabled webpage with PHP is fairly simple. The most common
77 use of PHP coding is probably as a replacement for CGI scripts. The
78 mod_php module enables the Apache Web server to understand and process
79 the embedded PHP language in Web pages.
80
81 This is a CGI build of PHP5. This is to assist hosts in deploying PHP5 side by side with PHP4. After installation it is recommended the following lines be added to a servers startup scripts to avoid the requirement of a shebang line on .php5 files:
82
83 # Allow PHP5 to run without shebang
84 modprobe binfmt_misc
85 echo ':PHP5:E::php5::/usr/bin/php5/php:' > /proc/sys/fs/binfmt_misc/register
86
87 %package devel
88 Group: Development/Libraries
89 Summary: Files needed for building PHP extensions.
90 Requires: php5-cgi = %{version}-%{release}
91
92 %description devel
93 The php-devel package contains the files needed for building PHP
94 extensions. If you need to compile your own PHP extensions, you will
95 need to install this package.
96
97 %package pear
98 Group: Development/Languages
99 Summary: PHP Extension and Application Repository Components
100 Requires: php5-cgi
101
102 %description pear
103 PEAR is a framework and distribution system for reusable PHP
104 components. This package contains a set of PHP components from the
105 PEAR repository.
106
107 %package imap
108 Summary: An Apache module for PHP applications that use IMAP.
109 Group: Development/Languages
110 Requires: php5-cgi = %{version}-%{release}
111 Obsoletes: mod_php3-imap, stronghold-php-imap
112 BuildRequires: krb5-devel, openssl-devel
113 %{?rh73:BuildRequires: imap-devel}
114 %{?rh90:BuildRequires: imap-devel}
115 %{?rhel3:BuildRequires: imap-devel}
116 %{?rhfc1:BuildRequires: imap-devel}
117 %{?rhfc2:BuildRequires: libc-client-devel}
118 %{?rhel4:BuildRequires: libc-client-devel}
119
120
121 %description imap
122 The php-imap package contains a dynamic shared object (DSO) for the
123 Apache Web server. When compiled into Apache, the php-imap module will
124 add IMAP (Internet Message Access Protocol) support to PHP. IMAP is a
125 protocol for retrieving and uploading e-mail messages on mail
126 servers. PHP is an HTML-embedded scripting language. If you need IMAP
127 support for PHP applications, you will need to install this package
128 and the php package.
129
130 %package ldap
131 Summary: A module for PHP applications that use LDAP.
132 Group: Development/Languages
133 Requires: php5-cgi = %{version}-%{release}
134 Obsoletes: mod_php3-ldap, stronghold-php-ldap
135 BuildRequires: cyrus-sasl-devel, openldap-devel, openssl-devel
136
137 %description ldap
138 The php-ldap package is a dynamic shared object (DSO) for the Apache
139 Web server that adds Lightweight Directory Access Protocol (LDAP)
140 support to PHP. LDAP is a set of protocols for accessing directory
141 services over the Internet. PHP is an HTML-embedded scripting
142 language. If you need LDAP support for PHP applications, you will
143 need to install this package in addition to the php package.
144
145 %package mysql
146 Summary: A module for PHP applications that use MySQL databases.
147 Group: Development/Languages
148 Requires: php5-cgi = %{version}-%{release}
149 Provides: php_database
150 Obsoletes: mod_php3-mysql, stronghold-php-mysql
151 BuildRequires: mysql-devel
152
153 %description mysql
154 The php-mysql package contains a dynamic shared object that will add
155 MySQL database support to PHP. MySQL is an object-relational database
156 management system. PHP is an HTML-embeddable scripting language. If
157 you need MySQL support for PHP applications, you will need to install
158 this package and the php or mod_php package.
159
160 %package pgsql
161 Summary: A PostgreSQL database module for PHP.
162 Group: Development/Languages
163 Requires: php5-cgi = %{version}-%{release}
164 Provides: php_database
165 Obsoletes: mod_php3-pgsql, stronghold-php-pgsql
166 BuildRequires: krb5-devel, openssl-devel
167 %{?rh73:BuildRequires: postgresql-devel}
168 %{?rhfc1:BuildRequires: postgresql-devel}
169 %{?rhfc2:BuildRequires: postgresql-devel}
170 %{?rhel3:BuildRequires: rh-postgresql-devel}
171 %{?rhel4:BuildRequires: postgresql-devel}
172 %{?rh90:BuildRequires: postgresql-devel}
173
174
175 %description pgsql
176 The php-pgsql package includes a dynamic shared object (DSO) that can
177 be compiled in to the Apache Web server to add PostgreSQL database
178 support to PHP. PostgreSQL is an object-relational database management
179 system that supports almost all SQL constructs. PHP is an
180 HTML-embedded scripting language. If you need back-end support for
181 PostgreSQL, you should install this package in addition to the main
182 php package.
183
184 %package odbc
185 Group: Development/Languages
186 Requires: php5-cgi = %{version}-%{release}
187 Summary: A module for PHP applications that use ODBC databases.
188 Provides: php_database
189 Obsoletes: stronghold-php-odbc
190 BuildRequires: unixODBC-devel
191
192 %description odbc
193 The php-odbc package contains a dynamic shared object that will add
194 database support through ODBC to PHP. ODBC is an open specification
195 which provides a consistent API for developers to use for accessing
196 data sources (which are often, but not always, databases). PHP is an
197 HTML-embeddable scripting language. If you need ODBC support for PHP
198 applications, you will need to install this package and the php
199 package.
200
201 %if %{with_oci8}
202 %package oci8
203 Group: Development/Languages
204 Requires: php5-cgi = %{version}-%{release}
205 Summary: A module for PHP applications that use OCI8 databases.
206 Provides: php_database
207
208 %description oci8
209 The php-oci8 package contains a dynamic shared object that will add
210 support for accessing OCI8 databases to PHP.
211 %endif
212
213 %if %{with_mssql}
214 %package mssql
215 Group: Development/Languages
216 Requires: php5-cgi = %{version}-%{release}, freetds
217 Summary: A module for PHP applications that use MSSQL databases.
218 Provides: php_database
219 BuildRequires: freetds-devel
220
221 %description mssql
222 The mssql package contains a dynamic shared object that will add
223 support for accessing MSSQL databases to PHP.
224 %endif
225
226 %if %{with_mhash}
227 %package mhash
228 Summary: A module for PHP applications that use Mhash.
229 Group: Development/Languages
230 Requires: php5-cgi = %{version}-%{release}
231 BuildRequires: mhash-devel
232
233 %description mhash
234 The php-mhash package is a dynamic shared object (DSO) for the Apache
235 Web server that adds Mhash support to PHP.
236 %endif
237
238
239 %if %{with_mcrypt}
240 %package mcrypt
241 Group: Development/Languages
242 BuildRequires: libmcrypt, libmcrypt-devel
243 Requires: php5-cgi = %{version}-%{release}, libmcrypt
244 Summary: A module for PHP applications to use the mcrypt library
245
246 %description mcrypt
247 The php-mcrypt library includes a dynamic shared object (DSO) that adds
248 Mcrypt support to PHP4. The libmcrypt is a data encryption library. The
249 library is thread safe and provides encryption and decryption functions.
250 This version of the library supports many encryption algorithms and
251 encryption modes. Some algorithms which are supported: SERPENT,
252 RIJNDAEL, 3DES, GOST, SAFER+, CAST-256, RC2, XTEA, 3WAY, TWOFISH,
253 BLOWFISH, ARCFOUR, WAKE and more. Install this package in addition
254 to main PHP package if you plan to use any of these algorithms.
255 %endif
256
257
258 %package snmp
259 Summary: A module for PHP applications that query SNMP-managed devices.
260 Group: Development/Languages
261 Requires: php5-cgi = %{version}-%{release}
262 BuildRequires: net-snmp-devel, elfutils-devel
263 # elfutils-devel requirement workaround for #103982
264
265 %description snmp
266 The php-snmp package contains a dynamic shared object that will add
267 support for querying SNMP devices to PHP. PHP is an HTML-embeddable
268 scripting language. If you need SNMP support for PHP applications, you
269 will need to install this package and the php package.
270
271 %package xmlrpc
272 Summary: A module for PHP applications which use the XML-RPC protocol
273 Group: Development/Languages
274 Requires: php5-cgi = %{version}-%{release}
275 BuildRequires: expat-devel
276
277 %description xmlrpc
278 The php-xmlrpc package contains a dynamic shared object that will add
279 support for the XML-RPC protocol to PHP.
280
281 %package mbstring
282 Summary: A module for PHP applications which need multi-byte string handling
283 Group: Development/Languages
284 Requires: php5-cgi = %{version}-%{release}
285
286 %description mbstring
287 The php-mbstring package contains a dynamic shared object that will add
288 support for multi-byte string handling to PHP.
289
290 %prep
291 %setup -q -n php-%{version}
292 #%patch2 -p1 -b .config
293 #%patch3 -p1 -b .lib64
294 #%patch4 -p1 -b .cxx
295 #%patch5 -p1 -b .install
296 #%patch6 -p1 -b .tests
297 #%patch7 -p1 -b .libtool15
298 #%patch8 -p1 -b .miscfix
299 #%patch9 -p1 -b .umask
300 #%patch10 -p1 -b .handler
301 #%patch11 -p1 -b .fdsetsize
302
303 #%patch21 -p1 -b .odbc
304 #%patch22 -p1 -b .db4
305 #%patch23 -p1 -b .gmppowm
306
307 #%patch30 -p1 -b .dlopen
308 ##%patch31 -p1 -b .easter
309
310 # Prevent %%doc confusion over LICENSE files
311 cp Zend/LICENSE Zend/ZEND_LICENSE
312 cp TSRM/LICENSE TSRM_LICENSE
313 cp ext/ereg/regex/COPYRIGHT regex_COPYRIGHT
314 cp ext/gd/libgd/README gd_README
315
316 # Source is built twice: once for /usr/bin/php5/php, once for the Apache DSO.
317 mkdir build-cgi
318
319 # Use correct libdir
320 perl -pi -e 's|%{_prefix}/lib|%{_libdir}|' php.ini-production
321 perl -pi -e 's|extension_dir \= \"\.\/\"|extension_dir \= \"%{_libdir}\/php5\/\"|' php.ini-production
322
323 # Remove bogus test; position of read position after fopen(, "a+")
324 # is not defined by C standard, so don't presume anything.
325 rm -f ext/standard/tests/file/bug21131.phpt
326
327 # Tests that fail.
328 rm -f ext/standard/tests/file/bug22414.phpt \
329 ext/session/tests/019.phpt \
330 ext/standard/tests/math/pow.phpt \
331 ext/standard/tests/math/round.phpt \
332 ext/standard/tests/math/abs.phpt \
333 ext/iconv/tests/bug16069.phpt
334
335 : Build for oci8=%{with_oci8} mssql=%{with_mssql} mhash=%{with_mhash} mcrypt=%{with_mcrypt}
336
337 %build
338
339 CFLAGS="$RPM_OPT_FLAGS -Wall -fno-strict-aliasing"; export CFLAGS
340
341 # Install extension modules in %{_libdir}/php5.
342 EXTENSION_DIR=%{_libdir}/php5; export EXTENSION_DIR
343
344 # pull latest ltmain.sh, AC_PROG_LIBTOOL
345 libtoolize --force --copy
346 # force aclocal run during buildconf
347 touch acinclude.m4
348
349 # Regenerate configure scripts (patches change config.m4's)
350 ./buildconf --force
351
352 # Shell function to configure and build a PHP tree.
353 build() {
354 # bison-1.875-2 seems to produce a broken parser; workaround.
355 mkdir Zend && cp ../Zend/zend_{language,ini}_{parser,scanner}.[ch] Zend
356 ln -sf ../configure
357 %configure \
358 --bindir=%{_bindir}/php5 \
359 --sbindir=%{_sbindir}/php5 \
360 --libdir=%{_libdir}/php5 \
361 --includedir=/usr/include/php5 \
362 --cache-file=../config.cache \
363 --sysconfdir=/etc/php5 \
364 --with-config-file-path=%{_sysconfdir}/php5 \
365 --with-config-file-scan-dir=%{_sysconfdir}/php5/php5.d \
366 --enable-discard-path \
367 --disable-debug \
368 --enable-pic \
369 --disable-rpath \
370 --enable-inline-optimization \
371 --with-bz2 \
372 --with-kerberos \
373 --with-db4=%{_prefix} \
374 --with-curl \
375 --with-exec-dir=%{_bindir}/php5 \
376 --with-freetype-dir=%{_prefix} \
377 --with-libdir=%{_lib} \
378 --with-png-dir=%{_prefix} \
379 --with-gd \
380 --enable-gd-native-ttf \
381 --enable-mbstring \
382 --with-mysqli=/usr/bin/mysql_config \
383 --without-gdbm \
384 --with-gettext \
385 --with-ncurses \
386 --with-gmp \
387 --with-iconv \
388 --with-jpeg-dir=%{_prefix} \
389 --with-openssl \
390 --with-png \
391 --with-pspell \
392 --with-regex=system \
393 --with-xml \
394 --with-expat-dir=%{_prefix} \
395 --with-dom=shared,%{_prefix} \
396 --with-dom-xslt=%{_prefix} --with-dom-exslt=%{_prefix} \
397 --with-xsl \
398 --with-xmlrpc=shared \
399 %{?rhfc1:--with-pcre-regex=%{_prefix} } \
400 %{?rhfc2:--with-pcre-regex=%{_prefix} } \
401 --with-zlib \
402 --with-layout=GNU \
403 --enable-bcmath \
404 --enable-exif \
405 --enable-ftp \
406 --enable-magic-quotes \
407 --enable-safe-mode \
408 --enable-sockets \
409 --enable-sysvsem \
410 --enable-sysvshm \
411 --enable-track-vars \
412 --enable-trans-sid \
413 --enable-yp \
414 --enable-wddx \
415 --with-pear=/usr/share/pear5 \
416 --with-imap=shared --with-imap-ssl \
417 %{?rhfc1:--with-kerberos } \
418 %{?rhfc2:--with-kerberos } \
419 %{?rhel3:--with-kerberos=/usr/kerberos } \
420 %{?rhel4:--with-kerberos } \
421 %{?rh90:--with-kerberos=/usr/kerberos } \
422 --with-ldap=shared \
423 --with-mysql=shared,/usr \
424 %{?_with_oci8:--with-oci8=shared} \
425 %{?_with_mssql:--with-mssql=shared} \
426 %{?_with_mhash:--with-mhash=shared} \
427 %{?_with_mcrypt:--with-mcrypt=shared} \
428 --with-pgsql=shared \
429 --with-snmp=shared,%{_prefix} \
430 --with-snmp=shared \
431 --enable-ucd-snmp-hack \
432 --with-unixODBC=shared,%{_prefix} \
433 --enable-memory-limit \
434 --enable-bcmath \
435 --enable-shmop \
436 --enable-calendar \
437 --enable-dbx \
438 --enable-dio \
439 --enable-mcal \
440 %{?_with_tidy:--with-tidy} \
441 %{?_with_mbstring:--enable-mbstring=shared --enable-mbstr-enc-trans --enable-mbregex} \
442 $*
443
444 make %{?_smp_mflags}
445 }
446
447 # Build standalone /usr/bin/php
448 echo "PHP CGI"
449 pushd build-cgi
450 build
451 # Run tests
452 #export NO_INTERACTION=1 REPORT_EXIT_STATUS=1
453 #if ! TZ= LANG= LC_ALL= make test; then
454 # for f in `find .. -name \*.diff -type f -print`; do
455 # echo "TEST FAILURE -- $f --"
456 # cat $f
457 # done
458 #fi
459 #popd
460
461 %install
462 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
463
464 # Hack
465 %{?rh90:install -m 755 -d $RPM_BUILD_ROOT/etc/httpd/conf }
466 %{?rh90:install -m 644 /etc/httpd/conf/httpd.conf $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf/httpd.conf }
467
468 # Install from CGI tree
469 pushd build-cgi
470 make install INSTALL_ROOT=$RPM_BUILD_ROOT
471 popd
472
473 # remove build files
474 rm -fr $RPM_BUILD_ROOT%{_libdir}/php
475
476 # Install the default configuration file and icons
477 install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/php5
478 install -m 644 php.ini-production $RPM_BUILD_ROOT%{_sysconfdir}/php5/php.ini
479 #install -m 755 -d $RPM_BUILD_ROOT%{contentdir}/icons
480 #install -m 644 *.gif $RPM_BUILD_ROOT%{contentdir}/icons/
481
482 # Apache config fragment
483 install -m 755 -d $RPM_BUILD_ROOT/etc/httpd/conf.d
484 install -m 644 $RPM_SOURCE_DIR/php5.conf $RPM_BUILD_ROOT/etc/httpd/conf.d
485
486 install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/php5/php5.d
487 install -m 755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php5
488 install -m 700 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php5/session
489
490 # Generate files lists and stub .ini files for each subpackage
491 for mod in pgsql mysql odbc ldap snmp xmlrpc imap %{?_with_mbstring:mbstring} \
492 %{?_with_oci8:oci8} %{?_with_mssql:mssql} %{?_with_mhash:mhash} %{?_with_mcrypt:mcrypt}; do
493 cat > $RPM_BUILD_ROOT%{_sysconfdir}/php5/php5.d/${mod}.ini <<EOF
494 ; Enable ${mod} extension module
495 extension=${mod}.so
496 EOF
497 cat > files.${mod} <<EOF
498 %{?rhel4:%attr(755,root,root) %{_libdir}/php5/${mod}.so}
499 %{?rhel3:%attr(755,root,root) %{_libdir}/php5/${mod}}
500 %config(noreplace) %attr(644,root,root) %{_sysconfdir}/php5/php5.d/${mod}.ini
501 EOF
502 done
503
504 # Remove PEAR testsuite
505 rm -rf $RPM_BUILD_ROOT%{_datadir}/pear5/tests
506
507 # Remove unpackaged files
508 rm -f $RPM_BUILD_ROOT%{_libdir}/php5/*.a \
509 $RPM_BUILD_ROOT%{_bindir}/php5/{phptar,pearize}
510
511 rm -fr $RPM_BUILD_ROOT/.channels $RPM_BUILD_ROOT/.depdb $RPM_BUILD_ROOT/.depdblock $RPM_BUILD_ROOT/.filemap $RPM_BUILD_ROOT/.lock $RPM_BUILD_ROOT/.registry
512
513 # Remove irrelevant docs
514 rm -f README.{Zeus,QNX,CVS-RULES}
515
516 # Post rh90 hack
517 # Hack
518 %{?rh90: rm -f $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf/httpd.conf* }
519
520
521
522 %clean
523 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
524 rm files.*
525
526 %files
527 %defattr(-,root,root)
528 %doc CODING_STANDARDS CREDITS EXTENSIONS INSTALL LICENSE NEWS README*
529 %doc Zend/ZEND_* gd_README TSRM_LICENSE regex_COPYRIGHT
530 %config(noreplace) %{_sysconfdir}/php5/php.ini
531 %config %{_sysconfdir}/php5/pear.conf
532 %{_bindir}/php5/php
533 %{_bindir}/php5/php-cgi
534 %{_bindir}/php5/phar.phar
535 %dir %{_libdir}/php5
536 %dir %{_localstatedir}/lib/php5
537 %attr(0700,apache,apache) %dir %{_localstatedir}/lib/php5/session
538 %config %{_sysconfdir}/httpd/conf.d/php5.conf
539 %dir %{_sysconfdir}/php5/php5.d
540 %doc %{_datadir}/man
541
542 #/usr/share/man/man1/p
543
544 %files pear
545 %defattr(-,root,root)
546 %{_bindir}/php5/pear
547 %{_datadir}/pear5
548 %{_bindir}/php5/peardev
549 %{_bindir}/php5/pecl
550
551 %files devel
552 %defattr(-,root,root)
553 %{_bindir}/php5/php-config
554 %{_bindir}/php5/phpize
555 #%{_bindir}/php5/phpextdist
556 %{_includedir}/php5
557 %{_libdir}/php5/build
558
559 %files pgsql -f files.pgsql
560 #%{_libdir}/php5/pgsql.so
561
562 %files mysql -f files.mysql
563 #%{_libdir}/php5/mysql.so
564
565 %files odbc -f files.odbc
566 #%{_libdir}/php5/odbc.so
567
568 %if %{with_oci8}
569 %files oci8 -f files.oci8
570 %endif
571
572 %if %{with_mssql}
573 %files mssql -f files.mssql
574 %endif
575
576 %if %{with_mhash}
577 %files mhash -f files.mhash
578 %endif
579
580 %if %{with_mcrypt}
581 %files mcrypt -f files.mcrypt
582 %endif
583
584 %files imap -f files.imap
585 # %{_libdir}/php5/imap.so
586
587 %files ldap -f files.ldap
588 # %{_libdir}/php5/ldap.so
589
590 %files snmp -f files.snmp
591 # %{_libdir}/php5/snmp.so
592
593 %files xmlrpc -f files.xmlrpc
594 # %{_libdir}/php5/xmlrpc.so
595
596 %if %{with_mbstring}
597 %files mbstring -f files.mbstring
598 %endif
599
600 %changelog
601 * Thu Sep 17 2009 David Harper <davidiwharper@hotmail.com> 5.3.0-2.el4
602 - Fix for PHP4 compatibility issues [SME: 5463]
603 * Sun Sep 6 2009 David Harper <davidiwharper@hotmail.com> 5.3.0-1.el4
604 - Upgrade to the latest version of PHP [SME: 5376]
605 - Add MySQLi support
606 - Re-add mbstring support
607 - Misc. build fixes for CentOS/SME
608 * Mon Jan 12 2009 David Harper <davidiwharper@hotmail.com> 5.2.8-1.el4
609 - Upgrade to latest version of PHP
610 - Build fixes for CentOS/SME
611 * Fri Jan 20 2006 Stuart K. Low <stuart@serverpeak.com> 5.1.2-1
612 - Mass upgrade
613 - Added rhel4 flags
614 - Fixed pointers to changed (?) libraries from lib.so to just lib. Odd change.
615 * Fri Jun 10 2005 Stuart K. Low <stuart@serverpeak.com> 5.0.4-2
616 - Fixed tidy again.
617 * Sun May 29 2005 Stuart K. Low <stuart@serverpeak.com> 5.0.4-1
618 - Upgrade to 5.0.4
619 * Sat Feb 19 2005 Stuart K. Low <stuart@serverpeak.com> 5.0.3-3
620 - addition of --with-tidy
621 * Wed Jan 26 2005 Stuart K. Low <stuart@serverpeak.com> 5.0.3-1
622 - initial conversion to a CGI version for PHP5
623 - removed domxml since it's been moved to PECL in PHP5
624 - renamed to php5-cgi for clarity reasons (not to conflict with ARTs PHP5)
625 - removed mbstring dependency, don't know if this is smart
626
627 * Fri Oct 15 2004 Scott R. Shinn <scott@atomicrocketturtle.com> 4.3.9-11
628 - set the Epoch number for rh90 only, apparently there is some bug in yum on FC1/FC2/3ES that causes issues when using the Epoch
629
630 * Sat Oct 09 2004 Scott R. Shinn <scott@atomicrocketturtle.com> 4.3.9-10
631 - rebuilt for high file descriptor environments
632
633 * Fri Oct 08 2004 Scott R. Shinn <scott@atomicrocketturtle.com> 4.3.9-8
634 - logs of bugfixes
635
636 * Thu Oct 07 2004 Scott R. Shinn <scott@atomicrocketturtle.com> 4.3.9-6
637 - merging my php 4.3.9 rpm with the FC2 version
638
639 * Fri Jul 16 2004 Joe Orton <jorton@redhat.com> 4.3.8-2.1
640 - revert upstream default php.ini change since 4.3.6
641 - add three FD_SETSIZE changes to main/network.c (#125258)
642
643 * Wed Jul 14 2004 Joe Orton <jorton@redhat.com> 4.3.8-2.0
644 - update to 4.3.8
645 - add gmp_powm fix (Oskari Saarenmaa, #124318)
646 - split out mbstring extension into php-mbstring subpackage
647 - fix rebuild without bison/flex
648 - have -devel require php of same release
649 - add fixes for memory handling in 2.0 handler SAPI
650
651 * Wed May 19 2004 Joe Orton <jorton@redhat.com> 4.3.6-5
652 - don't obsolete php-imap (#123580)
653 - unconditionally build -imap subpackage
654
655 * Thu May 13 2004 Joe Orton <jorton@redhat.com> 4.3.6-4
656 - remove trigger
657
658 * Thu Apr 22 2004 Joe Orton <jorton@redhat.com> 4.3.6-3
659 - fix umask reset "feature" (#121454)
660 - don't use DL_GLOBAL when dlopen'ing extension modules
661
662 * Sun Apr 18 2004 Joe Orton <jorton@redhat.com> 4.3.6-2
663 - fix segfault on httpd SIGHUP (upstream #27810)
664
665 * Fri Apr 16 2004 Joe Orton <jorton@redhat.com> 4.3.6-1
666 - update to 4.3.6 (Robert Scheck, #121011)
667
668 * Wed Apr 7 2004 Joe Orton <jorton@redhat.com> 4.3.4-11
669 - add back imap subpackage, using libc-client (#115535)
670
671 * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
672 - rebuilt
673
674 * Wed Feb 18 2004 Joe Orton <jorton@redhat.com> 4.3.4-10
675 - eliminate /usr/local/lib RPATH in odbc.so
676 - really use system pcre library
677
678 * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> 4.3.4-9
679 - rebuilt
680
681 * Mon Feb 2 2004 Bill Nottingham <notting@redhat.com> 4.3.4-8
682 - obsolete php-imap if we're not building it
683
684 * Wed Jan 28 2004 Joe Orton <jorton@redhat.com> 4.3.4-7
685 - gd fix for build with recent Freetype2 (from upstream)
686 - remove easter egg (Oden Eriksson, Mandrake)
687
688 * Wed Jan 21 2004 Joe Orton <jorton@redhat.com> 4.3.4-6
689 - php-pear requires php
690 - also remove extension=imap from php.ini in upgrade trigger
691 - merge from Taroon: allow upgrade from Stronghold 4.0
692
693 * Wed Jan 21 2004 Joe Orton <jorton@redhat.com> 4.3.4-5
694 - add defattr for php-pear subpackage
695 - restore defaults: output_buffering=Off, register_argc_argv=On
696 - add trigger to handle php.ini upgrades smoothly (#112470)
697
698 * Tue Jan 13 2004 Joe Orton <jorton@redhat.com> 4.3.4-4
699 - conditionalize support for imap extension for the time being
700 - switch /etc/php.ini to use php.ini-recommended (but leave
701 variables_order as EGPCS) (#97765)
702 - set session.path to /var/lib/php/session by default (#89975)
703 - own /var/lib/php{,/session} and have apache own the latter
704 - split off php-pear subpackage (#83771)
705
706 * Sat Dec 13 2003 Jeff Johnson <jbj@jbj.org> 4.3.4-3
707 - rebuild against db-4.2.52.
708
709 * Mon Dec 1 2003 Joe Orton <jorton@redhat.com> 4.3.4-2
710 - rebuild for new libxslt (#110658)
711 - use --with-{mssql,oci8} for enabling extensions (#110482)
712 - fix rebuild issues (Jan Visser, #110274)
713 - remove hard-coded LIBS
714 - conditional support for mhash (Aleksander Adamowski, #111251)
715
716 * Mon Nov 10 2003 Joe Orton <jorton@redhat.com> 4.3.4-1.1
717 - rebuild for FC1 updates
718
719 * Mon Nov 10 2003 Joe Orton <jorton@redhat.com> 4.3.4-1
720 - update to 4.3.4
721 - include all licence files
722 - libxmlrpc fixes
723
724 * Mon Oct 20 2003 Joe Orton <jorton@redhat.com> 4.3.3-6
725 - use bundled libgd (#107407)
726 - remove manual: up-to-date manual sources are no longer DFSG-free;
727 it's too big; it's on the web anyway; #91292, #105804, #107384
728
729 * Wed Oct 15 2003 Joe Orton <jorton@redhat.com> 4.3.3-5
730 - add php-xmlrpc subpackage (#107138)
731
732 * Mon Oct 13 2003 Joe Orton <jorton@redhat.com> 4.3.3-4
733 - drop recode support, symbols collide with MySQL
734
735 * Sun Oct 12 2003 Joe Orton <jorton@redhat.com> 4.3.3-3
736 - split domxml extension into php-domxml subpackage
737 - enable xslt and xml support in domxml extension (#106042)
738 - fix httpd-devel build requirement (#104341)
739 - enable recode extension (#106755)
740 - add workaround for #103982
741
742 * Thu Sep 25 2003 Jeff Johnson <jbj@jbj.org> 4.3.3-3
743 - rebuild against db-4.2.42.
744
745 * Sun Sep 7 2003 Joe Orton <jorton@redhat.com> 4.3.3-2
746 - don't use --enable-versioning, it depends on libtool being
747 broken (#103690)
748
749 * Sun Sep 7 2003 Joe Orton <jorton@redhat.com> 4.3.3-1
750 - update to 4.3.3
751 - add libtool build prereq (#103388)
752 - switch to apache2handler
753
754 * Mon Jul 28 2003 Joe Orton <jorton@redhat.com> 4.3.2-8
755 - rebuild
756
757 * Tue Jul 22 2003 Nalin Dahyabhai <nalin@redhat.com> 4.3.2-7
758 - rebuild
759
760 * Tue Jul 8 2003 Joe Orton <jorton@redhat.com> 4.3.2-6
761 - use system pcre library
762
763 * Mon Jun 9 2003 Joe Orton <jorton@redhat.com> 4.3.2-5
764 - enable mbstring and mbregex (#81336)
765 - fix use of libtool 1.5
766
767 * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
768 - rebuilt
769
770 * Tue Jun 3 2003 Joe Orton <jorton@redhat.com> 4.3.2-3
771 - add lib64 and domxml fixes
772
773 * Tue Jun 3 2003 Frank Dauer <f@paf.net>
774 - added conditional support for mssql module (#92149)
775
776 * Fri May 30 2003 Joe Orton <jorton@redhat.com> 4.3.2-2
777 - update the -tests and -lib64 patches
778 - fixes for db4 detection
779 - require aspell-devel >= 0.50.0 for pspell compatibility
780
781 * Thu May 29 2003 Joe Orton <jorton@redhat.com> 4.3.2-1
782 - update to 4.3.2
783
784 * Fri May 16 2003 Joe Orton <jorton@redhat.com> 4.3.1-3
785 - link odbc module correctly
786 - patch so that php -n doesn't scan inidir
787 - run tests using php -n, avoid loading system modules
788
789 * Wed May 14 2003 Joe Orton <jorton@redhat.com> 4.3.1-2
790 - workaround broken parser produced by bison-1.875
791
792 * Tue May 6 2003 Joe Orton <jorton@redhat.com> 4.3.1-1
793 - update to 4.3.1; run test suite
794 - open extension modules with RTLD_NOW rather than _LAZY
795
796 * Tue May 6 2003 Joe Orton <jorton@redhat.com> 4.2.2-19
797 - patch for gd 2.x API changes in gd extension
798
799 * Thu May 1 2003 Joe Orton <jorton@redhat.com> 4.2.2-18
800 - rebuild to use aspell (#89925)
801 - patch to work round conditional AC_PROG_CXX break in autoconf 2.57
802 - fix dba build against db >= 4.1
803
804 * Mon Feb 24 2003 Joe Orton <jorton@redhat.com> 4.2.2-17
805 - restrict SNMP patch to minimal changes, fixing segv on startup (#84607)
806
807 * Wed Feb 12 2003 Joe Orton <jorton@redhat.com> 4.2.2-16
808 - prevent startup if using httpd.worker to avoid thread-safety issues.
809 - fix parsing private keys in OpenSSL extension (#83994)
810 - fixes for SNMP extension (backport from 4.3) (#74761)
811
812 * Wed Jan 29 2003 Joe Orton <jorton@redhat.com> 4.2.2-15
813 - add security fixes for wordwrap() and mail()
814
815 * Mon Jan 13 2003 Joe Orton <jorton@redhat.com> 4.2.2-14
816 - drop explicit Requires in subpackages, rely on automatic deps.
817 - further fixes for libdir=lib64
818
819 * Tue Dec 17 2002 Joe Orton <jorton@redhat.com> 4.2.2-13
820 - drop prereq for perl, grep in subpackages
821 - rebuild and patch for OpenSSL 0.9.7
822
823 * Tue Dec 10 2002 Joe Orton <jorton@redhat.com> 4.2.2-12
824 - backport "ini dir scanning" patch from CVS HEAD; /etc/php.d/*.ini
825 are now loaded at startup; each subpackage places an ini file
826 in that directory rather than munging /etc/php.ini in post/postun.
827 - default config changes: enable short_open_tag; remove settings for
828 php-dbg extension
829
830 * Wed Dec 4 2002 Joe Orton <jorton@redhat.com> 4.2.2-11
831 - own the /usr/lib/php4 directory (#73894)
832 - reinstate dropped patch to unconditionally disable ZTS
833
834 * Mon Dec 2 2002 Joe Orton <jorton@redhat.com> 4.2.2-10
835 - remove ldconfig invocation in post/postun
836 - fixes for #73516 (partially), #78586, #75029, #75712, #75878
837
838 * Wed Nov 6 2002 Joe Orton <jorton@redhat.com> 4.2.2-9
839 - fixes for libdir=/usr/lib64, based on SuSE's patches.
840 - add build prereqs for zlib-devel, imap-devel, curl-devel (#74819)
841 - remove unpackaged files from install root
842 - libtoolize; use configure cache to speed up build
843
844 * Mon Sep 23 2002 Philip Copeland <bryce@redhat.com> 4.2.2-8.0.6
845 - PHP cannot determine which UID is being used, so safe
846 mode restrictions were always applied. Fixed. (#74396)
847
848 * Tue Sep 3 2002 Philip Copeland <bryce@redhat.com> 4.2.2-8.0.4
849 - zts support seems to crash out httpd on a *second* sighup
850 ie service httpd start;
851 apachectl restart ; (ok)
852 apachectl restart ; (httpd segv's and collapses)
853 removed --enable-experimental-zts which this seems related to.
854 - Small patch added because some places need to know that they
855 aren't using the ZTS API's (dumb)
856
857 * Mon Sep 2 2002 Philip Copeland <bryce@redhat.com> 4.2.2-8.0.3
858 - fixup /etc/httpd/conf.d/php.conf to limit largest amount
859 of data accepted (#73254) Limited to 512K (which seems a
860 little excessive but anyway,..)
861 Note: php.conf is part of the srpm sources not part of the
862 php codebase.
863 - ditched extrenious --enable-debugger (was for php-dbg)
864 - When upgrading we tend not to modify /etc/php.ini if it exists,
865 instead we create php.ini.rpmnew. Modified the post scripts to
866 edit php.ini.rpmnew if it exists, so that people can copy
867 over the php.ini.rpmnew as php.ini knowing that it will
868 be an edited version, consistant with what modules they
869 installed #72033
870
871 * Sun Sep 1 2002 Joe Orton <jorton@redhat.com> 4.2.2-8.0.2
872 - require httpd-mmn for module ABI compatibility
873
874 * Fri Aug 30 2002 Philip Copeland <bryce@redhat.com> 4.2.2-8.0.1
875 - URLS would drop the last arguments #72752
876 --enable-mbstring
877 --enable-mbstr-enc-trans
878 These were supposed to help provide multibyte language
879 support, however, they cause problems. Removed. Maybe in
880 a later errata when they work.
881 - added small patch to php_variables.c that allows
882 $_GET[<var>] to initialise properly when
883 --enable-mbstr-enc-trans is disabled.
884 - Be consistant with errata naming (8.0.x)
885
886 * Tue Aug 27 2002 Nalin Dahyabhai <nalin@redhat.com> 4.2.2-11
887 - rebuild
888
889 * Wed Aug 22 2002 Philip Copeland <bryce@redhat.com> 4.2.2-10
890 - Beat down the requirement list to something a little
891 more sane
892
893 * Wed Aug 14 2002 Bill Nottingham <notting@redhat.com> 4.2.2-9
894 - trim manual language lists
895
896 * Mon Aug 12 2002 Gary Benson <gbenson@redhat.com> 4.2.2-8
897 - rebuild against httpd-2.0.40
898
899 * Sat Aug 10 2002 Elliot Lee <sopwith@redhat.com> 4.2.2-7
900 - rebuilt with gcc-3.2 (we hope)
901
902 * Wed Aug 7 2002 Philip Copeland <bryce@redhat.com> 4.2.2-6
903 - Where multiple cookies are set, only the last one
904 was actually made. Fixes #67853
905
906 * Mon Aug 5 2002 Philip Copeland <bryce@redhat.com> 4.2.2-5
907 - Shuffled the php/php-devel package file manifest
908 with respect to PEAR (PHP Extension and Application
909 Repository) #70673
910
911 * Fri Aug 2 2002 Philip Copeland <bryce@redhat.com> 4.2.2-4
912 - #67815, search path doesn't include the pear directory
913 -pear not being installed correctly. Added --with-pear=
914 option.
915
916 * Tue Jul 23 2002 Tim Powers <timp@redhat.com> 4.2.2-2
917 - build using gcc-3.2-0.1
918
919 * Mon Jul 22 2002 Philip Copeland <bryce@redhat.com> 4.2.2-1
920 - Yippie 8/ another security vunerability (see
921 http://www.php.net/release_4_2_2.php for details)
922
923 * Wed Jul 17 2002 Philip Copeland <bryce@redhat.com> 4.2.1-9
924 - Reminder to self that mm was pushed out because it's
925 NOT thread safe.
926 - Updated the manuals (much to Bills horror)
927
928 * Tue Jul 16 2002 Philip Copeland <bryce@redhat.com> 4.2.1-8
929 - php.ini alteration to fit in with the install/uninstall
930 of various php rpm based installable modules
931
932 * Mon Jul 15 2002 Philip Copeland <bryce@redhat.com> 4.2.1-8
933 - php -v showing signs of deep unhappiness with the world
934 added --enable-experimental-zts to configure to make it
935 happy again (yes I know experimental sounds 'dangerous'
936 it's just a name for an option we need)
937
938 * Fri Jul 12 2002 Philip Copeland <bryce@redhat.com> 4.2.1-7
939 - #68715, Wrong name for Mysql Module in php.ini. Fixed.
940
941 * Fri Jun 28 2002 Philip Copeland <bryce@redhat.com> 4.2.1-6
942 - SNMP fixup
943
944 * Thu Jun 27 2002 Philip Copeland <bryce@redhat.com> 4.2.1-5
945 - Ah,.. seems httpd2 has been renamed to just plain
946 ol' httpd. Fixed spec file to suit.
947 - ucd-snmp changed to net-snmp overnight...
948 temporarily disabled snmp while I work out the
949 impact of this change and if it is safe
950
951 * Wed Jun 26 2002 Philip Copeland <bryce@redhat.com> 4.2.1-4
952 - openldap 2.1.x problem solved by Nalin. Sure the ldap
953 API didn't change,... <mutter>. Added TSRMLS_FETCH()
954 to ldap_rebind_proc().
955 - Removed the php-dbg package as thats going to be provided
956 elsewhere
957
958 * Fri Jun 21 2002 Tim Powers <timp@redhat.com> 4.2.1-3
959 - automated rebuild
960
961 * Mon Jun 10 2002 Philip Copeland <bryce@redhat.com> 4.2.1-2
962 - Actually mm is now a dead project. Removed permently.
963
964 * Tue May 28 2002 Gary Benson <gbenson@redhat.com> 4.2.1-2
965 - change paths for httpd-2.0
966 - add the config file
967 - disable mm temporarily
968
969 * Sun May 26 2002 Tim Powers <timp@redhat.com> 4.2.1-1
970 - automated rebuild
971
972 * Wed May 22 2002 Philip Copeland <bryce@redhat.com> 4.2.1-0
973 - Initial pristine build of php-4.2.1
974 - Minor patch to get around a 64 bitism
975 - Added in the dgb debugging hooks
976

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