source: branches/packages_10.03.1/libs/firewall-mod-save/Makefile @ 28582

Last change on this file since 28582 was 28582, checked in by jow, 5 years ago

[backfire/packages] firewall-mod-save: merge r28579

File size: 1.1 KB
Line 
1#
2# Copyright (C) 2006-2011 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9include $(INCLUDE_DIR)/kernel.mk
10
11PKG_NAME:=firewall-mod-save
12PKG_VERSION:=1.0
13PKG_RELEASE:=2
14
15PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
16
17include $(INCLUDE_DIR)/package.mk
18
19define Package/firewall-mod-save/Default
20  SECTION:=libs
21  CATEGORY:=Libraries
22  TITLE:=Preserve dynamic chains during firewall restart
23  MAINTAINER:=Daniel Dickinson <openwrt@cshore.neomailbox.net>
24endef
25
26define Package/firewall-mod-save
27  $(call Package/firewall-mod-save/Default)
28  DEPENDS:=+iptables
29endef
30
31define Package/firewall-mod-save/description
32    Uses iptables-save to save the option chain in option table (default filter)
33    as defined by the config section save in /etc/config/firewall.
34endef
35
36define Build/Prepare
37endef
38
39define Build/Configure
40endef
41
42define Build/Compile
43endef
44
45define Package/firewall-mod-save/install
46        $(INSTALL_DIR) $(1)/lib/firewall
47        $(INSTALL_DATA) ./files/20_save.sh $(1)/lib/firewall/
48endef
49
50$(eval $(call BuildPackage,firewall-mod-save))
51
Note: See TracBrowser for help on using the repository browser.