Opened 9 years ago

Closed 8 years ago

#1103 closed task (fixed)

IPRoute2 4.4.0

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

Description (last modified by William Harrington)

New Version

Download: ["https://www.kernel.org/pub/linux/utils/net/iproute2/iproute2-4.9.0.tar.xz]

One difference is that this version of iproute2 now checks for Berkeley DB, and if isn't found, arpd isn't built. However it does still install 2 files and a directory even if not installing arpd itself.

Attachments (1)

iproute2-update.patch (1.5 KB ) - added by chris@… 9 years ago.

Download all attachments as: .zip

Change History (8)

by chris@…, 9 years ago

Attachment: iproute2-update.patch added

comment:1 by William Harrington, 8 years ago

Move to IPROUTE2-4.9 when moving to Long Term kernel 4.9

comment:2 by William Harrington, 8 years ago

Milestone: CLFS Standard 3.1.0
Version: CLFS Standard GIT

comment:3 by William Harrington, 8 years ago

Description: modified (diff)

comment:4 by William Harrington, 8 years ago

The iproute2 libdir patch needs to be looked at before updating this package and Chris's iproute2-update.patch needs check with this version, too.

comment:5 by William Harrington, 8 years ago

4.9.0 Multilib Build results

It will be similar for all archs, other than LIBDIR

Make command:

make CC="gcc ${BUILD64}" LIBDIR=/usr/lib64

Output:

sh configure /usr/include
TC schedulers
 ATM	no

libc has setns: yes
SELinux support: no
ELF support: no
libmnl support: no
Berkeley DB: no

docs: latex: no
 WARNING: no docs can be built from LaTeX files
 sgml2html: no
 WARNING: no HTML docs can be built from SGML

If BerkleyDB is not found, arpd is not built. It will still attempt to create the arpd directory and install arpd related documentation.

This is a big change from 4.1. We can remove the whole section before the make command.

We need the last two sed commands at the beginning, but also an additional edit otherwise arpd.sgml will be created. The TARGETS sed can be removed.

So arpd documentation isn't created, the following can be removed:

rm -v doc/arpd.sgml

I do not know if it is only with this version, but one man-page isn't in the tarball, but is attempted to be installed:

sed -i '/tc-simple/s@tc-skbmod.8 @@' man/man8/Makefile

I do not know if the maintainer made an error for the install routine:

install -m 0755  /sbin
install: missing destination file operand after '/sbin'
Try 'install --help' for more information.
make[1]: *** [Makefile:25: install] Error 1
install -m 0755  /sbin
install: missing destination file operand after '/sbin'
Try 'install --help' for more information.
make[1]: *** [Makefile:18: install] Error 1

It is a complete install, but perhaps the maintainer has the improper use of install.

So for multilib I have the following:

sed -i '/ARPD/d' Makefile
sed -i 's/arpd.8//' man/man8/Makefile
sed -i '/tc-simple/s@tc-skbmod.8 @@' man/man8/Makefile
rm -v doc/arpd.sgml 
make LIBDIR=/usr/lib64
make LIBDIR=/usr/lib64 DOCDIR=/usr/share/doc/iproute2-4.9.0 install

We can remove the libdir patch.

Version 0, edited 8 years ago by William Harrington (next)

comment:6 by William Harrington, 8 years ago

comment:7 by William Harrington, 8 years ago

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