Date: Fri, 24 May 2019 14:45:43 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r502469 - in head/devel: . libthmap Message-ID: <201905241445.x4OEjhTD024195@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: swills Date: Fri May 24 14:45:42 2019 New Revision: 502469 URL: https://svnweb.freebsd.org/changeset/ports/502469 Log: devel/libthmap: create port Concurrent trie-hash map library -- a general purpose associative array, combining the elements of hashing and radix trie. Highlights: * Very competitive performance, with logarithmic time complexity on average. * Lookups are lock-free and inserts/deletes are using fine-grained locking. * Incremental growth of the data structure (no large resizing/rehashing). * Optional support for use with shared memory, e.g. memory-mapped file. The implementation is written in C11 and distributed under the 2-clause BSD license. WWW: https://github.com/rmind/thmap Will be used by npf port. Added: head/devel/libthmap/ head/devel/libthmap/Makefile (contents, props changed) head/devel/libthmap/distinfo (contents, props changed) head/devel/libthmap/pkg-descr (contents, props changed) head/devel/libthmap/pkg-plist (contents, props changed) Modified: head/devel/Makefile (contents, props changed) Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Fri May 24 13:54:09 2019 (r502468) +++ head/devel/Makefile Fri May 24 14:45:42 2019 (r502469) @@ -1339,6 +1339,7 @@ SUBDIR += libtecla SUBDIR += libtermkey SUBDIR += libthai + SUBDIR += libthmap SUBDIR += libtifiles2 SUBDIR += libtool SUBDIR += libtpl Added: head/devel/libthmap/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libthmap/Makefile Fri May 24 14:45:42 2019 (r502469) @@ -0,0 +1,26 @@ +# $FreeBSD$ + +PORTNAME= libthmap +PORTVERSION= g2019052401 +CATEGORIES= devel + +MAINTAINER= swills@FreeBSD.org +COMMENT= Concurrent trie-hash map library + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/../LICENSE + +USES= gmake libtool:build + +USE_GITHUB= yes +GH_ACCOUNT= rmind +GH_PROJECT= thmap +GH_TAGNAME= 0f1cbfc +WRKSRC_SUBDIR= src +USE_LDCONFIG= yes +MAKE_ENV= DESTDIR=${STAGEDIR}${PREFIX} \ + INCDIR=${LOCALBASE}/include \ + LIBDIR=${LOCALBASE}/lib \ + MANDIR=${LOCALBASE}/man + +.include <bsd.port.mk> Added: head/devel/libthmap/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libthmap/distinfo Fri May 24 14:45:42 2019 (r502469) @@ -0,0 +1,3 @@ +TIMESTAMP = 1558679673 +SHA256 (rmind-thmap-g2019052401-0f1cbfc_GH0.tar.gz) = a618091195b47b7f1ba474f9b4ec60583031956060268ff66a56260d5d5f55a0 +SIZE (rmind-thmap-g2019052401-0f1cbfc_GH0.tar.gz) = 22315 Added: head/devel/libthmap/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libthmap/pkg-descr Fri May 24 14:45:42 2019 (r502469) @@ -0,0 +1,12 @@ +Concurrent trie-hash map library -- a general purpose associative array, +combining the elements of hashing and radix trie. Highlights: + +* Very competitive performance, with logarithmic time complexity on average. +* Lookups are lock-free and inserts/deletes are using fine-grained locking. +* Incremental growth of the data structure (no large resizing/rehashing). +* Optional support for use with shared memory, e.g. memory-mapped file. + +The implementation is written in C11 and distributed under the 2-clause BSD +license. + +WWW: https://github.com/rmind/thmap Added: head/devel/libthmap/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libthmap/pkg-plist Fri May 24 14:45:42 2019 (r502469) @@ -0,0 +1,6 @@ +man/man3/thmap.3.gz +include/thmap.h +lib/libthmap.a +lib/libthmap.so +lib/libthmap.so.1 +lib/libthmap.so.1.0.0
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905241445.x4OEjhTD024195>