+define Package/luci-app-diag-core
+ $(call Package/luci/webtemplate)
+ DEPENDS+=+luci-admin-core
+ TITLE:=LuCI Diagnostics Tools (Core)
+endef
+
+define Package/luci-app-diag-devinfo
+ $(call Package/luci/webtemplate)
+ DEPENDS+=+PACKAGE_luci-app-diag-devinfo:luci-app-diag-core \
+ +PACKAGE_luci-app-diag-devinfo:smap \
+ +PACKAGE_luci-app-diag-devinfo:netdiscover \
+ +PACKAGE_luci-app-diag-devinfo:mac-to-devinfo \
+ +PACKAGE_luci-app-diag-devinfo:httping \
+ +PACKAGE_luci-app-diag-devinfo:smap-to-devinfo \
+ +PACKAGE_luci-app-diag-devinfo:netdiscover-to-devinfo
+ TITLE:=LuCI Diagnostics Tools (Device Info)
+endef
+
+define Package/luci-app-voice-core
+ $(call Package/luci/webtemplate)
+ DEPENDS+=+luci-admin-core
+ TITLE:=LuCI Voice Software (Core)
+endef
+
+define Package/luci-app-voice-diag
+ $(call Package/luci/webtemplate)
+ DEPENDS+=+PACKAGE_luci-app-voice-diag:luci-app-voice-core \
+ +PACKAGE_luci-app-voice-diag:luci-app-diag-devinfo
+ TITLE:=LuCI Voice Software (Diagnostics)
+endef
+
+define Package/luci-app-diag-devinfo/conffiles
+/etc/config/luci_devinfo
+endef
+
+define Package/luci-app-diag-core/install
+ $(call Package/luci/install/template,$(1),applications/luci-diag-core)
+endef
+
+define Package/luci-app-diag-devinfo/install
+ $(call Package/luci/install/template,$(1),applications/luci-diag-devinfo)
+endef
+
+define Package/luci-app-voice-core/install
+ $(call Package/luci/install/template,$(1),applications/luci-voice-core)
+endef
+
+define Package/luci-app-voice-diag/install
+ $(call Package/luci/install/template,$(1),applications/luci-voice-diag)
+endef
+
+define Package/luci-app-upnp
+ $(call Package/luci/webtemplate)
+ DEPENDS+=+luci-admin-core +PACKAGE_luci-app-upnp:miniupnpd
+ TITLE:=Universal Plug & Play configuration module
+endef
+
+define Package/luci-app-upnp/install
+ $(call Package/luci/install/template,$(1),applications/luci-upnp)
+endef
+
+
+define Package/luci-app-ntpc
+ $(call Package/luci/webtemplate)
+ DEPENDS+=+luci-admin-core +PACKAGE_luci-app-ntpc:ntpclient
+ TITLE:=NTP time synchronisation client configuration module
+endef
+
+define Package/luci-app-ntpc/install
+ $(call Package/luci/install/template,$(1),applications/luci-ntpc)
+endef
+
+
+define Package/luci-app-ddns
+ $(call Package/luci/webtemplate)
+ DEPENDS+=+luci-admin-core +PACKAGE_luci-app-ddns:ddns-scripts
+ TITLE:=Dynamic DNS configuration module
+endef
+
+define Package/luci-app-ddns/install
+ $(call Package/luci/install/template,$(1),applications/luci-ddns)
+endef
+
+
+define Package/luci-app-samba
+ $(call Package/luci/webtemplate)
+ DEPENDS+=+luci-admin-full +PACKAGE_luci-app-samba:samba3
+ TITLE:=Network Shares - Samba SMB/CIFS module
+endef
+
+define Package/luci-app-samba/install
+ $(call Package/luci/install/template,$(1),applications/luci-samba)
+endef
+
+
+define Package/luci-app-mmc-over-gpio
+ $(call Package/luci/webtemplate)
+ DEPENDS+=+luci-admin-full +PACKAGE_luci-app-mmc-over-gpio:kmod-mmc-over-gpio
+ TITLE:=mmc_over_gpio
+endef
+
+define Package/luci-app-mmc-over-gpio/install
+ $(call Package/luci/install/template,$(1),applications/luci-mmc-over-gpio)
+endef
+
+
+define Package/luci-app-p910nd
+ $(call Package/luci/webtemplate)
+ DEPENDS+=+luci-admin-full +PACKAGE_luci-app-p910nd:p910nd
+ TITLE:=p910nd - Printer server module
+endef
+
+define Package/luci-app-p910nd/install
+ $(call Package/luci/install/template,$(1),applications/luci-p910nd)
+endef
+
+
+define Package/luci-app-ushare
+ $(call Package/luci/webtemplate)
+ DEPENDS+=+luci-admin-full +PACKAGE_luci-app-ushare:ushare
+ TITLE:=ushare - UPnP A/V & DLNA Media Server
+endef
+
+define Package/luci-app-ushare/install
+ $(call Package/luci/install/template,$(1),applications/luci-ushare)
+endef
+
+define Package/luci-app-hd-idle
+ $(call Package/luci/webtemplate)
+ DEPENDS+=+luci-admin-full +PACKAGE_luci-app-hd-idle:hd-idle
+ TITLE:=hd-idle
+endef
+
+define Package/luci-app-hd-idle/install
+ $(call Package/luci/install/template,$(1),applications/luci-hd-idle)
+endef
+
+define Package/luci-app-tinyproxy
+ $(call Package/luci/webtemplate)
+ DEPENDS+=+luci-admin-full +PACKAGE_luci-app-tinyproxy:tinyproxy
+ TITLE:=Tinyproxy - HTTP(S)-Proxy
+endef
+
+define Package/luci-app-tinyproxy/install
+ $(call Package/luci/install/template,$(1),applications/luci-tinyproxy)
+endef
+
+define Package/luci-app-initmgr
+ $(call Package/luci/webtemplate)
+ DEPENDS+=+luci-admin-full
+ TITLE:=LuCI Initscript Management
+endef
+
+define Package/luci-app-initmgr/install
+ $(call Package/luci/install/template,$(1),applications/luci-initmgr)
+endef
+
+define Package/luci-app-livestats
+ $(call Package/luci/webtemplate)
+ DEPENDS+=+luci-admin-core +luci-admin-rpc
+ TITLE:=LuCI Realtime Statistics
+endef
+
+define Package/luci-app-livestats/install
+ $(call Package/luci/install/template,$(1),applications/luci-livestats)
+endef
+
+define Package/luci-app-asterisk
+ $(call Package/luci/webtemplate)
+ TITLE:=LuCI Support for Asterisk PBX
+ DEPENDS+=@BROKEN +luci-admin-core +PACKAGE_luci-app-asterisk:asterisk14-xip-core
+endef
+
+define Package/luci-app-asterisk/install
+ $(call Package/luci/install/template,$(1),applications/luci-asterisk)
+endef
+
+define Package/luci-app-polipo
+ $(call Package/luci/webtemplate)
+ TITLE:=LuCI Support for the Polipo Proxy
+ DEPENDS+=+luci-admin-core +PACKAGE_luci-app-polipo:polipo
+endef
+
+define Package/luci-app-polipo/install
+ $(call Package/luci/install/template,$(1),applications/luci-polipo)
+endef
+
+define Package/luci-app-openvpn
+ $(call Package/luci/webtemplate)
+ TITLE:=LuCI Support for OpenVPN
+ DEPENDS+=+luci-admin-core +PACKAGE_luci-app-openvpn:openvpn
+endef
+
+define Package/luci-app-openvpn/install
+ $(call Package/luci/install/template,$(1),applications/luci-openvpn)
+endef
+
+define Package/luci-app-p2pblock
+ $(call Package/luci/webtemplate)
+ TITLE:=LuCI Support for the Freifunk P2P-Block addon
+ DEPENDS+=+luci-admin-core +luci-app-firewall \
+ +PACKAGE_luci-app-p2pblock:freifunk-p2pblock
+endef
+
+define Package/luci-app-p2pblock/install
+ $(call Package/luci/install/template,$(1),applications/luci-p2pblock)
+endef
+