import arpwatch-2.1a15-44.el8

This commit is contained in:
CentOS Sources 2020-04-28 05:36:32 -04:00 committed by Andrew Lukoshko
parent edba8ce551
commit 425880b1cd
2 changed files with 23 additions and 1 deletions

View File

@ -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);
}

View File

@ -4,7 +4,7 @@
Name: arpwatch Name: arpwatch
Epoch: 14 Epoch: 14
Version: 2.1a15 Version: 2.1a15
Release: 42%{?dist} Release: 44%{?dist}
Summary: Network monitoring tools for tracking IP addresses on a network Summary: Network monitoring tools for tracking IP addresses on a network
Group: Applications/System Group: Applications/System
License: BSD with advertising License: BSD with advertising
@ -40,6 +40,7 @@ Patch16: arpwatch-201301-ethcodes.patch
Patch17: arpwatch-pie.patch Patch17: arpwatch-pie.patch
Patch18: arpwatch-aarch64.patch Patch18: arpwatch-aarch64.patch
Patch19: arpwatch-promisc.patch Patch19: arpwatch-promisc.patch
Patch20: arpwatch-ethernet-address-format.patch
%description %description
The arpwatch package contains arpwatch and arpsnmp. Arpwatch and The arpwatch package contains arpwatch and arpsnmp. Arpwatch and
@ -72,6 +73,7 @@ network.
%patch17 -p1 -b .pie %patch17 -p1 -b .pie
%patch18 -p1 -b .aarch64 %patch18 -p1 -b .aarch64
%patch19 -p1 -b .promisc %patch19 -p1 -b .promisc
%patch20 -p1 -b .ethernet-address
%build %build
%configure %configure
@ -148,6 +150,9 @@ fi
%attr(0644,-,arpwatch) %verify(not md5 size mtime) %config(noreplace) %{_vararpwatch}/ethercodes.dat %attr(0644,-,arpwatch) %verify(not md5 size mtime) %config(noreplace) %{_vararpwatch}/ethercodes.dat
%changelog %changelog
* Tue Dec 3 2019 Jan Synáček <jsynacek@redhat.com> - 14:2.1a15-43
- MAC addresses are not shown properly (#1778313)
* Mon Mar 5 2018 Jan Synáček <jsynacek@redhat.com> - 14:2.1a15-42 * Mon Mar 5 2018 Jan Synáček <jsynacek@redhat.com> - 14:2.1a15-42
- make sure arpwatch starts after network devices are up (#1551431) - make sure arpwatch starts after network devices are up (#1551431)