2 # Copyright (C) 2009-2010 OpenWrt.org
3 # Copyright (C) 2009 Jakob Pfeiffer
5 # This is free software, licensed under the GNU General Public License v2.
6 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
16 PKG_SOURCE_URL
:=@SF
/opennhrp
17 PKG_MD5SUM
:=6f6f8571ccc0a9f97e52c6240fe9002a
23 include $(INCLUDE_DIR
)/package.mk
25 define Package
/opennhrp
29 DEPENDS
:=+libcares
+ipsec-tools
+ip
+kmod-gre
30 TITLE
:=NBMA Next Hop Resolution Protocol
31 URL
:=http
://opennhrp.sourceforge.net
/
34 define Package
/opennhrp
/description
35 OpenNHRP implements NBMA Next Hop Resolution Protocol
(as defined in RFC
2332).
36 It makes it possible to create dynamic multipoint VPN Linux router using NHRP
,
37 GRE and IPsec. It aims to be Cisco DMVPN compatible.
40 define Package
/opennhrp
/conffiles
41 /etc
/opennhrp
/opennhrp.conf
44 define Package
/opennhrp
/install
45 $(INSTALL_DIR
) $(1)/usr
/sbin
46 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/opennhrp
{,ctl
} $(1)/usr
/sbin
/
47 $(INSTALL_DIR
) $(1)/etc
/opennhrp
48 $(INSTALL_CONF
) $(PKG_INSTALL_DIR
)/etc
/opennhrp
/opennhrp.conf
$(1)/etc
/opennhrp
/
49 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/etc
/opennhrp
/opennhrp-script
$(1)/etc
/opennhrp
/
50 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/etc
/opennhrp
/racoon-ph1down.sh
$(1)/etc
/opennhrp
/
51 $(INSTALL_DIR
) $(1)/etc
/init.d
52 $(INSTALL_BIN
) .
/files
/opennhrp.init
$(1)/etc
/init.d
/opennhrp
55 $(eval
$(call BuildPackage
,opennhrp
))