Browse Source

nginx: fixed pkg_nginx_add_module() to apply local patches right after unpacking the addon module

user/chris/wip/linux37
Christian Wiese 12 years ago committed by Christian Wiese
parent
commit
e4e1a5f74c
  1. 4
      network/nginx/nginx.conf

4
network/nginx/nginx.conf

@ -111,9 +111,9 @@ pkg_nginx_patch_module() {
#
pkg_nginx_add_module() {
mkdir -p $builddir/addon-module/$1
tar -v $taropt $( match_source_file -p $1 nginx ) --strip-components=1 -C $builddir/addon-module/$1
tar -v $taropt $( match_source_file -p $1 nginx ) --strip-components=1 -C $builddir/addon-module/$1
pkg_nginx_patch_module $1
var_append confopt ' ' "--add-module=../addon-module/$1"
hook_add postpatch 5 "pkg_nginx_patch_module $1"
}
# NAXSI is a bit different than the other 3rd party modules

Loading…
Cancel
Save