You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.1 KiB

  1. #
  2. # Copyright (C) 2006-2014 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=mwan3
  9. PKG_VERSION:=2.0
  10. PKG_RELEASE:=2
  11. PKG_MAINTAINER:=Jeroen Louwes <jeroen.louwes@gmail.com>
  12. PKG_LICENSE:=GPLv2
  13. include $(INCLUDE_DIR)/package.mk
  14. define Package/mwan3
  15. SECTION:=net
  16. CATEGORY:=Network
  17. SUBMENU:=Routing and Redirection
  18. DEPENDS:=+ip +ipset +iptables +iptables-mod-conntrack-extra +iptables-mod-ipopt
  19. TITLE:=Multiwan hotplug script with connection tracking support
  20. MAINTAINER:=Jeroen Louwes <jeroen.louwes@gmail.com>
  21. PKGARCH:=all
  22. endef
  23. define Package/mwan3/description
  24. Hotplug script which makes configuration of multiple WAN interfaces simple
  25. and manageable. With loadbalancing/failover support for up to 250 wan
  26. interfaces, connection tracking and an easy to manage traffic ruleset.
  27. endef
  28. define Package/mwan3/conffiles
  29. /etc/config/mwan3
  30. endef
  31. define Build/Compile
  32. endef
  33. define Package/mwan3/install
  34. $(CP) ./files/* $(1)
  35. endef
  36. $(eval $(call BuildPackage,mwan3))