[Git-commits] [grml/grml-shlib] 8df768: Bump Standards-Version to 4.1.1

Michael Prokop mika at grml.org
Fri Oct 6 13:47:01 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-shlib
  Commit: 8df768e2d182a600cdc44dc1c4b10a9dc34b2737
      https://github.com/grml/grml-shlib/commit/8df768e2d182a600cdc44dc1c4b10a9dc34b2737
  Author: Michael Prokop <mika at grml.org>
  Date:   2017-10-06 (Fri, 06 Oct 2017)

  Changed paths:
    M debian/control

  Log Message:
  -----------
  Bump Standards-Version to 4.1.1


  Commit: 33e1c3a3f197409cedfc925c4ddd2db66881eb50
      https://github.com/grml/grml-shlib/commit/33e1c3a3f197409cedfc925c4ddd2db66881eb50
  Author: Michael Prokop <mika at grml.org>
  Date:   2017-10-06 (Fri, 06 Oct 2017)

  Changed paths:
    M sh-lib

  Log Message:
  -----------
  Adjust netGetNetmask for new net-tools output, switch netGetIp from ifconfig to ip

ifconfig from net-tools until 1.60-27 looked like:

lo        Link encap:Local Loopback
    inet addr:127.0.0.1  Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING  MTU:65536  Metric:1
    RX packets:74133 errors:0 dropped:0 overruns:0 frame:0
    TX packets:74133 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1
    RX bytes:7122434 (6.7 MiB)  TX bytes:7122434 (6.7 MiB)

Starting with net-tools 1.60+git20150829.73cef8a-1 it looks like:

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
  inet 127.0.0.1  netmask 255.0.0.0
  loop  txqueuelen 1  (Local Loopback)
  RX packets 0  bytes 0 (0.0 B)
  RX errors 0  dropped 0  overruns 0  frame 0
  TX packets 0  bytes 0 (0.0 B)
  TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

So we need to adjust ifconfig parsing accordingly.
There's no need to use ifconfig for netGetIp, so switch to ip(8) while at it.

Thanks: karlh1 + Patrick Neumann for the bug report
Closes grml/grml#65


  Commit: adadf04d7f9276acdae103fc761a6a6f4e3b41f2
      https://github.com/grml/grml-shlib/commit/adadf04d7f9276acdae103fc761a6a6f4e3b41f2
  Author: Michael Prokop <mika at grml.org>
  Date:   2017-10-06 (Fri, 06 Oct 2017)

  Changed paths:
    M debian/compat

  Log Message:
  -----------
  Bump debian/compat to 9


  Commit: 13371a869ccf0864096f55923125fbf0831297c9
      https://github.com/grml/grml-shlib/commit/13371a869ccf0864096f55923125fbf0831297c9
  Author: Michael Prokop <mika at grml.org>
  Date:   2017-10-06 (Fri, 06 Oct 2017)

  Changed paths:
    M debian/changelog

  Log Message:
  -----------
  Release new version 1.04.1


Compare: https://github.com/grml/grml-shlib/compare/f4624435f459...13371a869ccf


More information about the Git-commits mailing list