Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Apr 2019 08:55:56 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r497558 - in head/databases/iowow: . files
Message-ID:  <201904020855.x328tuGM033499@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Tue Apr  2 08:55:56 2019
New Revision: 497558
URL: https://svnweb.freebsd.org/changeset/ports/497558

Log:
  Update `databases/iowow' to version 1.3.9
  
  Summary of the most important changes since version 1.2.14:
  
    - Removed ability to manage sorted arrays as key values due
      to performance issues; replaced with two-part compound keys
    + Added support of variable-length encoded integer keys
    + Added atomic in-place integer key value increments
    + Added new utility functions and flags
  
    * Fixed incorrect key handling in iwkv_del()
    * Fixed iwkv_cursor_copy_key() which was not aware of the
      compound keys mode
    * Fixed iwkv_puth() was called with incorrect previous value
    * Fixed deadlocks in iwkv_del() by not escalating exclusive
      lock on the storage
    * Fixed iwxstr_new2() with zero size argument caused illegal
      memory write
    * Fixed memory leak in iwkv_cursor_open() on error
    * Fixed high CPU usage in WAL mode
  
  Requested by:	upstream

Modified:
  head/databases/iowow/Makefile
  head/databases/iowow/distinfo
  head/databases/iowow/files/patch-src_CMakeLists.txt
  head/databases/iowow/pkg-descr
  head/databases/iowow/pkg-plist

Modified: head/databases/iowow/Makefile
==============================================================================
--- head/databases/iowow/Makefile	Tue Apr  2 08:12:23 2019	(r497557)
+++ head/databases/iowow/Makefile	Tue Apr  2 08:55:56 2019	(r497558)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	iowow
-PORTVERSION=	1.2.14
-PORTREVISION=	1
+PORTVERSION=	1.3.9
 DISTVERSIONPREFIX=	v
 CATEGORIES=	databases
 

Modified: head/databases/iowow/distinfo
==============================================================================
--- head/databases/iowow/distinfo	Tue Apr  2 08:12:23 2019	(r497557)
+++ head/databases/iowow/distinfo	Tue Apr  2 08:55:56 2019	(r497558)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1541520879
-SHA256 (Softmotions-iowow-v1.2.14_GH0.tar.gz) = 8ba767062ba7e02dbeb0fc7e0419ab8ddc21a0ae71878d5e260d6f301e0ad253
-SIZE (Softmotions-iowow-v1.2.14_GH0.tar.gz) = 225977
+TIMESTAMP = 1553878585
+SHA256 (Softmotions-iowow-v1.3.9_GH0.tar.gz) = 9459a3eecc8d85d877442a9e5bbee011ffec14b6f8c521fb9e91458b8e735560
+SIZE (Softmotions-iowow-v1.3.9_GH0.tar.gz) = 228479

Modified: head/databases/iowow/files/patch-src_CMakeLists.txt
==============================================================================
--- head/databases/iowow/files/patch-src_CMakeLists.txt	Tue Apr  2 08:12:23 2019	(r497557)
+++ head/databases/iowow/files/patch-src_CMakeLists.txt	Tue Apr  2 08:55:56 2019	(r497558)
@@ -1,7 +1,7 @@
---- src/CMakeLists.txt.orig	2018-05-02 10:28:14 UTC
+--- src/CMakeLists.txt.orig	2019-03-29 16:56:25 UTC
 +++ src/CMakeLists.txt
-@@ -72,6 +72,11 @@ if (HAVE_CLOCK_MONOTONIC)  
-   add_definitions(-DIW_HAVE_CLOCK_MONOTONIC)  
+@@ -100,6 +100,11 @@ if (HAVE_CLOCK_MONOTONIC)
+   add_definitions(-DIW_HAVE_CLOCK_MONOTONIC)
  endif()
  
 +check_symbol_exists(basename_r libgen.h HAVE_BASENAME_R)
@@ -12,16 +12,16 @@
  foreach(HF IN ITEMS stdlib stddef stdint stdbool stdatomic unistd dirent)
      string(TOUPPER "${HF}" UHF)
      check_include_file(${HF}.h "IW_HAVE_${UHF}")
-@@ -141,7 +146,7 @@ if (ASAN)
- endif()
+@@ -164,7 +169,7 @@ endif()
  
- set(CMAKE_C_FLAGS_DEBUG "-O0 -g -ggdb -Werror -DDEBUG -D_DEBUG -UNDEBUG -Wno-unused-variable ${CMAKE_C_ASAN}")
+ set(CMAKE_C_FLAGS_DEBUG "-O0 -g -ggdb -Werror -DDEBUG -D_DEBUG -UNDEBUG \
+                          -Wno-unused-variable ${CMAKE_C_ASAN}")
 -set(CMAKE_C_FLAGS_RELEASE "-O3 -DNDEBUG ${CMAKE_C_ASAN}")
 +set(CMAKE_C_FLAGS_RELEASE "-DNDEBUG ${CMAKE_C_ASAN}")
  set(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELEASE} -g")
  
  
-@@ -164,7 +169,7 @@ file(GLOB PROJECT_GENERATED_HDRS ${PROJECT_GENERATED_D
+@@ -187,7 +192,7 @@ file(GLOB PROJECT_GENERATED_HDRS ${PROJECT_GENERATED_D
  list(APPEND ALL_HDRS ${PROJECT_GENERATED_HDRS})
  
  configure_file(${CMAKE_CURRENT_SOURCE_DIR}/tmpl/libiowow.pc.in ${PROJECT_GENERATED_DIR}/libiowow.pc @ONLY)
@@ -30,7 +30,7 @@
  
  foreach(MODULE IN LISTS MODULES)
      if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${MODULE}/CMakeLists.txt)
-@@ -229,7 +234,6 @@ endif()
+@@ -278,7 +283,6 @@ endif()
  
  
  install(FILES

Modified: head/databases/iowow/pkg-descr
==============================================================================
--- head/databases/iowow/pkg-descr	Tue Apr  2 08:12:23 2019	(r497557)
+++ head/databases/iowow/pkg-descr	Tue Apr  2 08:55:56 2019	(r497558)
@@ -1,14 +1,16 @@
 IOWOW is persistent key-value database engine based on skip list data
-structure.  Its features and limitations are:
+structure.  Some of its features and limitations:
 
   - Support of multiple key-value databases within a single file
   - Native support of integer keys
+  - Write Ahead Logging (WAL)
   - Support of record values represented as sorted array of integers
-  - Ultra-fast traversal of database records
+  - Ultra-fast sequential traversal of database records
+  - Compound keys support
   - Good performance comparing to main competitors (LMDB, LevelDB,
     Kyoto Cabinet)
-  - Tiny C11 library (150 KB), easily embeddable into any software
-  - Maximum storage file size is 255 GB, maximum size of a single
+  - Tiny C11 library (200 KB), easily embeddable into any software
+  - Maximum storage file size is 512 GB, maximum size of a single
     key+value record is 255 MB
 
 WWW: http://iowow.io/

Modified: head/databases/iowow/pkg-plist
==============================================================================
--- head/databases/iowow/pkg-plist	Tue Apr  2 08:12:23 2019	(r497557)
+++ head/databases/iowow/pkg-plist	Tue Apr  2 08:55:56 2019	(r497558)
@@ -13,11 +13,12 @@ include/iowow/iwp.h
 include/iowow/iwpool.h
 include/iowow/iwrdb.h
 include/iowow/iwutils.h
+include/iowow/iwuuid.h
 include/iowow/iwxstr.h
 lib/libiowow-1.a
 lib/libiowow.so
 lib/libiowow.so.1
-lib/libiowow.so.1.2.14
+lib/libiowow.so.1.3.9
 libdata/pkgconfig/libiowow.pc
 man/man3/iowow.3.gz
 %%DATADIR%%/iowow-exports-%%CMAKE_BUILD_TYPE%%.cmake



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904020855.x328tuGM033499>