~ubuntu-branches/ubuntu/gutsy/php5/gutsy

« back to all changes in this revision

Viewing changes to pear/Makefile.frag

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt, CVE-2007-0905, CVE-2007-0906, CVE-2007-0909, CVE-2007-0910
  • Date: 2007-02-20 17:54:46 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20070220175446-nudqyuv0dfowel3r
Tags: 5.2.1-0ubuntu1
* New upstream security/bugfix release:
  - safe_mode & open_basedir bypasses inside the session extension
    [CVE-2007-0905]
  - multiple buffer overflows in various extensions and functions
    [CVE-2007-0906]
  - underflow in the internal sapi_header_op() function [CVE-2007-0907]
  - information disclosure in the wddx extension [CVE-2007-0908]
  - string format vulnerability in *print() functions on 64 bit systems
    [CVE-2007-0909]
  - possible clobbering of super-globals in several code paths
    [CVE-2007-0910]
* Adapted patches to new upstream release:
  - 006-debian_quirks.patch
  - 034-apache2_umask_fix.patch
  - 044-strtod_arm_fix.patch
* Drop 109-libdb4.4.patch: Obsolete, upstream now checks for db 4.5 and 4.4.
* Drop 114-zend_alloc.c_m68k_alignment.patch and
  115-zend_alloc.c_memleak.patch: Applied upstream.
* Add debian/patches/000upstream-str_ireplace_offbyone.patch:
  - Fix off-by-one in str_ireplace(), a regression introduced in 5.2.1.
  - Patch taken from upstream CVS:
    http://cvs.php.net/viewvc.cgi/php-src/ext/standard/string.c?r1=1.630&r2=1.631
  - CVE-2007-0911
* debian/control: Set Ubuntu maintainer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
# Skip all php.ini files altogether
6
6
PEAR_INSTALL_FLAGS = -n -dshort_open_tag=0 -dsafe_mode=0 -dopen_basedir= -derror_reporting=E_ALL -dmemory_limit=-1 -ddetect_unicode=0
 
7
WGET = `which wget 2>/dev/null`
 
8
FETCH = `which fetch 2>/dev/null`
7
9
 
8
10
install-pear-installer: $(SAPI_CLI_PATH)
9
11
        @$(top_builddir)/sapi/cli/php $(PEAR_INSTALL_FLAGS) $(builddir)/install-pear-nozlib.phar -d "$(peardir)" -b "$(bindir)"
14
16
                if test -f $(srcdir)/install-pear-nozlib.phar; then \
15
17
                        cp $(srcdir)/install-pear-nozlib.phar $(builddir)/install-pear-nozlib.phar; \
16
18
                else \
17
 
                        wget http://pear.php.net/install-pear-nozlib.phar -nd -P $(builddir)/;  \
 
19
                        if test ! -z "$(WGET)" && test -x "$(WGET)"; then \
 
20
                                "$(WGET)" http://pear.php.net/install-pear-nozlib.phar -nd -P $(builddir)/; \
 
21
                        elif test ! -z "$(FETCH)" && test -x "$(FETCH)"; then \
 
22
                                "$(FETCH)" -o $(builddir)/ http://pear.php.net/install-pear-nozlib.phar; \
 
23
                        else \
 
24
                                echo ""; \
 
25
                                echo "No download utilities found. Don't know how to download PEAR archive."; \
 
26
                                echo ""; \
 
27
                        fi \
18
28
                fi \
19
29
        fi
20
30
        @if test -f $(builddir)/install-pear-nozlib.phar && $(mkinstalldirs) $(INSTALL_ROOT)$(peardir); then \