]> git.pld-linux.org Git - packages/php.git/commitdiff
- rel 9; disable external libzip as it causes segfaults (follow php 5.3 from HEAD)
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 18 Nov 2011 09:13:43 +0000 (09:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php.spec -> 1.805.2.97

php.spec

index a3f515fd9bd5c95d5152bf89f1bb87dc6640cd30..58e4ffe9411b48c9925b342590f8a5e0c4434a74 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -30,6 +30,7 @@
 %bcond_with    interbase_inst  # use InterBase install., not Firebird  (BR: proprietary libs)
 %bcond_with    oci8            # with Oracle oci8 extension module     (BR: proprietary libs)
 %bcond_with    system_gd       # with system gd (we prefer internal since it enables few more features)
+%bcond_with    system_libzip   # with system libzip (reported broken: https://bugs.php.net/bug.php?id=60100)
 %bcond_with    gd_jis_conv     # causes imagettfbbox(): any2eucjp(): invalid code in input string when internal gd used
 %bcond_with    zend_multibyte          # enable zend multibyte, mbstring can't be shared then anymore
 %bcond_without curl            # without CURL extension module
@@ -112,7 +113,7 @@ Summary(ru.UTF-8):  PHP Версии 5 - язык препроцессирова
 Summary(uk.UTF-8):     PHP Версії 5 - мова препроцесування HTML-файлів, виконувана на сервері
 Name:          php
 Version:       5.2.17
-Release:       8
+Release:       9
 Epoch:         4
 License:       PHP
 Group:         Libraries
@@ -276,7 +277,7 @@ BuildRequires:      elfutils-devel
 BuildRequires: flex
 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
 BuildRequires: freetds-devel
-BuildRequires: libzip-devel >= 0.10-3
+%{?with_system_libzip:BuildRequires:   libzip-devel >= 0.10-3}
 %endif
 BuildRequires: freetype-devel >= 2.0
 %if %{with system_gd}
@@ -1822,7 +1823,7 @@ URL:              http://www.php.net/manual/en/book.zip.php
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 Provides:      php(zip)
 Obsoletes:     php-pecl-zip
-Requires:      libzip >= 0.10-3
+%{?with_system_libzip:Requires:        libzip >= 0.10-3}
 
 %description zip
 Zip is an extension to create, modify and read zip files.
@@ -1938,7 +1939,7 @@ done
 %patch57 -p1
 %patch58 -p4
 %patch59 -p1
-%patch65 -p1
+%{?with_system_libzip:%patch65 -p1}
 
 %patch201 -p1 -b .CVE-2011-2202
 %patch202 -p1 -b .CVE-2011-1938
@@ -2228,7 +2229,7 @@ for sapi in $sapis; do
        --with-xsl=shared \
        --with-zlib=shared \
        --with-zlib-dir=shared,/usr \
-       --with-libzip \
+       %{?with_system_libzip:--with-libzip} \
        --enable-zip=shared,/usr \
 
        cp -f Makefile Makefile.$sapi
This page took 0.750618 seconds and 4 git commands to generate.