Author: pawelz                       Date: Tue Feb  2 16:01:03 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- build litespeed API (disabled with bcond by now)

---- Files affected:
packages/php:
   php.spec (1.832 -> 1.833) 

---- Diffs:

================================================================
Index: packages/php/php.spec
diff -u packages/php/php.spec:1.832 packages/php/php.spec:1.833
--- packages/php/php.spec:1.832 Mon Jan 11 01:46:10 2010
+++ packages/php/php.spec       Tue Feb  2 17:00:58 2010
@@ -49,6 +49,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    litespeed       # build litespeed module
 %bcond_without curl            # without CURL extension module
 %bcond_without filter          # without filter extension module
 %bcond_without imap            # without IMAP extension module
@@ -349,6 +350,20 @@
 %description -n apache-mod_php -l pl.UTF-8
 php jako moduł DSO (Dynamic Shared Object) dla apache 2.x.
 
+%package litespeed
+Summary:       PHP for litespeed http server
+Summary(pl.UTF-8):     PHP dla serwera http litespeed
+Group:         Development/Languages/PHP
+Requires:      %{name}-common = %{epoch}:%{version}-%{release}
+Requires:      litespeed
+Provides:      webserver(php) = %{version}
+
+%description litespeed
+PHP for litespeed http server.
+
+%description -n apache-mod_php -l pl.UTF-8
+php jako moduł DSO (Dynamic Shared Object) dla apache 2.x.
+
 %package cgi
 Summary:       PHP as CGI/FastCGI program
 Summary(pl.UTF-8):     PHP jako program CGI/FastCGI
@@ -1813,6 +1828,9 @@
 %if %{with apache2}
 apxs2
 %endif
+%if %{with litespeed}
+litespeed
+%endif
 "
 for sapi in $sapis; do
        : SAPI $sapi
@@ -1838,6 +1856,9 @@
                ver=$(rpm -q --qf '%{V}' apache-devel)
                sapi_args="--disable-cli --with-apxs2=%{apxs2} 
--with-apache-version=$ver"
        ;;
+       litespeed)
+               sapi_args='--with-litespeed'
+       ;;
        esac
 
        %configure \
@@ -1978,6 +1999,10 @@
 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f 
Makefile.apxs2
 %endif
 
+%if %{with litespeed}
+%{__make} -f Makefile.litespeed
+%endif
+
 # CGI/FCGI
 cp -af php_config.h.cgi-fcgi main/php_config.h
 %{__make} -f Makefile.cgi-fcgi
@@ -2023,6 +2048,11 @@
 libtool --silent --mode=install install sapi/apache2handler/libphp5.la 
$RPM_BUILD_ROOT%{_libdir}/apache
 %endif
 
+# install litespeed sapi
+%if %{with litespeed}
+libtool --silent --mode=install install sapi/litespeed/php 
$RPM_BUILD_ROOT%{_bindir}/php.litespeed
+%endif
+
 libtool --silent --mode=install install libphp_common.la 
$RPM_BUILD_ROOT%{_libdir}
 # fix install paths, avoid evil rpaths
 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" 
$RPM_BUILD_ROOT%{_libdir}/libphp_common.la
@@ -2441,6 +2471,12 @@
 %attr(755,root,root) %{_libdir}/apache/libphp5.so
 %endif
 
+%if %{with litespeed}
+%files litespeed
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/php.litespeed
+%endif
+
 %files cgi
 %defattr(644,root,root,755)
 %dir %{_sysconfdir}/cgi-fcgi.d
@@ -2934,6 +2970,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.833  2010/02/02 16:00:58  pawelz
+- build litespeed API (disabled with bcond by now)
+
 Revision 1.832  2010/01/11 00:46:10  sparky
 - BR: pkgconfig
 - changed bogus R: fcgi-devel to BR:
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php/php.spec?r1=1.832&r2=1.833&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to