nginx: build with http_slice_module
This commit is contained in:
parent
605d48a536
commit
622ffb1ffb
1 changed files with 7 additions and 5 deletions
|
@ -1,8 +1,7 @@
|
||||||
# Template file for 'nginx'
|
# Template file for 'nginx'
|
||||||
pkgname=nginx
|
pkgname=nginx
|
||||||
reverts="1.17.7_1"
|
|
||||||
version=1.18.0
|
version=1.18.0
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
hostmakedepends="libressl-devel pcre-devel $(vopt_if geoip geoip-devel)"
|
hostmakedepends="libressl-devel pcre-devel $(vopt_if geoip geoip-devel)"
|
||||||
makedepends="${hostmakedepends}"
|
makedepends="${hostmakedepends}"
|
||||||
|
@ -32,9 +31,10 @@ make_dirs="/var/log/nginx 0750 root root
|
||||||
/var/tmp 1777 root root
|
/var/tmp 1777 root root
|
||||||
/var/tmp/nginx 0750 nginx root"
|
/var/tmp/nginx 0750 nginx root"
|
||||||
|
|
||||||
build_options="geoip stream"
|
build_options="geoip stream slice"
|
||||||
desc_option_stream="Enable support for stream proxies"
|
desc_option_stream="Enable support for stream proxies"
|
||||||
build_options_default="geoip stream"
|
desc_option_slice="Enable support for slice filters"
|
||||||
|
build_options_default="geoip stream slice"
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
local cfgdir=/etc/nginx
|
local cfgdir=/etc/nginx
|
||||||
|
@ -77,7 +77,9 @@ do_configure() {
|
||||||
--with-http_stub_status_module \
|
--with-http_stub_status_module \
|
||||||
--with-http_sub_module \
|
--with-http_sub_module \
|
||||||
$(vopt_if geoip --with-http_geoip_module) \
|
$(vopt_if geoip --with-http_geoip_module) \
|
||||||
$(vopt_if stream "$stream_modules")
|
$(vopt_if stream "$stream_modules") \
|
||||||
|
$(vopt_if slice --with-http_slice_module)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue