Date: Sun, 6 May 2018 09:02:02 +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: r469184 - in head/databases/iowow: . files Message-ID: <201805060902.w46922UW034592@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danfe Date: Sun May 6 09:02:02 2018 New Revision: 469184 URL: https://svnweb.freebsd.org/changeset/ports/469184 Log: - Update `databases/iowow' to version 1.1.0 [*] - Remove ONLY_FOR_ARCHS (x64-specific bits are guarded now) - Cleanup up patch hunks that were included upstream - Fix a typo and generally include port description Requested by: upstream [*] Deleted: head/databases/iowow/files/patch-src_log_iwlog.c Modified: head/databases/iowow/Makefile head/databases/iowow/distinfo head/databases/iowow/files/patch-src_CMakeLists.txt head/databases/iowow/files/patch-src_fs_iwfile.c head/databases/iowow/pkg-descr head/databases/iowow/pkg-plist Modified: head/databases/iowow/Makefile ============================================================================== --- head/databases/iowow/Makefile Sun May 6 08:33:58 2018 (r469183) +++ head/databases/iowow/Makefile Sun May 6 09:02:02 2018 (r469184) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= iowow -PORTVERSION= 1.0.5 +PORTVERSION= 1.1.0 DISTVERSIONPREFIX= v CATEGORIES= databases @@ -11,17 +11,11 @@ COMMENT= Persistent key-value database engine LICENSE= MIT -ONLY_FOR_ARCHS= amd64 i386 -ONLY_FOR_ARCHS_REASON= invokes x86 assembler - USES= cmake:outsource compiler:c11 USE_GITHUB= yes GH_ACCOUNT= Softmotions USE_LDCONFIG= yes PORTDOCS= Changelog README - -post-patch: - @${REINPLACE_CMD} -e '/sizeof(size_t)/d' ${WRKSRC}/src/kv/iwkv.c .include <bsd.port.mk> Modified: head/databases/iowow/distinfo ============================================================================== --- head/databases/iowow/distinfo Sun May 6 08:33:58 2018 (r469183) +++ head/databases/iowow/distinfo Sun May 6 09:02:02 2018 (r469184) @@ -1,3 +1,3 @@ -TIMESTAMP = 1523540906 -SHA256 (Softmotions-iowow-v1.0.5_GH0.tar.gz) = e30556b3c16952f68c0ecbee3f49a1c72412ca78d2a634babe71ba4cd8f703f0 -SIZE (Softmotions-iowow-v1.0.5_GH0.tar.gz) = 170856 +TIMESTAMP = 1525256894 +SHA256 (Softmotions-iowow-v1.1.0_GH0.tar.gz) = 512725b470a2842688db62a0639104e7b08e92d952cff8ee995c23be5c1ad242 +SIZE (Softmotions-iowow-v1.1.0_GH0.tar.gz) = 186008 Modified: head/databases/iowow/files/patch-src_CMakeLists.txt ============================================================================== --- head/databases/iowow/files/patch-src_CMakeLists.txt Sun May 6 08:33:58 2018 (r469183) +++ head/databases/iowow/files/patch-src_CMakeLists.txt Sun May 6 09:02:02 2018 (r469184) @@ -1,13 +1,18 @@ ---- src/CMakeLists.txt.orig 2018-04-12 13:48:26 UTC +--- src/CMakeLists.txt.orig 2018-05-02 10:28:14 UTC +++ src/CMakeLists.txt -@@ -121,14 +121,12 @@ if (NOT WIN32) ## todo review - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC") +@@ -72,6 +72,11 @@ if (HAVE_CLOCK_MONOTONIC) + add_definitions(-DIW_HAVE_CLOCK_MONOTONIC) endif() --set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__='\"$(subst ${CMAKE_SOURCE_DIR}/,,$(abspath $<))\"'") -- - if (ASAN) - set(CMAKE_C_ASAN "-fsanitize=address -fno-omit-frame-pointer") ++check_symbol_exists(basename_r libgen.h HAVE_BASENAME_R) ++if (HAVE_BASENAME_R) ++ set_source_files_properties(log/iwlog.c PROPERTIES COMPILE_FLAGS -DIW_HAVE_BASENAME_R) ++endif() ++ + 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() set(CMAKE_C_FLAGS_DEBUG "-O0 -g -ggdb -Werror -DDEBUG -D_DEBUG -UNDEBUG -Wno-unused-variable ${CMAKE_C_ASAN}") @@ -16,7 +21,7 @@ set(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELEASE} -g") -@@ -151,7 +149,7 @@ file(GLOB PROJECT_GENERATED_HDRS ${PROJECT_GENERATED_D +@@ -164,7 +169,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) @@ -25,12 +30,11 @@ foreach(MODULE IN LISTS MODULES) if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${MODULE}/CMakeLists.txt) -@@ -216,8 +214,6 @@ endif() +@@ -229,7 +234,6 @@ endif() install(FILES - ${CMAKE_SOURCE_DIR}/LICENSE -- ${CMAKE_SOURCE_DIR}/INSTALL ${CMAKE_SOURCE_DIR}/Changelog DESTINATION ${CMAKE_INSTALL_DOCDIR}) install(FILES Modified: head/databases/iowow/files/patch-src_fs_iwfile.c ============================================================================== --- head/databases/iowow/files/patch-src_fs_iwfile.c Sun May 6 08:33:58 2018 (r469183) +++ head/databases/iowow/files/patch-src_fs_iwfile.c Sun May 6 09:02:02 2018 (r469184) @@ -1,11 +1,11 @@ ---- src/fs/iwfile.c.orig 2018-04-12 13:48:26 UTC +--- src/fs/iwfile.c.orig 2018-05-02 10:28:14 UTC +++ src/fs/iwfile.c -@@ -92,7 +92,7 @@ static iwrc _iwfs_sync(struct IWFS_FILE *f, iwfs_sync_ - if (fcntl(wf->fh, F_FULLFSYNC) == -1) { +@@ -97,7 +97,7 @@ static iwrc _iwfs_sync(struct IWFS_FILE *f, iwfs_sync_ + if (fcntl(impl->fh, F_FULLFSYNC) == -1) { return iwrc_set_errno(IW_ERROR_IO_ERRNO, errno); } -#else +#elif defined(__FreeBSD_version) && __FreeBSD_version > 1100501 - if (fdatasync(wf->fh) == -1) { + if (fdatasync(impl->fh) == -1) { return iwrc_set_errno(IW_ERROR_IO_ERRNO, errno); } Modified: head/databases/iowow/pkg-descr ============================================================================== --- head/databases/iowow/pkg-descr Sun May 6 08:33:58 2018 (r469183) +++ head/databases/iowow/pkg-descr Sun May 6 09:02:02 2018 (r469184) @@ -1,14 +1,14 @@ IOWOW is persistent key-value database engine based on skip list data -structure. Its features and imitations are: +structure. Its features and limitations are: - Support of multiple key-value databases within a single file - Native support of integer keys - Support of record values represented as sorted array of integers - Ultra-fast traversal of database records - - Good performance comparing its main competitors (LMDB, LevelDB, + - Good performance comparing to main competitors (LMDB, LevelDB, Kyoto Cabinet) - Tiny C11 library (150 KB), easily embeddable into any software - - Maximum storage file size: 255 GB, maximum size of a single - key+value record 255 MB + - Maximum storage file size is 255 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 Sun May 6 08:33:58 2018 (r469183) +++ head/databases/iowow/pkg-plist Sun May 6 09:02:02 2018 (r469184) @@ -3,6 +3,7 @@ include/iowow/iowow.h include/iowow/iwarr.h include/iowow/iwbits.h include/iowow/iwconv.h +include/iowow/iwdlsnr.h include/iowow/iwexfile.h include/iowow/iwfile.h include/iowow/iwfsmfile.h @@ -10,12 +11,13 @@ include/iowow/iwkv.h include/iowow/iwlog.h include/iowow/iwp.h include/iowow/iwpool.h +include/iowow/iwrdb.h include/iowow/iwutils.h include/iowow/iwxstr.h lib/libiowow-1.a lib/libiowow.so lib/libiowow.so.1 -lib/libiowow.so.1.0.5 +lib/libiowow.so.1.1.0 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?201805060902.w46922UW034592>