mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
47
package/ndisc6/Config.in
Normal file
47
package/ndisc6/Config.in
Normal file
@@ -0,0 +1,47 @@
|
||||
config BR2_PACKAGE_NDISC6
|
||||
bool "ndisc6 tools"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
NDisc6 is a small collection of useful tools for IPv6
|
||||
networking
|
||||
|
||||
http://www.remlab.net/ndisc6/
|
||||
|
||||
if BR2_PACKAGE_NDISC6
|
||||
|
||||
config BR2_PACKAGE_NDISC6_NAME2ADDR
|
||||
bool "name2addr"
|
||||
help
|
||||
name2addr perform DNS lookups from scripts.
|
||||
|
||||
config BR2_PACKAGE_NDISC6_NDISC6
|
||||
bool "ndisc6"
|
||||
help
|
||||
ndisc6 performs ICMPv6 Neighbor Discovery in userland.
|
||||
|
||||
config BR2_PACKAGE_NDISC6_RDISC6
|
||||
bool "rdisc6"
|
||||
help
|
||||
rdisc6 performs ICMPv6 Router Discovery in userland.
|
||||
|
||||
config BR2_PACKAGE_NDISC6_RDNSSD
|
||||
bool "rdnssd"
|
||||
help
|
||||
IPv6 Recursive DNS Server discovery Daemon.
|
||||
|
||||
config BR2_PACKAGE_NDISC6_RLTRACEROUTE6
|
||||
bool "rltraceroute6"
|
||||
help
|
||||
rltraceroute6 is an IPv6 traceroute implementation.
|
||||
|
||||
config BR2_PACKAGE_NDISC6_TCPTRACEROUTE6
|
||||
bool "tcptraceroute6"
|
||||
help
|
||||
tcptraceroute6 is an TCP/IPv6 traceroute implementation.
|
||||
|
||||
config BR2_PACKAGE_NDISC6_TCPSPRAY
|
||||
bool "tcpspray"
|
||||
help
|
||||
TCP/IP bandwidth measurement tool (Discard and Echo client).
|
||||
|
||||
endif
|
||||
2
package/ndisc6/ndisc6.hash
Normal file
2
package/ndisc6/ndisc6.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
sha256 0f41d6caf5f2edc1a12924956ae8b1d372e3b426bd7b11eed7d38bc974eec821 ndisc6-1.0.3.tar.bz2
|
||||
35
package/ndisc6/ndisc6.mk
Normal file
35
package/ndisc6/ndisc6.mk
Normal file
@@ -0,0 +1,35 @@
|
||||
################################################################################
|
||||
#
|
||||
# ndisc6
|
||||
#
|
||||
################################################################################
|
||||
|
||||
NDISC6_VERSION = 1.0.3
|
||||
NDISC6_SOURCE = ndisc6-$(NDISC6_VERSION).tar.bz2
|
||||
NDISC6_SITE = http://www.remlab.net/files/ndisc6
|
||||
NDISC6_CONF_ENV = CC="$(TARGET_CC) -std=gnu99" LIBS=$(TARGET_NLS_LIBS)
|
||||
NDISC6_CONF_OPTS = --disable-rpath --disable-suid-install
|
||||
NDISC6_LICENSE = GPL-2.0 or GPL-3.0
|
||||
NDISC6_LICENSE_FILES = COPYING
|
||||
NDISC6_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
|
||||
|
||||
NDISC6_BIN_ += dnssort # perl script
|
||||
NDISC6_BIN_$(BR2_PACKAGE_NDISC6_NAME2ADDR) += name2addr addr2name
|
||||
NDISC6_BIN_$(BR2_PACKAGE_NDISC6_TCPSPRAY) += tcpspray tcpspray6
|
||||
|
||||
NDISC6_SBIN_$(BR2_PACKAGE_NDISC6_NDISC6) += ndisc6
|
||||
NDISC6_SBIN_$(BR2_PACKAGE_NDISC6_RDISC6) += rdisc6
|
||||
NDISC6_SBIN_$(BR2_PACKAGE_NDISC6_RDNSSD) += rdnssd
|
||||
NDISC6_SBIN_$(BR2_PACKAGE_NDISC6_RLTRACEROUTE6) += rltraceroute6 tracert6
|
||||
NDISC6_SBIN_$(BR2_PACKAGE_NDISC6_TCPTRACEROUTE6) += tcptraceroute6
|
||||
|
||||
define NDISC6_REMOVE_UNNEEDED
|
||||
rm -rf $(addprefix $(TARGET_DIR)/usr/bin/,$(NDISC6_BIN_)) \
|
||||
$(addprefix $(TARGET_DIR)/usr/sbin/,$(NDISC6_SBIN_))
|
||||
$(if $(BR2_PACKAGE_NDISC6_RDNSSD),,\
|
||||
rm -rf $(TARGET_DIR)/etc/rdnssd $(TARGET_DIR)/var/run/rdnssd)
|
||||
endef
|
||||
|
||||
NDISC6_POST_INSTALL_TARGET_HOOKS += NDISC6_REMOVE_UNNEEDED
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user