1. 16 Nov, 2012 1 commit
  2. 12 Nov, 2012 4 commits
    • Andreas Henriksson's avatar
      iproute2: drop libresolv · 2c389b0f
      Andreas Henriksson authored
      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: default avatarAndreas Henriksson <andreas@fatal.se>
      2c389b0f
    • Stephen Hemminger's avatar
      man: fix incorrect use of "it's" · cc574302
      Stephen Hemminger authored
      A couple of places were using "it's" where possive form "its"
      should be used instead.
      cc574302
    • Andreas Henriksson's avatar
      iproute2: avoid errors from double-installing manpages · 987e9d71
      Andreas Henriksson authored
      Three manpages in man8 are listed twice in MAN8PAGES (both directly and
      in TARGETS) which causes the install command to spit our a couple of
      warnings as below and exiting with non-zero exit code....
      
      make[3]: Entering directory `/tmp/buildd/iproute-20121001/man/man8'
      install -m 0755 -d /tmp/buildd/iproute-20121001/debian/tmp/usr/share/man/man8
      install -m 0644 ip-address.8 ip-link.8 ip-route.8 ip.8 arpd.8 lnstat.8 routel.8 rtacct.8 rtmon.8 ss.8 tc.8 tc-bfifo.8 tc-cbq.8 tc-cbq-details.8 tc-choke.8 tc-codel.8 tc-drr.8 tc-ematch.8 tc-fq_codel.8 tc-hfsc.8 tc-htb.8 tc-netem.8 tc-pfifo.8 tc-pfifo_fast.8 tc-prio.8 tc-red.8 tc-sfb.8 tc-sfq.8 tc-stab.8 tc-tbf.8 bridge.8 rtstat.8 ctstat.8 nstat.8 routef.8 ip-address.8 ip-addrlabel.8 ip-l2tp.8 ip-link.8 ip-maddress.8 ip-monitor.8 ip-mroute.8 ip-neighbour.8 ip-netns.8 ip-ntable.8 ip-route.8 ip-rule.8 ip-tunnel.8 ip-xfrm.8 /tmp/buildd/iproute-20121001/debian/tmp/usr/share/man/man8
      install: will not overwrite just-created `/tmp/buildd/iproute-20121001/debian/tmp/usr/share/man/man8/ip-address.8' with `ip-address.8'
      install: will not overwrite just-created `/tmp/buildd/iproute-20121001/debian/tmp/usr/share/man/man8/ip-link.8' with `ip-link.8'
      install: will not overwrite just-created `/tmp/buildd/iproute-20121001/debian/tmp/usr/share/man/man8/ip-route.8' with `ip-route.8'
      make[3]: *** [install] Error 1
      make[3]: Leaving directory `/tmp/buildd/iproute-20121001/man/man8'
      make[2]: *** [install] Error 2
      make[2]: Leaving directory `/tmp/buildd/iproute-20121001/man'
      Signed-off-by: default avatarAndreas Henriksson <andreas@fatal.se>
      987e9d71
    • Mike Frysinger's avatar
      allow pkg-config to be customized · e4fc4ada
      Mike Frysinger authored
      Rather than hard coding `pkg-config`, use ${PKG_CONFIG} so people can
      override it to their specific version (like when cross-compiling).
      
      This is the same way the upstream pkg-config code works.
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      e4fc4ada
  3. 30 Oct, 2012 2 commits
  4. 27 Oct, 2012 4 commits
  5. 25 Oct, 2012 3 commits
  6. 19 Oct, 2012 2 commits
  7. 10 Oct, 2012 1 commit
  8. 08 Oct, 2012 2 commits
  9. 03 Oct, 2012 5 commits
    • Stephen Hemminger's avatar
      Merge branch 'vxlan' · 253eb98b
      Stephen Hemminger authored
      Conflicts:
      	include/linux/if_link.h
      253eb98b
    • Matt Burgess's avatar
      iproute2-3.6.0 assumes presence of iptables · 92905c6e
      Matt Burgess authored
      Hi,
      
      When compiling iproute2-3.6.0 on a host that doesn't have iptables available, I get the following error:
      
      gcc -Wall -Wstrict-prototypes -O2 -I../include -DRESOLVE_HOSTNAMES
      -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE
      -DCONFIG_GACT -DCONFIG_GACT_PROB -DYY_NO_INPUT   -c -o em_ipset.o
      em_ipset.c
      em_ipset.c:26:21: fatal error: xtables.h: No such file or directory
      
      Fixed by the following patch, which guards the building of em_ipset.o on
      the presence of suitable headers.
      
      Thanks,
      
      Matt.
      92905c6e
    • Stephen Hemminger's avatar
      Update headers to 3.7-pre-rc · f2264071
      Stephen Hemminger authored
      Get latest headers from merge
      f2264071
    • Petr Písař's avatar
      iproute2: List interfaces without net address by default · 7f747fd9
      Petr Písař authored
      This fixes regression in iproute2-3.5.1 when `ip addr show' skipped
      interfaces without network layer address.
      
      Wrong output:
      1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
          link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
          inet 127.0.0.1/8 scope host lo
          inet6 ::1/128 scope host
             valid_lft forever preferred_lft forever
      2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
          link/ether 00:50:54:00:0f:03 brd ff:ff:ff:ff:ff:ff
          inet 10.34.25.198/23 brd 10.34.25.255 scope global eth0
          inet6 2620:52:0:2219:250:54ff:fe00:f03/64 scope global dynamic
             valid_lft 2591919sec preferred_lft 604719sec
          inet6 fe80::250:54ff:fe00:f03/64 scope link
             valid_lft forever preferred_lft forever
      
      Expected output:
      1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
          link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
          inet 127.0.0.1/8 scope host lo
          inet6 ::1/128 scope host
             valid_lft forever preferred_lft forever
      2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
          link/ether 00:50:54:00:0f:03 brd ff:ff:ff:ff:ff:ff
          inet 10.34.25.198/23 brd 10.34.25.255 scope global eth0
          inet6 2620:52:0:2219:250:54ff:fe00:f03/64 scope global dynamic
             valid_lft 2591896sec preferred_lft 604696sec
          inet6 fe80::250:54ff:fe00:f03/64 scope link
             valid_lft forever preferred_lft forever
      5: veth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
          link/ether 8a:ec:35:34:1f:a8 brd ff:ff:ff:ff:ff:ff
      6: veth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
          link/ether 2e:97:ef:77:40:82 brd ff:ff:ff:ff:ff:ff
      Signed-off-by: default avatarPetr Písař <ppisar@redhat.com>
      7f747fd9
    • Stephen Hemminger's avatar
      l2tp: remove references to old bridge utils · ec72fd73
      Stephen Hemminger authored
      Can no manage interfaces with ip no need to invoke old brctl
      ec72fd73
  10. 01 Oct, 2012 5 commits
  11. 24 Sep, 2012 1 commit
    • Werner Fink's avatar
      Change how pdf doc's are created · 0ecf26fc
      Werner Fink authored
       Currently the pdf docs are done with
          sgml -> sgmltool -> tex -> latex -> dvi -> dvips -> ps -> ps2pdf -> pdf
       or
          tex -> latex -> dvi -> dvips -> ps -> ps2pdf -> pdf
       with this patch we do
          sgml -> sgmltool -> tex -> pdflatex -> pdf
       or
          tex -> pdflatex -> pdf
      0ecf26fc
  12. 17 Sep, 2012 3 commits
  13. 14 Sep, 2012 1 commit
  14. 11 Sep, 2012 3 commits
  15. 10 Sep, 2012 1 commit
    • Li Wei's avatar
      iproute2: tc.8: update UNITS section. · 8325daf7
      Li Wei authored
      - rename section UNITS to PARAMETERS.
      - break section PARAMETERS down to four subsections to cover the
        common used parameter types(RATES, TIMES, SIZES, VALUES).
      - add some explaination for IEC units in RATES.
      - point out the max value we can set for RATES, TIMES and SIZES.
      Signed-off-by: default avatarLi Wei <lw@cn.fujitsu.com>
      8325daf7
  16. 07 Sep, 2012 2 commits
    • Pavel Emelyanov's avatar
      iproute: Add route showdump command (v2) · 93b79863
      Pavel Emelyanov authored
      Some time ago the save+restore commands were added to ip route (git
      id f4ff11e3, Add ip route save/restore). These two save the raw rtnl
      stream into a file and restore one (reading it from stdin).
      
      The problem is that there's no way to get the contents of the dump
      file in a human readable form. The proposal is to add a command that
      reads the rtnl stream from stdin and prints the data in a way the
      usual "ip route list" does?
      
      changes since v1:
      
      * Take the magic at the beginning of the dump file into account
      * Check for stdin (the dump is taken from) is not a tty
      Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
      93b79863
    • Pavel Emelyanov's avatar
      iproute: Add magic cookie to route dump file · 76c61b34
      Pavel Emelyanov authored
      In order to somehow verify that a blob contains route dump a
      4-bytes magic is put at the head of the data and is checked
      on restore.
      
      Magic digits are taken from Portland (OR) coordinates :) Is
      there any more reliable way of generating such?
      Signed-of-by: default avatarPavel Emelyanov <xemul@parallels.com>
      76c61b34