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

« back to all changes in this revision

Viewing changes to ext/informix/config.w32

  • 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:
1
 
// $Id: config.w32,v 1.2 2004/07/29 21:09:22 edink Exp $
2
 
// vim:ft=javascript
3
 
 
4
 
ARG_WITH("informix", "informix support", "no");
5
 
 
6
 
if (PHP_INFORMIX != "no") {
7
 
 
8
 
        php_ifx_esql = PATH_PROG('esql', PHP_INFORMIX + ";\\ifx-client\\bin", 'IFX_ESQL'); 
9
 
 
10
 
        if (php_ifx_esql) {
11
 
                php_ifx_libs = execute(php_ifx_esql + " -thread -libs");
12
 
                php_ifx_libs = php_ifx_libs.replace("Libraries to be used:", "").replace(/^\s+/, "");
13
 
                ADD_FLAG("LIBS_INFORMIX", php_ifx_libs);
14
 
 
15
 
                php_ifx_bin = FSO.GetParentFolderName(php_ifx_esql);
16
 
                php_ifx_dir = FSO.GetParentFolderName(php_ifx_bin);
17
 
 
18
 
                ADD_FLAG("CFLAGS_INFORMIX", "/I " + php_ifx_dir + "\\incl\\esql "); 
19
 
 
20
 
                EXTENSION('informix', 'ifx.c', null, "/D IFX_VERSION=921 /D HAVE_IFX_IUS=1 /D HAVE_IFX=1", "php_ifx.dll");
21
 
                MFO.WriteLine(configure_module_dirname + "\\ifx.c: " + configure_module_dirname + "\\ifx.ec");
22
 
                MFO.WriteLine("\t<<informix_build.bat");
23
 
                MFO.WriteLine("PATH " + php_ifx_bin + ";%PATH%");
24
 
                MFO.WriteLine("cd " + configure_module_dirname);
25
 
                MFO.WriteLine("$(IFX_ESQL) -dcmdl -p -G -subsystem:windows -EDHAVE_IFX_IUS -thread -I ..\\.. ifx.ec");
26
 
                MFO.WriteLine("<<NOKEEP");
27
 
 
28
 
        } else {
29
 
                WARNING("informix not enabled; could not find esql.exe");
30
 
        }
31
 
}
32