From nobody@FreeBSD.org  Tue Jul 23 11:58:10 2013
Return-Path: <nobody@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 D56F4226
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 23 Jul 2013 11:58:10 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 696242A10
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 23 Jul 2013 11:58:10 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r6NBwAAG068744
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 23 Jul 2013 11:58:10 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r6NBw9l4068743;
	Tue, 23 Jul 2013 11:58:09 GMT
	(envelope-from nobody)
Message-Id: <201307231158.r6NBw9l4068743@oldred.freebsd.org>
Date: Tue, 23 Jul 2013 11:58:09 GMT
From: Oleg Ginzburg <olevole@olevole.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: sysutils/ioping update to 0.7
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         180761
>Category:       ports
>Synopsis:       sysutils/ioping update to 0.7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pawel
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 23 12:00:00 UTC 2013
>Closed-Date:    Tue Jul 23 17:33:01 UTC 2013
>Last-Modified:  Tue Jul 23 17:40:00 UTC 2013
>Originator:     Oleg Ginzburg
>Release:        
>Organization:
>Environment:
>Description:
Just update
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN ioping.bak/Makefile ioping/Makefile
--- ioping.bak/Makefile	2013-07-23 15:35:19.000000000 +0400
+++ ioping/Makefile	2013-07-23 15:35:28.000000000 +0400
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	ioping
-PORTVERSION=	0.6
+PORTVERSION=	0.7
 CATEGORIES=	sysutils
 MASTER_SITES=	GOOGLE_CODE
 
diff -ruN ioping.bak/distinfo ioping/distinfo
--- ioping.bak/distinfo	2013-07-22 20:11:25.000000000 +0400
+++ ioping/distinfo	2013-07-23 15:35:31.000000000 +0400
@@ -1,2 +1,2 @@
-SHA256 (ioping-0.6.tar.gz) = 1d14469b1bfa9243f992be784cc0e3cd86c66bb7edc1b83e22360075c5435ceb
-SIZE (ioping-0.6.tar.gz) = 6957
+SHA256 (ioping-0.7.tar.gz) = 234e28eeb256e77756a077604b48d59f206a5288c3da6f207629e783f54b13b0
+SIZE (ioping-0.7.tar.gz) = 10011
diff -ruN ioping.bak/files/patch-ioping.c ioping/files/patch-ioping.c
--- ioping.bak/files/patch-ioping.c	1970-01-01 03:00:00.000000000 +0300
+++ ioping/files/patch-ioping.c	2013-07-23 15:54:03.000000000 +0400
@@ -0,0 +1,37 @@
+--- ioping.c.orig	2013-02-02 21:00:59.000000000 +0400
++++ ioping.c	2013-07-23 15:53:52.000000000 +0400
+@@ -154,11 +154,6 @@
+ 	return FlushFileBuffers(h) ? 0 : -1;
+ }
+ 
+-int fdatasync(int fd)
+-{
+-	return fsync(fd);
+-}
+-
+ void srandom(unsigned int seed)
+ {
+ 	srand(seed);
+@@ -178,6 +173,13 @@
+ 
+ #endif /* __MINGW32__ */
+ 
++#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__MINGW32__)
++int fdatasync(int fd)
++{
++        return fsync(fd);
++}
++#endif /* (__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__MINGW32__) */
++
+ #ifndef HAVE_POSIX_MEMALIGN
+ /* don't free it */
+ int posix_memalign(void **memptr, size_t alignment, size_t size)
+@@ -222,7 +224,7 @@
+ 
+ void version(void)
+ {
+-	fprintf(stderr, "ioping %s\n", VERSION);
++	fprintf(stderr, "ioping %f\n", VERSION);
+ }
+ 
+ struct suffix {


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->pawel 
Responsible-Changed-By: pawel 
Responsible-Changed-When: Tue Jul 23 17:24:52 UTC 2013 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=180761 
State-Changed-From-To: open->closed 
State-Changed-By: pawel 
State-Changed-When: Tue Jul 23 17:33:00 UTC 2013 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/180761: commit references a PR
Date: Tue, 23 Jul 2013 17:33:02 +0000 (UTC)

 Author: pawel
 Date: Tue Jul 23 17:32:48 2013
 New Revision: 323543
 URL: http://svnweb.freebsd.org/changeset/ports/323543
 
 Log:
   Update to version 0.7
   
   While here:
   - Trim Makefile header
   - Convert tab to space in WWW: line
   
   PR:		ports/180761
   Submitted by:	Oleg Ginzburg <olevole@olevole.ru> (maintainer)
 
 Added:
   head/sysutils/ioping/files/
   head/sysutils/ioping/files/patch-ioping.c   (contents, props changed)
 Modified:
   head/sysutils/ioping/Makefile   (contents, props changed)
   head/sysutils/ioping/distinfo   (contents, props changed)
   head/sysutils/ioping/pkg-descr   (contents, props changed)
 
 Modified: head/sysutils/ioping/Makefile
 ==============================================================================
 --- head/sysutils/ioping/Makefile	Tue Jul 23 17:21:32 2013	(r323542)
 +++ head/sysutils/ioping/Makefile	Tue Jul 23 17:32:48 2013	(r323543)
 @@ -1,12 +1,8 @@
 -# New ports collection makefile for:	ioping
 -# Date created:		27 December 2011
 -# Whom:			Oleg Ginzburg <olevole@olevole.ru>
 -#
 +# Created by: Oleg Ginzburg <olevole@olevole.ru>
  # $FreeBSD$
 -#
  
  PORTNAME=	ioping
 -PORTVERSION=	0.6
 +PORTVERSION=	0.7
  CATEGORIES=	sysutils
  MASTER_SITES=	GOOGLE_CODE
  
 
 Modified: head/sysutils/ioping/distinfo
 ==============================================================================
 --- head/sysutils/ioping/distinfo	Tue Jul 23 17:21:32 2013	(r323542)
 +++ head/sysutils/ioping/distinfo	Tue Jul 23 17:32:48 2013	(r323543)
 @@ -1,2 +1,2 @@
 -SHA256 (ioping-0.6.tar.gz) = 1d14469b1bfa9243f992be784cc0e3cd86c66bb7edc1b83e22360075c5435ceb
 -SIZE (ioping-0.6.tar.gz) = 6957
 +SHA256 (ioping-0.7.tar.gz) = 234e28eeb256e77756a077604b48d59f206a5288c3da6f207629e783f54b13b0
 +SIZE (ioping-0.7.tar.gz) = 10011
 
 Added: head/sysutils/ioping/files/patch-ioping.c
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/sysutils/ioping/files/patch-ioping.c	Tue Jul 23 17:32:48 2013	(r323543)
 @@ -0,0 +1,37 @@
 +--- ioping.c.orig	2013-02-02 21:00:59.000000000 +0400
 ++++ ioping.c	2013-07-23 15:53:52.000000000 +0400
 +@@ -154,11 +154,6 @@
 + 	return FlushFileBuffers(h) ? 0 : -1;
 + }
 + 
 +-int fdatasync(int fd)
 +-{
 +-	return fsync(fd);
 +-}
 +-
 + void srandom(unsigned int seed)
 + {
 + 	srand(seed);
 +@@ -178,6 +173,13 @@
 + 
 + #endif /* __MINGW32__ */
 + 
 ++#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__MINGW32__)
 ++int fdatasync(int fd)
 ++{
 ++        return fsync(fd);
 ++}
 ++#endif /* (__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__MINGW32__) */
 ++
 + #ifndef HAVE_POSIX_MEMALIGN
 + /* don't free it */
 + int posix_memalign(void **memptr, size_t alignment, size_t size)
 +@@ -222,7 +224,7 @@
 + 
 + void version(void)
 + {
 +-	fprintf(stderr, "ioping %s\n", VERSION);
 ++	fprintf(stderr, "ioping %f\n", VERSION);
 + }
 + 
 + struct suffix {
 
 Modified: head/sysutils/ioping/pkg-descr
 ==============================================================================
 --- head/sysutils/ioping/pkg-descr	Tue Jul 23 17:21:32 2013	(r323542)
 +++ head/sysutils/ioping/pkg-descr	Tue Jul 23 17:32:48 2013	(r323543)
 @@ -1,3 +1,3 @@
  This tool lets you monitor I/O latency in real time
  
 -WWW:	http://code.google.com/p/ioping/
 +WWW: http://code.google.com/p/ioping/
 _______________________________________________
 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:
