Browse Source

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

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

2
network/nginx/nginx.conf

@ -112,8 +112,8 @@ 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
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