[crisos] Release of darwinfox 8.09-4
[openwrt/crisos.git] / package / firewall / Makefile
blob9d4e5dd31a727e6de1573058b04ebb424006e109
2 # Copyright (C) 2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR)/rules.mk
9 PKG_NAME:=firewall
11 PKG_VERSION:=1
12 PKG_RELEASE:=1
14 include $(INCLUDE_DIR)/package.mk
16 define Package/firewall
17 SECTION:=net
18 CATEGORY:=Base system
19 URL:=http://openwrt.org/
20 TITLE:=OpenWrt firewall
21 DEPENDS:=+iptables-mod-conntrack +iptables-mod-nat
22 endef
24 define Package/firewall/description
25 uci based firewall for openwrt
26 endef
28 define Build/Compile
29 true
30 endef
32 define Package/firewall/conffiles
33 /etc/config/firewall
34 endef
36 define Package/firewall/install
37 $(INSTALL_DIR) $(1)/lib/firewall
38 $(INSTALL_DATA) ./files/uci_firewall.sh $(1)/lib/firewall
39 $(INSTALL_DIR) $(1)/etc/config
40 $(INSTALL_DATA) ./files/firewall.config $(1)/etc/config/firewall
41 $(INSTALL_DIR) $(1)/etc/init.d/
42 $(INSTALL_BIN) ./files/firewall.init $(1)/etc/init.d/firewall
43 $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
44 $(INSTALL_DATA) ./files/20-firewall $(1)/etc/hotplug.d/iface
45 endef
47 $(eval $(call BuildPackage,firewall))