|
|
@ -9,7 +9,7 @@ |
|
|
|
%define nginx_webroot %{nginx_datadir}/html |
|
|
|
%define nginx_webroot %{nginx_datadir}/html |
|
|
|
|
|
|
|
|
|
|
|
Name: nginx |
|
|
|
Name: nginx |
|
|
|
Version: 1.21.4 |
|
|
|
Version: 1.21.6 |
|
|
|
Release: 1%{?dist} |
|
|
|
Release: 1%{?dist} |
|
|
|
Epoch: 1 |
|
|
|
Epoch: 1 |
|
|
|
Summary: A high performance web server and reverse proxy server |
|
|
|
Summary: A high performance web server and reverse proxy server |
|
|
@ -86,7 +86,10 @@ git clone https://bitbucket.org/nginx-goodies/nginx-sticky-module-ng |
|
|
|
git clone https://github.com/alibaba/nginx-http-slice |
|
|
|
git clone https://github.com/alibaba/nginx-http-slice |
|
|
|
git clone https://github.com/vladbondarenko/ngx_webp |
|
|
|
git clone https://github.com/vladbondarenko/ngx_webp |
|
|
|
git clone https://github.com/tokers/zstd-nginx-module |
|
|
|
git clone https://github.com/tokers/zstd-nginx-module |
|
|
|
|
|
|
|
git clone https://github.com/openresty/headers-more-nginx-module |
|
|
|
|
|
|
|
git clone https://github.com/vozlt/nginx-module-vts |
|
|
|
|
|
|
|
git clone https://github.com/aperezdc/ngx-fancyindex |
|
|
|
|
|
|
|
git clone https://github.com/winshining/nginx-http-flv-module |
|
|
|
|
|
|
|
|
|
|
|
%build |
|
|
|
%build |
|
|
|
export DESTDIR=%{buildroot} |
|
|
|
export DESTDIR=%{buildroot} |
|
|
@ -149,6 +152,10 @@ export DESTDIR=%{buildroot} |
|
|
|
--add-module=nginx-http-slice \ |
|
|
|
--add-module=nginx-http-slice \ |
|
|
|
--add-module=ngx_webp \ |
|
|
|
--add-module=ngx_webp \ |
|
|
|
--add-module=zstd-nginx-module \ |
|
|
|
--add-module=zstd-nginx-module \ |
|
|
|
|
|
|
|
--add-module=headers-more-nginx-module \ |
|
|
|
|
|
|
|
--add-module=nginx-module-vts \ |
|
|
|
|
|
|
|
--add-module=ngx-fancyindex \ |
|
|
|
|
|
|
|
--add-module=nginx-http-flv-module \ |
|
|
|
--with-debug \ |
|
|
|
--with-debug \ |
|
|
|
--with-cc-opt="%{optflags} $(pcre-config --cflags)" \ |
|
|
|
--with-cc-opt="%{optflags} $(pcre-config --cflags)" \ |
|
|
|
--with-ld-opt="$RPM_LD_FLAGS -Wl,-E" |
|
|
|
--with-ld-opt="$RPM_LD_FLAGS -Wl,-E" |
|
|
|