This should fix isse #54. It should no not be possible to select an
nginx subpackage without the appropriate module.
Signed-off-by: Thomas Heil <[email protected]>
bool
prompt "Enable NAXSI module"
select PACKAGE_nginx-naxsi
+ default y
help
Enable support for NAXSI WAF.
config NGINX_PROXYPROTOCOL
bool
- prompt "Enable NAXSI proxyprotocol"
+ prompt "Enable HAProxy proxyprotocol"
select PACKAGE_nginx-proxyprotocol
+ default y
help
Enable support for NAXSI WAF.
bool
prompt "Enable Syslog module"
select PACKAGE_nginx-syslog
+ default y
help
Provides the ability log to a remote destination
define Package/nginx-naxsi
MENU:=1
$(call Package/nginx)
- TITLE+= nginx-naxsi
- DEPENDS:=nginx
+ TITLE:=nginx-naxsi
+ DEPENDS:=nginx @NGINX_NAXSI
endef
define Package/nginx-naxsi/description
define Package/nginx-proxyprotocol
MENU:=1
$(call Package/nginx)
- TITLE+= nginx-proxyprotocol
- DEPENDS:=nginx
+ TITLE:=nginx
+ DEPENDS:=nginx @NGINX_PROXYPROTOCOL
endef
define Package/nginx-proxyprotocol/description
define Package/nginx-syslog
MENU:=1
$(call Package/nginx)
- TITLE+= nginx-syslog
- DEPENDS:=nginx
+ TITLE:=nginx-syslog
+ DEPENDS:=nginx @NGINX_SYSLOG
endef
define Package/nginx-syslog/description