blob: a8e08b77dada23c5392194d91dd262fa619fdee6 [file] [log] [blame]
Andrei Belov03bdaa82021-01-13 11:24:47 +03001MODULES+= auth-spnego
2
3MODULE_SUMMARY_auth_spnego= 3rd-party kerberos authentication dynamic module
4
5include $(CONTRIB)/src/spnego-http-auth-nginx-module/version
6
7MODULE_VERSION_auth_spnego= $(SPNEGO_HTTP_AUTH_NGINX_MODULE_VERSION)
8MODULE_RELEASE_auth_spnego= 1
9
10MODULE_VERSION_PREFIX_auth_spnego=$(MODULE_TARGET_PREFIX)
11
12MODULE_SOURCES_auth_spnego= spnego-http-auth-nginx-module-$(SPNEGO_HTTP_AUTH_NGINX_MODULE_GITHASH).tar.xz
13
14MODULE_CONFARGS_auth_spnego= --with-http_ssl_module \
15 --add-dynamic-module=$(MODSRC_PREFIX)spnego-http-auth-nginx-module-$(SPNEGO_HTTP_AUTH_NGINX_MODULE_GITHASH)
16
17.deps-module-auth-spnego:
18 cd $(CONTRIB) && make .sum-spnego-http-auth-nginx-module
19 touch $@
20
21MODULE_BUILD_DEPENDS_auth_spnego=,libkrb5-dev
22
23define MODULE_POST_auth_spnego
24cat <<BANNER
25----------------------------------------------------------------------
26
27The $(MODULE_SUMMARY_auth_spnego) for $(MODULE_SUMMARY_PREFIX) has been installed.
28To enable this module, add the following to /etc/nginx/nginx.conf
29and reload nginx:
30
31 load_module modules/ngx_http_auth_spnego_module.so;
32
33Please refer to the module documentation for further details:
34https://github.com/stnoonan/spnego-http-auth-nginx-module
35
36----------------------------------------------------------------------
37BANNER
38endef
39export MODULE_POST_auth_spnego