From owner-svn-ports-head@FreeBSD.ORG Tue Jul 23 17:32:50 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DBB93C2F; Tue, 23 Jul 2013 17:32:49 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BBEC32B3A; Tue, 23 Jul 2013 17:32:49 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r6NHWn0L098293; Tue, 23 Jul 2013 17:32:49 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r6NHWnRi098289; Tue, 23 Jul 2013 17:32:49 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201307231732.r6NHWnRi098289@svn.freebsd.org> From: Pawel Pekala Date: Tue, 23 Jul 2013 17:32:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r323543 - in head/sysutils/ioping: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jul 2013 17:32:50 -0000 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 (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 -# +# Created by: Oleg Ginzburg # $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/