-NIXIO_TLS:=axtls
+NIXIO_TLS:=cyassl
define Package/luci-nixio
$(call Package/luci/libtemplate)
define Package/luci-nixio/config
choice
prompt "TLS Provider"
- default PACKAGE_luci-nixio_axtls
+ default PACKAGE_luci-nixio_cyassl
config PACKAGE_luci-nixio_axtls
bool "Builtin (axTLS)"
endchoice
endef
+ifneq ($(CONFIG_PACKAGE_luci-nixio_axtls),)
+ NIXIO_TLS:=axtls
+endif
+
ifneq ($(CONFIG_PACKAGE_luci-nixio_openssl),)
NIXIO_TLS:=openssl
endif
define Package/luci-web
$(call Package/luci/libtemplate)
- DEPENDS+=+luci-http +luci-sys +luci-uci +luci-lucid +luci-sgi-cgi +luci-lmo
+ DEPENDS+=+luci-http +luci-sys +luci-nixio +luci-uci \
+ +luci-sgi-cgi +luci-sgi-uhttpd +luci-lmo
TITLE:=MVC Webframework
$(call Config,luci.main.lang,string,auto,Default Language)
endef
define Package/luci-freifunk-community
$(call Package/luci/fftemplate)
DEPENDS+= \
- +luci-lucid +luci-sgi-cgi +luci-app-splash \
+ +luci-web +luci-app-splash \
+luci-app-ffwizard-leipzig \
+luci-i18n-german \
+PACKAGE_luci-freifunk-community:olsrd-luci +PACKAGE_luci-freifunk-community:olsrd-luci-mod-dyn-gw-plain \
$(call Package/luci/install/template,$(1),libs/sgi-cgi)
endef
+define Package/luci-sgi-uhttpd
+ $(call Package/luci/webservertemplate)
+ TITLE:=Binding for the uHTTPd server
+ DEPENDS+=+uhttpd +uhttpd-mod-tls +uhttpd-mod-lua +px5g
+endef
+
+define Package/luci-sgi-uhttpd/install
+ $(call Package/luci/install/template,$(1),libs/sgi-uhttpd)
+endef
+
+
### Themes ###
define Package/luci-theme-base
$(call Package/luci/thtemplate)
- DEPENDS:=+luci-web
+ DEPENDS:=
TITLE:=Common base for all themes
endef
ifneq ($(CONFIG_PACKAGE_luci-sgi-cgi),)
PKG_SELECTED_MODULES+=libs/sgi-cgi
endif
+ifneq ($(CONFIG_PACKAGE_luci-sgi-uhttpd),)
+ PKG_SELECTED_MODULES+=libs/sgi-uhttpd
+endif
ifneq ($(CONFIG_PACKAGE_luci-sgi-luci),)
PKG_SELECTED_MODULES+=libs/sgi-luci
endif
$(eval $(call BuildPackage,luci-app-p2pblock))
$(eval $(call BuildPackage,luci-sgi-cgi))
+$(eval $(call BuildPackage,luci-sgi-uhttpd))
$(eval $(call BuildPackage,luci-theme-base))
$(eval $(call BuildPackage,luci-theme-fledermaus))