ports/185434: sysutils/ioping update to 0.8
Oleg Ginzburg
olevole at olevole.ru
Fri Jan 3 07:00:00 UTC 2014
>Number: 185434
>Category: ports
>Synopsis: sysutils/ioping update to 0.8
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Fri Jan 03 07:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Oleg Ginzburg
>Release:
>Organization:
>Environment:
>Description:
- update to 0.8
- remove patch for fdatasync which is pushed to upstream
- STAGE-ing
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ruN ioping.bak/Makefile ioping/Makefile
--- ioping.bak/Makefile 2014-01-01 04:00:59.000000000 +0400
+++ ioping/Makefile 2014-01-03 10:45:26.000000000 +0400
@@ -2,7 +2,7 @@
# $FreeBSD: head/sysutils/ioping/Makefile 327772 2013-09-20 23:05:58Z bapt $
PORTNAME= ioping
-PORTVERSION= 0.7
+PORTVERSION= 0.8
CATEGORIES= sysutils
MASTER_SITES= GOOGLE_CODE
@@ -19,13 +19,12 @@
# for the benefit of <80000
CFLAGS+= -lm
-NO_STAGE= yes
do-build:
cd ${WRKSRC}; \
${SETENV} ${MAKE_ENV} ${CC} ${CFLAGS} -DVERSION=${PORTVERSION} ioping.c -o ioping
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/ioping ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/ioping.1 ${MAN1PREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/ioping ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/ioping.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.include <bsd.port.mk>
diff -ruN ioping.bak/distinfo ioping/distinfo
--- ioping.bak/distinfo 2014-01-01 04:00:59.000000000 +0400
+++ ioping/distinfo 2014-01-03 10:34:02.000000000 +0400
@@ -1,2 +1,2 @@
-SHA256 (ioping-0.7.tar.gz) = 234e28eeb256e77756a077604b48d59f206a5288c3da6f207629e783f54b13b0
-SIZE (ioping-0.7.tar.gz) = 10011
+SHA256 (ioping-0.8.tar.gz) = e23fdbd7298e26b63986137d6007e5a72d495da7265b9edea4c12f1b0c55fe48
+SIZE (ioping-0.8.tar.gz) = 10590
diff -ruN ioping.bak/files/patch-ioping.c ioping/files/patch-ioping.c
--- ioping.bak/files/patch-ioping.c 2014-01-01 04:00:59.000000000 +0400
+++ ioping/files/patch-ioping.c 2014-01-03 10:36:59.000000000 +0400
@@ -1,32 +1,6 @@
---- 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 @@
+--- ioping.c.orig 2014-01-03 10:36:08.000000000 +0400
++++ ioping.c 2014-01-03 10:36:48.000000000 +0400
+@@ -247,7 +247,7 @@
void version(void)
{
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list