/[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.3 - (show annotations) (download)
Tue Nov 3 06:26:30 2009 UTC (15 years ago) by marcohess
Branch: MAIN
CVS Tags: php5-cgi-5_2_8-2_el4_sme
Changes since 1.2: +31 -10 lines
Ported changes from David Harpers updates to the SME Contribs for building by the build system. I have done all changes except for the move to PHP 5.3.0

1 # $Id: php5-cgi.spec,v 1.2 2009/03/04 19:31:30 slords Exp $
2 # Authority: ????
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.2.8
18 Release: 2%{?dist}
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 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-recommended
321 perl -pi -e 's|extension_dir \= \"\.\/\"|extension_dir \= \"%{_libdir}\/php5\/\"|' php.ini-recommended
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-recommended $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 %dir %{_libdir}/php5
535 %dir %{_localstatedir}/lib/php5
536 %attr(0700,apache,apache) %dir %{_localstatedir}/lib/php5/session
537 %config %{_sysconfdir}/httpd/conf.d/php5.conf
538 %dir %{_sysconfdir}/php5/php5.d
539 %doc %{_datadir}/man
540
541 #/usr/share/man/man1/p
542
543 %files pear
544 %defattr(-,root,root)
545 %{_bindir}/php5/pear
546 %{_datadir}/pear5
547 %{_bindir}/php5/peardev
548 %{_bindir}/php5/pecl
549
550 %files devel
551 %defattr(-,root,root)
552 %{_bindir}/php5/php-config
553 %{_bindir}/php5/phpize
554 #%{_bindir}/php5/phpextdist
555 %{_includedir}/php5
556 %{_libdir}/php5/build
557
558 %files pgsql -f files.pgsql
559 #%{_libdir}/php5/pgsql.so
560
561 %files mysql -f files.mysql
562 #%{_libdir}/php5/mysql.so
563
564 %files odbc -f files.odbc
565 #%{_libdir}/php5/odbc.so
566
567 %if %{with_oci8}
568 %files oci8 -f files.oci8
569 %endif
570
571 %if %{with_mssql}
572 %files mssql -f files.mssql
573 %endif
574
575 %if %{with_mhash}
576 %files mhash -f files.mhash
577 %endif
578
579 %if %{with_mcrypt}
580 %files mcrypt -f files.mcrypt
581 %endif
582
583 %files imap -f files.imap
584 # %{_libdir}/php5/imap.so
585
586 %files ldap -f files.ldap
587 # %{_libdir}/php5/ldap.so
588
589 %files snmp -f files.snmp
590 # %{_libdir}/php5/snmp.so
591
592 %files xmlrpc -f files.xmlrpc
593 # %{_libdir}/php5/xmlrpc.so
594
595 %if %{with_mbstring}
596 %files mbstring -f files.mbstring
597 %endif
598
599 %changelog
600 * Tue Nov 3 2009 Marco Hess <marco.hess@through-ip.com) 5.2.8-2
601 - Porting David Harper's <davidiwharper@hotmail.com> changes and updates
602 to SME Contribs CVS repository and build system. Leave 5.3.0 upgrade
603 for now, but ported:
604 - Fix for PHP4 compatibility issues [SME: 5463]
605 - Add MySQLi support
606 - Re-add mbstring support
607 - Misc. build fixes for CentOS/SME
608
609 * Thu Sep 17 2009 David Harper <davidiwharper@hotmail.com> 5.3.0-2.el4
610 - Fix for PHP4 compatibility issues [SME: 5463]
611
612 * Sun Sep 6 2009 David Harper <davidiwharper@hotmail.com> 5.3.0-1.el4
613 - Upgrade to the latest version of PHP [SME: 5376]
614 - Add MySQLi support
615 - Re-add mbstring support
616 - Misc. build fixes for CentOS/SME
617
618 * Mon Jan 12 2009 David Harper <davidiwharper@hotmail.com> 5.2.8-1.dh
619 - Upgrade to latest version of PHP
620 - Build fixes for CentOS/SME
621
622 * Fri Jan 20 2006 Stuart K. Low <stuart@serverpeak.com> 5.1.2-1
623 - Mass upgrade
624 - Added rhel4 flags
625 - Fixed pointers to changed (?) libraries from lib.so to just lib. Odd change.
626 * Fri Jun 10 2005 Stuart K. Low <stuart@serverpeak.com> 5.0.4-2
627 - Fixed tidy again.
628 * Sun May 29 2005 Stuart K. Low <stuart@serverpeak.com> 5.0.4-1
629 - Upgrade to 5.0.4
630 * Sat Feb 19 2005 Stuart K. Low <stuart@serverpeak.com> 5.0.3-3
631 - addition of --with-tidy
632 * Wed Jan 26 2005 Stuart K. Low <stuart@serverpeak.com> 5.0.3-1
633 - initial conversion to a CGI version for PHP5
634 - removed domxml since it's been moved to PECL in PHP5
635 - renamed to php5-cgi for clarity reasons (not to conflict with ARTs PHP5)
636 - removed mbstring dependency, don't know if this is smart
637
638 * Fri Oct 15 2004 Scott R. Shinn <scott@atomicrocketturtle.com> 4.3.9-11
639 - 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
640
641 * Sat Oct 09 2004 Scott R. Shinn <scott@atomicrocketturtle.com> 4.3.9-10
642 - rebuilt for high file descriptor environments
643
644 * Fri Oct 08 2004 Scott R. Shinn <scott@atomicrocketturtle.com> 4.3.9-8
645 - logs of bugfixes
646
647 * Thu Oct 07 2004 Scott R. Shinn <scott@atomicrocketturtle.com> 4.3.9-6
648 - merging my php 4.3.9 rpm with the FC2 version
649
650 * Fri Jul 16 2004 Joe Orton <jorton@redhat.com> 4.3.8-2.1
651 - revert upstream default php.ini change since 4.3.6
652 - add three FD_SETSIZE changes to main/network.c (#125258)
653
654 * Wed Jul 14 2004 Joe Orton <jorton@redhat.com> 4.3.8-2.0
655 - update to 4.3.8
656 - add gmp_powm fix (Oskari Saarenmaa, #124318)
657 - split out mbstring extension into php-mbstring subpackage
658 - fix rebuild without bison/flex
659 - have -devel require php of same release
660 - add fixes for memory handling in 2.0 handler SAPI
661
662 * Wed May 19 2004 Joe Orton <jorton@redhat.com> 4.3.6-5
663 - don't obsolete php-imap (#123580)
664 - unconditionally build -imap subpackage
665
666 * Thu May 13 2004 Joe Orton <jorton@redhat.com> 4.3.6-4
667 - remove trigger
668
669 * Thu Apr 22 2004 Joe Orton <jorton@redhat.com> 4.3.6-3
670 - fix umask reset "feature" (#121454)
671 - don't use DL_GLOBAL when dlopen'ing extension modules
672
673 * Sun Apr 18 2004 Joe Orton <jorton@redhat.com> 4.3.6-2
674 - fix segfault on httpd SIGHUP (upstream #27810)
675
676 * Fri Apr 16 2004 Joe Orton <jorton@redhat.com> 4.3.6-1
677 - update to 4.3.6 (Robert Scheck, #121011)
678
679 * Wed Apr 7 2004 Joe Orton <jorton@redhat.com> 4.3.4-11
680 - add back imap subpackage, using libc-client (#115535)
681
682 * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
683 - rebuilt
684
685 * Wed Feb 18 2004 Joe Orton <jorton@redhat.com> 4.3.4-10
686 - eliminate /usr/local/lib RPATH in odbc.so
687 - really use system pcre library
688
689 * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> 4.3.4-9
690 - rebuilt
691
692 * Mon Feb 2 2004 Bill Nottingham <notting@redhat.com> 4.3.4-8
693 - obsolete php-imap if we're not building it
694
695 * Wed Jan 28 2004 Joe Orton <jorton@redhat.com> 4.3.4-7
696 - gd fix for build with recent Freetype2 (from upstream)
697 - remove easter egg (Oden Eriksson, Mandrake)
698
699 * Wed Jan 21 2004 Joe Orton <jorton@redhat.com> 4.3.4-6
700 - php-pear requires php
701 - also remove extension=imap from php.ini in upgrade trigger
702 - merge from Taroon: allow upgrade from Stronghold 4.0
703
704 * Wed Jan 21 2004 Joe Orton <jorton@redhat.com> 4.3.4-5
705 - add defattr for php-pear subpackage
706 - restore defaults: output_buffering=Off, register_argc_argv=On
707 - add trigger to handle php.ini upgrades smoothly (#112470)
708
709 * Tue Jan 13 2004 Joe Orton <jorton@redhat.com> 4.3.4-4
710 - conditionalize support for imap extension for the time being
711 - switch /etc/php.ini to use php.ini-recommended (but leave
712 variables_order as EGPCS) (#97765)
713 - set session.path to /var/lib/php/session by default (#89975)
714 - own /var/lib/php{,/session} and have apache own the latter
715 - split off php-pear subpackage (#83771)
716
717 * Sat Dec 13 2003 Jeff Johnson <jbj@jbj.org> 4.3.4-3
718 - rebuild against db-4.2.52.
719
720 * Mon Dec 1 2003 Joe Orton <jorton@redhat.com> 4.3.4-2
721 - rebuild for new libxslt (#110658)
722 - use --with-{mssql,oci8} for enabling extensions (#110482)
723 - fix rebuild issues (Jan Visser, #110274)
724 - remove hard-coded LIBS
725 - conditional support for mhash (Aleksander Adamowski, #111251)
726
727 * Mon Nov 10 2003 Joe Orton <jorton@redhat.com> 4.3.4-1.1
728 - rebuild for FC1 updates
729
730 * Mon Nov 10 2003 Joe Orton <jorton@redhat.com> 4.3.4-1
731 - update to 4.3.4
732 - include all licence files
733 - libxmlrpc fixes
734
735 * Mon Oct 20 2003 Joe Orton <jorton@redhat.com> 4.3.3-6
736 - use bundled libgd (#107407)
737 - remove manual: up-to-date manual sources are no longer DFSG-free;
738 it's too big; it's on the web anyway; #91292, #105804, #107384
739
740 * Wed Oct 15 2003 Joe Orton <jorton@redhat.com> 4.3.3-5
741 - add php-xmlrpc subpackage (#107138)
742
743 * Mon Oct 13 2003 Joe Orton <jorton@redhat.com> 4.3.3-4
744 - drop recode support, symbols collide with MySQL
745
746 * Sun Oct 12 2003 Joe Orton <jorton@redhat.com> 4.3.3-3
747 - split domxml extension into php-domxml subpackage
748 - enable xslt and xml support in domxml extension (#106042)
749 - fix httpd-devel build requirement (#104341)
750 - enable recode extension (#106755)
751 - add workaround for #103982
752
753 * Thu Sep 25 2003 Jeff Johnson <jbj@jbj.org> 4.3.3-3
754 - rebuild against db-4.2.42.
755
756 * Sun Sep 7 2003 Joe Orton <jorton@redhat.com> 4.3.3-2
757 - don't use --enable-versioning, it depends on libtool being
758 broken (#103690)
759
760 * Sun Sep 7 2003 Joe Orton <jorton@redhat.com> 4.3.3-1
761 - update to 4.3.3
762 - add libtool build prereq (#103388)
763 - switch to apache2handler
764
765 * Mon Jul 28 2003 Joe Orton <jorton@redhat.com> 4.3.2-8
766 - rebuild
767
768 * Tue Jul 22 2003 Nalin Dahyabhai <nalin@redhat.com> 4.3.2-7
769 - rebuild
770
771 * Tue Jul 8 2003 Joe Orton <jorton@redhat.com> 4.3.2-6
772 - use system pcre library
773
774 * Mon Jun 9 2003 Joe Orton <jorton@redhat.com> 4.3.2-5
775 - enable mbstring and mbregex (#81336)
776 - fix use of libtool 1.5
777
778 * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
779 - rebuilt
780
781 * Tue Jun 3 2003 Joe Orton <jorton@redhat.com> 4.3.2-3
782 - add lib64 and domxml fixes
783
784 * Tue Jun 3 2003 Frank Dauer <f@paf.net>
785 - added conditional support for mssql module (#92149)
786
787 * Fri May 30 2003 Joe Orton <jorton@redhat.com> 4.3.2-2
788 - update the -tests and -lib64 patches
789 - fixes for db4 detection
790 - require aspell-devel >= 0.50.0 for pspell compatibility
791
792 * Thu May 29 2003 Joe Orton <jorton@redhat.com> 4.3.2-1
793 - update to 4.3.2
794
795 * Fri May 16 2003 Joe Orton <jorton@redhat.com> 4.3.1-3
796 - link odbc module correctly
797 - patch so that php -n doesn't scan inidir
798 - run tests using php -n, avoid loading system modules
799
800 * Wed May 14 2003 Joe Orton <jorton@redhat.com> 4.3.1-2
801 - workaround broken parser produced by bison-1.875
802
803 * Tue May 6 2003 Joe Orton <jorton@redhat.com> 4.3.1-1
804 - update to 4.3.1; run test suite
805 - open extension modules with RTLD_NOW rather than _LAZY
806
807 * Tue May 6 2003 Joe Orton <jorton@redhat.com> 4.2.2-19
808 - patch for gd 2.x API changes in gd extension
809
810 * Thu May 1 2003 Joe Orton <jorton@redhat.com> 4.2.2-18
811 - rebuild to use aspell (#89925)
812 - patch to work round conditional AC_PROG_CXX break in autoconf 2.57
813 - fix dba build against db >= 4.1
814
815 * Mon Feb 24 2003 Joe Orton <jorton@redhat.com> 4.2.2-17
816 - restrict SNMP patch to minimal changes, fixing segv on startup (#84607)
817
818 * Wed Feb 12 2003 Joe Orton <jorton@redhat.com> 4.2.2-16
819 - prevent startup if using httpd.worker to avoid thread-safety issues.
820 - fix parsing private keys in OpenSSL extension (#83994)
821 - fixes for SNMP extension (backport from 4.3) (#74761)
822
823 * Wed Jan 29 2003 Joe Orton <jorton@redhat.com> 4.2.2-15
824 - add security fixes for wordwrap() and mail()
825
826 * Mon Jan 13 2003 Joe Orton <jorton@redhat.com> 4.2.2-14
827 - drop explicit Requires in subpackages, rely on automatic deps.
828 - further fixes for libdir=lib64
829
830 * Tue Dec 17 2002 Joe Orton <jorton@redhat.com> 4.2.2-13
831 - drop prereq for perl, grep in subpackages
832 - rebuild and patch for OpenSSL 0.9.7
833
834 * Tue Dec 10 2002 Joe Orton <jorton@redhat.com> 4.2.2-12
835 - backport "ini dir scanning" patch from CVS HEAD; /etc/php.d/*.ini
836 are now loaded at startup; each subpackage places an ini file
837 in that directory rather than munging /etc/php.ini in post/postun.
838 - default config changes: enable short_open_tag; remove settings for
839 php-dbg extension
840
841 * Wed Dec 4 2002 Joe Orton <jorton@redhat.com> 4.2.2-11
842 - own the /usr/lib/php4 directory (#73894)
843 - reinstate dropped patch to unconditionally disable ZTS
844
845 * Mon Dec 2 2002 Joe Orton <jorton@redhat.com> 4.2.2-10
846 - remove ldconfig invocation in post/postun
847 - fixes for #73516 (partially), #78586, #75029, #75712, #75878
848
849 * Wed Nov 6 2002 Joe Orton <jorton@redhat.com> 4.2.2-9
850 - fixes for libdir=/usr/lib64, based on SuSE's patches.
851 - add build prereqs for zlib-devel, imap-devel, curl-devel (#74819)
852 - remove unpackaged files from install root
853 - libtoolize; use configure cache to speed up build
854
855 * Mon Sep 23 2002 Philip Copeland <bryce@redhat.com> 4.2.2-8.0.6
856 - PHP cannot determine which UID is being used, so safe
857 mode restrictions were always applied. Fixed. (#74396)
858
859 * Tue Sep 3 2002 Philip Copeland <bryce@redhat.com> 4.2.2-8.0.4
860 - zts support seems to crash out httpd on a *second* sighup
861 ie service httpd start;
862 apachectl restart ; (ok)
863 apachectl restart ; (httpd segv's and collapses)
864 removed --enable-experimental-zts which this seems related to.
865 - Small patch added because some places need to know that they
866 aren't using the ZTS API's (dumb)
867
868 * Mon Sep 2 2002 Philip Copeland <bryce@redhat.com> 4.2.2-8.0.3
869 - fixup /etc/httpd/conf.d/php.conf to limit largest amount
870 of data accepted (#73254) Limited to 512K (which seems a
871 little excessive but anyway,..)
872 Note: php.conf is part of the srpm sources not part of the
873 php codebase.
874 - ditched extrenious --enable-debugger (was for php-dbg)
875 - When upgrading we tend not to modify /etc/php.ini if it exists,
876 instead we create php.ini.rpmnew. Modified the post scripts to
877 edit php.ini.rpmnew if it exists, so that people can copy
878 over the php.ini.rpmnew as php.ini knowing that it will
879 be an edited version, consistant with what modules they
880 installed #72033
881
882 * Sun Sep 1 2002 Joe Orton <jorton@redhat.com> 4.2.2-8.0.2
883 - require httpd-mmn for module ABI compatibility
884
885 * Fri Aug 30 2002 Philip Copeland <bryce@redhat.com> 4.2.2-8.0.1
886 - URLS would drop the last arguments #72752
887 --enable-mbstring
888 --enable-mbstr-enc-trans
889 These were supposed to help provide multibyte language
890 support, however, they cause problems. Removed. Maybe in
891 a later errata when they work.
892 - added small patch to php_variables.c that allows
893 $_GET[<var>] to initialise properly when
894 --enable-mbstr-enc-trans is disabled.
895 - Be consistant with errata naming (8.0.x)
896
897 * Tue Aug 27 2002 Nalin Dahyabhai <nalin@redhat.com> 4.2.2-11
898 - rebuild
899
900 * Wed Aug 22 2002 Philip Copeland <bryce@redhat.com> 4.2.2-10
901 - Beat down the requirement list to something a little
902 more sane
903
904 * Wed Aug 14 2002 Bill Nottingham <notting@redhat.com> 4.2.2-9
905 - trim manual language lists
906
907 * Mon Aug 12 2002 Gary Benson <gbenson@redhat.com> 4.2.2-8
908 - rebuild against httpd-2.0.40
909
910 * Sat Aug 10 2002 Elliot Lee <sopwith@redhat.com> 4.2.2-7
911 - rebuilt with gcc-3.2 (we hope)
912
913 * Wed Aug 7 2002 Philip Copeland <bryce@redhat.com> 4.2.2-6
914 - Where multiple cookies are set, only the last one
915 was actually made. Fixes #67853
916
917 * Mon Aug 5 2002 Philip Copeland <bryce@redhat.com> 4.2.2-5
918 - Shuffled the php/php-devel package file manifest
919 with respect to PEAR (PHP Extension and Application
920 Repository) #70673
921
922 * Fri Aug 2 2002 Philip Copeland <bryce@redhat.com> 4.2.2-4
923 - #67815, search path doesn't include the pear directory
924 -pear not being installed correctly. Added --with-pear=
925 option.
926
927 * Tue Jul 23 2002 Tim Powers <timp@redhat.com> 4.2.2-2
928 - build using gcc-3.2-0.1
929
930 * Mon Jul 22 2002 Philip Copeland <bryce@redhat.com> 4.2.2-1
931 - Yippie 8/ another security vunerability (see
932 http://www.php.net/release_4_2_2.php for details)
933
934 * Wed Jul 17 2002 Philip Copeland <bryce@redhat.com> 4.2.1-9
935 - Reminder to self that mm was pushed out because it's
936 NOT thread safe.
937 - Updated the manuals (much to Bills horror)
938
939 * Tue Jul 16 2002 Philip Copeland <bryce@redhat.com> 4.2.1-8
940 - php.ini alteration to fit in with the install/uninstall
941 of various php rpm based installable modules
942
943 * Mon Jul 15 2002 Philip Copeland <bryce@redhat.com> 4.2.1-8
944 - php -v showing signs of deep unhappiness with the world
945 added --enable-experimental-zts to configure to make it
946 happy again (yes I know experimental sounds 'dangerous'
947 it's just a name for an option we need)
948
949 * Fri Jul 12 2002 Philip Copeland <bryce@redhat.com> 4.2.1-7
950 - #68715, Wrong name for Mysql Module in php.ini. Fixed.
951
952 * Fri Jun 28 2002 Philip Copeland <bryce@redhat.com> 4.2.1-6
953 - SNMP fixup
954
955 * Thu Jun 27 2002 Philip Copeland <bryce@redhat.com> 4.2.1-5
956 - Ah,.. seems httpd2 has been renamed to just plain
957 ol' httpd. Fixed spec file to suit.
958 - ucd-snmp changed to net-snmp overnight...
959 temporarily disabled snmp while I work out the
960 impact of this change and if it is safe
961
962 * Wed Jun 26 2002 Philip Copeland <bryce@redhat.com> 4.2.1-4
963 - openldap 2.1.x problem solved by Nalin. Sure the ldap
964 API didn't change,... <mutter>. Added TSRMLS_FETCH()
965 to ldap_rebind_proc().
966 - Removed the php-dbg package as thats going to be provided
967 elsewhere
968
969 * Fri Jun 21 2002 Tim Powers <timp@redhat.com> 4.2.1-3
970 - automated rebuild
971
972 * Mon Jun 10 2002 Philip Copeland <bryce@redhat.com> 4.2.1-2
973 - Actually mm is now a dead project. Removed permently.
974
975 * Tue May 28 2002 Gary Benson <gbenson@redhat.com> 4.2.1-2
976 - change paths for httpd-2.0
977 - add the config file
978 - disable mm temporarily
979
980 * Sun May 26 2002 Tim Powers <timp@redhat.com> 4.2.1-1
981 - automated rebuild
982
983 * Wed May 22 2002 Philip Copeland <bryce@redhat.com> 4.2.1-0
984 - Initial pristine build of php-4.2.1
985 - Minor patch to get around a 64 bitism
986 - Added in the dgb debugging hooks
987

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