Debian

Available patches from Ubuntu

To see Ubuntu differences wrt. to Debian, write down a grep-dctrl query identifying the packages you're interested in:
grep-dctrl -n -sPackage Sources.Debian
(e.g. -FPackage linux-ntfs or linux-ntfs)

Modified packages are listed below:

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: net-tools

net-tools (1.60+git20180626.aebd88e-1ubuntu1) disco; urgency=low * Merge from Debian unstable. Remaining changes: - Ubuntu_unit_conversion.patch: + Ubuntu Policy: output using standard SI unit multiples: KB (10^3), MB (10^6), GB (10^9), TB (10^12) and PB (10^15). Includes manpage update to remove comment about IEC units. -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 01 Feb 2019 10:07:53 -0800

Modifications :
  1. Download patch debian/control

    --- 1.60+git20180626.aebd88e-1/debian/control 2018-09-24 19:08:57.000000000 +0000 +++ 1.60+git20180626.aebd88e-1ubuntu1/debian/control 2019-02-01 18:07:53.000000000 +0000 @@ -1,5 +1,6 @@ Source: net-tools -Maintainer: net-tools Team <team+net-tools@tracker.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: net-tools Team <team+net-tools@tracker.debian.org> Uploaders: Martín Ferrari <tincho@debian.org>, Section: net Priority: important
  2. Download patch debian/patches/series

    --- 1.60+git20180626.aebd88e-1/debian/patches/series 2018-09-24 19:08:57.000000000 +0000 +++ 1.60+git20180626.aebd88e-1ubuntu1/debian/patches/series 2019-02-01 18:07:53.000000000 +0000 @@ -5,4 +5,5 @@ translations.patch Add_missing_headers.patch Bug_443075-ifconfig.c-pointtopoint_spelling.patch Bug_500913-man-en_US-route.8-EXAMPLES-Add-single-route-del.patch +Ubuntu_unit_conversion.patch Bug_900962-man-de-typos.patch
  3. Download patch debian/patches/Ubuntu_unit_conversion.patch

    --- 1.60+git20180626.aebd88e-1/debian/patches/Ubuntu_unit_conversion.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.60+git20180626.aebd88e-1ubuntu1/debian/patches/Ubuntu_unit_conversion.patch 2019-02-01 18:07:53.000000000 +0000 @@ -0,0 +1,98 @@ +Index: net-tools-1.60+git20180626.aebd88e-1ubuntu1/lib/interface.c +=================================================================== +--- net-tools-1.60+git20180626.aebd88e-1ubuntu1.orig/lib/interface.c ++++ net-tools-1.60+git20180626.aebd88e-1ubuntu1/lib/interface.c +@@ -866,45 +866,45 @@ + */ + rx = ptr->stats.rx_bytes; + short_rx = rx * 10; +- if (rx > 1125899906842624ull) { ++ if (rx > 1000000000000000ull) { + if (rx > (9223372036854775807ull / 10)) +- short_rx = rx / 112589990684262ull; ++ short_rx = rx / 1000000000000000ull; + else +- short_rx /= 1125899906842624ull; +- Rext = "PiB"; +- } else if (rx > 1099511627776ull) { +- short_rx /= 1099511627776ull; +- Rext = "TiB"; +- } else if (rx > 1073741824ull) { +- short_rx /= 1073741824ull; +- Rext = "GiB"; +- } else if (rx > 1048576) { +- short_rx /= 1048576; +- Rext = "MiB"; +- } else if (rx > 1024) { +- short_rx /= 1024; +- Rext = "KiB"; ++ short_rx /= 1000000000000000ull; ++ Rext = "PB"; ++ } else if (rx > 1000000000000ull) { ++ short_rx /= 1000000000000ull; ++ Rext = "TB"; ++ } else if (rx > 1000000000ull) { ++ short_rx /= 1000000000ull; ++ Rext = "GB"; ++ } else if (rx > 1000000) { ++ short_rx /= 1000000; ++ Rext = "MB"; ++ } else if (rx > 1000) { ++ short_rx /= 1000; ++ Rext = "KB"; + } + tx = ptr->stats.tx_bytes; + short_tx = tx * 10; +- if (tx > 1125899906842624ull) { ++ if (tx > 1000000000000000ull) { + if (tx > (9223372036854775807ull / 10)) +- short_tx = tx / 112589990684262ull; ++ short_tx = tx / 1000000000000000ull; + else +- short_tx /= 1125899906842624ull; +- Text = "PiB"; +- } else if (tx > 1099511627776ull) { +- short_tx /= 1099511627776ull; +- Text = "TiB"; +- } else if (tx > 1073741824ull) { +- short_tx /= 1073741824ull; +- Text = "GiB"; +- } else if (tx > 1048576) { +- short_tx /= 1048576; +- Text = "MiB"; +- } else if (tx > 1024) { +- short_tx /= 1024; +- Text = "KiB"; ++ short_tx /= 1000000000000000ull; ++ Text = "PB"; ++ } else if (tx > 1000000000000ull) { ++ short_tx /= 1000000000000ull; ++ Text = "TB"; ++ } else if (tx > 1000000000ull) { ++ short_tx /= 1000000000ull; ++ Text = "GB"; ++ } else if (tx > 1000000) { ++ short_tx /= 1000000; ++ Text = "MB"; ++ } else if (tx > 1000) { ++ short_tx /= 1000; ++ Text = "KB"; + } + + printf(" "); +Index: net-tools-1.60+git20180626.aebd88e-1ubuntu1/man/en_US/ifconfig.8 +=================================================================== +--- net-tools-1.60+git20180626.aebd88e-1ubuntu1.orig/man/en_US/ifconfig.8 ++++ net-tools-1.60+git20180626.aebd88e-1ubuntu1/man/en_US/ifconfig.8 +@@ -200,11 +200,6 @@ + .BR iptables (8) + command. + .LP +-Since net\-tools 1.60\-4 ifconfig is printing byte counters and human readable +-counters with IEC 60027-2 units. So 1 KiB are 2^10 byte. Note, the numbers +-are truncated to one decimal (which can by quite a large error if you +-consider 0.1 PiB is 112.589.990.684.262 bytes :) +-.LP + Interrupt problems with Ethernet device drivers fail with EAGAIN + .I (SIOCSIIFLAGS: Resource temporarily unavailable) + it is most likely a interrupt conflict. See
  1. net-tools