From owner-svn-ports-head@freebsd.org Tue Apr 2 08:55:58 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0B926155DC78; Tue, 2 Apr 2019 08:55:58 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9B91D82C12; Tue, 2 Apr 2019 08:55:57 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6DB8E23B34; Tue, 2 Apr 2019 08:55:57 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x328tvkn033504; Tue, 2 Apr 2019 08:55:57 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x328tuGM033499; Tue, 2 Apr 2019 08:55:56 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <201904020855.x328tuGM033499@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Tue, 2 Apr 2019 08:55:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r497558 - in head/databases/iowow: . files X-SVN-Group: ports-head X-SVN-Commit-Author: danfe X-SVN-Commit-Paths: in head/databases/iowow: . files X-SVN-Commit-Revision: 497558 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 9B91D82C12 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.97)[-0.973,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 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, 02 Apr 2019 08:55:58 -0000 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