From 8fe8914544f496dab9e46d6224ec9ad514ba4351 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Apr 28 2020 09:36:32 +0000 Subject: import arpwatch-2.1a15-44.el8 --- diff --git a/SOURCES/arpwatch-ethernet-address-format.patch b/SOURCES/arpwatch-ethernet-address-format.patch new file mode 100644 index 0000000..fa6b52d --- /dev/null +++ b/SOURCES/arpwatch-ethernet-address-format.patch @@ -0,0 +1,17 @@ +Originally reported at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=315215. + +Resolves: #1368523 + +--- arpwatch-2.1a13/ec.c 2000-10-13 22:49:16.000000000 +0000 ++++ arpwatch-2.1a13/ec.c 2005-06-18 07:12:14.131890648 +0000 +@@ -218,7 +218,7 @@ + { + static char str[32]; + +- (void)sprintf(str, "%x:%x:%x:%x:%x:%x", ++ (void)sprintf(str, "%.2x:%.2x:%.2x:%.2x:%.2x:%.2x", + e[0], e[1], e[2], e[3], e[4], e[5]); + return (str); + } + + diff --git a/SPECS/arpwatch.spec b/SPECS/arpwatch.spec index f7e671e..772fa02 100644 --- a/SPECS/arpwatch.spec +++ b/SPECS/arpwatch.spec @@ -4,7 +4,7 @@ Name: arpwatch Epoch: 14 Version: 2.1a15 -Release: 42%{?dist} +Release: 44%{?dist} Summary: Network monitoring tools for tracking IP addresses on a network Group: Applications/System License: BSD with advertising @@ -40,6 +40,7 @@ Patch16: arpwatch-201301-ethcodes.patch Patch17: arpwatch-pie.patch Patch18: arpwatch-aarch64.patch Patch19: arpwatch-promisc.patch +Patch20: arpwatch-ethernet-address-format.patch %description The arpwatch package contains arpwatch and arpsnmp. Arpwatch and @@ -72,6 +73,7 @@ network. %patch17 -p1 -b .pie %patch18 -p1 -b .aarch64 %patch19 -p1 -b .promisc +%patch20 -p1 -b .ethernet-address %build %configure @@ -148,6 +150,9 @@ fi %attr(0644,-,arpwatch) %verify(not md5 size mtime) %config(noreplace) %{_vararpwatch}/ethercodes.dat %changelog +* Tue Dec 3 2019 Jan Synáček - 14:2.1a15-43 +- MAC addresses are not shown properly (#1778313) + * Mon Mar 5 2018 Jan Synáček - 14:2.1a15-42 - make sure arpwatch starts after network devices are up (#1551431)