On Mon, Aug 24, 2015 at 7:40 AM, Bruce Dubbs <bruce.du...@gmail.com> wrote: > William Harrington wrote: > >> Also IPV6 targets add ping6, but it also needs gcrypt or crypto >> support for MD5. So either openssl, gcrypt or both need to be >> installed before iputils for ping6. > > > That's a deal breaker. The inetutils ping6 works without those packages. > This whole thing is because Richard does not want to add a 6 to a name in > /etc/hosts like: > > 127.0.1.1 turing > ::1 ip6-localhost ip6-loopback turing6 > > I'm not going to add multiple packages to just accommodate this. Users are, > of course, able to add the appropriate packages themselves. > > -- Bruce >
MD5 support appears optional. I've only downloaded the tar.gz direct from github (latest release), but setting CRYPT, NETTLE and GCRYPT to no in the Makefile (as well as CAP and IDN) compiles fine (barring a complaint trying to use git), and running ping produces desired results. output of compile and Makefile diff below root@slax:~/Downloads/iputils-s20150815# make /bin/sh: git: command not found cc -O3 -g -fno-strict-aliasing -Wstrict-prototypes -Wall -D_GNU_SOURCE -c ping.c -o ping.o cc -O3 -g -fno-strict-aliasing -Wstrict-prototypes -Wall -D_GNU_SOURCE -c ping_common.c -o ping_common.o cc -O3 -g -fno-strict-aliasing -Wstrict-prototypes -Wall -D_GNU_SOURCE -c ping6_common.c -o ping6_common.o cc -O3 -g -fno-strict-aliasing -Wstrict-prototypes -Wall ping.o ping_common.o ping6_common.o -lresolv -o ping cc -O3 -g -fno-strict-aliasing -Wstrict-prototypes -Wall -D_GNU_SOURCE -c tracepath.c -o tracepath.o cc -O3 -g -fno-strict-aliasing -Wstrict-prototypes -Wall tracepath.o -o tracepath cc -O3 -g -fno-strict-aliasing -Wstrict-prototypes -Wall -D_GNU_SOURCE -c tracepath6.c -o tracepath6.o cc -O3 -g -fno-strict-aliasing -Wstrict-prototypes -Wall tracepath6.o -o tracepath6 cc -O3 -g -fno-strict-aliasing -Wstrict-prototypes -Wall -D_GNU_SOURCE -c traceroute6.c -o traceroute6.o cc -O3 -g -fno-strict-aliasing -Wstrict-prototypes -Wall traceroute6.o -o traceroute6 cc -O3 -g -fno-strict-aliasing -Wstrict-prototypes -Wall -D_GNU_SOURCE -c clockdiff.c -o clockdiff.o cc -O3 -g -fno-strict-aliasing -Wstrict-prototypes -Wall clockdiff.o -o clockdiff root@slax:~/Downloads/iputils-s20150815# diff -Naur Makefile Makefile.orig --- Makefile 2015-08-23 21:28:32.240953607 +0000 +++ Makefile.orig 2015-08-23 21:27:25.692956697 +0000 @@ -23,22 +23,23 @@ # # Capability support (with libcap) [yes|static|no] -USE_CAP=no +USE_CAP=yes # sysfs support (with libsysfs - deprecated) [no|yes|static] USE_SYSFS=no # IDN support [yes|no|static] -USE_IDN=no +USE_IDN=yes + # Do not use getifaddrs [no|yes|static] WITHOUT_IFADDRS=no # arping default device (e.g. eth0) [] ARPING_DEFAULT_DEVICE= # nettle library for ipv6 ping [yes|no|static] -USE_NETTLE=no +USE_NETTLE=yes # libgcrypt library for ipv6 ping [no|yes|static] USE_GCRYPT=no # Crypto library for ping6 [shared|static|no] -USE_CRYPTO=no +USE_CRYPTO=shared # Resolv library for ping6 [yes|static] USE_RESOLV=yes # ping6 source routing (deprecated by RFC5095) [no|yes|RFC3542] @@ -114,7 +115,7 @@ endif # ------------------------------------- -TARGETS=ping tracepath tracepath6 traceroute6 clockdiff +TARGETS=ping tracepath tracepath6 traceroute6 clockdiff rdisc arping tftpd rarpd LDLIBS=$(LDLIB) $(ADDLIB) -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style