Add the corresponding library path to the patch for the
third-party http_auth_spnego module. The third-party http_auth_spnego module may not work with in-base Kerberos implementation because of gss_locaname() function usage, so remove the GSSAPI_BASE option from the GSSAPI radio button. Bump PORTREVISION.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME?= nginx
|
||||
PORTVERSION= 1.19.2
|
||||
PORTREVISION= 7
|
||||
PORTREVISION= 8
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= https://nginx.org/download/ \
|
||||
LOCAL/osa
|
||||
@@ -104,8 +104,7 @@ OPTIONS_DEFAULT?= DSO FILE_AIO HTTP HTTP_ADDITION HTTP_AUTH_REQ HTTP_CACHE \
|
||||
OPTIONS_EXCLUDE=${${OSVERSION} < 1300042:?KTLS:}
|
||||
|
||||
OPTIONS_RADIO+= GSSAPI
|
||||
OPTIONS_RADIO_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT
|
||||
GSSAPI_BASE_USES= gssapi
|
||||
OPTIONS_RADIO_GSSAPI= GSSAPI_HEIMDAL GSSAPI_MIT
|
||||
GSSAPI_HEIMDAL_USES= gssapi:heimdal,flags
|
||||
GSSAPI_MIT_USES= gssapi:mit
|
||||
|
||||
@@ -125,7 +124,6 @@ ${opt}_IMPLIES= HTTP
|
||||
${opt}_IMPLIES= STREAM
|
||||
.endfor
|
||||
|
||||
GSSAPI_BASE_IMPLIES= HTTP_AUTH_KRB5
|
||||
GSSAPI_HEIMDAL_IMPLIES= HTTP_AUTH_KRB5
|
||||
GSSAPI_MIT_IMPLIES= HTTP_AUTH_KRB5
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
@@ -1,8 +1,9 @@
|
||||
ngx_addon_name=ngx_http_auth_spnego_module
|
||||
-ngx_feature_libs="-lgssapi_krb5 -lkrb5 -lcom_err"
|
||||
+ngx_feature_libs="%%GSSAPILIBS%%"
|
||||
+ngx_feature_libs="-L%%GSSAPILIBDIR%% %%GSSAPILIBS%%"
|
||||
+ngx_module_incs="%%GSSAPIINCDIR%%"
|
||||
|
||||
if uname -o | grep -q FreeBSD; then
|
||||
|
||||
Reference in New Issue
Block a user