mirror_iproute2/lib
Andreas Henriksson 2c389b0f31 iproute2: drop libresolv
Hello!

While building the iproute package in Debian I get warnings from
package helpers like this:

dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/iproute/sbin/tc debian/iproute/usr/bin/lnstat debian/iproute/bin/ip debian/iproute/bin/ss debian/iproute/sbin/bridge debian/iproute/sbin/rtmon were not linked against libresolv.so.2 (they use none of the library's symbols)

The -lresolv in ./Makefile seems to come from pre-historic times (before
iproute2 git history, possibly from libc5/pre-glibc days).
I couldn't find out if/why there was any reason for linking to libresolv.
Does anyone know if there are any valid reasons for keeping it still?

If not, I'd be happy to see it go.... while at it I also removed includes
of <resolv.h> which I also couldn't find any reason for, but this is
just an added bonus of the patch (and there are probably more unneeded
includes that could be dropped in the same sources).

Signed-off-by: Andreas Henriksson <andreas@fatal.se>
2012-11-12 08:50:15 -08:00
..
dnet_ntop.c dnet: fix strict aliasing warnings 2010-07-23 12:30:48 -07:00
dnet_pton.c dnet: fix strict aliasing warnings 2010-07-23 12:30:48 -07:00
inet_proto.c (Logical change 1.3) 2004-04-15 20:56:59 +00:00
ipx_ntop.c Remove trailing whitespace 2006-12-05 10:10:22 -08:00
ipx_pton.c (Logical change 1.3) 2004-04-15 20:56:59 +00:00
libgenl.c iproute2: GENL: merge GENL_REQUEST and GENL_INITIALIZER 2012-09-17 15:46:45 -07:00
libnetlink.c iproute: Fix errno propagation from rtnl_talk 2012-08-20 12:54:48 -07:00
ll_addr.c iproute2: Format IPv6 tunnels endpoints nicely. 2007-06-19 16:29:05 -07:00
ll_map.c libnetlink: remove unused junk callback 2011-12-28 10:37:12 -08:00
ll_proto.c Add LLDP to ethernet type table 2011-08-31 10:45:04 -07:00
ll_types.c Update ARP header type table 2010-07-23 13:12:12 -07:00
Makefile iproute2: add libgenl files 2012-09-11 08:59:09 -07:00
rt_names.c iproute2 - Don't hardcode the path to config files 2012-04-12 09:37:18 -07:00
utils.c iproute2: drop libresolv 2012-11-12 08:50:15 -08:00