mirror_iproute2/misc
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
..
.gitignore Add ignore files to make using git easier 2006-08-08 12:04:38 -07:00
arpd.c arpd: allow configuring polling interval 2012-02-17 08:17:09 -08:00
ifstat.c libnetlink: remove unused junk callback 2011-12-28 10:37:12 -08:00
lnstat_util.c Remove trailing whitespace 2006-12-05 10:10:22 -08:00
lnstat.c iproute2: lnstat - fix typos 2011-10-06 08:25:05 -07:00
lnstat.h add const to find_field 2004-10-19 20:47:13 +00:00
Makefile iproute2: cleanup dependencies 2012-02-27 08:27:54 -08:00
nstat.c ensure uptime is initialized if /proc/uptime cannot be opened 2011-08-31 12:16:36 -07:00
rtacct.c ensure uptime is initialized if /proc/uptime cannot be opened 2011-08-31 12:16:36 -07:00
ss.c iproute2: drop libresolv 2012-11-12 08:50:15 -08:00
ssfilter.h (Logical change 1.3) 2004-04-15 20:56:59 +00:00
ssfilter.y Remove trailing whitespace 2006-12-05 10:10:22 -08:00