summaryrefslogtreecommitdiff
path: root/www/nginx-devel/files/extra-patch-spnego-http-auth-nginx-module-config
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2018-04-22 21:35:51 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2018-04-22 21:35:51 +0000
commit1ab72784ba297e77a1414e9536668b0ac7dc74c3 (patch)
treea17b0c740156e31d281c319d999fb30a7db13743 /www/nginx-devel/files/extra-patch-spnego-http-auth-nginx-module-config
parentAdd mail/dovecot22 (v2.2.35) and mail/dovecot-pigeonhole04 (v0.4.23) (diff)
Merge from www/nginx and adopt next revisions:
465814, 465851, 465931, 468031. Bump PORTREVISION.
Notes
Notes: svn path=/head/; revision=468061
Diffstat (limited to 'www/nginx-devel/files/extra-patch-spnego-http-auth-nginx-module-config')
-rw-r--r--www/nginx-devel/files/extra-patch-spnego-http-auth-nginx-module-config21
1 files changed, 16 insertions, 5 deletions
diff --git a/www/nginx-devel/files/extra-patch-spnego-http-auth-nginx-module-config b/www/nginx-devel/files/extra-patch-spnego-http-auth-nginx-module-config
index 5f8d7523c16e..37543286589a 100644
--- a/www/nginx-devel/files/extra-patch-spnego-http-auth-nginx-module-config
+++ b/www/nginx-devel/files/extra-patch-spnego-http-auth-nginx-module-config
@@ -1,9 +1,20 @@
--- ../spnego-http-auth-nginx-module-0c6ff3f/config.orig 2017-04-15 13:07:01.159506000 -0400
-+++ ../spnego-http-auth-nginx-module-0c6ff3f/config 2017-04-15 13:07:36.283398000 -0400
-@@ -1,5 +1,5 @@
++++ ../spnego-http-auth-nginx-module-7e028a5/config 2018-04-20 00:15:08.515289000 +0200
+@@ -1,9 +1,6 @@
ngx_addon_name=ngx_http_auth_spnego_module
-ngx_feature_libs="-lgssapi_krb5 -lkrb5 -lcom_err"
-+ngx_feature_libs="%%GSSAPILIBS%% -lcom_err"
+-
+-if uname -o | grep -q FreeBSD; then
+- ngx_feature_libs="$ngx_feature_libs -lgssapi"
+-fi
++ngx_feature_libs="%%GSSAPILIBS%%"
++ngx_module_incs="%%GSSAPINCDIR%%"
- if uname -o | grep -q FreeBSD; then
- ngx_feature_libs="$ngx_feature_libs -lgssapi"
+ if test -n "$ngx_module_link"; then
+ ngx_module_type=HTTP
+@@ -16,3 +13,5 @@ else
+ NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_auth_spnego_module.c"
+ CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
+ fi
++
++LDFLAGS="-L%%GSSAPILIBDIR%% $LDFLAGS"