Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP3:Update
nginx-module-sticky-ng
dynamic-module.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dynamic-module.patch of Package nginx-module-sticky-ng
From b5a5bd934da9cc62d46d3bb2ae0ed3c5e0a14962 Mon Sep 17 00:00:00 2001 From: Michal Rostecki <mrostecki@suse.com> Date: Fri, 13 Apr 2018 17:01:25 +0200 Subject: [PATCH] config: Allow to build as a dynamic module nginx 1.9.11 introduced the functionality of loading modules dynamically. Hovewer, the syntax of the config file for dynamic modules is slightly different, so the sticky-module-ng needed tbe be adjusted to it. --- config | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/config b/config index bf9bacc..14221a9 100644 --- a/config +++ b/config @@ -1,6 +1,17 @@ ngx_addon_name=ngx_http_sticky_module -HTTP_MODULES="$HTTP_MODULES ngx_http_sticky_module" -NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_sticky_module.c $ngx_addon_dir/ngx_http_sticky_misc.c" -NGX_ADDON_DEPS="$NGX_ADDON_DEPS $ngx_addon_dir/ngx_http_sticky_misc.h" + +if test -n "$ngx_module_link"; then + ngx_module_type=HTTP + ngx_module_name=ngx_http_sticky_module + ngx_module_srcs="$ngx_addon_dir/ngx_http_sticky_module.c $ngx_addon_dir/ngx_http_sticky_misc.c" + ngx_module_deps="$ngx_addon_dir/ngx_http_sticky_misc.h" + + . auto/module +else + HTTP_MODULES="$HTTP_MODULES ngx_http_sticky_module" + NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_sticky_module.c $ngx_addon_dir/ngx_http_sticky_misc.c" + NGX_ADDON_DEPS="$NGX_ADDON_DEPS $ngx_addon_dir/ngx_http_sticky_misc.h" +fi + USE_MD5=YES USE_SHA1=YES
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor