From owner-freebsd-ports-bugs@FreeBSD.ORG  Mon Mar 25 10:50:02 2013
Return-Path: <owner-freebsd-ports-bugs@FreeBSD.ORG>
Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by hub.freebsd.org (Postfix) with ESMTP id 20C32B3D
 for <freebsd-ports-bugs@smarthost.ysv.freebsd.org>;
 Mon, 25 Mar 2013 10:50:02 +0000 (UTC)
 (envelope-from gnats@FreeBSD.org)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 by mx1.freebsd.org (Postfix) with ESMTP id 015B6EE9
 for <freebsd-ports-bugs@smarthost.ysv.freebsd.org>;
 Mon, 25 Mar 2013 10:50:02 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2PAo0a9002424
 for <freebsd-ports-bugs@freefall.freebsd.org>; Mon, 25 Mar 2013 10:50:00 GMT
 (envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2PAo0Pp002413;
 Mon, 25 Mar 2013 10:50:00 GMT (envelope-from gnats)
Resent-Date: Mon, 25 Mar 2013 10:50:00 GMT
Resent-Message-Id: <201303251050.r2PAo0Pp002413@freefall.freebsd.org>
Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer)
Resent-To: freebsd-ports-bugs@FreeBSD.org
Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org,
 Lars Eggert <lars@eggert.org>
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id 88089B01
 for <FreeBSD-gnats-submit@freebsd.org>; Mon, 25 Mar 2013 10:47:20 +0000 (UTC)
 (envelope-from elars@netapp.com)
Received: from mx12.netapp.com (mx12.netapp.com [216.240.18.77])
 by mx1.freebsd.org (Postfix) with ESMTP id 6DBD5ECF
 for <FreeBSD-gnats-submit@freebsd.org>; Mon, 25 Mar 2013 10:47:20 +0000 (UTC)
Received: from smtp2.corp.netapp.com ([10.57.159.114])
 by mx12-out.netapp.com with ESMTP; 25 Mar 2013 03:47:14 -0700
Received: from stanley.muccbc.hq.netapp.com ([10.65.56.245])
 by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id r2PAlCMK022710;
 Mon, 25 Mar 2013 03:47:13 -0700 (PDT)
Received: from stanley.muccbc.hq.netapp.com (localhost [127.0.0.1])
 by stanley.muccbc.hq.netapp.com (8.14.6/8.14.6) with ESMTP id r2PAlCkR049031; 
 Mon, 25 Mar 2013 11:47:12 +0100 (CET)
 (envelope-from elars@stanley.muccbc.hq.netapp.com)
Received: (from root@localhost)
 by stanley.muccbc.hq.netapp.com (8.14.6/8.14.6/Submit) id r2PAlBQm049030;
 Mon, 25 Mar 2013 11:47:11 +0100 (CET) (envelope-from elars)
Message-Id: <201303251047.r2PAlBQm049030@stanley.muccbc.hq.netapp.com>
Date: Mon, 25 Mar 2013 11:47:11 +0100 (CET)
From: Lars Eggert <lars@eggert.org>
To: FreeBSD-gnats-submit@freebsd.org
X-Send-Pr-Version: 3.113
Subject: ports/177368: [PATCH] net/fping: Add option to compile in timestamps
 patch
Cc: jharris@widomaker.com, toke@toke.dk
X-BeenThere: freebsd-ports-bugs@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Ports bug reports <freebsd-ports-bugs.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-ports-bugs>, 
 <mailto:freebsd-ports-bugs-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs>
List-Post: <mailto:freebsd-ports-bugs@freebsd.org>
List-Help: <mailto:freebsd-ports-bugs-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs>, 
 <mailto:freebsd-ports-bugs-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Mar 2013 10:50:02 -0000


>Number:         177368
>Category:       ports
>Synopsis:       [PATCH] net/fping: Add option to compile in timestamps patch
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 25 10:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Lars Eggert
>Release:        FreeBSD 9.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD stanley.muccbc.hq.netapp.com 9.1-STABLE FreeBSD 9.1-STABLE #3: Mon Mar  4 19:19:40 CET
>Description:
This patch adds an option to compile in Toke Hoiland-Jorgensen's patch
that enables timestamps for fping. This is needed by his netperf-wrapper
benchmarking tool (https://github.com/tohojo/netperf-wrapper)

Port maintainer (jharris@widomaker.com) is cc'd.

Generated with FreeBSD Port Tools 0.99_7 (mode: change, diff: suffix)
>How-To-Repeat:
>Fix:

--- fping-3.4_1.patch begins here ---
diff -ruN ../fping.orig/Makefile ./Makefile
--- ../fping.orig/Makefile	2012-11-17 07:00:00.000000000 +0100
+++ ./Makefile	2013-03-25 11:33:08.000000000 +0100
@@ -1,15 +1,14 @@
-# ex:ts=8
-# Ports collection makefile for:  fping
-# Date created:			  Tue Mar 25, 1997
-# Whom:				  David O'Brien (obrien@NUXI.com)
-#
+# Created by: David O'Brien (obrien@NUXI.com)
 # $FreeBSD: ports/net/fping/Makefile,v 1.27 2012/11/17 06:00:00 svnexp Exp $
-#
 
 PORTNAME=	fping
 PORTVERSION=	3.4
+PORTREVISION=	1
 CATEGORIES=	net ipv6
-MASTER_SITES=   http://fping.org/dist/
+MASTER_SITES=	http://fping.org/dist/
+
+PATCH_SITES=	http://raw.github.com/tohojo/netperf-wrapper/master/misc/
+PATCH_DIST_STRIP=	-p1
 
 MAINTAINER=	jharris@widomaker.com
 COMMENT=	Quickly ping N hosts w/o flooding the network
@@ -18,6 +17,9 @@
 OPTIONS_MULTI_NET=	IPV4 IPV6
 OPTIONS_DEFAULT=	IPV4
 
+OPTIONS_DEFINE=		TIMESTAMPS
+TIMESTAMPS_DESC=	Enable timestamps patch
+
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--bindir="${PREFIX}/sbin"
 
@@ -39,6 +41,10 @@
 CONFIGURE_ARGS+=--disable-ipv6
 .endif
 
+.if ${PORT_OPTIONS:MTIMESTAMPS}
+PATCHFILES=	fping_timestamps.patch
+.endif
+
 post-install:
 .if ${PORT_OPTIONS:MIPV4}
 	@${STRIP_CMD} ${PREFIX}/sbin/fping
diff -ruN ../fping.orig/distinfo ./distinfo
--- ../fping.orig/distinfo	2012-09-24 11:15:59.000000000 +0200
+++ ./distinfo	2013-03-25 11:13:12.000000000 +0100
@@ -1,2 +1,4 @@
 SHA256 (fping-3.4.tar.gz) = d42528af4931f16a8e3438bd4a45cfdd72163ad8835a3c95351c336a26e56afe
 SIZE (fping-3.4.tar.gz) = 142986
+SHA256 (fping_timestamps.patch) = 5e07b36e2029a042de79536c30d852a7ee65d90216747ca68fe54eba94798f3a
+SIZE (fping_timestamps.patch) = 2211
--- fping-3.4_1.patch ends here ---

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