| Andrei Belov | 03bdaa8 | 2021-01-13 11:24:47 +0300 | [diff] [blame] | 1 | MODULES+= auth-spnego |
| 2 | |
| 3 | MODULE_SUMMARY_auth_spnego= 3rd-party kerberos authentication dynamic module |
| 4 | |
| 5 | include $(CONTRIB)/src/spnego-http-auth-nginx-module/version |
| 6 | |
| 7 | MODULE_VERSION_auth_spnego= $(SPNEGO_HTTP_AUTH_NGINX_MODULE_VERSION) |
| 8 | MODULE_RELEASE_auth_spnego= 1 |
| 9 | |
| 10 | MODULE_VERSION_PREFIX_auth_spnego=$(MODULE_TARGET_PREFIX) |
| 11 | |
| 12 | MODULE_SOURCES_auth_spnego= spnego-http-auth-nginx-module-$(SPNEGO_HTTP_AUTH_NGINX_MODULE_GITHASH).tar.xz |
| 13 | |
| 14 | MODULE_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 | |
| 21 | MODULE_BUILD_DEPENDS_auth_spnego=,libkrb5-dev |
| 22 | |
| 23 | define MODULE_POST_auth_spnego |
| 24 | cat <<BANNER |
| 25 | ---------------------------------------------------------------------- |
| 26 | |
| 27 | The $(MODULE_SUMMARY_auth_spnego) for $(MODULE_SUMMARY_PREFIX) has been installed. |
| 28 | To enable this module, add the following to /etc/nginx/nginx.conf |
| 29 | and reload nginx: |
| 30 | |
| 31 | load_module modules/ngx_http_auth_spnego_module.so; |
| 32 | |
| 33 | Please refer to the module documentation for further details: |
| 34 | https://github.com/stnoonan/spnego-http-auth-nginx-module |
| 35 | |
| 36 | ---------------------------------------------------------------------- |
| 37 | BANNER |
| 38 | endef |
| 39 | export MODULE_POST_auth_spnego |