From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wi0-x236.google.com ([2a00:1450:400c:c05::236]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1V3ksF-0001nP-Au for ptxdist@pengutronix.de; Mon, 29 Jul 2013 12:40:20 +0200 Received: by mail-wi0-f182.google.com with SMTP id hi8so944433wib.9 for ; Mon, 29 Jul 2013 03:40:13 -0700 (PDT) From: Alexander Aring Date: Mon, 29 Jul 2013 12:43:56 +0200 Message-Id: <1375094636-7805-1-git-send-email-alex.aring@gmail.com> Subject: [ptxdist] [PATCH] inetutils: add support for ping6 Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Alexander Aring This patch adds support to compile and install the ping6 binary from inetutils package. Signed-off-by: Alexander Aring --- rules/inetutils.in | 11 +++++++++++ rules/inetutils.make | 5 +++++ 2 files changed, 16 insertions(+) diff --git a/rules/inetutils.in b/rules/inetutils.in index fbc524e..876c298 100644 --- a/rules/inetutils.in +++ b/rules/inetutils.in @@ -54,6 +54,17 @@ config INETUTILS_PING comment "BusyBox' ping is selected!" depends on BUSYBOX_PING +config INETUTILS_PING6 + bool + depends on !BUSYBOX_PING6 && GLOBAL_IPV6 || ALLYES + prompt "ping6" + help + Ping is a small tool to check if another host is alive in the network. + This version of ping is for ipv6 networks. + +comment "BusyBox' ping6 is selected!" + depends on BUSYBOX_PING6 + # ----- config INETUTILS_RCP diff --git a/rules/inetutils.make b/rules/inetutils.make index 92f5c1a..8fcc1ce 100644 --- a/rules/inetutils.make +++ b/rules/inetutils.make @@ -55,6 +55,7 @@ INETUTILS_AUTOCONF := $(CROSS_AUTOCONF_USR) \ --disable-ifconfig \ --$(call ptx/endis, PTXCONF_INETUTILS_INETD)-inetd \ --$(call ptx/endis, PTXCONF_INETUTILS_PING)-ping \ + --$(call ptx/endis, PTXCONF_INETUTILS_PING6)-ping6 \ --$(call ptx/endis, PTXCONF_INETUTILS_RCP)-rcp \ --$(call ptx/endis, PTXCONF_INETUTILS_RLOGIND)-rlogind \ --$(call ptx/endis, PTXCONF_INETUTILS_RSH)-rsh \ @@ -91,6 +92,10 @@ ifdef PTXCONF_INETUTILS_PING @$(call install_copy, inetutils, 0, 0, 0755, \ $(INETUTILS_PKGDIR)/usr/bin/ping, /bin/ping) endif +ifdef PTXCONF_INETUTILS_PING6 + @$(call install_copy, inetutils, 0, 0, 0755, \ + $(INETUTILS_PKGDIR)/usr/bin/ping6, /bin/ping6) +endif ifdef PTXCONF_INETUTILS_RCP @$(call install_copy, inetutils, 0, 0, 0755, -, /usr/bin/rcp) endif -- 1.8.3.3 -- ptxdist mailing list ptxdist@pengutronix.de