Opened 10 years ago
Closed 10 years ago
#1066 closed task (fixed)
Iputils Update to s20150815
| Reported by: | William Harrington | Owned by: | |
|---|---|---|---|
| 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)
Change History (7)
comment:1 by , 10 years ago
comment:2 by , 10 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 , 10 years ago
| Attachment: | iputils-s20150815-build-1.patch added |
|---|
Iputils build patch with Makefile adjustments and man 8 pages.
comment:3 by , 10 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 , 10 years ago
| Attachment: | iputils-s20150815.tar.xz added |
|---|
Renamed and recompressed iputils s20150815 from iputils git s20150815 source file.
comment:4 by , 10 years ago
| Summary: | Iputils Ping6 → Iputils Update to s20150815 |
|---|
comment:5 by , 10 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Fixed at:
commit 9163b068a4b2647423cbcb99b8e9a7cf7dd476fd
commit e9790692d6fdd854cf3537eab69f9cbc30aa5241
commit 5afe4f372abadb3639dfabe1166c1feba85d107e

With iputils s20150815 downloaded from git, here are the changes needed to be made.
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:
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