Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2013 11:12:21 GMT
From:      KUROSAWA Takahiro <takahiro.kurosawa@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/177186: net/arping: update to 2.13 to fix false timeout problem
Message-ID:  <201303211112.r2LBCLaF069893@red.freebsd.org>
Resent-Message-ID: <201303211120.r2LBK1sE056474@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         177186
>Category:       ports
>Synopsis:       net/arping: update to 2.13 to fix false timeout problem
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 21 11:20:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     KUROSAWA Takahiro
>Release:        9.1-STABLE
>Organization:
>Environment:
FreeBSD net6501.nodomain.noroot 9.1-STABLE FreeBSD 9.1-STABLE #7 r+2760512: Tue Mar 19 14:34:36 JST 2013  i386
>Description:
arping 2.09 has a problem that reports false arp timeout because of incorrect select/dispatch handling.  It is fixed in arping 2.12.
The commit that fixes the problem is:
  https://github.com/ThomasHabets/arping/commit/c4e02d75b5318de9c0370189e987278fac91891b
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --git a/Makefile b/Makefile
index 0ee8437..cb400c6 100644
--- a/Makefile
+++ b/Makefile
@@ -6,8 +6,8 @@
 #
 
 PORTNAME=	arping
-PORTVERSION=	2.09
-PORTREVISION=	2
+PORTVERSION=	2.13
+PORTREVISION=	0
 CATEGORIES=	net
 MASTER_SITES=	http://www.habets.pp.se/synscan/files/
 
diff --git a/distinfo b/distinfo
index e116435..3492d98 100644
--- a/distinfo
+++ b/distinfo
@@ -1,2 +1,2 @@
-SHA256 (arping-2.09.tar.gz) = 1b3b9df72c6717ebd2dc7cd9bfc6aab0a7c413f9b5a5c5bdadb3c9e0deb6ec46
-SIZE (arping-2.09.tar.gz) = 132797
+SHA256 (arping-2.13.tar.gz) = b2bd992dbbc38251a06daef6db09edb1276a3745f16166177a7542f995549a32
+SIZE (arping-2.13.tar.gz) = 254344
diff --git a/files/patch-src__arping.c b/files/patch-src__arping.c
deleted file mode 100644
index 6abada9..0000000
--- a/files/patch-src__arping.c
+++ /dev/null
@@ -1,22 +0,0 @@
---- ./src/arping.c.orig	2010-12-15 02:40:26.572881702 +0000
-+++ ./src/arping.c	2010-12-15 02:41:01.891883112 +0000
-@@ -75,15 +75,15 @@
- #include <libnet.h>
- #endif
- 
-+#if HAVE_NET_BPF_H
-+#include <net/bpf.h>
-+#endif
-+
- #if HAVE_WIN32_LIBNET_H
- #include <win32/libnet.h>
- #endif
- #include <pcap.h>
- 
--#if HAVE_NET_BPF_H
--#include <net/bpf.h>
--#endif
--
- #ifndef ETH_ALEN
- #define ETH_ALEN 6
- #endif
-- 
1.8.1.5



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303211112.r2LBCLaF069893>