X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=contrib%2Fpackage%2Fluci%2FMakefile;h=dcc2c3c3b3283d9801775921a91c99cc416e7eea;hp=6229646c80752b13270a7e044ca1095942b9140d;hb=bbcaef2c6c9eb87c68d994179f890df3ab625544;hpb=7af6503b1e70b5f6d80db7433904bc6baefb08a3 diff --git a/contrib/package/luci/Makefile b/contrib/package/luci/Makefile index 6229646c8..dcc2c3c3b 100644 --- a/contrib/package/luci/Makefile +++ b/contrib/package/luci/Makefile @@ -10,12 +10,12 @@ PKG_NAME:=luci PKG_RELEASE:=1 ifeq ($(USELOCAL),1) - PKG_VERSION:=0.9+svn + PKG_VERSION:=0.10+svn else PKG_SOURCE_URL:=http://svn.luci.subsignal.org/luci/$(PKG_BRANCH) ifeq ($(DUMP),) PKG_REV:=$(shell LC_ALL=C svn info $(CURDIR) | sed -ne's/^Revision: //p') - PKG_VERSION:=0.9+svn$(PKG_REV) + PKG_VERSION:=0.10+svn$(PKG_REV) endif PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE:=$(PKG_SOURCE_SUBDIR).tar.gz @@ -160,7 +160,7 @@ endif ### Libraries ### define Package/luci-cbi $(call Package/luci/libtemplate) - DEPENDS+=+luci-web +luci-uvl +luci-uci + DEPENDS+=+luci-web +luci-uci TITLE:=Configuration Binding Interface endef @@ -767,6 +767,38 @@ define Package/luci-app-p2pblock/install $(call Package/luci/install/template,$(1),applications/luci-p2pblock) endef +define Package/luci-app-multiwan + $(call Package/luci/webtemplate) + TITLE:=LuCI Support for the OpenWrt MultiWAN agent + DEPENDS+=+luci-admin-core +luci-app-firewall \ + +PACKAGE_luci-app-multiwan:multiwan +endef + +define Package/luci-app-multiwan/install + $(call Package/luci/install/template,$(1),applications/luci-multiwan) +endef + +define Package/luci-app-wol + $(call Package/luci/webtemplate) + TITLE:=LuCI Support for Wake-on-LAN + DEPENDS+=+luci-admin-core +PACKAGE_luci-app-wol:etherwake +endef + +define Package/luci-app-wol/install + $(call Package/luci/install/template,$(1),applications/luci-wol) +endef + +define Package/luci-app-vnstat + $(call Package/luci/webtemplate) + TITLE:=LuCI Support for VnStat + DEPENDS+=+luci-admin-core +PACKAGE_luci-app-vnstat:vnstat \ + +PACKAGE_luci-app-vnstat:vnstati +endef + +define Package/luci-app-vnstat/install + $(call Package/luci/install/template,$(1),applications/luci-vnstat) +endef + ### Server Gateway Interfaces ### @@ -780,7 +812,7 @@ define Package/luci-sgi-cgi/install endef define Package/luci-sgi-uhttpd - $(call Package/luci/webservertemplate) + $(call Package/luci/libtemplate) TITLE:=Binding for the uHTTPd server DEPENDS+=+uhttpd +uhttpd-mod-lua endef @@ -986,12 +1018,22 @@ define Package/luci-i18n-vietnamese/install $(call Package/luci/install/template,$(1),i18n/vietnamese) endef +define Package/luci-i18n-malay + $(call Package/luci/i18ntemplate) + TITLE:=Malay (by Teow Wai Chet) +endef + +define Package/luci-i18n-malay/install + $(call Package/luci/install/template,$(1),i18n/malay) +endef + ### Collections ### define Package/luci $(call Package/luci/collectiontemplate) - TITLE:=Standard OpenWrt Kamikaze set including full and mini admin and the standard theme - DEPENDS:=+luci-admin-full +luci-admin-mini +luci-theme-openwrt +luci-app-firewall +luci-app-initmgr + TITLE:=Standard OpenWrt set including full and mini admin and the standard theme + DEPENDS:=+uhttpd +luci-admin-full +luci-admin-mini +luci-theme-openwrt \ + +luci-app-firewall +luci-app-initmgr endef define Package/luci/install @@ -999,10 +1041,33 @@ define Package/luci/install endef +define Package/luci-ssl + $(call Package/luci/collectiontemplate) + TITLE:=Standard OpenWrt set with https support + DEPENDS:=+uhttpd +uhttpd-mod-tls +px5g +luci-admin-full +luci-admin-mini \ + +luci-theme-openwrt +luci-app-firewall +luci-app-initmgr +endef + +define Package/luci-ssl/install + true +endef + + +define Package/luci-medium + $(call Package/luci/collectiontemplate) + TITLE:=Medium package set using only admin full and a theme without graphics + DEPENDS:=+uhttpd +luci-admin-full +luci-theme-openwrtlight +endef + +define Package/luci-medium/install + true +endef + + define Package/luci-light $(call Package/luci/collectiontemplate) - TITLE:=Minimum package set using only admin mini and a theme without grafics - DEPENDS:=+luci-admin-mini +luci-theme-openwrtlight + TITLE:=Minimum package set using only admin mini and a theme without graphics + DEPENDS:=+uhttpd +luci-admin-mini +luci-theme-openwrtlight endef define Package/luci-light/install @@ -1164,6 +1229,15 @@ endif ifneq ($(CONFIG_PACKAGE_luci-app-p2pblock),) PKG_SELECTED_MODULES+=applications/luci-p2pblock endif +ifneq ($(CONFIG_PACKAGE_luci-app-multiwan),) + PKG_SELECTED_MODULES+=applications/luci-multiwan +endif +ifneq ($(CONFIG_PACKAGE_luci-app-wol),) + PKG_SELECTED_MODULES+=applications/luci-wol +endif +ifneq ($(CONFIG_PACKAGE_luci-app-vnstat),) + PKG_SELECTED_MODULES+=applications/luci-vnstat +endif ifneq ($(CONFIG_PACKAGE_luci-sgi-cgi),) @@ -1234,6 +1308,9 @@ endif ifneq ($(CONFIG_PACKAGE_luci-i18n-vietnamese),) PKG_SELECTED_MODULES+=i18n/vietnamese endif +ifneq ($(CONFIG_PACKAGE_luci-i18n-malay),) + PKG_SELECTED_MODULES+=i18n/malay +endif MAKE_FLAGS += \ @@ -1298,6 +1375,9 @@ $(eval $(call BuildPackage,luci-app-asterisk)) $(eval $(call BuildPackage,luci-app-polipo)) $(eval $(call BuildPackage,luci-app-openvpn)) $(eval $(call BuildPackage,luci-app-p2pblock)) +$(eval $(call BuildPackage,luci-app-multiwan)) +$(eval $(call BuildPackage,luci-app-wol)) +$(eval $(call BuildPackage,luci-app-vnstat)) $(eval $(call BuildPackage,luci-sgi-cgi)) $(eval $(call BuildPackage,luci-sgi-uhttpd)) @@ -1322,6 +1402,9 @@ $(eval $(call BuildPackage,luci-i18n-catalan)) $(eval $(call BuildPackage,luci-i18n-portuguese)) $(eval $(call BuildPackage,luci-i18n-spanish)) $(eval $(call BuildPackage,luci-i18n-vietnamese)) +$(eval $(call BuildPackage,luci-i18n-malay)) $(eval $(call BuildPackage,luci)) +$(eval $(call BuildPackage,luci-ssl)) +$(eval $(call BuildPackage,luci-medium)) $(eval $(call BuildPackage,luci-light))