2006-08-06 10:56:15 +00:00
|
|
|
#
|
2010-06-13 00:17:30 +00:00
|
|
|
# Copyright (C) 2006-2010 OpenWrt.org
|
2006-08-06 10:56:15 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=ndisc6
|
2010-06-13 00:17:30 +00:00
|
|
|
PKG_VERSION:=0.9.9
|
2006-08-06 10:56:15 +00:00
|
|
|
PKG_RELEASE:=1
|
2010-06-13 00:17:30 +00:00
|
|
|
PKG_MD5SUM:=aab2209fa7bf6b02ed2f49e7b8e9fa18
|
2006-08-06 10:56:15 +00:00
|
|
|
|
2009-04-17 13:52:19 +00:00
|
|
|
PKG_SOURCE_URL:=http://www.remlab.net/files/ndisc6/
|
2006-08-06 10:56:15 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/ndisc
|
|
|
|
SECTION:=ipv6
|
|
|
|
CATEGORY:=IPv6
|
|
|
|
SUBMENU:=IPv6 discovery tools
|
|
|
|
TITLE:=IPv6 discovery tools
|
|
|
|
URL:=http://people.via.ecp.fr/~rem/ndisc6/
|
|
|
|
endef
|
|
|
|
|
2007-10-14 04:32:56 +00:00
|
|
|
define Package/ndisc/description
|
|
|
|
IPv6 discovery tools
|
|
|
|
endef
|
|
|
|
|
2006-08-06 10:56:15 +00:00
|
|
|
define Package/ndisc6
|
|
|
|
$(call Package/ndisc)
|
|
|
|
TITLE:=An ICMPv6 neighbour discovery tool
|
2007-10-14 04:32:56 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/ndisc6/description
|
|
|
|
An ICMPv6 neighbour discovery tools
|
2006-08-06 10:56:15 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/rdisc6
|
|
|
|
$(call Package/ndisc)
|
|
|
|
TITLE:=An ICMPv6 router discovery tool
|
2007-10-14 04:32:56 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/rdisc6/description
|
|
|
|
An ICMPv6 router discovery tool
|
2006-08-06 10:56:15 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/tcptraceroute6
|
|
|
|
$(call Package/ndisc)
|
|
|
|
TITLE:=A TCP/IPv6-based traceroute implementation
|
2008-02-13 21:49:01 +00:00
|
|
|
endef
|
2007-10-14 04:32:56 +00:00
|
|
|
|
|
|
|
define Package/tcptraceroute6/description
|
|
|
|
A TCP/IPv6-based traceroute implementation
|
|
|
|
endef
|
2006-08-06 10:56:15 +00:00
|
|
|
|
2010-06-13 00:17:30 +00:00
|
|
|
define Package/rdnssd
|
|
|
|
$(call Package/ndisc)
|
2010-06-13 00:22:08 +00:00
|
|
|
TITLE:=DNS server discovery daemon
|
|
|
|
DEPENDS:=+librt
|
2010-06-13 00:17:30 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/rdnssd/description
|
|
|
|
A recursive DNS server discovery daemon gathering
|
|
|
|
information through stateless IPv6 autoconfiguration (RFC5006)
|
|
|
|
endef
|
|
|
|
|
2008-02-13 21:49:01 +00:00
|
|
|
|
|
|
|
define Build/Compile
|
2006-08-06 10:56:15 +00:00
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
|
|
$(TARGET_CONFIGURE_OPTS) \
|
2009-04-17 13:52:19 +00:00
|
|
|
CFLAGS="$(TARGET_CFLAGS) -std=c99" \
|
2006-08-06 10:56:15 +00:00
|
|
|
all
|
|
|
|
endef
|
|
|
|
|
2008-02-13 21:49:01 +00:00
|
|
|
define Package/ndisc6/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2009-04-17 13:52:19 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ndisc6 $(1)/usr/bin/
|
2006-08-06 10:56:15 +00:00
|
|
|
endef
|
|
|
|
|
2008-02-13 21:49:01 +00:00
|
|
|
define Package/rdisc6/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2009-04-17 13:52:19 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/rdisc6 $(1)/usr/bin/
|
2006-08-06 10:56:15 +00:00
|
|
|
endef
|
|
|
|
|
2008-02-13 21:49:01 +00:00
|
|
|
define Package/tcptraceroute6/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2009-04-17 13:52:19 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/tcptraceroute6 $(1)/usr/bin/
|
2006-08-06 10:56:15 +00:00
|
|
|
endef
|
|
|
|
|
2010-06-13 00:17:30 +00:00
|
|
|
define Package/rdnssd/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/rdnssd/rdnssd $(1)/usr/bin/
|
|
|
|
endef
|
|
|
|
|
2006-08-06 10:56:15 +00:00
|
|
|
$(eval $(call BuildPackage,ndisc6))
|
|
|
|
$(eval $(call BuildPackage,rdisc6))
|
|
|
|
$(eval $(call BuildPackage,tcptraceroute6))
|
2010-06-13 00:17:30 +00:00
|
|
|
$(eval $(call BuildPackage,rdnssd))
|