source: packages/net/multiwan/Makefile @ 30833

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

multiwan package: use less iptables -F

Hi

Even if "qos-scripts" package isn't installed, multiwan is flushing all the mangle chains.
This patch correct this behavior to let people use mangle table if qos-scripts is not there (to use there own qos script ...)

Info: For the moment the qos management of the multiwan package is broken (it's speaks about IMQ, instead of IFB)

The package version go from 1.0.20 to 1.0.21 (and not 1.0.19) because there is this patch also pending (http://patchwork.openwrt.org/patch/1740/)

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@…>

File size: 1.0 KB
Line 
1#
2# Copyright (C) 2010-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
9
10PKG_NAME:=multiwan
11PKG_VERSION:=1.0.21
12PKG_RELEASE:=1
13
14include $(INCLUDE_DIR)/package.mk
15
16define Package/multiwan
17  SECTION:=net
18  CATEGORY:=Network
19  DEPENDS:=+ip +iptables +kmod-ipt-conntrack +iptables-mod-conntrack-extra +iptables-mod-ipopt
20  TITLE:=Simple multi WAN configuration
21  URL:=ftp://ftp.netlab7.com/
22  MAINTAINER:=Craig M. Coffee <craigc@netlab7.com>
23endef
24
25define Package/multiwan/description
26An agent script that makes Multi-WAN configuration simple,
27easy and manageable. Complete with load balancing, failover and an easy
28to manage traffic ruleset.
29endef
30
31define Package/multiwan/conffiles
32/etc/config/multiwan
33endef
34
35define Build/Compile
36endef
37
38define Package/multiwan/install
39        $(CP) ./files/* $(1)
40endef
41
42define Package/multiwan/postinst
43[ -n "$${IPKG_INSTROOT}" ] || /etc/init.d/multiwan enable
44exit 0
45endef
46
47$(eval $(call BuildPackage,multiwan))
Note: See TracBrowser for help on using the repository browser.