From elars@netapp.com  Tue Jul  2 12:28:02 2013
Return-Path: <elars@netapp.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id 6C784D5A
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  2 Jul 2013 12:28:02 +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 57C4119FC
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  2 Jul 2013 12:28:02 +0000 (UTC)
Received: from smtp1.corp.netapp.com ([10.57.156.124])
  by mx12-out.netapp.com with ESMTP; 02 Jul 2013 05:27:38 -0700
Received: from stanley.muccbc.hq.netapp.com ([10.65.56.245])
	by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id r62CRbca004968
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 2 Jul 2013 05:27:38 -0700 (PDT)
Received: from stanley.muccbc.hq.netapp.com (localhost [127.0.0.1])
	by stanley.muccbc.hq.netapp.com (8.14.7/8.14.7) with ESMTP id r62CRbGQ032994
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 2 Jul 2013 14:27:37 +0200 (CEST)
	(envelope-from elars@stanley.muccbc.hq.netapp.com)
Received: (from root@localhost)
	by stanley.muccbc.hq.netapp.com (8.14.7/8.14.7/Submit) id r62CRbZ0032993;
	Tue, 2 Jul 2013 14:27:37 +0200 (CEST)
	(envelope-from elars)
Message-Id: <201307021227.r62CRbZ0032993@stanley.muccbc.hq.netapp.com>
Date: Tue, 2 Jul 2013 14:27:37 +0200 (CEST)
From: Lars Eggert <lars@eggert.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER] benchmarks/flowgrind: fix DSCP marking
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         180197
>Category:       ports
>Synopsis:       [MAINTAINER] benchmarks/flowgrind: fix DSCP marking
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wg
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 02 12:30:03 UTC 2013
>Closed-Date:    Wed Jul 03 12:34:22 UTC 2013
>Last-Modified:  Wed Jul  3 12:40:03 UTC 2013
>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 #1: Mon Jul  1 11:18:47 CEST
>Description:
Patch to fix DCSP marking (also pushed upstream)

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

--- flowgrind-0.6.0_1.patch begins here ---
diff -ruN ../flowgrind.orig/Makefile ./Makefile
--- ../flowgrind.orig/Makefile	2013-07-02 14:11:18.000000000 +0200
+++ ./Makefile	2013-07-02 14:13:21.000000000 +0200
@@ -3,6 +3,7 @@
 
 PORTNAME=	flowgrind
 PORTVERSION=	0.6.0
+PORTREVISION=	1
 CATEGORIES=	benchmarks
 MASTER_SITES=	https://launchpad.net/flowgrind/trunk/${PORTNAME}-0.6/+download/
 
diff -ruN ../flowgrind.orig/files/patch-fg_socket ./files/patch-fg_socket
--- ../flowgrind.orig/files/patch-fg_socket	1970-01-01 01:00:00.000000000 +0100
+++ ./files/patch-fg_socket	2013-07-02 14:13:02.000000000 +0200
@@ -0,0 +1,22 @@
+--- src/fg_socket.h	2013-07-02 14:09:06.000000000 +0200
++++ src/fg_socket.h.orig	2013-07-02 14:07:20.000000000 +0200
+@@ -19,7 +19,7 @@
+ int set_so_lcd(int fd);
+ int set_tcp_mtcp(int fd);
+ int set_tcp_nodelay(int fd);
+-int set_dscp(int sock, uint8_t dscp);
++int set_dscp(int sock, int dscp);
+ int set_tcp_cork(int fd);
+ int toggle_tcp_cork(int fd);
+ int set_window_size(int, int);
+--- src/fg_socket.c	2013-07-02 14:07:12.000000000 +0200
++++ src/fg_socket.c.orig	2013-07-02 14:06:41.000000000 +0200
+@@ -132,7 +132,7 @@
+ 	return send < receive? send: receive;
+ }
+ 
+-int set_dscp(int fd, uint8_t dscp)
++int set_dscp(int fd, int dscp)
+ {
+ 	int optname = IP_TOS;
+ 	int optlevel = IPPROTO_IP;
--- flowgrind-0.6.0_1.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->wg 
Responsible-Changed-By: wg 
Responsible-Changed-When: Wed Jul 3 01:38:44 UTC 2013 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=180197 
State-Changed-From-To: open->closed 
State-Changed-By: wg 
State-Changed-When: Wed Jul 3 12:34:21 UTC 2013 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=180197 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/180197: commit references a PR
Date: Wed,  3 Jul 2013 12:34:17 +0000 (UTC)

 Author: wg
 Date: Wed Jul  3 12:34:05 2013
 New Revision: 322224
 URL: http://svnweb.freebsd.org/changeset/ports/322224
 
 Log:
   benchmarks/flowgrind: fix DSCP marking
   
   - Fix DSCP marking
   
   PR:		ports/180197
   Submitted by:	Lars Eggert <lars@eggert.org> (maintainer)
 
 Added:
   head/benchmarks/flowgrind/files/
   head/benchmarks/flowgrind/files/patch-fg_socket   (contents, props changed)
 Modified:
   head/benchmarks/flowgrind/Makefile
 
 Modified: head/benchmarks/flowgrind/Makefile
 ==============================================================================
 --- head/benchmarks/flowgrind/Makefile	Wed Jul  3 12:31:47 2013	(r322223)
 +++ head/benchmarks/flowgrind/Makefile	Wed Jul  3 12:34:05 2013	(r322224)
 @@ -3,6 +3,7 @@
  
  PORTNAME=	flowgrind
  PORTVERSION=	0.6.0
 +PORTREVISION=	1
  CATEGORIES=	benchmarks
  MASTER_SITES=	https://launchpad.net/flowgrind/trunk/${PORTNAME}-0.6/+download/
  
 
 Added: head/benchmarks/flowgrind/files/patch-fg_socket
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/benchmarks/flowgrind/files/patch-fg_socket	Wed Jul  3 12:34:05 2013	(r322224)
 @@ -0,0 +1,22 @@
 +--- src/fg_socket.h	2013-07-02 14:09:06.000000000 +0200
 ++++ src/fg_socket.h.orig	2013-07-02 14:07:20.000000000 +0200
 +@@ -19,7 +19,7 @@
 + int set_so_lcd(int fd);
 + int set_tcp_mtcp(int fd);
 + int set_tcp_nodelay(int fd);
 +-int set_dscp(int sock, uint8_t dscp);
 ++int set_dscp(int sock, int dscp);
 + int set_tcp_cork(int fd);
 + int toggle_tcp_cork(int fd);
 + int set_window_size(int, int);
 +--- src/fg_socket.c	2013-07-02 14:07:12.000000000 +0200
 ++++ src/fg_socket.c.orig	2013-07-02 14:06:41.000000000 +0200
 +@@ -132,7 +132,7 @@
 + 	return send < receive? send: receive;
 + }
 + 
 +-int set_dscp(int fd, uint8_t dscp)
 ++int set_dscp(int fd, int dscp)
 + {
 + 	int optname = IP_TOS;
 + 	int optlevel = IPPROTO_IP;
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
