|
|
@ -2,7 +2,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: openlitespeed
|
|
|
|
Name: openlitespeed
|
|
|
|
Version: 1.8.2
|
|
|
|
Version: 1.8.2
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Summary: Open source HTTP server developed and copyrighted by LiteSpeed Technologies.
|
|
|
|
Summary: Open source HTTP server developed and copyrighted by LiteSpeed Technologies.
|
|
|
|
License: GPLv3+
|
|
|
|
License: GPLv3+
|
|
|
|
Url: https://github.com/litespeedtech/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
|
Url: https://github.com/litespeedtech/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
@ -11,10 +11,12 @@ Source0: https://github.com/litespeedtech/%{name}/archive/v%{version}.tar.gz#/%{
|
|
|
|
Source1: third-party.tar.xz
|
|
|
|
Source1: third-party.tar.xz
|
|
|
|
Source2: https://github.com/litespeedtech/lsquic/archive/refs/tags/v4.0.12.tar.gz#/lsquic-4.0.12.tar.gz
|
|
|
|
Source2: https://github.com/litespeedtech/lsquic/archive/refs/tags/v4.0.12.tar.gz#/lsquic-4.0.12.tar.gz
|
|
|
|
Source3: https://github.com/litespeedtech/ls-hpack/archive/refs/tags/v2.3.3.tar.gz#/ls-hpack-2.3.3.tar.gz
|
|
|
|
Source3: https://github.com/litespeedtech/ls-hpack/archive/refs/tags/v2.3.3.tar.gz#/ls-hpack-2.3.3.tar.gz
|
|
|
|
Source4: admin_php.tar.xz
|
|
|
|
Source4: http://us1.php.net/distributions/php-7.4.33.tar.gz
|
|
|
|
Source5: https://github.com/litespeedtech/ls-qpack/archive/refs/tags/v2.5.4.tar.gz#/ls-qpack-2.5.4.tar.gz
|
|
|
|
Source5: http://www.litespeedtech.com/packages/lsapi/php-litespeed-8.1.tgz
|
|
|
|
|
|
|
|
Source6: https://github.com/litespeedtech/ls-qpack/archive/refs/tags/v2.5.4.tar.gz#/ls-qpack-2.5.4.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
Patch0: fix-tarball-for-local-build.patch
|
|
|
|
Patch0: fix-tarball-for-local-build.patch
|
|
|
|
|
|
|
|
Patch1: add-build-admin-php.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: g++
|
|
|
|
BuildRequires: g++
|
|
|
@ -63,8 +65,10 @@ Mod Security for openlitespeed webserver.
|
|
|
|
tar -xpaf %{SOURCE2}
|
|
|
|
tar -xpaf %{SOURCE2}
|
|
|
|
tar -xpaf %{SOURCE3}
|
|
|
|
tar -xpaf %{SOURCE3}
|
|
|
|
mkdir %{_builddir}/%{name}-%{version}/dist/admin/fcgi-bin
|
|
|
|
mkdir %{_builddir}/%{name}-%{version}/dist/admin/fcgi-bin
|
|
|
|
tar -xpaf %{SOURCE4} -C %{_builddir}/%{name}-%{version}/dist/admin/fcgi-bin/
|
|
|
|
mkdir %{_builddir}/%{name}-%{version}/dist/phpbuild
|
|
|
|
tar -xpaf %{SOURCE5}
|
|
|
|
cp %{SOURCE4} %{_builddir}/%{name}-%{version}/dist/phpbuild
|
|
|
|
|
|
|
|
cp %{SOURCE5} %{_builddir}/%{name}-%{version}/dist/phpbuild
|
|
|
|
|
|
|
|
tar -xpaf %{SOURCE6}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
rm -rf lsquic
|
|
|
|
rm -rf lsquic
|
|
|
@ -73,6 +77,8 @@ rm -rf lsquic/src/lshpack
|
|
|
|
mv ls-hpack-2.3.3/ lsquic/src/lshpack
|
|
|
|
mv ls-hpack-2.3.3/ lsquic/src/lshpack
|
|
|
|
rm -rf lsquic/src/liblsquic/ls-qpack
|
|
|
|
rm -rf lsquic/src/liblsquic/ls-qpack
|
|
|
|
mv ls-qpack-2.5.4/ lsquic/src/liblsquic/ls-qpack
|
|
|
|
mv ls-qpack-2.5.4/ lsquic/src/liblsquic/ls-qpack
|
|
|
|
|
|
|
|
touch dist/phpbuild/adminphp.log
|
|
|
|
|
|
|
|
sh -e dist/admin/misc/build_admin_php.sh
|
|
|
|
sh -e build.sh
|
|
|
|
sh -e build.sh
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
@ -100,7 +106,6 @@ chmod 755 %{buildroot}%{_lsws_dir}/bin/unmount_ns
|
|
|
|
chmod 755 %{buildroot}%{_lsws_dir}/lsrecaptcha/_recaptcha
|
|
|
|
chmod 755 %{buildroot}%{_lsws_dir}/lsrecaptcha/_recaptcha
|
|
|
|
chmod 755 %{buildroot}%{_lsws_dir}/admin/fcgi-bin/admin_php
|
|
|
|
chmod 755 %{buildroot}%{_lsws_dir}/admin/fcgi-bin/admin_php
|
|
|
|
chmod 755 %{buildroot}%{_lsws_dir}/fcgi-bin/lsphp5
|
|
|
|
chmod 755 %{buildroot}%{_lsws_dir}/fcgi-bin/lsphp5
|
|
|
|
chmod 755 %{buildroot}%{_lsws_dir}/admin/fcgi-bin/admin_php
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_lsws_dir}/fcgi-bin/lsphp
|
|
|
|
rm -f %{buildroot}%{_lsws_dir}/fcgi-bin/lsphp
|
|
|
|
rm -f %{buildroot}%{_lsws_dir}/admin/misc/lsws.rc.gentoo
|
|
|
|
rm -f %{buildroot}%{_lsws_dir}/admin/misc/lsws.rc.gentoo
|
|
|
|
|
|
|
|
|
|
|
@ -259,6 +264,9 @@ fi
|
|
|
|
%{_lsws_dir}/modules/mod_lua.so
|
|
|
|
%{_lsws_dir}/modules/mod_lua.so
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Nov 6 2024 Eduard Basov <ebasov@msvsphere-os.ru> - 1.8.2-3
|
|
|
|
|
|
|
|
- Add build php
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Oct 8 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.8.2-2
|
|
|
|
* Tue Oct 8 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.8.2-2
|
|
|
|
- Fix scripts conditions
|
|
|
|
- Fix scripts conditions
|
|
|
|
- Clean up spec
|
|
|
|
- Clean up spec
|
|
|
|