mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Aring <alex.aring@gmail.com>
To: ptxdist@pengutronix.de
Cc: Alexander Aring <alex.aring@gmail.com>
Subject: [ptxdist] [PATCH] inetutils: add support for ping6
Date: Mon, 29 Jul 2013 12:43:56 +0200	[thread overview]
Message-ID: <1375094636-7805-1-git-send-email-alex.aring@gmail.com> (raw)

This patch adds support to compile and install the ping6
binary from inetutils package.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
---
 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

             reply	other threads:[~2013-07-29 10:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-29 10:43 Alexander Aring [this message]
2013-08-12 16:54 ` Marc Kleine-Budde

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1375094636-7805-1-git-send-email-alex.aring@gmail.com \
    --to=alex.aring@gmail.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox