From: Jo-Philipp Wich Date: Sun, 23 Oct 2011 14:20:51 +0000 (+0000) Subject: contrib/package: complete rework of dependencies, should cure menuconfig issues X-Git-Tag: 0.11.0~1494 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=eeb63417a120c3affed24a42aae650c3a7d69b7a;p=project%2Fluci.git contrib/package: complete rework of dependencies, should cure menuconfig issues --- diff --git a/contrib/package/community-profiles/Makefile b/contrib/package/community-profiles/Makefile index 439b6837b3..3129a36786 100644 --- a/contrib/package/community-profiles/Makefile +++ b/contrib/package/community-profiles/Makefile @@ -13,7 +13,7 @@ include $(INCLUDE_DIR)/package.mk define Package/community-profiles SECTION:=luci CATEGORY:=LuCI - SUBMENU:=Freifunk + SUBMENU:=9. Freifunk TITLE:=Community profiles DEPENDS:=freifunk-common endef diff --git a/contrib/package/freifunk-common/Makefile b/contrib/package/freifunk-common/Makefile index 0b7ea761f4..c15f02dcf6 100644 --- a/contrib/package/freifunk-common/Makefile +++ b/contrib/package/freifunk-common/Makefile @@ -13,7 +13,7 @@ include $(INCLUDE_DIR)/package.mk define Package/freifunk-common SECTION:=luci CATEGORY:=LuCI - SUBMENU:=Freifunk + SUBMENU:=9. Freifunk TITLE:=Freifunk common files endef diff --git a/contrib/package/freifunk-firewall/Makefile b/contrib/package/freifunk-firewall/Makefile index eff1c7d644..eed1d7a8af 100644 --- a/contrib/package/freifunk-firewall/Makefile +++ b/contrib/package/freifunk-firewall/Makefile @@ -16,7 +16,7 @@ include $(INCLUDE_DIR)/package.mk define Package/freifunk-firewall SECTION:=luci CATEGORY:=LuCI - SUBMENU:=Freifunk + SUBMENU:=9. Freifunk TITLE:=Freifunk Firewall Addon DEPENDS:=+firewall endef diff --git a/contrib/package/freifunk-gwcheck/Makefile b/contrib/package/freifunk-gwcheck/Makefile index ddadc053bd..a0945e1d80 100644 --- a/contrib/package/freifunk-gwcheck/Makefile +++ b/contrib/package/freifunk-gwcheck/Makefile @@ -13,9 +13,9 @@ include $(INCLUDE_DIR)/package.mk define Package/freifunk-gwcheck SECTION:=luci CATEGORY:=LuCI - SUBMENU:=Freifunk + SUBMENU:=9. Freifunk TITLE:=Freifunk gateway check script - DEPENDS:=+firewall +ip +iptables-mod-ipopt +olsrd-mod-dyn-gw-plain + DEPENDS:=firewall +ip +iptables-mod-ipopt +olsrd-mod-dyn-gw-plain endef define Package/freifunk-gwcheck/description diff --git a/contrib/package/freifunk-mapupdate/Makefile b/contrib/package/freifunk-mapupdate/Makefile index e75086e506..a9281ca20a 100644 --- a/contrib/package/freifunk-mapupdate/Makefile +++ b/contrib/package/freifunk-mapupdate/Makefile @@ -13,7 +13,7 @@ include $(INCLUDE_DIR)/package.mk define Package/freifunk-mapupdate SECTION:=luci CATEGORY:=LuCI - SUBMENU:=Freifunk + SUBMENU:=9. Freifunk TITLE:=Update script for freifunkmap DEPENDS:=+olsrd-mod-nameservice endef diff --git a/contrib/package/freifunk-p2pblock/Makefile b/contrib/package/freifunk-p2pblock/Makefile index b8a8f8ddbf..d264a17608 100644 --- a/contrib/package/freifunk-p2pblock/Makefile +++ b/contrib/package/freifunk-p2pblock/Makefile @@ -17,7 +17,7 @@ include $(INCLUDE_DIR)/package.mk define Package/freifunk-p2pblock SECTION:=luci CATEGORY:=LuCI - SUBMENU:=Freifunk + SUBMENU:=9. Freifunk TITLE:=Freifunk p2pblock Addon DEPENDS:=+iptables-mod-filter +iptables-mod-ipp2p +l7-protocols +iptables-mod-conntrack-extra endef diff --git a/contrib/package/freifunk-policyrouting/Makefile b/contrib/package/freifunk-policyrouting/Makefile index 7ff0b07d61..7abfedbd56 100644 --- a/contrib/package/freifunk-policyrouting/Makefile +++ b/contrib/package/freifunk-policyrouting/Makefile @@ -13,7 +13,7 @@ include $(INCLUDE_DIR)/package.mk define Package/freifunk-policyrouting SECTION:=luci CATEGORY:=LuCI - SUBMENU:=Freifunk + SUBMENU:=9. Freifunk TITLE:=Freifunk policy routing addon DEPENDS:=+firewall +ip endef diff --git a/contrib/package/freifunk-watchdog/Makefile b/contrib/package/freifunk-watchdog/Makefile index 25c4efa35c..dcc3ac4b73 100644 --- a/contrib/package/freifunk-watchdog/Makefile +++ b/contrib/package/freifunk-watchdog/Makefile @@ -18,7 +18,7 @@ include $(INCLUDE_DIR)/package.mk define Package/freifunk-watchdog SECTION:=luci CATEGORY:=LuCI - SUBMENU:=Freifunk + SUBMENU:=9. Freifunk TITLE:=Freifunk Ad-Hoc watchdog daemon DEPENDS:=libuci endef diff --git a/contrib/package/iwinfo/Makefile b/contrib/package/iwinfo/Makefile index 014e7a31b0..011f122c52 100644 --- a/contrib/package/iwinfo/Makefile +++ b/contrib/package/iwinfo/Makefile @@ -17,7 +17,7 @@ include $(INCLUDE_DIR)/package.mk define Package/libiwinfo SECTION:=luci CATEGORY:=LuCI - SUBMENU:=Libraries + SUBMENU:=8. Libraries TITLE:=Generalized Wireless Information Library (iwinfo) DEPENDS:=+PACKAGE_kmod-mac80211:libnl-tiny +liblua +lua DEFAULT:=PACKAGE_luci-lib-sys diff --git a/contrib/package/luci/Makefile b/contrib/package/luci/Makefile index efff767785..78e0912532 100644 --- a/contrib/package/luci/Makefile +++ b/contrib/package/luci/Makefile @@ -53,7 +53,7 @@ define Package/luci-lib-core TITLE:=LuCI - Lua Configuration Interface URL:=http://luci.subsignal.org/ MAINTAINER:=LuCI Development Team - SUBMENU:=Libraries + SUBMENU:=8. Libraries DEPENDS:=+lua +libuci-lua TITLE:=LuCI core libraries endef @@ -114,7 +114,7 @@ define library TITLE:=LuCI - Lua Configuration Interface URL:=http://luci.subsignal.org/ MAINTAINER:=LuCI Development Team - SUBMENU:=Libraries + SUBMENU:=8. Libraries TITLE:=$(if $(2),$(2),LuCI $(1) library) $(if $(3),DEPENDS:=+luci-lib-core $(3)) endef @@ -195,9 +195,9 @@ define protocol TITLE:=LuCI - Lua Configuration Interface URL:=http://luci.subsignal.org/ MAINTAINER:=LuCI Development Team - SUBMENU:=Protocols + SUBMENU:=6. Protocols TITLE:=$(if $(2),$(2),LuCI $(1) protocol support) - $(if $(3),DEPENDS:=+luci-proto-core $(3)) + DEPENDS:=$(3) endef define Package/luci-proto-$(1)/install @@ -212,11 +212,11 @@ define protocol endef $(eval $(call protocol,core,Support for static/dhcp/none)) -$(eval $(call protocol,ppp,Support for PPP/PPPoE/PPPoA,+PACKAGE_luci-proto-ppp:ppp-mod-pppoe)) -$(eval $(call protocol,pptp,Support for PPtP,+PACKAGE_luci-proto-pptp:pptp)) -$(eval $(call protocol,6x4,Support for 6in4/6to4,+PACKAGE_luci-proto-6x4:6in4 +PACKAGE_luci-proto-6x4:6to4)) -$(eval $(call protocol,3g,Support for 3G,+PACKAGE_luci-proto-3g:comgt)) -$(eval $(call protocol,relay,Support for relayd pseudo bridges,+PACKAGE_luci-proto-relay:relayd)) +$(eval $(call protocol,ppp,Support for PPP/PPPoE/PPPoA)) +$(eval $(call protocol,pptp,Support for PPtP,+pptp)) +$(eval $(call protocol,6x4,Support for 6in4/6to4,+6in4 +6to4)) +$(eval $(call protocol,3g,Support for 3G,+comgt)) +$(eval $(call protocol,relay,Support for relayd pseudo bridges,+relayd)) ### Community Packages ### @@ -226,7 +226,7 @@ define Package/luci-mod-freifunk-community TITLE:=LuCI - Lua Configuration Interface URL:=http://luci.subsignal.org/ MAINTAINER:=LuCI Development Team - SUBMENU:=Freifunk + SUBMENU:=9. Freifunk TITLE:=Freifunk Community Meta-Package DEPENDS+= \ +luci-lib-web +luci-app-splash +luci-i18n-german \ @@ -256,7 +256,7 @@ define module TITLE:=LuCI - Lua Configuration Interface URL:=http://luci.subsignal.org/ MAINTAINER:=LuCI Development Team - SUBMENU:=Modules + SUBMENU:=2. Modules TITLE:=$(if $(2),$(2),LuCI $(1) module) $(if $(3),DEPENDS+=$(3)) endef @@ -278,7 +278,7 @@ define Package/luci-mod-admin-core/extra-install touch $(1)/etc/init.d/luci_fixtime || true endef -$(eval $(call module,admin-core,Web UI Core module,+luci-lib-web +luci-proto-core +luci-proto-ppp +luci-i18n-english)) +$(eval $(call module,admin-core,Web UI Core module,+luci-lib-web +luci-proto-core +luci-i18n-english)) $(eval $(call module,admin-mini,LuCI Essentials - stripped down and user-friendly,+luci-mod-admin-core @BROKEN)) $(eval $(call module,admin-full,LuCI Administration - full-featured for full control,+luci-mod-admin-core +luci-lib-ipkg)) $(eval $(call module,rpc,LuCI RPC - JSON-RPC API,+luci-lib-json)) @@ -294,7 +294,7 @@ define application TITLE:=LuCI - Lua Configuration Interface URL:=http://luci.subsignal.org/ MAINTAINER:=LuCI Development Team - SUBMENU:=Applications + SUBMENU:=3. Applications TITLE:=$(if $(2),$(2),LuCI $(1) application) DEPENDS:=$(3) endef @@ -339,21 +339,19 @@ $(eval $(call application,meshwizard, Shellscript based wizard to setup mesh net +PACKAGE_luci-app-freifunk-meshwizard:meshwizard)) $(eval $(call application,olsr,OLSR configuration and status module,\ - +PACKAGE_luci-app-olsr:olsrd +PACKAGE_luci-app-olsr:olsrd-mod-txtinfo)) + +olsrd-mod-txtinfo)) $(eval $(call application,olsr-viz,OLSR Visualisation,\ - luci-app-olsr +PACKAGE_luci-app-olsr-viz:olsrd-mod-txtinfo)) + luci-app-olsr +olsrd-mod-txtinfo)) $(eval $(call application,olsr-services,Show services announced with the nameservice plugin,\ - luci-app-olsr +PACKAGE_luci-app-olsr-services:olsrd-mod-nameservice)) + luci-app-olsr +olsrd-mod-nameservice)) $(eval $(call application,qos,Quality of Service configuration module,\ +PACKAGE_luci-app-qos:qos-scripts)) $(eval $(call application,splash,Freifunk DHCP-Splash application,\ - +luci-lib-nixio +PACKAGE_luci-app-splash:tc \ - +PACKAGE_luci-app-splash:kmod-sched +PACKAGE_luci-app-splash:iptables-mod-nat-extra \ - +PACKAGE_luci-app-splash:iptables-mod-ipopt)) + +luci-lib-nixio +tc +kmod-sched +iptables-mod-nat-extra +iptables-mod-ipopt)) $(eval $(call application,statistics,LuCI Statistics Application,\ +PACKAGE_luci-app-statistics:collectd \ @@ -414,10 +412,10 @@ $(eval $(call application,openvpn,LuCI Support for OpenVPN,\ +PACKAGE_luci-app-openvpn:openvpn)) $(eval $(call application,p2pblock,LuCI Support for the Freifunk P2P-Block addon,\ - +luci-app-firewall +PACKAGE_luci-app-p2pblock:freifunk-p2pblock)) + luci-app-firewall +PACKAGE_luci-app-p2pblock:freifunk-p2pblock)) $(eval $(call application,multiwan,LuCI Support for the OpenWrt MultiWAN agent,\ - +luci-app-firewall +PACKAGE_luci-app-multiwan:multiwan)) + luci-app-firewall +PACKAGE_luci-app-multiwan:multiwan)) $(eval $(call application,wol,LuCI Support for Wake-on-LAN,\ +PACKAGE_luci-app-wol:etherwake)) @@ -445,9 +443,9 @@ define sgi TITLE:=LuCI - Lua Configuration Interface URL:=http://luci.subsignal.org/ MAINTAINER:=LuCI Development Team - SUBMENU:=Server Interfaces + SUBMENU:=7. Server Interfaces TITLE:=$(if $(2),$(2),LuCI $(1) server gateway interface) - $(if $(3),DEPENDS:=$(3)) + DEPENDS:=$(3) endef define Package/luci-sgi-$(1)/install @@ -472,7 +470,7 @@ define theme CATEGORY:=LuCI TITLE:=LuCI - Lua Configuration Interface URL:=http://luci.subsignal.org/ - SUBMENU:=Themes + SUBMENU:=4. Themes TITLE:=$(if $(2),$(2),LuCI $(1) theme) MAINTAINER:=$(if $(3),$(3),LuCI Development Team ) DEPENDS:=$(if $(filter-out base,$(1)),+luci-theme-base) $(4) @@ -490,7 +488,7 @@ define theme LUCI_BUILD_PACKAGES += luci-theme-$(1) endef -$(eval $(call theme,base,Common base for all themes,,+luci-lib-web)) +$(eval $(call theme,base,Common base for all themes)) $(eval $(call theme,openwrt,OpenWrt.org (default),,,1)) $(eval $(call theme,fledermaus,Fledermaus Theme)) @@ -514,7 +512,7 @@ define translation TITLE:=LuCI - Lua Configuration Interface URL:=http://luci.subsignal.org/ MAINTAINER:=LuCI Development Team - SUBMENU:=Translations + SUBMENU:=5. Translations TITLE:=$(if $(2),$(2),$(1)) endef @@ -556,7 +554,7 @@ define collection TITLE:=LuCI - Lua Configuration Interface URL:=http://luci.subsignal.org/ MAINTAINER:=LuCI Development Team - SUBMENU:=Collections + SUBMENU:=1. Collections TITLE:=$(if $(2),$(2),LuCI $(if $(1),$(1),general) collection) $(if $(3),DEPENDS:=$(3)) endef @@ -569,14 +567,14 @@ define collection endef $(eval $(call collection,,\ - Standard OpenWrt set including full and mini admin and the standard theme,\ + Standard OpenWrt set including full admin with ppp support and the \ + default OpenWrt theme,\ +uhttpd +luci-mod-admin-full +luci-theme-openwrt +luci-app-firewall \ - +libiwinfo)) + +luci-proto-core +luci-proto-ppp +libiwinfo)) $(eval $(call collection,ssl,\ Standard OpenWrt set with HTTPS support,\ - +uhttpd +uhttpd-mod-tls +px5g +luci-mod-admin-full +luci-theme-openwrt \ - +luci-app-firewall +libiwinfo)) + +luci +uhttpd-mod-tls +px5g)) $(eval $(call collection,light,\ Minimum package set using only admin mini and the standard theme,\ diff --git a/contrib/package/meshwizard/Makefile b/contrib/package/meshwizard/Makefile index d37e993bb5..5420f89d4e 100644 --- a/contrib/package/meshwizard/Makefile +++ b/contrib/package/meshwizard/Makefile @@ -13,7 +13,7 @@ include $(INCLUDE_DIR)/package.mk define Package/meshwizard SECTION:=luci CATEGORY:=LuCI - SUBMENU:=Freifunk + SUBMENU:=9. Freifunk TITLE:=Shell script based wizard for Mesh networks DEPENDS:=+firewall endef diff --git a/contrib/package/remote-update/Makefile b/contrib/package/remote-update/Makefile index b1b8f6f36c..2bb3b24cde 100644 --- a/contrib/package/remote-update/Makefile +++ b/contrib/package/remote-update/Makefile @@ -16,7 +16,7 @@ include $(INCLUDE_DIR)/package.mk define Package/remote-update SECTION:=luci CATEGORY:=LuCI - SUBMENU:=Freifunk + SUBMENU:=9. Freifunk TITLE:=Freifunk remote update utility. DEPENDS:=@TARGET_atheros||@TARGET_ar71xx||@TARGET_brcm_2_4 endef