BuildPHPWithMcrypt: php-4.3.9-mcrypt.spec

File php-4.3.9-mcrypt.spec, 31.3 kB (added by Jarod Wilson, 6 years ago)

php spec file with mcrypt support

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