From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH 02/18] iputils: update s20121221 -> s20161105
Date: Thu, 5 Jan 2017 16:45:38 +0100 [thread overview]
Message-ID: <20170105154538.p3nc54xmwywshvde@pengutronix.de> (raw)
In-Reply-To: <20161219203631.29275-3-clemens.gruber@pqgruber.com>
On Mon, Dec 19, 2016 at 09:36:15PM +0100, Clemens Gruber wrote:
> The current version of iputils ping can handle IPv4 and IPv6 and does
> not need the big GnuTLS/libgcrypt/.. dependency.
This is not quite correct. It can use nettle, gcrypt or openssl. Any one of
them can be selected but those are only needed for IPv6. So:
1. ping and traceroute should not depend on GLOBAL_IPV6
2. If GLOBAL_IPV6 set then on of the 3 crypto libs should be selectable
with a choice so the user can pick one and hopefully keep the number of
different crypto libs down.
If GLOBAL_IPV6 is not set, then disable all 3 and ping -6 will just not
work and no crypto library is needed.
Check the Makefile. This should be straightforward to configure. Remember:
variables on the make command-line overwrite those specified in the
Makefile.
Michael
> tracepath can also handle both v4 and v6.
>
> Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
> ---
> rules/iputils.in | 41 +++++++++++------------------------------
> rules/iputils.make | 12 +++++-------
> 2 files changed, 16 insertions(+), 37 deletions(-)
>
> diff --git a/rules/iputils.in b/rules/iputils.in
> index 99105f75f..4a842a66b 100644
> --- a/rules/iputils.in
> +++ b/rules/iputils.in
> @@ -3,10 +3,9 @@
> menuconfig IPUTILS
> tristate
> prompt "iputils "
> - select LIBC_RESOLV if IPUTILS_PING6
> - select LIBCAP if IPUTILS_ARPING || IPUTILS_PING || IPUTILS_PING6 || IPUTILS_TRACEROUTE6 || IPUTILS_CLOCKDIFF
> - select GNUTLS if IPUTILS_PING6
> - select GNUTLS_OPENSSL if IPUTILS_PING6
> + select LIBC_RESOLV if IPUTILS_PING
> + select LIBCAP if IPUTILS_ARPING || IPUTILS_PING || IPUTILS_TRACEROUTE6 || IPUTILS_CLOCKDIFF
> + select NETTLE if IPUTILS_PING
> help
> The iputils package is set of small useful utilities for Linux
> networking.
> @@ -35,12 +34,12 @@ config IPUTILS_PING
> bool
> depends on (!BUSYBOX_PING && !INETUTILS_PING) || ALLYES
> prompt "ping"
> + depends on GLOBAL_IPV6
> help
> - The ping command uses the ICMP protocol's mandatory ECHO_REQUEST datagram
> - to elicit an ICMP ECHO_RESPONSE from a host or gateway. ECHO_REQUEST
> - datagrams pings have an IP and ICMP header, followed by a struct
> - timeval and then an arbitrary number of pad bytes used to fill out
> - the packet.
> + ping uses the ICMP protocols mandatory ECHO_REQUEST datagram to elicit
> + an ICMP ECHO_RESPONSE from a host or gateway.
> + It works with both IPv4 and IPv6. Using only one of them explicitly can
> + be enforced by specifying -4 or -6.
>
> comment "inetutils' ping is selected!"
> depends on INETUTILS_PING
> @@ -48,22 +47,6 @@ comment "inetutils' ping is selected!"
> comment "BusyBox' ping is selected!"
> depends on BUSYBOX_PING
>
> -config IPUTILS_PING6
> - bool
> - depends on (!BUSYBOX_PING6 && !INETUTILS_PING6) || ALLYES
> - prompt "ping6"
> - depends on GLOBAL_IPV6
> - help
> - The ping6 command is IPv6 version of ping, and can also send Node
> - Information Queries (RFC4620). Intermediate hops may not be allowed,
> - because IPv6 source routing was deprecated (RFC5095).
> -
> -comment "inetutils' ping6 is selected!"
> - depends on INETUTILS_PING6
> -
> -comment "BusyBox' ping6 is selected!"
> - depends on BUSYBOX_PING6
> -
> config IPUTILS_RARPD
> bool
> prompt "rarpd"
> @@ -97,13 +80,10 @@ comment "BusyBox' tftpd is selected!"
> config IPUTILS_TRACEPATH
> bool
> prompt "tracepath"
> - help
> -
> -config IPUTILS_TRACEPATH6
> - bool
> - prompt "tracepath6"
> depends on GLOBAL_IPV6
> help
> + tracepath traces the path to a network host discovering the MTU along
> + this path.
>
> config IPUTILS_TRACEROUTE6
> bool
> @@ -111,6 +91,7 @@ config IPUTILS_TRACEROUTE6
> prompt "traceroute6"
> depends on GLOBAL_IPV6
> help
> + traceroute6 prints the route packets trace to network hosts.
>
> comment "BusyBox' traceroute6 is selected!"
> depends on BUSYBOX_TRACEROUTE6
> diff --git a/rules/iputils.make b/rules/iputils.make
> index dc93d5cbb..f07e3251d 100644
> --- a/rules/iputils.make
> +++ b/rules/iputils.make
> @@ -16,11 +16,11 @@ PACKAGES-$(PTXCONF_IPUTILS) += iputils
> #
> # Paths and names
> #
> -IPUTILS_VERSION := s20121221
> -IPUTILS_MD5 := 6072aef64205720dd1893b375e184171
> +IPUTILS_VERSION := s20161105
> +IPUTILS_MD5 := 06f0be2dabe10dc80fdb328073230e69
> IPUTILS := iputils-$(IPUTILS_VERSION)
> -IPUTILS_SUFFIX := tar.bz2
> -IPUTILS_URL := http://www.skbuff.net/iputils/$(IPUTILS).$(IPUTILS_SUFFIX)
> +IPUTILS_SUFFIX := tar.gz
> +IPUTILS_URL := http://codeload.github.com/iputils/iputils/$(IPUTILS_SUFFIX)/$(IPUTILS_VERSION)
> IPUTILS_SOURCE := $(SRCDIR)/$(IPUTILS).$(IPUTILS_SUFFIX)
> IPUTILS_DIR := $(BUILDDIR)/$(IPUTILS)
> IPUTILS_LICENSE := GPL-2.0
> @@ -34,16 +34,14 @@ IPUTILS_TOOLS-y :=
> IPUTILS_TOOLS-$(PTXCONF_IPUTILS_ARPING) += arping
> IPUTILS_TOOLS-$(PTXCONF_IPUTILS_CLOCKDIFF) += clockdiff
> IPUTILS_TOOLS-$(PTXCONF_IPUTILS_PING) += ping
> -IPUTILS_TOOLS-$(PTXCONF_IPUTILS_PING6) += ping6
> IPUTILS_TOOLS-$(PTXCONF_IPUTILS_RARPD) += rarpd
> IPUTILS_TOOLS-$(PTXCONF_IPUTILS_RDISC) += rdisc
> IPUTILS_TOOLS-$(PTXCONF_IPUTILS_TFTPD) += tftpd
> IPUTILS_TOOLS-$(PTXCONF_IPUTILS_TRACEPATH) += tracepath
> -IPUTILS_TOOLS-$(PTXCONF_IPUTILS_TRACEPATH6) += tracepath6
> IPUTILS_TOOLS-$(PTXCONF_IPUTILS_TRACEROUTE6) += traceroute6
>
> IPUTILS_CONF_TOOL := NO
> -IPUTILS_MAKEVARS := $(CROSS_ENV) TARGETS="$(IPUTILS_TOOLS-y)"
> +IPUTILS_MAKEVARS := $(CROSS_ENV) USE_IDN=no TARGETS="$(IPUTILS_TOOLS-y)"
>
> # ----------------------------------------------------------------------------
> # Install
> --
> 2.11.0
>
>
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2017-01-05 15:45 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-19 20:36 [ptxdist] [PATCH 00/18] Patchset for ptxdist Clemens Gruber
2016-12-19 20:36 ` [ptxdist] [PATCH 01/18] nettle: update 2.7.1 -> 3.3 Clemens Gruber
2016-12-19 20:36 ` [ptxdist] [PATCH 02/18] iputils: update s20121221 -> s20161105 Clemens Gruber
2017-01-05 15:45 ` Michael Olbrich [this message]
2016-12-19 20:36 ` [ptxdist] [PATCH 03/18] collectd: update 5.4.1 -> 5.7.0 and add sensors support Clemens Gruber
2016-12-19 20:36 ` [ptxdist] [PATCH 04/18] dbus: bump version 1.10.10 -> 1.10.14 Clemens Gruber
2016-12-19 20:36 ` [ptxdist] [PATCH 05/18] file: update 5.24 -> 5.29 Clemens Gruber
2016-12-19 20:36 ` [ptxdist] [PATCH 06/18] glib: bump version 2.50.1 -> 2.50.2 Clemens Gruber
2016-12-19 20:36 ` [ptxdist] [PATCH 07/18] iperf: update 2.0.5 -> 2.0.9 Clemens Gruber
2016-12-19 20:36 ` [ptxdist] [PATCH 08/18] iproute2: update 4.8.0 -> 4.9.0 Clemens Gruber
2016-12-19 20:36 ` [ptxdist] [PATCH 09/18] projectroot: Fix HTML syntax in examples Clemens Gruber
2016-12-19 20:36 ` [ptxdist] [PATCH 10/18] rrdtool: update 1.4.9 -> 1.6.0 and make more modular Clemens Gruber
2016-12-19 20:36 ` [ptxdist] [PATCH 11/18] sqlite: update 3.14.1 -> 3.15.2 Clemens Gruber
2016-12-19 20:36 ` [ptxdist] [PATCH 12/18] systemd-bootchart: bump version 230 -> 231 Clemens Gruber
2016-12-19 20:36 ` [ptxdist] [PATCH 13/18] tmux: update 1.9a -> 2.3 Clemens Gruber
2016-12-19 20:36 ` [ptxdist] [PATCH 14/18] u-boot-tools: bump version 2016.07 -> 2016.11 Clemens Gruber
2016-12-19 20:36 ` [ptxdist] [PATCH 15/18] util-linux-ng: update 2.28.2 -> 2.29 and fix URL deduction Clemens Gruber
2016-12-19 20:36 ` [ptxdist] [PATCH 16/18] picocom: bump version 1.7 -> 2.2 Clemens Gruber
2016-12-19 20:36 ` [ptxdist] [PATCH 17/18] libgcrypt: update 1.7.3 -> 1.7.5 Clemens Gruber
2017-01-05 16:26 ` Michael Olbrich
2016-12-19 20:36 ` [ptxdist] [PATCH 18/18] netperf: new package Clemens Gruber
2017-01-05 16:50 ` [ptxdist] [PATCH 00/18] Patchset for ptxdist Michael Olbrich
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=20170105154538.p3nc54xmwywshvde@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--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