luci-0.9: merge r4856-r4859

This commit is contained in:
Jo-Philipp Wich 2009-06-16 22:45:06 +00:00
parent d47cf50446
commit 135261e7e4
9 changed files with 75 additions and 20 deletions

View file

@ -27,9 +27,9 @@ endef
define Package/libcyassl-luci
$(call Package/cyassl-luci/Default)
SECTION:=libs
SUBMENU:=SSL
CATEGORY:=Libraries
SECTION:=luci
CATEGORY:=LuCI
SUBMENU:=Libraries
TITLE+= (library)
endef

View file

@ -0,0 +1,52 @@
#
# Copyright (C) 2009 Jo-Philipp Wich <xm@subsignal.org>
#
# This is free software, licensed under the Apache 2.0 license.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=freifunk-firewall
PKG_RELEASE:=1
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
define Package/freifunk-firewall
SECTION:=luci
CATEGORY:=LuCI
SUBMENU:=Freifunk
TITLE:=Freifunk Firewall Addon
DEPENDS:=+firewall
endef
define Package/freifunk-firewall/description
Various firewall extensions for Freifunk. Includes NAT fixes and advanced settings.
endef
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
endef
define Build/Configure
endef
define Build/Compile
endef
define Package/freifunk-firewall/postinst
#!/bin/sh
if ! grep -q /etc/firewall.freifunk /etc/config/firewall; then
uci add firewall include >/dev/null
uci set firewall.@include[-1].path=/etc/firewall.freifunk
uci commit firewall
fi
endef
define Package/freifunk-firewall/install
$(CP) ./files/* $(1)/
endef
$(eval $(call BuildPackage,freifunk-firewall))

View file

@ -15,8 +15,9 @@ PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
define Package/freifunk-p2pblock
SECTION:=net
CATEGORY:=Network
SECTION:=luci
CATEGORY:=LuCI
SUBMENU:=Freifunk
TITLE:=Freifunk p2pblock Addon
DEPENDS:=+iptables-mod-filter +l7-protocols +iptables-mod-conntrack-extra
endef

View file

@ -16,8 +16,9 @@ PKG_BUILD_DEPENDS := uci
include $(INCLUDE_DIR)/package.mk
define Package/freifunk-watchdog
SECTION:=utils
CATEGORY:=Utilities
SECTION:=luci
CATEGORY:=LuCI
SUBMENU:=Freifunk
TITLE:=Freifunk Ad-Hoc watchdog daemon
DEPENDS:=libuci
endef

View file

@ -50,36 +50,36 @@ endef
### Templates ###
define Package/luci/libtemplate
SECTION:=admin
CATEGORY:=Administration
SECTION:=luci
CATEGORY:=LuCI
TITLE:=LuCI - Lua Configuration Interface
URL:=http://luci.freifunk-halle.net/
MAINTAINER:=Steven Barth <steven-at-midlink-dot-org>
SUBMENU:=LuCI Libraries
SUBMENU:=Libraries
DEPENDS:=+luci-core
endef
define Package/luci/fftemplate
$(call Package/luci/libtemplate)
SUBMENU:=LuCI Freifunk Support
SUBMENU:=Freifunk
DEPENDS:=+luci-mod-freifunk
endef
define Package/luci/i18ntemplate
$(call Package/luci/libtemplate)
SUBMENU:=LuCI Translations
SUBMENU:=Translations
DEPENDS:=+luci-web
endef
define Package/luci/thtemplate
$(call Package/luci/libtemplate)
SUBMENU:=LuCI Themes
SUBMENU:=Themes
DEPENDS:=+luci-web
endef
define Package/luci/webtemplate
$(call Package/luci/libtemplate)
SUBMENU:=LuCI Components
SUBMENU:=Components
endef
@ -402,7 +402,7 @@ endef
define Package/luci-mod-freifunk
$(call Package/luci/fftemplate)
DEPENDS:=+luci-admin-full +luci-json
DEPENDS:=+luci-admin-full +luci-json +PACKAGE_luci-mod-freifunk:freifunk-firewall
TITLE:=LuCI Freifunk module
endef

View file

@ -33,8 +33,9 @@ include $(INCLUDE_DIR)/package.mk
define Package/olsrd-luci/common_info
SECTION:=net
CATEGORY:=Network
SECTION:=luci
CATEGORY:=LuCI
SUBMENU:=Freifunk
TITLE:=OLSR - Optimized Link State Routing Daemon
URL:=http://www.olsr.org/
MAINTAINER:=Jo-Philipp Wich <xm@subsignal.org>

View file

@ -30,10 +30,10 @@ endef
$(eval $(call Download,tzcode))
define Package/zoneinfo/default
SUBMENU:=Zones (ZoneInfo)
SUBMENU:=ZoneInfo
TITLE:=Zone Information
SECTION:=net
CATEGORY:=Network
SECTION:=luci
CATEGORY:=LuCI
endef
define Package/zoneinfo-core