From f5135b0c505160f65f68d7389ff9927fa72da990 Mon Sep 17 00:00:00 2001 From: Michal Ruprich Date: Aug 06 2020 07:42:49 +0000 Subject: Resolves: #1835155 - netstat says "packetes" instead of "packets" --- diff --git a/net-tools-spelling-error.patch b/net-tools-spelling-error.patch new file mode 100644 index 0000000..3fe3dd4 --- /dev/null +++ b/net-tools-spelling-error.patch @@ -0,0 +1,52 @@ +diff --git a/statistics.c.old b/statistics.c +index 8c2e18e..ed5dcaf 100644 +--- a/statistics.c.old ++++ b/statistics.c +@@ -215,7 +215,7 @@ static const struct entry Tcpexttab[] = + {"OfoPruned", N_("%llu packets dropped from out-of-order queue because of socket buffer overrun"), opt_number}, + {"OutOfWindowIcmps", N_("%llu ICMP packets dropped because they were out-of-window"), opt_number}, + {"PAWSActive", N_("%llu active connections rejected because of time stamp"), opt_number}, +- {"PAWSEstab", N_("%llu packetes rejected in established connections because of timestamp"), opt_number}, ++ {"PAWSEstab", N_("%llu packets rejected in established connections because of timestamp"), opt_number}, + {"PAWSPassive", N_("%llu passive connections rejected because of time stamp"), opt_number}, + {"PruneCalled", N_("%llu packets pruned from receive queue because of socket buffer overrun"), opt_number}, + {"RcvPruned", N_("%llu packets pruned from receive queue"), opt_number}, +diff --git a/po/cs.po.old b/po/cs.po +index 7fe0e17..0857a86 100644 +--- a/po/cs.po.old ++++ b/po/cs.po +@@ -1960,7 +1960,7 @@ msgstr "Počet odmítnutých aktivních spojení kvůli časovému razítku: %u" + + #: ../statistics.c:237 + #, c-format +-msgid "%u packetes rejected in established connections because of timestamp" ++msgid "%u packets rejected in established connections because of timestamp" + msgstr "" + "Počet odmítnutých packetů uvnitř navázaného spojení kvůli časovému razítku: %" + "u" +diff --git a/po/et_EE.po.old b/po/et_EE.po +index ebc9de6..2afbaa9 100644 +--- a/po/et_EE.po.old ++++ b/po/et_EE.po +@@ -1626,7 +1626,7 @@ msgstr "%u aktiivsest + + #: ../statistics.c:167 + #, c-format +-msgid "%u packetes rejected in established connections because of timestamp" ++msgid "%u packets rejected in established connections because of timestamp" + msgstr "%u paketist keelduti loodud �hendustes ajatempli t�ttu" + + #: ../statistics.c:169 +diff --git a/po/net-tools.pot.old b/po/net-tools.pot +index 7496818..b81bf1a 100644 +--- a/po/net-tools.pot.old ++++ b/po/net-tools.pot +@@ -1746,7 +1746,7 @@ msgstr "" + + #: ../statistics.c:167 + #, c-format +-msgid "%u packetes rejected in established connections because of timestamp" ++msgid "%u packets rejected in established connections because of timestamp" + msgstr "" + + #: ../statistics.c:169 diff --git a/net-tools.spec b/net-tools.spec index 3401415..386915f 100644 --- a/net-tools.spec +++ b/net-tools.spec @@ -3,7 +3,7 @@ Summary: Basic networking tools Name: net-tools Version: 2.0 -Release: 0.56.%{checkout}%{?dist} +Release: 0.57.%{checkout}%{?dist} License: GPLv2+ URL: http://sourceforge.net/projects/net-tools/ @@ -36,6 +36,7 @@ Patch21: net-tools-ifconfig-EiB.patch Patch22: net-tools-timer-man.patch Patch23: net-tools-interface-name-len.patch Patch24: net-tools-correct-exit-code.patch +Patch25: net-tools-spelling-error.patch BuildRequires: bluez-libs-devel BuildRequires: gettext, libselinux @@ -69,6 +70,7 @@ cp %SOURCE8 ./man/en_US %patch22 -p1 -b .timer-man %patch23 -p1 -b .interface-name-len %patch24 -p1 -b .exit-codes +%patch25 -p1 -b .spelling touch ./config.h @@ -141,6 +143,9 @@ install -D -p -m 644 %{SOURCE9} %{buildroot}%{_unitdir}/arp-ethers.service %attr(0644,root,root) %{_unitdir}/arp-ethers.service %changelog +* Thu Aug 06 2020 Michal Ruprich - 2.0-0.57.20160912git +- Resolves: #1835155 - netstat says "packetes" instead of "packets" + * Wed Jan 29 2020 Fedora Release Engineering - 2.0-0.56.20160912git - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild