Browse Source

nginx update 1.21.6 + more modules

Signed-off-by: webbuilder_pel7ppc64lebuilder0 <webbuilder@powerel.org>
master
webbuilder_pel7ppc64lebuilder0 3 years ago
parent
commit
e02ff4768c
  1. 11
      SPECS/nginx.spec

11
SPECS/nginx.spec

@ -9,7 +9,7 @@ @@ -9,7 +9,7 @@
%define nginx_webroot %{nginx_datadir}/html

Name: nginx
Version: 1.21.4
Version: 1.21.6
Release: 1%{?dist}
Epoch: 1
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 @@ -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/vladbondarenko/ngx_webp
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
export DESTDIR=%{buildroot}
@ -149,6 +152,10 @@ export DESTDIR=%{buildroot} @@ -149,6 +152,10 @@ export DESTDIR=%{buildroot}
--add-module=nginx-http-slice \
--add-module=ngx_webp \
--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-cc-opt="%{optflags} $(pcre-config --cflags)" \
--with-ld-opt="$RPM_LD_FLAGS -Wl,-E"

Loading…
Cancel
Save