This fixes the same dns bug described in ports/65501, but it has been made to apply cleanly to the non -devel arpwatch Fix: PORTNAME= arpwatch PORTVERSION= 2.1.a11 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= net-mgmt MASTER_SITES= http://www.Awfulhak.org/arpwatch/ \ ftp://ftp.ee.lbl.gov/ #include <ctype.h> @@ -27,6 +27,15 @@ char *watchee = WATCHEE; char *sendmail = PATH_SENDMAIL; char *unknown = "<unknown>"; +@@ -303,7 +307,7 @@ + (void)fprintf(f, "From: %s\n", watchee); + (void)fprintf(f, "To: %s\n", watcher); + hn = gethname(a); +- if (!isdigit(*hn)) ++ if (hn != NULL) + (void)fprintf(f, "Subject: %s (%s)\n", title, hn); + else { + (void)fprintf(f, "Subject: %s\n", title); @@ -344,6 +348,25 @@ exit(1); } -- Matthew George SecureWorks Technical Operations--OCPVbGUpU97W6OO6NmpOd3BwovNYHw9QLFos0e5S0SI3MMip Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- Makefile.orig Tue Apr 13 17:50:47 2004 +++ Makefile Tue Apr 13 17:51:11 2004 @@ -7,7 +7,7 @@
Responsible Changed From-To: freebsd-ports-bugs->krion I'll take it.
State Changed From-To: open->closed Committed, thanks!