]> git.pld-linux.org Git - packages/php.git/commitdiff
Enable LiteSpeed sapi
authorPaweł Kośka <pawel@viop.pl>
Thu, 20 Sep 2012 09:23:15 +0000 (11:23 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 20 Sep 2012 13:40:37 +0000 (16:40 +0300)
More info:
http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:php:lsapi
Note: LSAPI 5.5 is shipped with PHP source from PHP 5.3 onward. This
step can be skipped if you build PHP 5.3 or above.

php.spec

index a267d1c4f59283fab9b4e2d67446e6e75bd45ff9..bbf86d61ba16313ac036b699930a2ba506ac034a 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -1,7 +1,6 @@
 # TODO 5.4:
 # - do not remove PatchX: definitions until merged to HEAD, needed for tracking their state
 # - check php-sapi-ini-file.patch for safe mode removal
-# - enable litespeed (needs api porting)
 # - update imap annotations patch (needs api porting)
 # - update imap myrights patch (needs api porting)
 # --with-libmbfl=DIR      MBSTRING: Use external libmbfl.  DIR is the libmbfl base install directory BUNDLED
@@ -52,7 +51,7 @@
 %bcond_without interbase       # without InterBase extension module
 %bcond_without intl            # without Intl extension module
 %bcond_without kerberos5       # without Kerberos5 support
-%bcond_with    litespeed       # build litespeed module
+%bcond_without litespeed       # build litespeed module
 %bcond_without ldap            # without LDAP extension module
 %bcond_without mhash           # without mhash extension (supported by hash extension)
 %bcond_without mm              # without mm support for session storage
@@ -89,7 +88,6 @@
 
 %define apxs1          /usr/sbin/apxs1
 %define        apxs2           /usr/sbin/apxs
-%define        litespeed_version       5.5
 
 # disable all sapis
 %if %{with gcov}
@@ -128,7 +126,7 @@ ERROR: You need to select at least one Apache SAPI to build shared modules.
 %define                orgname php
 %define                php_suffix 54
 
-%define                rel     0.18
+%define                rel     0.19
 Summary:       PHP: Hypertext Preprocessor
 Summary(fr.UTF-8):     Le langage de script embarque-HTML PHP
 Summary(pl.UTF-8):     Język skryptowy PHP
@@ -154,9 +152,6 @@ Source11:   %{orgname}-fpm.logrotate
 Source12:      %{orgname}-branch.sh
 Source13:      dep-tests.sh
 Source14:      skip-tests.sh
-# Source15Download: http://litespeedtech.com/lsapi-downloads.html
-Source15:      http://litespeedtech.com/packages/lsapi/%{orgname}-litespeed-%{litespeed_version}.tgz
-# Source15-md5:        9d58485d5fd6b5f5fefcec41b9ce283e
 Patch0:                %{orgname}-shared.patch
 Patch1:                %{orgname}-pldlogo.patch
 Patch2:                %{orgname}-mail.patch
@@ -1929,8 +1924,6 @@ cp -p php.ini-production php.ini
 %patch63 -p1
 %{?with_system_libzip:%patch65 -p1}
 %patch66 -p1
-%{__rm} -r sapi/litespeed
-gzip -dc %{SOURCE15} | tar xf - -C sapi/
 
 sed -i -e '/PHP_ADD_LIBRARY_WITH_PATH/s#xmlrpc,#xmlrpc-epi,#' ext/xmlrpc/config.m4
 
This page took 0.576878 seconds and 4 git commands to generate.