[Buildroot] [PATCH] inetutils: new package

Károly Kasza kaszak at gmail.com
Sun Nov 2 12:45:19 UTC 2014


Hi,

I wrote a small script to analyse which files are redundant, and if they
will be overwritten or not.
I ran it against busybox, net-tools, iputils, rsh-redone, sysklogd and
whois because I found that these
packages may overlap with inetutils' tools.

The same filename lines mean that an other file with the same name, but
with a different path exists
(the compared package's path is in the brackets).
The same path lines mean that it would be overwritten at install.

busybox:
Found same filename /usr/bin/dnsdomainname (/bin/dnsdomainname)
Found same filename /usr/bin/ping (/bin/ping)
Found same filename /usr/bin/hostname (/bin/hostname)
Found same filename /usr/bin/ifconfig (/sbin/ifconfig)
Found same filename /usr/libexec/syslogd (/sbin/syslogd)
Found same path /usr/bin/traceroute
Found same path /usr/bin/tftp
Found same path /usr/bin/logger
Found same path /usr/bin/telnet
Found same filename /usr/libexec/inetd (/usr/sbin/inetd)

net-tools:
Found same filename /usr/bin/dnsdomainname (/bin/dnsdomainname)
Found same filename /usr/bin/hostname (/bin/hostname)
Found same filename /usr/bin/ifconfig (/sbin/ifconfig)
Found same path /usr/share/man/man1/dnsdomainname.1
Found same path /usr/share/man/man1/hostname.1

iputils:
Found same filename /usr/bin/ping6 (/bin/ping6)
Found same filename /usr/bin/ping (/bin/ping)

rsh-redone:
Found same path /usr/bin/rlogin
Found same path /usr/bin/rsh

sysklogd:
Found same filename /usr/libexec/syslogd (/sbin/syslogd)

whois:
Found same path /usr/share/man/man1/whois.1
Found same path /usr/bin/whois

I think a solution would be to disable inetutils' redundant tools:
whois, sysklogd, rlogin(d), rsh(d), ping, ping6, hostname, dnsdomainname,
ifconfig, hostname.

After that, the only utility, that's not overwritten would be inetd from
busybox, where a post-install hook
could simply alter the busybox symlink to point to inetutils' version
instead.

I'm waiting for your opinions!

Best regards,
Karoly

On Sat, Nov 1, 2014 at 9:31 PM, Thomas Petazzoni <
thomas.petazzoni at free-electrons.com> wrote:

> Dear Károly Kasza,
>
> On Sat, 1 Nov 2014 20:07:25 +0100, Károly Kasza wrote:
>
> > it is unpleasant indeed.
> > What is the Buildroot recommended method for these issues?
> > Should I modify the install target to overwrite the existing tools?
>
> I'd say it depends on the cases. Can you do a summary of the situation,
> i.e what tools inetutils installs and where, and how it compares with
> the installation location of the same tools by Busybox? That might help
> see how far we are, and what is the appropriate course of action.
>
> Thanks,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com
>



-- 

Üdv,
KK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20141102/7d546781/attachment-0002.html>


More information about the buildroot mailing list