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.
# 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
# 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
# - 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
%bcond_without interbase # without InterBase extension module
%bcond_without intl # without Intl extension module
%bcond_without kerberos5 # without Kerberos5 support
%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
%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
%define apxs1 /usr/sbin/apxs1
%define apxs2 /usr/sbin/apxs
%define apxs1 /usr/sbin/apxs1
%define apxs2 /usr/sbin/apxs
-%define litespeed_version 5.5
# disable all sapis
%if %{with gcov}
# disable all sapis
%if %{with gcov}
%define orgname php
%define php_suffix 54
%define orgname php
%define php_suffix 54
Summary: PHP: Hypertext Preprocessor
Summary(fr.UTF-8): Le langage de script embarque-HTML PHP
Summary(pl.UTF-8): Język skryptowy PHP
Summary: PHP: Hypertext Preprocessor
Summary(fr.UTF-8): Le langage de script embarque-HTML PHP
Summary(pl.UTF-8): Język skryptowy PHP
Source12: %{orgname}-branch.sh
Source13: dep-tests.sh
Source14: skip-tests.sh
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
Patch0: %{orgname}-shared.patch
Patch1: %{orgname}-pldlogo.patch
Patch2: %{orgname}-mail.patch
%patch63 -p1
%{?with_system_libzip:%patch65 -p1}
%patch66 -p1
%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
sed -i -e '/PHP_ADD_LIBRARY_WITH_PATH/s#xmlrpc,#xmlrpc-epi,#' ext/xmlrpc/config.m4