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.

48 lines
1.2 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:=1.4
  10. PKG_RELEASE:=22
  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 +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 and manageable. With loadbalancing/failover support for up to 250 wan interfaces, connection tracking and an easy to manage traffic ruleset.
  25. endef
  26. define Package/mwan3/conffiles
  27. /etc/config/mwan3
  28. endef
  29. define Build/Compile
  30. endef
  31. define Package/mwan3/install
  32. $(CP) ./files/* $(1)
  33. endef
  34. define Package/mwan3/postinst
  35. [ -n "$${IPKG_INSTROOT}" ] || /etc/init.d/mwan3 enable
  36. exit 0
  37. endef
  38. $(eval $(call BuildPackage,mwan3))