ius-coredev team mailing list archive
-
ius-coredev team
-
Mailing list archive
-
Message #01196
[Bug 898674] [NEW] Litespeed support for php53u
Public bug reported:
Litespeed is web server that can be used instead of Apache. With PHP
5.3, Litespeed support was added to PHP with a configure option.
--- php53u.spec.orig 2011-12-01 09:54:07.139096804 -0500
+++ php53u.spec 2011-12-01 09:55:16.358933239 -0500
@@ -455,6 +455,16 @@
The php-dba package contains a dynamic shared object that will add
support for using the DBA database abstraction layer to PHP.
+%package litespeed
+Summary: API for the Litespeed web server
+Group: Development/Languages
+Requires: %{name}-common = %{version}-%{release}
+Provides: %{real_name}-litespeed = %{version}-%{release}
+Provides: php53-litespeed = %{version}-%{release}
+
+%description litespeed
+The php-litespeed package contains the binary used by the Litespeed web server.
+
%package tidy
Summary: Utility to clean up and pretty print HTML/XHTML/XML
Group: Development/Languages
@@ -694,7 +704,7 @@
cp ext/ereg/regex/COPYRIGHT regex_COPYRIGHT
# Multiple builds for multiple SAPIs
-mkdir build-cgi build-apache build-embedded build-zts
+mkdir build-cgi build-apache build-embedded build-zts build-litespeed
%if 0%{?_with_fpm}
mkdir build-fpm
%endif
@@ -919,6 +929,11 @@
popd
%endif
+# Build litespeed module
+pushd build-litespeed
+build --with-litespeed ${without_shared}
+popd
+
%if 0%{?_with_zts:1}
# Build a special thread-safe Apache SAPI
pushd build-zts
@@ -989,6 +1004,9 @@
install -m 755 -d %{buildroot}%{_libdir}/httpd/modules
install -m 755 build-apache/libs/libphp5.so %{buildroot}%{_libdir}/httpd/modules
+# install the php litespeed binary
+install -m 755 build-litespeed/sapi/litespeed/php %{buildroot}%{_bindir}/php-ls
+
%if 0%{?_with_zts:1}
# install the ZTS DSO
install -m 755 build-zts/libs/libphp5.so %{buildroot}%{_libdir}/httpd/modules/libphp5-zts.so
@@ -1138,6 +1156,10 @@
%{_bindir}/phpize
%{_mandir}/man1/phpize.1*
+%files litespeed
+%defattr(-,root,root)
+%{_bindir}/php-ls
+
%files devel
%defattr(-,root,root)
%{_bindir}/php-config
** Affects: ius
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of IUS Core
Development, which is subscribed to IUS Community Project.
https://bugs.launchpad.net/bugs/898674
Title:
Litespeed support for php53u
Status in IUS Community Project:
New
Bug description:
Litespeed is web server that can be used instead of Apache. With PHP
5.3, Litespeed support was added to PHP with a configure option.
--- php53u.spec.orig 2011-12-01 09:54:07.139096804 -0500
+++ php53u.spec 2011-12-01 09:55:16.358933239 -0500
@@ -455,6 +455,16 @@
The php-dba package contains a dynamic shared object that will add
support for using the DBA database abstraction layer to PHP.
+%package litespeed
+Summary: API for the Litespeed web server
+Group: Development/Languages
+Requires: %{name}-common = %{version}-%{release}
+Provides: %{real_name}-litespeed = %{version}-%{release}
+Provides: php53-litespeed = %{version}-%{release}
+
+%description litespeed
+The php-litespeed package contains the binary used by the Litespeed web server.
+
%package tidy
Summary: Utility to clean up and pretty print HTML/XHTML/XML
Group: Development/Languages
@@ -694,7 +704,7 @@
cp ext/ereg/regex/COPYRIGHT regex_COPYRIGHT
# Multiple builds for multiple SAPIs
-mkdir build-cgi build-apache build-embedded build-zts
+mkdir build-cgi build-apache build-embedded build-zts build-litespeed
%if 0%{?_with_fpm}
mkdir build-fpm
%endif
@@ -919,6 +929,11 @@
popd
%endif
+# Build litespeed module
+pushd build-litespeed
+build --with-litespeed ${without_shared}
+popd
+
%if 0%{?_with_zts:1}
# Build a special thread-safe Apache SAPI
pushd build-zts
@@ -989,6 +1004,9 @@
install -m 755 -d %{buildroot}%{_libdir}/httpd/modules
install -m 755 build-apache/libs/libphp5.so %{buildroot}%{_libdir}/httpd/modules
+# install the php litespeed binary
+install -m 755 build-litespeed/sapi/litespeed/php %{buildroot}%{_bindir}/php-ls
+
%if 0%{?_with_zts:1}
# install the ZTS DSO
install -m 755 build-zts/libs/libphp5.so %{buildroot}%{_libdir}/httpd/modules/libphp5-zts.so
@@ -1138,6 +1156,10 @@
%{_bindir}/phpize
%{_mandir}/man1/phpize.1*
+%files litespeed
+%defattr(-,root,root)
+%{_bindir}/php-ls
+
%files devel
%defattr(-,root,root)
%{_bindir}/php-config
To manage notifications about this bug go to:
https://bugs.launchpad.net/ius/+bug/898674/+subscriptions
Follow ups
References