Opened 9 years ago

Closed 9 years ago

#1066 closed task (fixed)

Iputils Update to s20150815

Reported by: William Harrington Owned by: clfs-commits@…
Priority: minor Milestone: CLFS Standard 3.1.0
Component: BOOK Version: CLFS Standard GIT
Keywords: Cc: berzerkula@…, jonathan@…, chris@…

Description

Updating to latest git changes for iputils should result into ping6 being built without md5 support, in the past couldn't build without gcrypt or openssl crypto lirary, but current changes add nettle support, all three which seem to now be optional.

Updating the current fixes patch with my own builds and will test.

IPV6_TARGETS="ping6 tracepath6 traceroute6"
install -v -m755 ping{,6} /bin

Attachments (2)

iputils-s20150815-build-1.patch (45.5 KB ) - added by William Harrington 9 years ago.
Iputils build patch with Makefile adjustments and man 8 pages.
iputils-s20150815.tar.xz (148.1 KB ) - added by William Harrington 9 years ago.
Renamed and recompressed iputils s20150815 from iputils git s20150815 source file.

Download all attachments as: .zip

Change History (7)

comment:1 by William Harrington, 9 years ago

With iputils s20150815 downloaded from git, here are the changes needed to be made.

  • IPV4_TARGETS and IPV6_TARGETS are no longer required.
  • There is no longer a ping6 binary created. the ping binary takes care of both ipv4 and ipv6. Links can be created and called ping4 and ping6 linked to ping.
  • IDN is enabled by default, so need to set USE_IDN=no during out base build.
  • NETTLE is enabled by default, so need to set USE_NETTLE=no
  • CRYPTO is set to shared, so need to set USE_CRYPTO=no
  • Can run ping without root privilages

The USE_ variables in the Makefile can be included with the patch for the man-pages.

We can keep our install commands. If the user doesn't want to run "ping -6" for IPV6 we can do:

ln -sv ping bin/ping4
ln -sv ping bin/ping6

I can't build the documentation on another machine. It always errors out. There are some changes to the man pages since the s20121221 release. In the past I created the man-pages on another distro an then put them in the source tree and made a patch to include them for install. If anyone is interested in attempting it the following will need to be installed:

sgmlsp nsgmls docbook2html and related docbook support for sgml.

Download tarball from here: https://github.com/iputils/iputils/archive/s20150815.tar.gz

comment:2 by William Harrington, 9 years ago

Okay, it seems the debian Jessie install of supported tools for creating the documentation are creating the problem. I used the old tools from our CLFS server to build the documentation. So we can continue with this without issues. I'll put together a patch and when we start committing to git, we'll have a new iputils patch.

by William Harrington, 9 years ago

Iputils build patch with Makefile adjustments and man 8 pages.

comment:3 by William Harrington, 9 years ago

I have attached a patch.

Didn't need to mess with USE_CRYPT=shared.

When running make, the following binaries will be created:

  • arping
  • clockdiff
  • ping
  • rarpd
  • rdisc
  • tftpd
  • tracepath
  • tracepath6

We can include all of those in the build or remove arping, rarpd, rdisc, tftpd.

For full functionality with crypto, we can put a note for the user stating to build iputils after installing a combination of nettle, idn, and openssl for more functionality.

If we want to keep the same binaries as we install now then we can build as follows:

patch -Np1 -i ../iputils-s20150815-build-1.patch

make TARGETS="clockdiff ping rdisc tracepath tracepath6 traceroute6"

install -v -m755 ping /bin
install -v -m755 clockdiff /usr/bin
install -v -m755 rdisc /usr/bin
install -v -m755 tracepath /usr/bin
install -v -m755 trace{path,route}6 /usr/bin
install -v -m644 doc/*.8 /usr/share/man/man8
ln -sv ping /bin/ping4
ln -sv ping /bin/ping6

Which ever binaries we decide to install, we can adjust the patch to include only those man pages. As the commands and patch stands now, all the man pages will be installed.

  • arping.8
  • clockdiff.8
  • ninfod.8
  • pg3.8
  • ping.8
  • rarpd.8
  • rdisc.8
  • tftpd.8
  • tracepath.8
  • traceroute6.8

by William Harrington, 9 years ago

Attachment: iputils-s20150815.tar.xz added

Renamed and recompressed iputils s20150815 from iputils git s20150815 source file.

comment:4 by William Harrington, 9 years ago

Summary: Iputils Ping6Iputils Update to s20150815

comment:5 by William Harrington, 9 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.