|
|
@ -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 |
|
|
|