No Description

Makefile 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. #
  2. # Copyright (C) 2009-2015 OpenWrt.org
  3. # Copyright (C) 2009 Jakob Pfeiffer
  4. # Copyright (C) 2014 Artem Makhutov
  5. #
  6. # This is free software, licensed under the GNU General Public License v2.
  7. # See /LICENSE for more information.
  8. #
  9. include $(TOPDIR)/rules.mk
  10. PKG_NAME:=opennhrp
  11. PKG_VERSION:=0.14.1
  12. PKG_RELEASE:=2
  13. PKG_MAINTAINER:=Artem Makhutov <artem@makhutov.org>
  14. PKG_LICENSE:=MIT License
  15. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
  16. PKG_SOURCE_URL:=@SF/opennhrp
  17. PKG_MD5SUM:=eb42ddb13e07ceb415b9ebb8eaca28ee
  18. PKG_FIXUP:=autoreconf
  19. PKG_BUILD_PARALLEL:=1
  20. PKG_INSTALL:=1
  21. include $(INCLUDE_DIR)/package.mk
  22. define Package/opennhrp
  23. SECTION:=net
  24. CATEGORY:=Network
  25. SUBMENU:=VPN
  26. DEPENDS:=+libcares +ipsec-tools +ip +kmod-gre
  27. KCONFIG:=CONFIG_ARPD=y
  28. TITLE:=NBMA Next Hop Resolution Protocol
  29. URL:=http://opennhrp.sourceforge.net/
  30. endef
  31. define Package/opennhrp/description
  32. OpenNHRP implements NBMA Next Hop Resolution Protocol (as defined in RFC 2332).
  33. It makes it possible to create dynamic multipoint VPN Linux router using NHRP,
  34. GRE and IPsec. It aims to be Cisco DMVPN compatible.
  35. endef
  36. define Package/opennhrp/conffiles
  37. /etc/opennhrp/opennhrp.conf
  38. endef
  39. define Package/opennhrp/install
  40. $(INSTALL_DIR) $(1)/usr/sbin
  41. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/opennhrp{,ctl} $(1)/usr/sbin/
  42. $(INSTALL_DIR) $(1)/etc/opennhrp
  43. $(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/opennhrp/opennhrp.conf $(1)/etc/opennhrp/
  44. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/etc/opennhrp/opennhrp-script $(1)/etc/opennhrp/
  45. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/etc/opennhrp/racoon-ph1down.sh $(1)/etc/opennhrp/
  46. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/etc/opennhrp/racoon-ph1dead.sh $(1)/etc/opennhrp/
  47. $(INSTALL_DIR) $(1)/etc/init.d
  48. $(INSTALL_BIN) ./files/opennhrp.init $(1)/etc/init.d/opennhrp
  49. endef
  50. $(eval $(call BuildPackage,opennhrp))