diff -urNd net-mgmt/arpwatch.orig/files/patch-ec.c net-mgmt/arpwatch/files/patch-ec.c --- net-mgmt/arpwatch.orig/files/patch-ec.c 1970-01-01 03:00:00.000000000 +0300 +++ net-mgmt/arpwatch/files/patch-ec.c 2018-09-24 13:00:06.693889000 +0300 @@ -0,0 +1,20 @@ +--- ec.c.orig 2018-09-24 09:56:56 UTC ++++ ec.c +@@ -201,7 +201,7 @@ str2e(register char *str, register u_cha + u_int n[6]; + + MEMSET(n, 0, sizeof(n)); +- if (sscanf(str, "%x:%x:%x:%x:%x:%x", ++ if (sscanf(str, "%02x:%02x:%02x:%02x:%02x:%02x", + &n[0], &n[1], &n[2], &n[3], &n[4], &n[5]) != 6) + return (0); + for (i = 0; i < 6; ++i) { +@@ -218,7 +218,7 @@ e2str(register u_char *e) + { + static char str[32]; + +- (void)sprintf(str, "%x:%x:%x:%x:%x:%x", ++ (void)sprintf(str, "%02x:%02x:%02x:%02x:%02x:%02x", + e[0], e[1], e[2], e[3], e[4], e[5]); + return (str); + } diff -urNd net-mgmt/arpwatch.orig/files/patch-massagevendor net-mgmt/arpwatch/files/patch-massagevendor --- net-mgmt/arpwatch.orig/files/patch-massagevendor 1970-01-01 03:00:00.000000000 +0300 +++ net-mgmt/arpwatch/files/patch-massagevendor 2018-09-24 13:45:03.347710000 +0300 @@ -0,0 +1,11 @@ +--- massagevendor.orig 2018-09-24 10:43:54 UTC ++++ massagevendor +@@ -15,7 +15,7 @@ + awk -f euppertolower.awk | \ + sed -n \ + -e 's/^\([0-9A-Za-z][0-9A-Za-z]\)\([0-9A-Za-z][0-9A-Za-z]\)\([0-9A-Za-z][0-9A-Za-z]\)[ ]\(.*\)$/\1:\2:\3 \4/' \ +- -e 's/^0//' -e 's/:0\([0-9A-Za-z]\)/:\1/g' -e p | \ ++ -e p | \ + sort | \ + awk -f duplicates.awk ) | \ + awk -f p.awk | \ diff -urNd net-mgmt/arpwatch.orig/Makefile net-mgmt/arpwatch/Makefile --- net-mgmt/arpwatch.orig/Makefile 2018-09-24 13:01:41.785727000 +0300 +++ net-mgmt/arpwatch/Makefile 2018-09-24 14:09:00.492072000 +0300 @@ -3,7 +3,7 @@ PORTNAME= arpwatch DISTVERSION= 2.1a15 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= net-mgmt MASTER_SITES= ftp://ftp.ee.lbl.gov/ \ GENTOO